CN110297575A - A kind of webpage representation method, apparatus, terminal device and storage medium - Google Patents
A kind of webpage representation method, apparatus, terminal device and storage medium Download PDFInfo
- Publication number
- CN110297575A CN110297575A CN201910580528.3A CN201910580528A CN110297575A CN 110297575 A CN110297575 A CN 110297575A CN 201910580528 A CN201910580528 A CN 201910580528A CN 110297575 A CN110297575 A CN 110297575A
- Authority
- CN
- China
- Prior art keywords
- data content
- program
- entrance control
- application program
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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
Abstract
The embodiment of the invention discloses a kind of webpage representation method, apparatus, terminal device and storage mediums.This method comprises: determining the program identification of the target program for providing the data content that need to be shown based on the trigger action when detecting that content shows trigger action in current application program interface;The installation directory for searching the target program in systems based on described program mark, obtains the data content that need to be shown under the installation directory;The data content that will acquire is shown.The lookup that the technical solution of the embodiment of the present invention passes through the installation directory in system local progress target program, the acquisition for the data content that need to be shown is realized in turn, so that in the environment of having net or without net, it can be realized the displaying based on the corresponding data content of user's trigger action, page presentation scheme is enriched, while improving the usage experience of user.
Description
Technical field
The present embodiments relate to field of computer technology more particularly to a kind of webpage representation method, apparatus, terminal device
And storage medium.
Background technique
It is various with the fast lifting of quickly universal and mobile network's speed and content resource etc. of intelligent terminal
The content service of various kinds is able to the traditional lifestyles that Rapid Popularization uses and effectively changes people, and with different shape
Technological break-through, the method for service of various different shapes are all able to quickly release and online experiment.
When showing the interface of a certain application program (Application, APP) on mobile terminals, if detecting content exhibition
The trigger action shown, for example when detecting that user clicks some label (Tab) control on interface, need to obtain from server-side
Click the content for needing to show after Tab control.
The scheme of above-mentioned page presentation is only capable of obtaining the content clicking Tab control and need to showing from server-side, carry out in corresponding
It is more single to execute method for the displaying of appearance, it would be highly desirable to further improve.
Summary of the invention
The present invention provides a kind of webpage representation method, apparatus, terminal device and storage medium, to enrich existing page exhibition
Show scheme, promotes the usage experience of user.
In a first aspect, the embodiment of the invention provides a kind of webpage representation methods, comprising:
When detecting that content shows trigger action in current application program interface, it is used for based on trigger action determination
The program identification of the target program for the data content that need to be shown is provided;
The installation directory for being searched the target program in systems based on described program mark, is obtained under the installation directory
Take the data content that need to be shown;
The data content that will acquire is shown.
Second aspect, the embodiment of the invention also provides a kind of webpage representation devices, comprising:
Program identification determining module, when for detecting that content shows trigger action in current application program interface, base
The program identification of the target program for providing the data content that need to be shown is determined in the trigger action;
Data content obtains module, for searching the installation mesh of the target program in systems based on described program mark
Record obtains the data content that need to be shown under the installation directory;
Data content exposure module, the data content for will acquire are shown.
The third aspect, the embodiment of the invention also provides a kind of terminal devices, comprising:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes a kind of webpage representation method provided such as first aspect embodiment.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer
Program realizes a kind of webpage representation method provided such as first aspect embodiment when the program is executed by processor.
When the embodiment of the present invention in current application program interface by detecting that content shows trigger action, based on triggering
Operation determines the program identification of the target program for providing the data content that need to be shown;It is searched in systems based on program identification
The installation directory of target program obtains the data content that need to be shown under installation directory;The data content that will acquire is shown.
Above-mentioned technical proposal is realized in the data that need to be shown by locally carrying out the lookup of the installation directory of target program in system
The acquisition of appearance, so that can be realized in the environment of having net or without net based on the corresponding data content of user's trigger action
It shows, enriches page presentation scheme, while improving the usage experience of user.
Detailed description of the invention
Fig. 1 is the flow chart of one of embodiment of the present invention one webpage representation method;
Fig. 2A is the flow chart of one of embodiment of the present invention two webpage representation method;
Fig. 2 B is the schematic diagram of one of embodiment of the present invention two webpage representation process;
Fig. 3 is the flow chart of one of embodiment of the present invention three webpage representation method;
Fig. 4 is the structure chart of one of embodiment of the present invention four webpage representation device;
Fig. 5 is a kind of structural schematic diagram for terminal device that the embodiment of the present invention five provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is the flow chart of one of embodiment of the present invention one webpage representation method, and the embodiment of the present invention is suitable for using
The case where to show corresponding data content is triggered to Application Program Interface in family.This method is executed by webpage representation device, should
Device is by software and or hardware realization, and concrete configuration is in terminal device.The terminal device can be smart phone, put down
The mobile terminals such as plate computer, PC can also be the fixed equipments such as desktop computer.
A kind of webpage representation method as shown in Figure 1, comprising:
S110, detected in current application program interface content show trigger action when, based on the trigger action it is true
The program identification of the fixed target program for being used to provide the data content that need to be shown.
Wherein, current application program is to have the application program for the particular service functionality for providing at least one target program.
Correspondingly, target program can be set inside current application program, it can also be independently of current application program individualism.Show
Example property, target program can be application program, in the component, plug-in unit and the small routine that are set in current application program
At least one.
Illustratively, it detects that content shows trigger action in current application program interface, can be in current application
The trigger action to preset control is detected in program interface.Wherein, preset control can be understood as being set to application program circle
For being navigated and being established the control of the incidence relation between application program and target program in face.Wherein, control is preset
Part can be conventional control, such as label (Tab) control or button (Button) control etc.;Preset control, which can also be, to be added
The container control of other controls, such as the view container set by current application program interface are added.
In this step, current application program interface is shown;When user triggers the default control in current application program interface
It when part, generates content and shows instruction, wherein include the control identification information of triggered preset control in content displaying instruction;?
When having detected that content shows that instruction generates, parsing content displaying instruction is identified with obtaining control identification information according to control
The content identification information for the data content that information determination need to be shown carries out target program based on identified content identification information
The determination of program identification, wherein target program is for providing the data content that need to be shown.
Illustratively, the first mapping relations between control identification information and content identification information can be preset, and
First mapping relations are stored in terminal device locally and in other associated storage equipment of terminal device or cloud, and
The acquisition of the first mapping relations carried out when needing.
It is understood that content to be presented and target journey can also be preset for the ease of the determination of target program
The second mapping relations between sequence, and second mapping relations are stored in terminal device is local, has with terminal device and is associated with
In other storage equipment of relationship or cloud, and directly acquire when needed.Illustratively, the second mapping relations can be wait open up
Show the mapping relations between the content identification information of content and the program identification information of target program.
S120, the installation directory for searching the target program in systems based on described program mark, in the installation mesh
Record obtains the data content that need to be shown down.
In general, when carrying out program installation in terminal device difference can be correspondingly arranged for the program identification of each program
Installation directory, to carry out the storage of data relevant to program.It therefore, can after determining the program identification of target program
To search the installation directory of target program in systems based on program identification, and carry out under installation directory in the data that need to be shown
The acquisition of appearance.
It is understood that when the content involved in the target program is more, it will usually according to mesh under installation directory
The attribute information of content involved by beacon course sequence carries out classification storage.Wherein, attribute information can be content type etc..It is exemplary
Ground, can be in advance in the installation directory of target program, will be involved in target program according to the attribute information of involved content
Content be respectively stored in, in the database table that the data file under the installation directory of target program is included.Correspondingly, pacifying
When obtaining the data content that need to be shown under dress catalogue, it can be and search data file under installation directory, and in the data file
Search database table;Data are read from database table, and the data read are parsed to obtain in the data that need to be shown
Hold.
In a kind of optional embodiment of the embodiment of the present invention, when searching database table in the data file, Ke Yigen
According to the third mapping relations preset between data content and database table, the corresponding data of the data content that determination need to be shown
Library table, and data content acquisition is carried out in the data file of storing data library table.Wherein it is possible to which third mapping relations are stored
In terminal device locally and in other associated storage equipment of terminal device or cloud.Correspondingly, carrying out database table lookup
When, the lookup for carrying out third mapping relations obtains.
It should be noted that the network environment as locating for terminal device is different, it is understood that there may be data content in system by
Update is synchronized in the content not in time with target program corresponding with service end, leads to the read data content that need to be shown
The poor situation of timeliness.In order to avoid the generation of above situation, it will detect content exhibition in current application program interface
After showing trigger action, and before determining program identification based on trigger action, whether detection is current in no net environment;If
It is currently at no net environment, then triggering determines the operation of program identification based on trigger action, and carries out the installation mesh of target program
The lookup of record and the acquisition for the data content that need to be shown, so that the data content that will acquire is shown.
Certainly, in order to enhance the timeliness of the read data content that need to be shown, net environment has been currently in determination
When, data acquisition request directly can also be sent to the corresponding server-side of target program, to need to open up from server-side acquisition is newest
The data content shown.
It is understood that when in order to guarantee that terminal device is in no net environment next time as far as possible, acquired data
The timeliness of content, in a kind of optional embodiment of the embodiment of the present invention, can also detect in have net environment when,
The solicited message comprising the database table final updating time is sent to server-side, so that server-side is judged most based on solicited message
Afterwards renewal time earlier than the correspondence database table that server-side saves the final updating time when, return server-side save correspondence number
According to the data content of library table;Based on server-side return data content to the database table in the data file under installation directory into
Row updates.
S130, the data content that will acquire are shown.
In order to reduce the program quantity adjusted, the function of abundant application program, while abundant webpage representation mode, it is optional
, the data content that will acquire is shown, and can also be that the data content that will acquire carries out in current application program interface
It shows.
It is understood that after the data content that will acquire is shown, detecting terminal under no net environment
Equipment is in when having net environment, in order to guarantee the timeliness of shown data content, further, can also be sent out to server-side
The request message comprising the database table final updating time is sent, so that server-side is based on described in request message judgement
The final updating time earlier than the correspondence database table that server-side saves the final updating time when, return server-side save correspondence
The data content of database table;The data content returned based on server-side is updated the data content of displaying.
When the embodiment of the present invention in current application program interface by detecting that content shows trigger action, based on triggering
Operation determines the program identification of the target program for providing the data content that need to be shown;It is searched in systems based on program identification
The installation directory of target program obtains the data content that need to be shown under installation directory;The data content that will acquire is shown.
Above-mentioned technical proposal is realized in the data that need to be shown by locally carrying out the lookup of the installation directory of target program in system
The acquisition of appearance, so that can be realized in the environment of having net or without net based on the corresponding data content of user's trigger action
It shows, enriches page presentation scheme, while improving the usage experience of user.
Embodiment two
Fig. 2A is the flow chart of one of embodiment of the present invention two webpage representation method, and the embodiment of the present invention is above-mentioned each
Improvement is optimized on the basis of the technical solution of embodiment.
Further, operation " in current application program interface detect content show trigger action " is refined as "
Detect that the triggering to objective function entrance control or the view container in view container is grasped in current application program interface
Make ", to improve the testing mechanism to the trigger action of Application Program Interface.
Further, it " is detected to the objective function entrance in view container in current application program interface in operation
It is additional " to determine that the institute of view container described in current application program interface is right before the trigger action of control or the view container "
The multiple functional entrance controls answered;At least one function is filtered out from the multiple functional entrance control based on setting reference factor
Energy entrance control, and determine at least one functional entrance control the putting in order in the view container filtered out;According to
Described put in order shows at least one described functional entrance control in the view container ", further to enrich page exhibition
Show effect, promotes the usage experience of user.
A kind of webpage representation method as shown in Figure 2 A, comprising:
S210, multiple functional entrance controls corresponding to view container described in current application program interface are determined.
S220, at least one functional entrance control is filtered out from the multiple functional entrance control based on setting reference factor
Part, and determine at least one functional entrance control the putting in order in the view container filtered out.
Wherein, reference factor includes: that the hardware resource occupied information, information-setting by user, system of present terminal equipment are matched
Confidence ceases, at least one of usage frequency information, environmental information and cloud configuration information of each functional entrance control.
Objective function entrance control includes: mobile phone acceleration function entrance control, rubbish clearing function entrance control, software data cleaning function
It can entrance control, information search functional entrance control, voice memos functional entrance control, managing electric quantity functional entrance control, money
Power management function entrance control exempts from traffic service entrance control and at least one of view functional entrance control of taking pictures.
Wherein, the mode of positive sequence or sorting by reversals can be used in sequence.
Optionally, reference factor includes the hardware resource occupied information of present terminal equipment;Correspondingly, based on setting reference
Factor filters out at least one functional entrance control from the multiple functional entrance control, and determines at least one filtered out
Functional entrance control putting in order in the view container, may is that and filter out from the multiple functional entrance control
At least one least functional entrance control, and at least one functional entrance control are occupied to the hardware resource of present terminal equipment
The summation of the amount of hardware resources that part need to occupy and occupied amount of hardware resources is no more than hardware resource total amount;According to it is described extremely
The hardware resource occupancy of a few functional entrance control is ranked up at least one described functional entrance control.
Optionally, reference factor includes information-setting by user;Correspondingly, based on reference factor is set from the multiple function
At least one functional entrance control is filtered out in entrance control, and determines at least one the functional entrance control filtered out described
Putting in order in view container may is that the precedence information of each functional entrance control based on user setting, from described more
At least one functional entrance control of highest priority is filtered out in a functional entrance control;Enter according at least one described function
The user setting priority of mouth control is ranked up at least one described functional entrance control.Wherein, information-setting by user can
To be stored in advance in terminal device local, or in cloud associated with terminal device.
Optionally, reference factor includes system configuration information;Correspondingly, based on reference factor is set from the multiple function
At least one functional entrance control is filtered out in entrance control, and determines at least one the functional entrance control filtered out described
Putting in order in view container may is that the precedence information of each functional entrance control based on system configuration, from described more
At least one functional entrance control of highest priority is filtered out in a functional entrance control;Enter according at least one described function
The system configuration priority of mouth control is ranked up at least one described functional entrance control.Wherein, system configuration information can
To be stored in advance in terminal device local.
Optionally, reference factor includes the usage frequency information to each functional entrance control;Correspondingly, based on setting reference
Factor filters out at least one functional entrance control from the multiple functional entrance control, and determines at least one filtered out
Functional entrance control putting in order in the view container, may is that and filter out from the multiple functional entrance control
At least one highest functional entrance control of usage frequency, and according to the usage frequency pair of at least one functional entrance control
At least one described functional entrance control is ranked up.
Optionally, reference factor includes environmental information;Correspondingly, based on reference factor is set from the multiple functional entrance
At least one functional entrance control is filtered out in control, and determines at least one the functional entrance control filtered out in the view
Putting in order in container may is that the use environment information obtained for the setting of each functional entrance control, from the multiple function
Corresponding use environment information and at least one matched functional entrance control of current context information can be filtered out in entrance control
Part, and at least one described functional entrance control is ranked up according to matching degree.Illustratively, environmental information can be the time
Environment and/or location circumstances etc..
Illustratively, the corresponding relationship between different use environment information and each functional entrance control can be preset,
And it is stored in advance in terminal device local, other storage equipment associated with terminal device or cloud.Correspondingly, need into
When the displaying of row functional entrance control, in terminal device local, other storage equipment associated with terminal device or cloud needle
The acquisition and matching of use environment information are carried out to each functional entrance control.
Illustratively, if environmental information includes time environment, wherein time environment includes daytime and evening.When current
Between be located at the corresponding period on daytime (such as 6:00~18:00) when, filter out the functional entrance control to match with daytime, such as electricity
Buret reason, voice memos and identification etc. of taking pictures;It is located at corresponding period (such as 18:00~6:00) at night in current time
When, filter out with the functional entrance control that matches at night, such as flashlight and exempt from stream service.
Illustratively, if environmental information includes location circumstances, wherein location circumstances include working region, recreational area, with
And body-building region etc..When the current location of terminal device is in working region, the function of matching with working region is filtered out
Entrance control, such as file management and voice memos;When the current location of terminal device is in recreational area, filter out
The functional entrance control to match with recreational area, such as music application, Video Applications and game application;In terminal device
Current location when being in body-building region, the functional entrance control to match with body-building region is filtered out, as pedometer, body-building are answered
With and music application etc..
Optionally, reference factor includes cloud configuration information;Correspondingly, based on reference factor is set from the multiple function
At least one functional entrance control is filtered out in entrance control, and determines at least one the functional entrance control filtered out described
Putting in order in view container may is that the precedence information of each functional entrance control based on cloud configuration, from described more
At least one functional entrance control of highest priority is filtered out in a functional entrance control;Enter according at least one described function
The cloud configuration preference level of mouth control is ranked up at least one described functional entrance control.Illustratively, confidence is matched in cloud
Breath can be big data and deduce tune power information.
S230, at least one described functional entrance control is shown in the view container according to described put in order.
S240, detected in current application program interface in view container objective function entrance control or the view
When the trigger action of figure container, the journey of the target program for providing the data content that need to be shown is determined based on the trigger action
Sequence mark.
Participate in the schematic diagram that a kind of page shown in Fig. 2 B shows process.Wherein, include in current application program interface
Navigational display area 21.Wherein, navigational display area 21 includes the first navigation area 211 and the second navigation area 212.
It is provided with a view container in first navigation area 211, at least one realization is accommodated in the view container and is led
The functional entrance control for function of navigating, wherein functional entrance control can be label control or button control.Wherein, functional entrance control
Target program corresponding to part can be the boarding program colonized in inside application program, such as can be mobile phone acceleration, depth
Plug-in units or the components such as cleaning, to provide the corresponding setting service such as mobile phone acceleration, depth cleaning.Mesh corresponding to functional entrance control
Beacon course sequence can also be independently of other programs existing for application program, such as can be simple search, voice memos, electricity
Plug-in units or the components such as management, to provide the respective services such as search service, memorandum service, managing electric quantity.It should be noted that
Shown functional entrance control is not fixed in one navigation area 211, can be provided according to the hardware of present terminal equipment
Source occupied information, information-setting by user, system configuration information, the usage frequency information to each functional entrance control, environmental information,
And at least one reference factor in the configuration information of cloud carries out dynamic adjustment.
It is provided with a view container in second navigation area 212, is provided at least one function in the view container and enters
Mouth control, wherein functional entrance control can be the label control of display picture.Wherein, target corresponding to functional entrance control
Program can be independently of other programs existing for application program, such as can be third-party application etc..It should be noted that
Shown functional entrance control is not fixed in second navigation area 212, can be according to user to the second navigation area
In 212 in the usage frequency information of set each functional entrance control, information-setting by user and environmental information at least one
A reference factor carries out dynamic adjustment.
S250, the installation directory for searching the target program in systems based on described program mark, in the installation mesh
Record obtains the data content that need to be shown down.
S260, the data content that will acquire are shown.
Continue precedent to continue to explain, after carrying out trigger action to the view container in the second navigation area 212, Ke Yi
Data content exposure is carried out in Application Program Interface 22.
The embodiment of the present invention passes through the detecting step that trigger action will be shown to content, is refined as in current application program circle
The trigger action of objective function entrance control or view container in view container is detected in face;And it is carrying out detecting it
Before, it is additional to determine multiple functional entrance controls corresponding to view container described in current application program interface;Joined based on setting
It examines factor and filters out at least one functional entrance control from multiple functional entrance controls, and determine at least one function filtered out
It can entrance control putting in order in view container;At least one function is shown in the view container according to putting in order
Entrance control.Above-mentioned technical proposal carries out dynamic adjustment to the functional entrance control that is shown based on a variety of reference factors, with
Show different functional entrance controls under different application scenarios in view container, enrich the bandwagon effect of the page, into one
The function of having walked application program perfect, improves the usage experience of user.
Embodiment three
Fig. 3 is the flow chart of one of embodiment of the present invention three webpage representation method, and the embodiment of the present invention is above-mentioned each
Improvement is optimized on the basis of the technical solution of embodiment.
Further, webpage representation method further includes " data content that the target program is sent being received, by the target
The data content that program is sent is shown on current application program interface ", further to enrich the function of application program.
A kind of webpage representation method as shown in Figure 3, comprising:
S310, detected in current application program interface content show trigger action when, based on the trigger action it is true
The program identification of the fixed target program for being used to provide the data content that need to be shown.
S320, the installation directory for searching the target program in systems based on described program mark, in the installation mesh
Record obtains the data content that need to be shown down.
S330, the data content that will acquire are shown.
S340, the data content that the target program is sent is received, the data content that the target program is sent is being worked as
It is shown on preceding Application Program Interface.
In this step, target program can also send data content to application program;Correspondingly, application program receives mesh
Data content transmitted by beacon course sequence, and transmitted data content is shown in Application Program Interface.
Illustratively, target program sends data content to application program can be subject to reality by way of automatic trigger
It is existing.
For example, when target program voice memos plug-in unit corresponding for application program, when what is recorded in voice memos plug-in unit
Current reminder time meets setting alert condition, when needing to carry out event prompting, then generates prompting according to current reminder events and disappears
Breath, and reminder message is sent to application program, to carry out the displaying of reminder message by Application Program Interface.
For another example, it when target program is downloading program, after the down operation performed by downloading program is finished, needs
When prompting the user whether the subsequent operations such as downloaded content to be started or installed, is generated and downloaded according to current downloading task
Information is completed, and information is completed into downloading and is sent to application program, to show that information is completed in the downloading by Application Program Interface,
And then user is prompted the subsequent processings such as downloaded content to be started or installed.
For another example, it when target program is mailer, when mailer receives mail, needs to prompt user to institute
Received mail carries out subsequent operation, generates mail reminder according to the received e-mail messages of institute at this time, and mail reminder is sent
To application program, to show mail reminder by Application Program Interface, and then it is subsequent to prompt user to carry out the received mail of institute
Processing.Wherein, e-mail messages include mail matter topics and mail party information etc..Wherein, mail party information includes hair
Part people's information can also include making a copy for people's information and/or addressee information etc..
Illustratively, target program sends data content to application program can be subject to reality by way of triggering manually
It is existing.
Illustratively, when at least one target program Interface detection is to function trigger action, it is based on function trigger action
Generate data content;Generated data content is sent to current application program, and is carried out on current application program interface
It shows.
For example, when Application Program Interface receives the commodity data that at least one shopping class target program is sent, it will be each
Commodity data transmitted by shopping class target program is shown.When user executes screening operation at any target program interface
When, which will redefine commodity data by screening operation, and the commodity data redefined is sent to application
Program, to update content shown by Application Program Interface.Wherein screening operation can be according to distance, price and popularity
Deng at least one of screened.
Optionally, the data content that the target program is sent is shown on current application program interface, it can be with
It is: priority ranking is carried out to the data content that the target program is sent according to setting rule, and is carried out according to ranking results
Data are shown.
Illustratively, priority ranking is carried out to the data content that the target program is sent according to setting rule, it can be with
It is realized using following at least one modes:
According to the pre-set priority of user, priority ranking is carried out to the data content that target program is sent;According to
The memory size of the terminal device occupied needed for different data content sequence occupies cpu resource size, is ranked up;According to difference
Data content and the matcher of user's local environment information are ranked up, wherein environmental information include geographical environment or when
Between section etc.;And it is ranked up according to access frequency of the user to different data content.
Optionally, the data content that the target program is sent is shown on current application program interface, it can be with
It is: processing is filtered to data content by preset blacklist, and/or by preset white list to data
Content carries out Screening Treatment;By treated, data content is shown on Application Program Interface.Wherein blacklist and/or white
The included content of list can be automatically determined according to the historical operation of user, can also be added or deleted manually by user.
In order to guarantee that Application Program Interface can normally show the data content transmitted by target program, in target
After program sends data content, the operating status of application program can also be detected, is not in operation shape in current application program
When state, current application program adjust by the finger daemon of current application program, the current application program after having adjusted
The data content that the target program is sent is shown in interface.
It should be noted that the embodiment of the present invention does not do any restriction to the specific implementation sequence of S340, that is, S340 can
To be executed before or after S310~S330, can also be performed simultaneously with S310~S330.
The embodiment of the present invention is by the additional data content for receiving target program and sending, in the data that target program is sent
Appearance is shown on current application program interface, to realize the reversed interaction between target program and application program, is enriched
The webpage representation effect of application program further enriches the function of application program, to improve the usage experience of user.
Example IV
Fig. 4 is the structure chart of one of embodiment of the present invention four webpage representation device, and the embodiment of the present invention is suitable for using
The case where to show corresponding data content is triggered to program interface in family.The device has by software and or hardware realization
Body is configured in terminal device.The terminal device can be the mobile terminals such as smart phone, tablet computer, PC, may be used also
To be the fixed equipments such as desktop computer.
The structure chart of a kind of webpage representation device as shown in Figure 4, comprising: program identification determining module 410, data content
Obtain module 420 and data content exposure module 430.
Program identification determining module 410, when for detecting that content shows trigger action in current application program interface,
The program identification of the target program for providing the data content that need to be shown is determined based on the trigger action;
Data content obtains module 420, for searching the peace of the target program in systems based on described program mark
Catalogue is filled, the data content that need to be shown is obtained under the installation directory;
Data content exposure module 430, the data content for will acquire are shown.
The embodiment of the present invention detects that content shows touching by program identification determining module in current application program interface
When hair operation, the program identification of the target program for providing the data content that need to be shown is determined based on trigger action;Pass through number
Search the installation directory of target program in systems based on program identification according to content acquisition module, obtaining under installation directory needs to open up
The data content shown;It is shown by the data content that data content exposure module will acquire.Above-mentioned technical proposal by
System locally carries out the lookup of the installation directory of target program, and then realizes the acquisition for the data content that need to be shown, so that having
Net or without net in the environment of, can be realized the displaying based on the corresponding data content of user's trigger action, enrich page exhibition
Show scheme, while improving the usage experience of user.
Further, data content obtains module 420, is executing in the data that obtains and need to show under the installation directory
Rong Shi is specifically used for:
Data file is searched under the installation directory, searches database table in the data file, from the data
Data are read in the table of library, the data read are parsed to obtain the data content that need to be shown.
Further, which further includes that trigger module is used for:
Detected in current application program interface content show trigger action after and based on the trigger action it is true
Before determining described program mark, whether detection is current in no net environment, if so, triggering determines institute based on the trigger action
State the operation of program identification.
Further, which further includes that data content update module is specifically used for:
After the data content that will acquire is shown, detect in have net environment when, to server-side send out
The request message comprising the database table final updating time is sent, so that server-side is based on described in request message judgement
The final updating time earlier than the correspondence database table that server-side saves the final updating time when, return preservation server-side save
Correspondence database table data content;
The data content returned based on server-side is updated the data content of displaying.
Further, program identification determining module 410 detects that content is shown executing in current application program interface
When trigger action, it is specifically used for:
It is detected in current application program interface to the objective function entrance control or view appearance in view container
The trigger action of device.
Further, which further includes that functional entrance control exposure module is specifically used for:
It is detected in current application program interface to the objective function entrance control or view appearance in view container
Before the trigger action of device, multiple functional entrance controls corresponding to view container described in current application program interface are determined;
At least one functional entrance control is filtered out from the multiple functional entrance control based on setting reference factor, and
Determine at least one functional entrance control the putting in order in the view container filtered out;
At least one described functional entrance control is shown in the view container according to described put in order.
Further, the reference factor includes: the hardware resource occupied information of present terminal equipment, user setting letter
Breath, system configuration information, in the usage frequency information, environmental information and cloud configuration information of each functional entrance control
At least one.The objective function entrance control include: mobile phone acceleration function entrance control, rubbish clearing function entrance control,
Software data clearing function entrance control, information search functional entrance control, voice memos functional entrance control, managing electric quantity function
Can entrance control, resource management function entrance control, exempt from traffic service entrance control and view functional entrance control of taking pictures in
At least one.
Further, which further includes that data content receiving module is used for:
The data content that the target program is sent is received, the data content that the target program is sent is in current application
It is shown on program interface.
Further, data content receiving module answers the data content that the target program is sent currently executing
When with being shown on program interface, it is specifically used for:
Priority ranking is carried out to the data content that the target program is sent according to setting rule, and according to ranking results
Carry out data displaying.
Further, data content receiving module answers the data content that the target program is sent currently executing
When with being shown on program interface, it is specifically used for:
If current application program is not in operating status, by the finger daemon of current application program by current application journey
Sequence adjust, and the data content that the target program is sent is shown in the current application program interface after having adjusted.
Page exhibition provided by any embodiment of the invention can be performed in webpage representation device provided by the embodiment of the present invention
Existing method has and executes the corresponding functional module of webpage representation method and beneficial effect.
Embodiment five
Fig. 5 is a kind of structural schematic diagram for terminal device that the embodiment of the present invention five provides.Fig. 5, which is shown, to be suitable for being used in fact
The block diagram of the exemplary terminal equipment 512 of existing embodiment of the present invention.The terminal device 512 that Fig. 5 is shown is only an example,
Should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 5, terminal device 512 is showed in the form of universal computing device.The component of terminal device 512 can wrap
Include but be not limited to: one or more processor or processing unit 516, system storage 528 connect different system components
The bus 518 of (including system storage 528 and processing unit 516).
Bus 518 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Terminal device 512 typically comprises a variety of computer system readable media.These media can be it is any can be by
The usable medium that terminal device 512 accesses, including volatile and non-volatile media, moveable and immovable medium.
System storage 528 may include the computer system readable media of form of volatile memory, such as deposit at random
Access to memory (RAM) 530 and/or cache memory 532.Terminal device 512 may further include it is other it is removable/no
Movably, volatile/non-volatile computer system storage medium.Only as an example, storage system 534 can be used for reading and writing
Immovable, non-volatile magnetic media (Fig. 5 do not show, commonly referred to as " hard disk drive ").It, can although being not shown in Fig. 5
To provide the disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk "), and it is non-volatile to moving
Property CD (such as CD-ROM, DVD-ROM or other optical mediums) read and write CD drive.In these cases, each drive
Dynamic device can be connected by one or more data media interfaces with bus 518.Memory 528 may include at least one journey
Sequence product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform this hair
The function of bright each embodiment.
Program/utility 540 with one group of (at least one) program module 542, can store in such as memory
In 528, such program module 542 includes but is not limited to operating system, one or more application program, other program modules
And program data, it may include the realization of network environment in each of these examples or certain combination.Program module 542
Usually execute the function and/or method in embodiment described in the invention.
Terminal device 512 can also be with one or more external equipments 514 (such as keyboard, sensing equipment, display 524
Deng) communication, can also be enabled a user to one or more equipment interact with the terminal device 512 communicate, and/or with make
Any equipment (such as network interface card, the modem that the terminal device 512 can be communicated with one or more of the other calculating equipment
Etc.) communication.This communication can be carried out by input/output (I/O) interface 522.Also, terminal device 512 can also lead to
Cross network adapter 520 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, example
Such as internet) communication.As shown, network adapter 520 is communicated by bus 518 with other modules of terminal device 512.It answers
When understanding, although not shown in the drawings, other hardware and/or software module can be used in conjunction with terminal device 512, including but unlimited
In: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and number
According to backup storage system etc..
Processing unit 516 passes through at least one program in multiple programs that operation is stored in system storage 528, from
And application and data processing are performed various functions, such as realize a kind of webpage representation method provided by the embodiment of the present invention.
Embodiment six
The embodiment of the present invention six provides a kind of computer readable storage medium, is stored thereon with computer program, the journey
A kind of webpage representation method provided by any embodiment of the present invention is realized when sequence is executed by processor, comprising: in current application
When detecting that content shows trigger action in program interface, determined based on the trigger action for providing in the data that need to be shown
The program identification of the target program of appearance;The installation directory for searching the target program in systems based on described program mark,
The data content that need to be shown is obtained under the installation directory;The data content that will acquire is shown.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media
Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable
Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or
Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool
There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires
(ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-
ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage
Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device
Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including but not limited to without
Line, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.?
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or
Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service
It is connected for quotient by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (14)
1. a kind of webpage representation method characterized by comprising
When detecting that content shows trigger action in current application program interface, determined based on the trigger action for providing
The program identification of the target program for the data content that need to be shown;
Search the installation directory of the target program in systems based on described program mark, obtaining under the installation directory needs
The data content of displaying;
The data content that will acquire is shown.
2. the method according to claim 1, wherein being obtained under the installation directory in the data that need to be shown
Hold, comprising:
Data file is searched under the installation directory, searches database table in the data file, from the database table
Middle reading data are parsed the data read to obtain the data content that need to be shown.
3. according to the method described in claim 2, it is characterized in that, detecting that content shows touching in current application program interface
Before determining described program mark after hair operation and based on the trigger action, the method also includes:
Whether detection is current in no net environment, if so, triggering determines the behaviour of described program mark based on the trigger action
Make.
4. according to the method described in claim 3, it is characterized in that, after the data content that will acquire is shown,
The method also includes:
Detect in have net environment when, send to server-side and disappear comprising the request of the database table final updating time
Breath, so that server-side is judging the final updating time earlier than the correspondence database that server-side saves based on the request message
When the final updating time of table, the data content for the correspondence database table that server-side saves is returned;
The data content returned based on server-side is updated the data content of displaying.
5. method according to any of claims 1-4, which is characterized in that described to be examined in current application program interface
It measures content and shows trigger action, comprising:
It is detected in current application program interface to the objective function entrance control or the view container in view container
Trigger action.
6. according to the method described in claim 5, it is characterized in that, being detected in current application program interface to view container
In objective function entrance control or the view container trigger action before, the method also includes:
Determine multiple functional entrance controls corresponding to view container described in current application program interface;
At least one functional entrance control is filtered out from the multiple functional entrance control based on setting reference factor, and is determined
At least one functional entrance control the putting in order in the view container filtered out;
At least one described functional entrance control is shown in the view container according to described put in order.
7. according to the method described in claim 6, it is characterized in that, the reference factor includes: the hardware of present terminal equipment
Resource occupation information, system configuration information, is believed the usage frequency information of each functional entrance control, environment information-setting by user
At least one of breath and cloud configuration information.
8. according to the method described in claim 5, it is characterized in that, the objective function entrance control includes: that mobile phone accelerates function
It can entrance control, rubbish clearing function entrance control, software data clearing function entrance control, information search functional entrance control
Part, managing electric quantity functional entrance control, resource management function entrance control, exempts from traffic service at voice memos functional entrance control
Entrance control and at least one of view functional entrance control of taking pictures.
9. method according to any of claims 1-4, which is characterized in that the method also includes:
The data content that the target program is sent is received, the data content that the target program is sent is in current application program
It is shown on interface.
10. according to the method described in claim 9, it is characterized in that, the data content that the target program is sent is current
It is shown on Application Program Interface, comprising:
Priority ranking is carried out to the data content that the target program is sent according to setting rule, and is carried out according to ranking results
Data are shown.
11. according to the method described in claim 9, it is characterized in that, the data content that the target program is sent is current
It is shown on Application Program Interface, comprising:
If current application program is not in operating status, by the finger daemon of current application program by current application program into
Row is adjusted, and the data content that the target program is sent is shown in the current application program interface after having adjusted.
12. a kind of webpage representation device characterized by comprising
Program identification determining module when for detecting that content shows trigger action in current application program interface, is based on institute
State the program identification for the target program that trigger action is determined for providing the data content that need to be shown;
Data content obtains module, for searching the installation directory of the target program in systems based on described program mark,
The data content that need to be shown is obtained under the installation directory;
Data content exposure module, the data content for will acquire are shown.
13. a kind of terminal device characterized by comprising
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Now such as a kind of described in any item webpage representation methods of claim 1-11.
14. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
Such as claim 1-11 a kind of described in any item webpage representation methods are realized when execution.
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 true CN110297575A (en) | 2019-10-01 |
CN110297575B 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) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111090823A (en) * | 2019-12-23 | 2020-05-01 | 广州市百果园信息技术有限公司 | Integration platform of page application and application access method, device and equipment |
CN112269619A (en) * | 2020-11-13 | 2021-01-26 | 中盈优创资讯科技有限公司 | Page display method and device based on large data volume |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104750722A (en) * | 2013-12-30 | 2015-07-01 | 腾讯科技(深圳)有限公司 | Information acquisition and display method and information acquisition and display 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 |
CN105847430A (en) * | 2016-05-20 | 2016-08-10 | 北京小米移动软件有限公司 | Hybrid application page data access method and device |
CN106033361A (en) * | 2015-03-13 | 2016-10-19 | 阿里巴巴集团控股有限公司 | Method and device for showing application page, and method and device for updating application page data |
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 |
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 |
CN108563469A (en) * | 2017-10-20 | 2018-09-21 | 五八有限公司 | page loading method, device, storage medium and terminal device |
CN109582891A (en) * | 2018-11-16 | 2019-04-05 | 百度在线网络技术(北京)有限公司 | Web page picture methods of exhibiting, device, electronic equipment and storage medium |
-
2019
- 2019-06-28 CN CN201910580528.3A patent/CN110297575B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104750722A (en) * | 2013-12-30 | 2015-07-01 | 腾讯科技(深圳)有限公司 | Information acquisition and display method and information acquisition and display 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 |
CN105847430A (en) * | 2016-05-20 | 2016-08-10 | 北京小米移动软件有限公司 | Hybrid 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 |
Non-Patent Citations (1)
Title |
---|
SCORPIO小蝎: "Java实现程序运行状态监控之我的思路(守护进程)", 《HTTP://WWW.BLOGJAVA.NET/ROYMORO/ARCHIVE/2011/05/09/349833.HTML》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111090823A (en) * | 2019-12-23 | 2020-05-01 | 广州市百果园信息技术有限公司 | Integration platform of page application and application access method, device and equipment |
CN112269619A (en) * | 2020-11-13 | 2021-01-26 | 中盈优创资讯科技有限公司 | Page display method and device based on large data volume |
Also Published As
Publication number | Publication date |
---|---|
CN110297575B (en) | 2023-01-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107209781B (en) | Contextual search using natural language | |
WO2017166648A1 (en) | Navigation route generating method and device, and apparatus | |
CN108541310B (en) | Method and device for displaying candidate words and graphical user interface | |
US20170357521A1 (en) | Virtual keyboard with intent-based, dynamically generated task icons | |
CN106302996B (en) | Message display method and device | |
CN107995101A (en) | A kind of method and apparatus for being used to switching to speech message into text message | |
US9843670B2 (en) | Method and apparatus for setting color ring back tone and determining color ring back tone music | |
CN109918669A (en) | Entity determines method, apparatus and storage medium | |
US11616749B2 (en) | Chat highlights | |
CN108885739A (en) | Intelligent personal assistants are as contact person | |
CN104734860A (en) | Conference management method and system | |
WO2022161431A1 (en) | Display method, apparatus, and electronic device | |
US20220147592A1 (en) | Automated surfacing of historical social media items | |
WO2022089594A1 (en) | Information display method and apparatus, and electronic device | |
CN109495638B (en) | Information display method and terminal | |
CN113018864A (en) | Virtual object prompting method and device, storage medium and computer equipment | |
CN110297575A (en) | A kind of webpage representation method, apparatus, terminal device and storage medium | |
CN110502716A (en) | A kind of methods of exhibiting of information of vehicles, server, terminal device | |
CN110232267B (en) | Business card display method and device, electronic equipment and storage medium | |
CN113190307A (en) | Control adding method, device, equipment and storage medium | |
CN108897785A (en) | Search for content recommendation method, device, terminal device and storage medium | |
CN107037989A (en) | Data processing method and device in distributed computing system | |
CN109547329A (en) | The display methods and Related product of group information | |
CN113242171B (en) | Method and related device for managing session messages | |
CN116244299A (en) | Method, device, electronic equipment and medium for determining service data path |
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 |