CN110309475A - 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 PDF

Info

Publication number
CN110309475A
CN110309475A CN201910580552.7A CN201910580552A CN110309475A CN 110309475 A CN110309475 A CN 110309475A CN 201910580552 A CN201910580552 A CN 201910580552A CN 110309475 A CN110309475 A CN 110309475A
Authority
CN
China
Prior art keywords
content
control
presented
application program
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.)
Granted
Application number
CN201910580552.7A
Other languages
Chinese (zh)
Other versions
CN110309475B (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.)
Baidu Online Network Technology Beijing Co Ltd
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 CN201910580552.7A priority Critical patent/CN110309475B/en
Publication of CN110309475A publication Critical patent/CN110309475A/en
Application granted granted Critical
Publication of CN110309475B publication Critical patent/CN110309475B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a kind of webpage representation method, apparatus, terminal device and storage mediums.This method comprises: determination is used to provide the described the corresponding target program content to be presented of preset control when detecting the trigger action to preset control on current application program interface;It is described content to be presented from target program load, it is loaded into current application program showing interface described content to be presented.Above-mentioned technical proposal by current application program interface to loaded from target program it is content to be presented shown, without enter target program, enrich the effect that shows of the page, and then enrich the function of application program, improve the usage experience of user.

Description

A kind of webpage representation method, apparatus, terminal device and storage medium
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.
It, can be based on certain triggerings of user when user passes through the page of a certain application program of mobile terminal accessing (APP) Another APP has been adjusted in operation, and shows related content in the interface of third party APP after entering another third party APP.For example, with Family is when using Baidu assistant APP, if click " novel " Tab above the page, system can adjust another novel relevant the Tripartite APP, and show the homepage of the page such as third party APP of third party APP.
The scheme of above-mentioned page presentation, the triggered APP of user are only capable of by having adjusted other APP to carry out the aobvious of related content Show, cause the webpage representation method of APP more single, 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, shows effect with enrich the page Fruit, and then promote user experience.
In a first aspect, the embodiment of the invention provides a kind of webpage representation methods, comprising:
When detecting the trigger action to preset control on current application program interface, determination is used to provide the described default The corresponding target program content to be presented of control;
From the target program load it is described content to be presented, be loaded into current application program showing interface described in Show content.
Second aspect, the embodiment of the invention also provides a kind of webpage representation devices, comprising:
Program determining module, when for detecting the trigger action to preset control on current application program interface, really Surely it is used to provide the described the corresponding target program content to be presented of preset control;
Content display module, it is described content to be presented for being loaded from the target program, at current application program interface Displaying is loaded into described content to be presented.
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.
After the embodiment of the present invention on current application program interface by detecting to the trigger action of preset control, determine For providing preset control corresponding target program content to be presented;It is content to be presented from target program load, it is answered currently It is loaded into program interface displaying content to be presented.Above-mentioned technical proposal establishes current application program and mesh by preset control Corresponding relationship between beacon course sequence, and content to be presented opened up by current application program interface to what target program was loaded Show, without entering target program, enriches the effect that shows of the page, and then enrich the function of application program, improve use The usage experience at family.
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 the displayed page of one of the embodiment of the present invention two application program;
Fig. 2 C is the schematic diagram of the displayed page of another application program in the embodiment of the present invention two;
Fig. 3 is the structure chart of one of embodiment of the present invention three webpage representation device;
Fig. 4 is the structural schematic diagram of one of the embodiment of the present invention four terminal device.
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.The embodiment of the present invention is suitable for Preset control is triggered in Application Program Interface, the case where to show corresponding contents.This method passes through webpage representation device It executes, which uses software and or hardware realization, and concrete configuration is in terminal device.The terminal device can be intelligence The mobile terminals such as mobile phone, tablet 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, when detecting the trigger action to preset control on current application program interface, determine for providing State the corresponding target program content to be presented of preset control.
Wherein, current application program is to have the application program for the particular service functionality for providing at least one other program. Correspondingly, other termination program can be set inside current application program, it can also be independently of current application program individualism. Illustratively, other programs can be application program, in the component, plug-in unit and the small routine that are set in current application program At least one.
Wherein, preset control can be understood as being set to for navigating in Application Program Interface, and establishes and answer With the control of the incidence relation between program and other programs.Illustratively, preset control can be label (Tab) control or Person's button (Button) control etc..
Illustratively, preset control can be level-one control.Certainly, in order to realize the flexible expansion to application program, in advance If control can also be other child controls being nested under level-one control, such as second level control, three-level control etc..Wherein, it presets The setting regions in Application Program Interface, such as bottom and/or top can be set in control.
Wherein, target program is corresponding other programs for having incidence relation with application program of preset control.Correspondingly, At least one in component, plug-in unit and small routine that target program can be application program, be set in current application program It is a.
In this step, current application program interface is shown in terminal device, when user answers according to self-demand triggering When with preset control on program interface, generates content and show instruction;Wherein, content shows default including what is be triggered in instruction The control identification information of control.When having detected that content shows that instruction generates, parsing content shows that instruction obtains preset control Control identification information;Mesh content to be presented and that offer is content to be presented is determined according to the control identification information of preset control Beacon course sequence.Wherein, the control identification information of preset control can be preset control in the location information of Application Program Interface.
Illustratively, can preset preset control and it is content to be presented between the first mapping relations, and by this One mapping relations, which are stored in terminal device, locally, with terminal device to be had in other storage equipment or cloud of incidence relation, and It directly acquires when needed.Illustratively, the first mapping relations can be the control identification information of preset control with it is to be presented interior Mapping relations between the content identification information of appearance.
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.
Wherein, content identification information content to be presented includes page iden-tity and/or content item identification.
S120, from the target program load it is described content to be presented, be loaded into current application program showing interface It is described content to be presented.
In this step, after determining corresponding target program content to be presented and content to be presented, pass through target journey Sequence carries out load content to be presented, and content to be presented is shown by current application program interface to what is be loaded into.It needs It is noted that due to without being showed by target program to content to be presented, but directly by being set in advance in terminal It is presented in the interface for the current application program being had been displayed in standby, enriches the effect that shows of the page, and then improve application The function of program;The page jump number for reducing terminal device simultaneously, improves the usage experience of user.
After the embodiment of the present invention on current application program interface by detecting to the trigger action of preset control, determine For providing preset control corresponding target program content to be presented;It is content to be presented from target program load, it is answered currently It is loaded into program interface displaying content to be presented.Above-mentioned technical proposal establishes application program and target journey by preset control Corresponding relationship between sequence, and by Application Program Interface to target program loaded it is content to be presented shown, and nothing Target program need to be entered, the effect that shows of the page is enriched, and then enrich the function of application program, improve the use of user Experience.
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, by operation " from the target program load it is described content to be presented, in the exhibition of current application program interface Show be loaded into it is described content to be presented " be refined as " obtaining the corresponding content identification letter content to be presented of the preset control Breath, and generate for showing the corresponding displaying control content to be presented of the preset control;By the content identification information and The displaying control is sent to the target program, so that the target program is based on the content identification information for described wait open up Show that content is added in the displaying control, and returning includes the displaying control content to be presented;To return Described in the displaying control content to be presented is shown ", with the webpage representation mechanism of application program.
A kind of webpage representation method as shown in Figure 2 A, comprising:
S210, when detecting the trigger action to preset control on current application program interface, determine for providing State the corresponding target program content to be presented of preset control.
S220, the corresponding content identification information content to be presented of the preset control is obtained, and generated for showing State the corresponding displaying control content to be presented of preset control.
Wherein, displaying control can be view rendering and show control or window WINDOW control.Wherein, view rendering is aobvious Show that control includes view VIEW control and/or segment FRAGMENT control.
S230, the content identification information and the displaying control are sent to the target program, so that the target Program be based on the content identification information by it is described it is content to be presented be added in the displaying control, and it includes described for returning The displaying control content to be presented.
S240, described in the displaying control of return content to be presented is shown.
In a kind of optional embodiment of the embodiment of the present invention, the displaying control is view VIEW control.
Correspondingly, the target program, which is based on the content identification information, content to be presented is added to the displaying for described In control, can be the target program be based on the content identification information obtain it is described content to be presented, what be will acquire is described It is content to be presented to be plotted in the VIEW control, and returning includes the VIEW control content to be presented.
Correspondingly, in the displaying control of return it is described it is content to be presented be shown, can be return The content display region content to be presented at the current application program interface for including in the VIEW control is opened up Show.
Specifically, can be the content display region at the VIEW control replacement current application program interface of return Occupy-place VIEW control, it is described content to be presented to be shown in the content display region.
Since each application program is when carrying out interface display, it is required to be arranged at least one activity Activity as boundary Face carrier allows users to draw interface on Activity.After being initialized by Activity to VIEW control, It determines the size of each element in VIEW control, and adjusts the size of VIEW control, and is big for each element distribution in VIEW control Small and position, and details rendering is carried out to each element after being assigned, to realize drawing in VIEW control content to be presented System.After drawing is complete, return includes VIEW control content to be presented.A kind of exhibition of application program shown in B referring to fig. 2 The schematic diagram for showing the page carries out exemplary explanation to webpage representation process.
Show Application Program Interface.Wherein, Application Program Interface includes navigation area 21 and content display region 22.Its In, navigation area 21 is provided at least one preset control for realizing navigation feature, and content display region 22 is provided with carry out page The displaying control that face is shown.
Wherein, the second level control after the preset control in Fig. 2 B includes level-one control 211 and expands to level-one control 212.Wherein, level-one control includes " recommendation ", " game ", " small video ", " software " and " management ";Wherein, " recommendation " is corresponding Second level control include " classification ", " selected ", " video ", " seniority among brothers and sisters " and " novel ".Wherein, displaying control can be VIEW control Part.
When user triggers " novel " corresponding preset control, mesh content to be presented corresponding with the preset control is determined Beacon course sequence;Content identification information content to be presented is obtained, and generates VIEW control to show that preset control " novel " is corresponding It is content to be presented;Content identification information and VIEW control are sent to target program;Target program reception content identification information and VIEW control, and it is content to be presented based on content identification information acquisition;What target program will acquire content to be presented is plotted in In VIEW control, and returns and drawn VIEW control content to be presented.
The occupy-place of the content display region 22 at the VIEW control replacement current application program interface that target program is returned VIEW control, and then realize that the content display region 22 at current application program interface carries out display content to be presented.
It is understood that for the ease of realizing the effect of Dynamic Distribution, while reducing memory when carrying out page presentation Consumption, in another optional embodiment of the embodiment of the present invention, displaying control can also be set to FRAGMENT control this The interface carrier of one lightweight.
Correspondingly, the target program, which is based on the content identification information, content to be presented is added to the displaying for described In control, can be the target program be based on the content identification information obtain it is described content to be presented, what be will acquire is described It is content to be presented to be plotted in the FRAGMENT control, and returning includes the FRAGMENT control content to be presented Part.
Correspondingly, in the displaying control of return it is described it is content to be presented be shown, can be return The content display region content to be presented at the current application program interface for including in the FRAGMENT control into Row is shown.
Specifically, can be the content display area at the FRAGMENT control replacement current application program interface of return The occupy-place FRAGMENT control in domain, it is described content to be presented to be shown in the content display region.
It is understood that interface carrier movable (Acitivity) and displaying control in order to realize Application Program Interface The decoupling of (such as can be VIEW control or FRAGMENT control), while the unified management to each displaying control, in the present invention In the further alternate embodiment of embodiment, the displaying control can also be set to window WINDOW control.
Correspondingly, the target program, which is based on the content identification information, content to be presented is added to the displaying for described In control, it can be the target program and determine the corresponding content class of the content identification information, by calling the content class View generation method function, generation includes the view control content to be presented, and the view control is added to institute It states in window WINDOW control, and return includes the window WINDOW control of the view control;
Correspondingly, in the displaying control of return it is described it is content to be presented be shown, can be return The window WINDOW control is added in the root window control at present procedure interface, in current application program interface display institute It states content to be presented.
A kind of schematic diagram of the displayed page of application program shown in C referring to fig. 2, in the displayed page of current application program The content for including in the window WINDOW control of return is shown in 23.
Continue aforementioned exemplary to continue to explain.When user triggers " novel " corresponding preset control, determine and the default control The corresponding target program content to be presented of part;Obtain content identification information content to be presented, and generate WINDOW control with Show that preset control " novel " is corresponding content to be presented;Content identification information and WINDOW control are sent to target program; Target program reception content identification information and WINDOW control, and the corresponding content of content identification information is determined by reflection mechanism Class calls the view generation method function of content class, and generation includes view control content to be presented;Wherein, view control It can be VIEW control;View control is added in WINDOW control by target program, and returning includes the view control The WINDOW control.
The WINDOW control that target program returns is added to the root window of the displayed page 23 at current application program interface In control, and then realize that the displayed page 23 at current application program interface carries out display content to be presented.
The embodiment of the present invention is described content to be presented by that will load from target program, in current application program showing interface The operation content to be presented being loaded into is refined as obtaining the corresponding content identification content to be presented of the preset control Information, and generate for showing the corresponding displaying control content to be presented of the preset control;By the content identification information Be sent to the target program with the displaying control so that the target program be based on the content identification information will it is described to Show that content is added in the displaying control, and returning includes the displaying control content to be presented;To return The displaying control in it is described it is content to be presented be shown so that using different displaying controls to content to be presented plus To show, it is preferably adapted to different displaying demands, and then the perfect webpage representation mechanism of application program.
Embodiment three
Fig. 3 is the structure chart of one of embodiment of the present invention three webpage representation device.The embodiment of the present invention is suitable for Preset control is triggered in Application Program Interface, the case where to show corresponding contents.The device uses software and/or hardware It realizes, and concrete configuration is in terminal device.It is mobile that the terminal device can be smart phone, tablet computer, PC etc. Terminal can also be the fixed equipments such as desktop computer.
A kind of webpage representation device as shown in Figure 3, comprising: program determining module 310 and content display module 320.
Wherein, program determining module 310, for detecting the triggering behaviour to preset control on current application program interface When making, determination is used to provide the described the corresponding target program content to be presented of preset control;
Content display module 320, it is described content to be presented for being loaded from the target program, in current application program circle Face displaying is loaded into described content to be presented.
The embodiment of the present invention detects the touching to preset control by program determining module on current application program interface After hair operation, determine for providing preset control corresponding target program content to be presented;By content display module from mesh The load of beacon course sequence is content to be presented, is loaded into current application program showing interface content to be presented.Above-mentioned technical proposal is logical The corresponding relationship that preset control is established between application program and target program is crossed, and by Application Program Interface to target program institute The content to be presented of load is shown, without entering target program, enriches the effect that shows of the page, and then enrich and answer With the function of program, the usage experience of user is improved.
Further, content display module 320, comprising:
Displaying control generation unit, for obtaining the corresponding content identification information content to be presented of the preset control, And it generates for showing the corresponding displaying control content to be presented of the preset control;
Displaying control return unit, for the content identification information and the displaying control to be sent to the target journey Sequence so that the target program be based on the content identification information by it is described it is content to be presented be added in the displaying control, And returning includes the displaying control content to be presented;
Displaying control display unit content to be presented is shown for described in the displaying control to return.
Further, the displaying control is that view rendering shows control;View rendering shows that control includes view VIEW Control and/or segment FRAGMENT control.
Further, the displaying control is view VIEW control;The target program is based on the content identification information By it is described it is content to be presented be added in the displaying control, be specifically used for:
The target program is described content to be presented based on content identification information acquisition, and what be will acquire is described to be presented Content is plotted in the VIEW control, and returning includes the VIEW control content to be presented;
Correspondingly, displaying control display unit, is specifically used for:
It is described content to be presented in the current application program interface by include in the VIEW control of return Hold display area to be shown.
Further, displaying control display unit is specifically used for:
The VIEW control of return is replaced to the occupy-place VIEW control of the content display region at current application program interface, It is described content to be presented to be shown in the content display region.
Further, the displaying control is segment FRAGMENT control;The target program is based on the content identification Information by it is described it is content to be presented be added in the displaying control, be specifically used for:
The target program is described content to be presented based on content identification information acquisition, and what be will acquire is described to be presented Content is plotted in the FRAGMENT control, and returning includes the FRAGMENT control content to be presented;
Correspondingly, displaying control display unit, is specifically used for:
It is described content to be presented at the current application program interface by include in the FRAGMENT control of return Content display region be shown.
Further, displaying control display unit is specifically used for:
By the occupy-place of the content display region at the FRAGMENT control replacement current application program interface of return FRAGMENT control, it is described content to be presented to be shown in the content display region.
Further, the displaying control is window WINDOW control;The target program is believed based on the content identification Breath by it is described it is content to be presented be added in the displaying control, be specifically used for:
The target program determines the corresponding content class of the content identification information, by the view for calling the content class Generation method function, generation include the view control content to be presented, the view control are added to described In WINDOW control, and return includes the window WINDOW control of the view control;
Correspondingly, displaying control display unit, is specifically used for:
The WINDOW control of return is added in the root window control at current application program interface, to be answered currently It is shown with program interface described content to be presented.
Further, the preset control includes level-one control and multistage control;
The multistage control is the child control being nested under the level-one control;
The level-one control includes label control and/or button control.
Further, the content identification information includes: page iden-tity and/or content item identification;
Further, the type of the target program are as follows: application program, is inserted the component being set in current application program Part or small routine.
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.
Example IV
Fig. 4 is a kind of structural schematic diagram for terminal device that the embodiment of the present invention four provides.Fig. 4, which is shown, to be suitable for being used in fact The block diagram of the exemplary terminal equipment 412 of existing embodiment of the present invention.The terminal device 412 that Fig. 4 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 4, terminal device 412 is showed in the form of universal computing device.The component of terminal device 412 can wrap Include but be not limited to: one or more processor or processing unit 416, system storage 428 connect different system components The bus 418 of (including system storage 428 and processing unit 416).
Bus 418 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 412 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 412 accesses, including volatile and non-volatile media, moveable and immovable medium.
System storage 428 may include the computer system readable media of form of volatile memory, such as deposit at random Access to memory (RAM) 430 and/or cache memory 432.Terminal device 412 may further include it is other it is removable/no Movably, volatile/non-volatile computer system storage medium.Only as an example, storage system 434 can be used for reading and writing Immovable, non-volatile magnetic media (Fig. 4 do not show, commonly referred to as " hard disk drive ").Although not shown in fig 4, may be used 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 418.Memory 428 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 440 with one group of (at least one) program module 442, can store in such as memory In 428, such program module 442 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 442 Usually execute the function and/or method in embodiment described in the invention.
Terminal device 412 can also be with one or more external equipments 414 (such as keyboard, sensing equipment, display 424 Deng) communication, can also be enabled a user to one or more equipment interact with the terminal device 412 communicate, and/or with make Any equipment (such as network interface card, the modem that the terminal device 412 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 422.Also, terminal device 412 can also lead to Cross network adapter 420 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 420 is communicated by bus 418 with other modules of terminal device 412.It answers When understanding, although not shown in the drawings, other hardware and/or software module can be used in conjunction with terminal device 412, 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 416 passes through at least one program in multiple programs that operation is stored in system storage 428, 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 five
The embodiment of the present invention five 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 the trigger action to preset control on program interface, it is corresponding to be presented interior that determination is used to provide the described preset control The target program of appearance;It is described content to be presented from target program load, it is loaded into current application program showing interface It is described content to be presented.
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 it is unlimited In wireless, 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 (10)

1. a kind of webpage representation method characterized by comprising
When detecting the trigger action to preset control on current application program interface, determination is used to provide the described preset control Corresponding target program content to be presented;
It is described content to be presented from target program load, it is loaded into current application program showing interface described to be presented Content.
2. the method according to claim 1, wherein from the target program load it is described content to be presented, Current application program showing interface is loaded into described content to be presented, comprising:
The corresponding content identification information content to be presented of the preset control is obtained, and is generated for showing the preset control Corresponding displaying control content to be presented;
The content identification information and the displaying control are sent to the target program, so that the target program is based on institute State content identification information by it is described it is content to be presented be added in the displaying control, and return include described content to be presented The displaying control;
Described in the displaying control of return content to be presented is shown.
3. according to the method described in claim 2, it is characterized in that, the displaying control is that view rendering shows control;It is described Target program is based on the content identification information and content to be presented is added to described in the displaying control, comprising:
The target program is described content to be presented based on content identification information acquisition, and what be will acquire is described content to be presented It is plotted in the view rendering to show in control, and returning includes the view rendering display control content to be presented Part;
Described in the displaying control of return content to be presented is shown, comprising:
It is described content to be presented at the current application program interface by include in the view rendering display control of return Content display region be shown.
4. according to the method described in claim 3, it is characterized in that, the view rendering shows that control includes view VIEW control And/or segment FRAGMENT control.
5. according to the method described in claim 2, it is characterized in that, the displaying control is window WINDOW control;The mesh Beacon course sequence is based on the content identification information and content to be presented is added to described in the displaying control, comprising:
The target program determines the corresponding content class of the content identification information, by the view generation for calling the content class Method function, generation include the view control content to be presented, and the view control is added to the WINDOW and is controlled In part, and return includes the WINDOW control of the view control;
Described in the displaying control of return content to be presented is shown, comprising:
The WINDOW control of return is added in the root window control at current application program interface, in current application journey It is content to be presented described in sequence interface display.
6. the method according to any one of claim 2-5, which is characterized in that the content identification information includes: the page Mark and/or content item identification.
7. method according to any one of claims 1-5, which is characterized in that the type of the target program are as follows: application Program, the component being set in current application program, plug-in unit or small routine.
8. a kind of webpage representation device characterized by comprising
Program determining module when for detecting the trigger action to preset control on current application program interface, being determined and being used In the corresponding target program content to be presented of the offer preset control;
Content display module, it is described content to be presented for being loaded from the target program, in current application program showing interface What is be loaded into is described content to be presented.
9. 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-7.
10. 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-7 a kind of described in any item webpage representation methods are realized when execution.
CN201910580552.7A 2019-06-28 2019-06-28 Page display method and device, terminal equipment and storage medium Active CN110309475B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910580552.7A CN110309475B (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
CN201910580552.7A CN110309475B (en) 2019-06-28 2019-06-28 Page display method and device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110309475A true CN110309475A (en) 2019-10-08
CN110309475B CN110309475B (en) 2021-01-29

Family

ID=68078505

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN110309475B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111273984A (en) * 2020-01-20 2020-06-12 深圳震有科技股份有限公司 Extension method of numerical control, storage medium and terminal equipment
CN111354089A (en) * 2020-02-21 2020-06-30 上海米哈游天命科技有限公司 Multi-level special effect ordering method, device, equipment and storage medium
CN111370096A (en) * 2020-03-06 2020-07-03 北京三快在线科技有限公司 Interactive interface display method, device, equipment and storage medium
CN111459487A (en) * 2020-04-02 2020-07-28 上海极链网络科技有限公司 Method, device and equipment for displaying control and storage medium
CN112416374A (en) * 2020-11-18 2021-02-26 北京字跳网络技术有限公司 Data processing method, device, terminal and storage medium
CN113268292A (en) * 2020-02-14 2021-08-17 北京沃东天骏信息技术有限公司 Method and device for displaying information, electronic equipment and storage medium
CN113641274A (en) * 2021-08-16 2021-11-12 海尔数字科技(青岛)有限公司 Page display method, device and equipment for micro application
CN116483296A (en) * 2022-01-13 2023-07-25 深圳Tcl新技术有限公司 Screen projection control method and device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140143766A1 (en) * 2011-06-30 2014-05-22 Xiaomi Inc. Method for re-skinning a third party's application
CN104424484A (en) * 2013-09-11 2015-03-18 阿里巴巴集团控股有限公司 Method and device for switching and adding entry information for application programs
CN104750722A (en) * 2013-12-30 2015-07-01 腾讯科技(深圳)有限公司 Information acquisition and display method and information acquisition and display device
CN105630876A (en) * 2015-12-17 2016-06-01 百度在线网络技术(北京)有限公司 Cross-application information obtaining method and device
CN108664304A (en) * 2018-05-03 2018-10-16 广州腾讯科技有限公司 Applied program processing method, device, storage medium and computer equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140143766A1 (en) * 2011-06-30 2014-05-22 Xiaomi Inc. Method for re-skinning a third party's application
CN104424484A (en) * 2013-09-11 2015-03-18 阿里巴巴集团控股有限公司 Method and device for switching and adding entry information for application programs
CN104750722A (en) * 2013-12-30 2015-07-01 腾讯科技(深圳)有限公司 Information acquisition and display method and information acquisition and display device
CN105630876A (en) * 2015-12-17 2016-06-01 百度在线网络技术(北京)有限公司 Cross-application information obtaining method and device
CN108664304A (en) * 2018-05-03 2018-10-16 广州腾讯科技有限公司 Applied program processing method, device, storage medium and computer equipment

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111273984A (en) * 2020-01-20 2020-06-12 深圳震有科技股份有限公司 Extension method of numerical control, storage medium and terminal equipment
CN113268292A (en) * 2020-02-14 2021-08-17 北京沃东天骏信息技术有限公司 Method and device for displaying information, electronic equipment and storage medium
CN111354089A (en) * 2020-02-21 2020-06-30 上海米哈游天命科技有限公司 Multi-level special effect ordering method, device, equipment and storage medium
CN111354089B (en) * 2020-02-21 2023-08-15 上海米哈游天命科技有限公司 Multi-level special effect ordering method, device, equipment and storage medium
CN111370096A (en) * 2020-03-06 2020-07-03 北京三快在线科技有限公司 Interactive interface display method, device, equipment and storage medium
CN111459487A (en) * 2020-04-02 2020-07-28 上海极链网络科技有限公司 Method, device and equipment for displaying control and storage medium
CN112416374A (en) * 2020-11-18 2021-02-26 北京字跳网络技术有限公司 Data processing method, device, terminal and storage medium
CN113641274A (en) * 2021-08-16 2021-11-12 海尔数字科技(青岛)有限公司 Page display method, device and equipment for micro application
CN116483296A (en) * 2022-01-13 2023-07-25 深圳Tcl新技术有限公司 Screen projection control method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN110309475B (en) 2021-01-29

Similar Documents

Publication Publication Date Title
CN110309475A (en) A kind of webpage representation method, apparatus, terminal device and storage medium
US11449220B2 (en) Electronic device including touch sensitive display and method for managing the display
US11868680B2 (en) Electronic device and method for generating short cut of quick command
US20220261127A1 (en) Information display method and apparatus, electronic device, and computer readable medium
EP3021562B1 (en) Method for sharing screen and electronic device thereof
US9851790B2 (en) Gaze based notification reponse
US10775979B2 (en) Buddy list presentation control method and system, and computer storage medium
US9542949B2 (en) Satisfying specified intent(s) based on multimodal request(s)
EP2940556A1 (en) Command displaying method and command displaying device
US20160004425A1 (en) Method of displaying graphic user interface and electronic device implementing same
US11888807B2 (en) Mail information display method and apparatus, electronic device, and storage medium
CN108664475A (en) Translate display methods, device, mobile terminal and storage medium
WO2015043442A1 (en) Method, device and mobile terminal for text-to-speech processing
US20200220824A1 (en) Method, a device and a storage medium of forwarding voice information in instant messaging
US10469645B2 (en) Method and apparatus for creating communication group
CN107562324A (en) The method and terminal of data display control
US20230068162A1 (en) Method of displaying information, electronic device and storage medium
EP4328725A1 (en) Display method and apparatus, electronic device, and storage medium
CN109324727A (en) A kind of interface control method, device, equipment and storage medium
CN112291602B (en) Video playing method, electronic equipment and storage medium
CN114415892A (en) Interface control generation method and device, readable medium and electronic equipment
CN110647264B (en) Manual and automatic rotating sphere label display method, device, equipment and medium
CN113873480A (en) Interaction control method, device, terminal and storage medium
CN111859999A (en) Message translation method, device, storage medium and electronic equipment
CN109298906A (en) Window call-out method, window calling device and mobile terminal

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