Movatterモバイル変換


[0]ホーム

URL:


CN109189588A - A kind of browser function implementation method, device, terminal and storage medium - Google Patents

A kind of browser function implementation method, device, terminal and storage medium
Download PDF

Info

Publication number
CN109189588A
CN109189588ACN201810892873.6ACN201810892873ACN109189588ACN 109189588 ACN109189588 ACN 109189588ACN 201810892873 ACN201810892873 ACN 201810892873ACN 109189588 ACN109189588 ACN 109189588A
Authority
CN
China
Prior art keywords
communication module
browser
client
built
link
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
CN201810892873.6A
Other languages
Chinese (zh)
Other versions
CN109189588B (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.)
Songling Intelligent Technology Shanghai Co ltd
Original Assignee
Wuhan Douyu Network 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 Wuhan Douyu Network Technology Co LtdfiledCriticalWuhan Douyu Network Technology Co Ltd
Priority to CN201810892873.6ApriorityCriticalpatent/CN109189588B/en
Publication of CN109189588ApublicationCriticalpatent/CN109189588A/en
Application grantedgrantedCritical
Publication of CN109189588BpublicationCriticalpatent/CN109189588B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The embodiment of the invention discloses a kind of browser function implementation method, device, terminal and storage mediums, wherein this method comprises: establishing the communication connection between the built-in browser communication module in the client communication module in client and client, wherein, client communication module realizes that built-in browser communication module is realized based on html language based on QML language;Based on communication connection, the transmissions links between client communication module and built-in browser communication module, so that client realizes jumping or collecting for link by built-in browser.Technical solution provided in an embodiment of the present invention, which overcomes the client based on QML in the prior art, directly to load WEB page by HTML, and based between the client of QML and HTML also there is no web page link the problem of the interfaces such as jumping and collect, so that client is realized the function of linking and jump or collect by built-in browser.

Description

A kind of browser function implementation method, device, terminal and storage medium
Technical field
The present embodiments relate to computer technology more particularly to a kind of browser function implementation method, device, terminal andStorage medium.
Background technique
Since browser is born, the function of providing greatly facilitates the use of internet.For many clients,Client is especially broadcast live, many links need to jump to the end Web to show, meanwhile, user also can directly pass through browserViewing live streaming room etc..
It, should although the client based on QML provides the core engine WebEngineView based on chromium browserCore engine can load web page by HTML, and still, the client based on QML directly can not load WEB by HTMLThe page, based on also there is no what web page linked the interfaces such as to jump and collect between the client of QML and HTML, therefore, howClient based on QML is set to realize that the functions such as jump and collect of browser are a problems.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of browser function implementation method, device, terminal and storages to be situated betweenMatter makes client realize the function that link is jumped or collected.
In a first aspect, the embodiment of the invention provides a kind of browser function implementation methods, which comprises
It establishes between the built-in browser communication module in client communication module and the client in clientCommunication connection, wherein the client communication module realizes that the built-in browser communication module is based on based on QML languageHtml language is realized;
Based on the communication connection, passed between the client communication module and the built-in browser communication moduleDefeated link, so that the client realizes jumping or collecting for the link by built-in browser.
Second aspect, the embodiment of the invention provides a kind of browser function realization device, described device includes:
Module is established in communication connection, built in the client communication module for establishing in client and the clientCommunication connection between browser communication module, wherein the client communication module is realized based on QML language, described built-inBrowser communication module is realized based on html language;
Browser function realizes module, for being based on the communication connection, in the client communication module and describedTransmissions links between built-in browser communication module, so that the client realizes jumping for the link by built-in browserOr collection.
The third aspect, the embodiment of the invention provides a kind of browser functions to realize terminal, 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 processingDevice realizes the browser function implementation method as described in any embodiment of the present invention.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage mediums, are stored thereon with computer journeySequence realizes the browser function implementation method as described in any embodiment of the present invention when the program is executed by processor.
A kind of browser function implementation method, device, terminal and storage medium provided in an embodiment of the present invention, pass through foundationThe communication connection between built-in browser communication module in client communication module in client and client, wherein visitorFamily end communication module realizes that built-in browser communication module is realized based on html language based on QML language;Based on above-mentioned communication linkIt connects, the transmissions links between client communication module and built-in browser communication module, so that client passes through built-in browsingDevice realizes jumping or collecting for link, and overcoming the client based on QML in the prior art directly can not load WEB by HTMLThe page, and based on also there is no what web page linked the asking for interfaces such as to jump and collect between the client of QML and HTMLTopic makes client realize the function that link is jumped or collected by built-in browser.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show belowThere is attached drawing needed in technical description to do one simply to introduce, it should be apparent that, the accompanying drawings in the following description is this hairBright some embodiments for those of ordinary skill in the art without creative efforts, can be with rootOther attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of flow chart for browser function implementation method that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of browser function implementation method provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow chart for browser function implementation method that the embodiment of the present invention three provides;
Fig. 4 is a kind of structural schematic diagram for browser function realization device that the embodiment of the present invention four provides;
Fig. 5 is the structural schematic diagram that a kind of browser function that the embodiment of the present invention five provides realizes terminal.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, hereinafter with reference to attached in the embodiment of the present inventionFigure, clearly and completely describes technical solution of the present invention by embodiment, it is clear that described embodiment is the present invention oneSection Example, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not doingEvery other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
Embodiment one
Fig. 1 is a kind of browser function implementation method flow chart that the embodiment of the present invention one provides, and the present embodiment is applicableIn carrying out the case where link is jumped or collected inside client, this method can be realized by browser function realization device, toolBody can be implemented by the software and/or hardware in browser function realization device.Referring to Fig. 1, the browser function realization sideMethod includes the following steps:
S110, it establishes between the built-in browser communication module in the client communication module in client and clientCommunication connection, wherein client communication module realizes that it is real that built-in browser communication module is based on html language based on QML languageIt is existing.
Wherein, the client that client can be the end PC can also be with the client of mobile phone terminal.QML language is one that Qt is releasedKind declarative scripting language, for describing the user interface of a program: either what and the user interface be such asWhat is showed.Html language is hypertext markup language, i.e., one under standard generalized markup language applies.Hypertext refers to the pageIt inside may include picture, link or even the non-legible element such as music, program.The structure of hypertext markup language includes head point(part Head) and main part (part Body), wherein head point provides the information about webpage, and main part provides webpageParticular content.
In the present embodiment, built-in browser can be preferably set in the client, allowed users to inside clientUse browser.In order to realize the part in client in addition to built-in browser and the data interaction between built-in browser,Client communication module and built-in browser communication module can be set in the client, and by establishing communication between the twoThe part in addition to built-in browser and the data interaction between built-in browser in client are realized in connection.Wherein, preferably, client communication module can be realized based on QML language, and built-in browser communication module can be realized based on html language.
S120, it is based on communicating to connect, the transmissions links between client communication module and built-in browser communication module,So that client realizes jumping or collecting for link by built-in browser.
It, can be logical based on this after establishing the communication connection between client communication module and built-in browser communication moduleLetter connection, the transmissions links between client communication module and built-in browser communication module, with realize client with it is built-in clearThe link look between device jumps and collection function.
Wherein, the transmissions links between client communication module and built-in browser communication module, with realize client withLink between built-in browser jumps and collection function, may include client communication module linked be transferred to it is built-in clearIt lookes at device communication module, realizes link jumping from client to built-in browser;It may include that built-in browser communication module willIt, which is linked, is transferred to client communication module, realizes collection of the client to linking in built-in browser, can also include built-inLink transmission inside browser communication module, realization are linked at jumping inside built-in browser.
Browser function implementation method provided in this embodiment passes through the client communication module established in client and visitorThe communication connection between built-in browser communication module in the end of family, wherein client communication module based on QML language realize,Built-in browser communication module is realized based on html language;Based on above-mentioned communication connection, in client communication module and built-inTransmissions links between browser communication module overcome so that client realizes jumping or collecting for link by built-in browserThe client based on QML directly can not load WEB page by HTML in the prior art, and client based on QML withAlso there is no web page links the problem of the interfaces such as jumping and collect between HTML, so that client is passed through built-in browser realThe function that link is jumped or collected is showed.
On the basis of the various embodiments described above, further, client communication module and the client in client are establishedIn built-in browser communication module between communication connection, comprising:
Using Socket component, Transmission Control Protocol three is carried out between client communication module and built-in browser communication moduleIt is secondary to shake hands, establish the communication connection between client communication module and built-in browser communication module.
Since the client communication module realized based on QML language is communicated with the built-in browser realized based on html languageIt can not be directly communicatively coupled between module, therefore, the WebChannel that can be provided by the bottom C Plus Plus of QML is realDirect communication between existing client communication module and built-in browser communication module.Preferably, it can use WebChannelIn Socket component realize the direct communication between client communication module and built-in browser communication module.
Specifically, carrying out TCP between client communication module and built-in browser communication module using Socket componentAgreement three-way handshake establishes the communication connection between client communication module and built-in browser communication module.Wherein, in clientTransmission Control Protocol three-way handshake is carried out between end communication module and built-in browser communication module is respectively: shake hands can be for the first timeClient communication module sends TCP connection request data package to built-in browser communication module, and second handshake can be built-inAfter browser communication module receives request data package, confirmation data packet is sent to client communication module, shaking hands for the third time canTo be to communicate mould to built-in browser after client communication module receives the confirmation data packet that built-in browser communication module is sentBlock sends confirmation data packet and illustrates success of shaking hands if built-in browser communication module has received confirmation data packet, thisWhen, client communication module and built-in browser communication module are successfully established communication connection, and the two can be based on the communication connectionTransmissions links.
Further, it based on communication connection, is transmitted between client communication module and built-in browser communication moduleLink, so that client realizes jumping for link by built-in browser, comprising:
Based on communication connection, the link jumped in client is transmitted to using client communication module built-inBrowser communication module;
It is identified and is linked using built-in browser communication module, loaded and show that link is corresponding and jump interface, with from clientEnd jumps to built-in browser.
It, can be with based on the communication connection between client communication module and built-in browser communication module in the present embodimentBuilt-in browser is transferred to using the link jump that client communication module selectes user in client to communicateModule, to show the corresponding interface of the link by built-in browser.Built-in browser communication module receives client communicationModule send link after, identify the link head part and the part body, and according to head part and body part plusCarry with this link it is corresponding jump interface, and shown in domestic browser so that link jumped to from client it is interiorSet browser.
Further, when jumping interface using the load of built-in browser communication module, comprising: utilize client communication mouldThe value of environmental variance is set NULL by block, and when so that the load of built-in browser communication module jumping interface, no order line is mentionedShow pop-up.
In general, during webpage jumps, browser for the first time load flash plug-in unit when all can eject command row mentionShow, when jumping interface using the load of built-in browser communication module, also inevitably will appear same problem.Order lineThe pop-up of prompt is not that NULL is related with the value of environmental variance, is based on this, can use client communication module and become environmentThe value of amount is set as NULL, so that system transfer environment variable is can not to find command-line prompt pop-up, so that built-in browsingDevice pops up when loading flash plug-in unit for the first time without command-line prompt.Specifically, client communication module can use environmental varianceFunction is set and sets NULL for the value of environmental variance.
Illustratively, it is specifically described by taking the environmental variance under Windows operating system as an example:
System environment variable ComSpec under Windows operating system stores the path of order line cmd.exe, at this timeNull can be set by system environment variable ComSpec by qputenv function, so that Windows operating system can not be foundCommand-line prompt pop-up, so that browser can not jump out command-line prompt when loading flash plug-in unit.
Embodiment two
Fig. 2 is a kind of flow chart of browser function implementation method provided by Embodiment 2 of the present invention.The present embodiment is upperOn the basis of stating each embodiment, described it will be based on the communication connection, in the client communication module and described built-in clearTransmissions links between device communication module are look at, so that the client realizes jumping for the link by built-in browser, into oneStep optimization are as follows: utilize the built-in browser communication module, identification user's link selected in the built-in browser isNo is download link;If the link is not download link, it is based on the communication connection, is communicated using the built-in browserThe link is sent to the client communication module by module;Using the client communication module from core engineLoad corresponding jumps interface with described link in WebEngineView;Using the client communication module by the jumpThe improper interface turned in interface is filtered;Based on the communication connection, after being filtered using the client communication moduleThe remaining interface that normally jumps is sent to the built-in browser communication module, and aobvious using the built-in browser communication moduleShow it is described normally jump interface, with realize described in be linked at jumping inside the built-in browser.As shown in Fig. 2, this methodIt specifically includes:
S210, it establishes between the built-in browser communication module in the client communication module in client and clientCommunication connection, wherein client communication module realizes that it is real that built-in browser communication module is based on html language based on QML languageIt is existing.
S220, using built-in browser communication module, identify link of the user selected in built-in browser whether beDownload link.
When detecting user in built-in browser some having been selected to link, built-in browser communication preferably can useModule identifies whether the selected link of user is download link.Specifically, can use built-in browser communication module fromThe part head and the part body are identified in the selected link in family, wherein the part head includes the file type for requesting resource.Built-in browser communication module is that can determine user in built-in browser according to the file type of resource is requested in the part headWhether selected link is download link.
If S230, link are not download links, after user clicks on links, based on communication connection, built-in browsing is utilizedLink is sent to client communication module by device communication module.
In the present embodiment, if built-in browser communication module determines user, selected link is not download link, canTo determine that link needs are jumped inside built-in browser.Specifically, can first save user selection link, withAfter selected link is clicked at family, based on the communication connection between built-in browser communication module and client communication module, benefitThe part the head for linking and identifying and the part body etc. are sent to client communication mould with built-in browser communication moduleBlock.
S240, jump corresponding with linking is loaded from core engine WebEngineView using client communication moduleTurn interface.
S250, the improper interface jumped in interface is filtered using client communication module.
Preferably, client communication module is in link and the part head for receiving the transmission of built-in browser communication moduleAfter the part body, it can be loaded from core engine WebEngineView according to the information received corresponding with linkingJump interface.Wherein, poor if there is network condition, user's click speed is too fast or deposits in user clicks on linksIn at least one situation such as Caton, be loaded into from core engine WebEngineView using client communication module withIt links corresponding jump in interface to be just likely to comprising improper interface, wherein improper interface may include empty jumpsInterface or mistake jump interface.At this point, if by it is empty jump interface or mistake jump interface be sent to it is built-in clearDevice communication module of looking at is shown, the usage experience of user can be reduced.At this point, it is preferred that can use client communication module will jumpThe improper interface turned in interface filters out, and only residue is corresponding with linking normally jumps interface.
S260, based on communication connection, normally jump interface by remaining after filtering using client communication module and be sent toBuilt-in browser communication module, and loaded and shown using built-in browser communication module and normally jump interface, to realize linkJumping inside built-in browser.
In the present embodiment, using client communication module get it is corresponding with linking normally jump interface after, canBased on the communication connection between built-in browser communication module and client communication module, will normally jump in interface is sent toSet browser communication module, built-in browser communication module loads and shows that this normally jumps interface, and then in realizing and being linked atSet jumping inside browser.
Browser function implementation method provided in this embodiment, on the basis of the various embodiments described above, built in utilizingBrowser communication module identifies whether link of the user selected in built-in browser is download link;Under if link is notLink is carried, then based on communication connection, link is sent to client communication module using built-in browser communication module;Utilize visitorFamily end communication module is loaded from core engine WebEngineView corresponding with linking jumps interface;It is logical using clientThe improper interface jumped in interface is filtered by letter module;Based on communication connection, will be filtered using client communication moduleThe remaining interface that normally jumps is sent to built-in browser communication module afterwards, and is shown normally using built-in browser communication moduleInterface is jumped, realizes and is linked at jumping inside built-in browser.
On the basis of the various embodiments described above, further, based on communication connection, in client communication module and built-inTransmissions links between browser communication module, so that client realizes jumping for link by built-in browser, further includes:
If being linked as download link, pops up using built-in browser communication module after user clicks on links and link phaseCorresponding downloading interface.
Wherein, however, it is determined that current link is download link, then after user clicks on links, it is logical to can use built-in browserBelieve that module pops up customized downloading interface corresponding with download link, when user selects download directory and is downloaded,Built-in browser communication module and Web server can be established into connection, the received data transmitted according to Web serverSize receivedBytes and total amount of data totalBytes updates progress bar using built-in browser communication module and goes forward side by sideRow display, while being saved what is received in data into corresponding download directory.
Embodiment three
Fig. 3 is a kind of flow chart for browser function implementation method that the embodiment of the present invention three provides.The present embodiment is upperOn the basis of stating each embodiment, described it will be based on the communication connection, in the client communication module and described built-in clearTransmissions links between device communication module are look at, so that the client realizes the collection of the link by built-in browser, into oneStep optimization are as follows: when detecting that user clicks the collection button in the client, the communication connection is based on, using described interiorIt sets browser communication module and current link is sent to the client communication module;It is detected using the client communication moduleWhether the current link is collected, if detecting, the current link is not collected, logical using the clientBelieve that module saves the current link and the corresponding content of the current link.As shown in figure 3, this method specifically includes:
S310, it establishes between the built-in browser communication module in the client communication module in client and clientCommunication connection, wherein client communication module realizes that it is real that built-in browser communication module is based on html language based on QML languageIt is existing.
S320, when detect user click client in collection button when, based on communication connection, utilize built-in browserCurrent link is sent to client communication module by communication module.
When user browses in the built-in browser of client, detect that user clicks the collection in clientButton, at this point it is possible to determine user want by the current interface of built-in browser and the corresponding link collections of current interface intoIn client.At this point it is possible to based on the communication connection between built-in browser communication module and client communication module, using interiorIt sets browser communication module and current link is sent to client communication module.
S330, whether collected using the detection current link of client communication module, if detecting, current link does not haveHave and collected, then saves current link and the corresponding content of current link using client communication module.
Preferably, when client communication module receives the current link of built-in browser transmission, it can use clientWhether end communication module detection current link has been collected by client, is repeated asking for collection to prevent current linkTopic.Specifically, whether can be already recorded in the local profile of user's collection network address by detecting current link come reallyDetermine whether current link is collected.If detecting, current link is not collected, and can be popped up current link and not receivedThe prompt (or popping up the prompt that current link can be collected) of hiding;If detecting, current link is collected, can be withThe prompt that pop-up current link has been collected.Further, it is also possible to whether determine the collection of user by local profileReach the upper limit of collection, if it is determined that the collection of user does not reach the upper limit, then can pop up what current link can be collectedPrompt, at this point it is possible to by the full content write-in local profile in current link and the corresponding interface of current link;If it is determined that the collection of user has reached the upper limit, then the prompt that current link cannot be collected can be popped up.
Browser function implementation method provided in this embodiment is detected on the basis of the various embodiments described above by working asWhen user clicks the collection button in client, based on communication connection, current link is sent out using built-in browser communication moduleIt send to client communication module;Whether collected using the detection current link of client communication module, if detecting currentLink is not collected, then saves current link and the corresponding content of current link using client communication module, realizeThe link collections function of client.
On the basis of the various embodiments described above, further, using client communication module save current link andWhen the corresponding content of current link, if the corresponding content of current link does not load completion:
Register each event corresponding with content, wherein the corresponding attribute information of each event, attribute information are to becomeChange or does not change;
When detecting attribute information corresponding at least one event is to change, judge that client communication module mentionsWhether the LoadStatus in the core engine WebEngineView of confession is completion status;
If LoadStatus is completion status, the corresponding each event update content of completion status is utilized.
In the present embodiment, when being collected to current link and the corresponding interface of current link, it is likely that work asNot the case where preceding content linked in corresponding interface does not load completion.At this point it is possible to utilize client using asynchronous refresh modeWhether the content in interface corresponding to the link of end communication module detection collection loads completion, if detecting the link of collectionContent in corresponding interface, which loads, to be completed, then the relevant informations such as the title, icon, the content that load in the interface completed is existedIt is updated in collection.
Specifically, can each event corresponding with content that is linking in corresponding interface registered in advance, wherein each thingPart can be with events such as Icon, title, content, wherein each event corresponds to an attribute information, which is to occurVariation does not change, the attribute informations of the events such as Icon, title, content can with IconChanged,TitleChanged, contentChanged are indicated.It, can be by sentencing when detecting that at least one attribute information changesWhether the stress state LoadStatus in core engine WebEngineView that disconnected client communication module provides is to complete to comeDetermine whether load completion with the content linked in corresponding interface.If stress state LoadStatus is to complete, benefitWith corresponding content in the corresponding each event update collection of completion status.
Example IV
Fig. 4 is a kind of browser function realization device structural schematic diagram that the embodiment of the present invention four provides.Referring to fig. 4, originallyBrowser function realization device in embodiment, comprising:
Module 410 is established in communication connection, built in the client communication module for establishing in client and clientCommunication connection between browser communication module, wherein client communication module realizes that built-in browser is logical based on QML languageBelieve that module is realized based on html language;
Browser function realizes module 420, for being based on communication connection, in client communication module and built-in browserTransmissions links between communication module, so that client realizes jumping or collecting for link by built-in browser.
Browser function realization device provided in this embodiment passes through the client communication module established in client and visitorThe communication connection between built-in browser communication module in the end of family, wherein client communication module based on QML language realize,Built-in browser communication module is realized based on html language;Based on above-mentioned communication connection, in client communication module and built-inTransmissions links between browser communication module overcome so that client realizes jumping or collecting for link by built-in browserThe client based on QML directly can not load WEB page by HTML in the prior art, and client based on QML withAlso there is no web page links the problem of the interfaces such as jumping and collect between HTML, so that client is passed through built-in browser realThe function that link is jumped or collected is showed.
On the basis of the various embodiments described above, further, module 410 is established in communication connection specifically can be used for:
Using Socket component, Transmission Control Protocol three is carried out between client communication module and built-in browser communication moduleIt is secondary to shake hands, establish the communication connection between client communication module and built-in browser communication module.
Further, browser function realizes that module 420 may include that client jumps to built-in browser unit, whereinThe unit specifically can be used for:
Based on communication connection, the link jumped in client is transmitted to using client communication module built-inBrowser communication module;
And using the identification link of built-in browser communication module, load and show that link is corresponding and jump interface, with from visitorFamily end jumps to built-in browser.
Further, browser function realizes that module 420 can also include jump-transfer unit inside built-in browser, whereinThe unit specifically can be used for:
Using built-in browser communication module, identify whether link of the user selected in built-in browser is downloading chainIt connects;
If link is not download link, based on communication connection, link is sent to using built-in browser communication moduleClient communication module;
It is loaded from core engine WebEngineView using client communication module and corresponding with linking jumps boundaryFace;
The improper interface jumped in interface is filtered using client communication module;
Based on communication connection, using client communication module by after filtering it is remaining normally jump interface be sent to it is built-in clearLook at device communication module, and loaded and shown using built-in browser communication module and normally jump interface, with realize be linked at it is built-inJumping inside browser.
Further, above-mentioned client jumps to jump-transfer unit inside built-in browser unit and built-in browser and specifically goes backIt can be used for
NULL is set by the value of environmental variance using client communication module, so that built-in browser communication module addsWhen load jumps interface, no command-line prompt pop-up.
Further, browser function realizes that module 420 can also include link collections unit, wherein the unit is specificIt can be used for:
When detecting that user clicks the collection button in client, based on communication connection, communicated using built-in browserCurrent link is sent to client communication module by module;
Whether collected using the detection current link of client communication module, if detecting, current link is not receivedHiding then saves current link and the corresponding content of current link using client communication module.
Further, link collections unit specifically can be also used for:
When saving current link and the corresponding content of current link using client communication module, if current link pairThe content answered does not load completion, then:
Register each event corresponding with content, wherein the corresponding attribute information of each event, attribute information are to becomeChange or does not change;
When detecting attribute information corresponding at least one event is to change, judge that client communication module mentionsWhether the LoadStatus in the core engine WebEngineView of confession is completion status;
If LoadStatus is completion status, the corresponding each event update content of completion status is utilized.
Browser function realization device provided by the embodiment of the present invention can be performed provided by any embodiment of the inventionBrowser function implementation method has the corresponding functional module of execution method and beneficial effect.
Embodiment five
Fig. 5 is the structural schematic diagram that the browser function that the embodiment of the present invention five provides realizes terminal.Fig. 5, which is shown, to be suitable forFor realizing that the exemplary browser function of embodiment of the present invention realizes the block diagram of terminal 512.The browser function that Fig. 5 is shownRealize that terminal 512 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, browser function realizes that terminal 512 is showed in the form of universal computing device.Browser function is realThe component of existing terminal 512 can include but is not limited to: one or more processor 516, memory 528 connect not homologous rayThe bus 518 of component (including memory 528 and processor 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 liftsFor 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.
Browser function realizes that terminal 512 typically comprises a variety of computer system readable media.These media can beAny usable medium that can be realized that terminal 512 is accessed by browser function, including volatile and non-volatile media, moveAnd immovable medium.
Memory 528 may include the computer system readable media of form of volatile memory, such as arbitrary access is depositedReservoir (RAM) 530 and/or cache memory 532.Browser function realize terminal 512 may further include it is other canMovement/immovable, volatile/non-volatile computer system storage medium.Only as an example, storage device 534 can be withFor reading and writing immovable, non-volatile magnetic media (Fig. 5 do not show, commonly referred to as " hard disk drive ").Although in Fig. 5 notIt shows, the disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") can be provided, and to removableThe CD drive of dynamic anonvolatile optical disk (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these situationsUnder, each driver can be connected by one or more data media interfaces with bus 518.Memory 528 may includeAt least one program product, the program product have one group of (for example, at least one) program module, these program modules are configuredTo execute the function of various embodiments of the present invention.
Program/utility 540 with one group of (at least one) program module 542, can store in such as memoryIn 528, such program module 542 includes but is not limited to operating system, one or more application program, other program modulesAnd program data, it may include the realization of network environment in each of these examples or certain combination.Program module 542Usually execute the function and/or method in embodiment described in the invention.
Browser function realize terminal 512 can also with one or more external equipments 514 (such as keyboard, sensing equipment,Display 524 etc., wherein display 524 can decide whether to configure according to actual needs) communication, it can also be with one or moreIt enables a user to realize that the equipment that terminal 512 interacts communicates with the browser function, and/or is realized with the browser function is madeAny equipment (such as network interface card, modem etc.) that terminal 512 can be communicated with one or more of the other calculating equipmentCommunication.This communication can be carried out by input/output (I/O) interface 522.Also, browser function realizes that terminal 512 may be used alsoTo pass through network adapter 520 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public networkNetwork, such as internet) communication.As shown, network adapter 520 realizes terminal 512 by bus 518 and browser functionOther module communications.It should be understood that it is other hard can to realize that terminal 512 is used in conjunction with browser function although being not shown in Fig. 5Part and/or software module, including but not limited to: microcode, device driver, redundant processing unit, external disk drive array,RAID system, tape drive and data backup storage device etc..
The program that processor 516 is stored in memory 528 by operation, thereby executing various function application and dataProcessing, such as realize browser function implementation 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 journeyThe browser function implementation method as provided by the embodiment of the present invention is realized when sequence is executed by processor, comprising:
Establish the communication between the built-in browser communication module in the client communication module in client and clientConnection, wherein client communication module realizes that built-in browser communication module is realized based on html language based on QML language;
Based on communication connection, the transmissions links between client communication module and built-in browser communication module, so thatClient realizes jumping or collecting for link by built-in browser.
Certainly, computer readable storage medium provided by the embodiment of the present invention, the computer program stored thereon are unlimitedIn executing method operation as described above, can also be performed provided by any embodiment of the invention based on browser function realizationRelevant operation in the browser function implementation method of terminal.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable mediaCombination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readableStorage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device orDevice, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: toolThere 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 storageMedium can be any tangible medium for including or store program, which can be commanded execution system, device or deviceUsing 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 unlimitedIn electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer canAny computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used forBy 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 unlimitedIn 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 thereofProgram code, described program design language include object oriented program language-such as Java, Smalltalk, C++,Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be withIt fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portionDivide 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) orWide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet serviceIt 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 thatThe 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 inventionIt is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, alsoIt may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

CN201810892873.6A2018-08-072018-08-07Browser function implementation method, device, terminal and storage mediumActiveCN109189588B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201810892873.6ACN109189588B (en)2018-08-072018-08-07Browser function implementation method, device, terminal and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810892873.6ACN109189588B (en)2018-08-072018-08-07Browser function implementation method, device, terminal and storage medium

Publications (2)

Publication NumberPublication Date
CN109189588Atrue CN109189588A (en)2019-01-11
CN109189588B CN109189588B (en)2020-12-15

Family

ID=64921025

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810892873.6AActiveCN109189588B (en)2018-08-072018-08-07Browser function implementation method, device, terminal and storage medium

Country Status (1)

CountryLink
CN (1)CN109189588B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111858106A (en)*2020-09-232020-10-30江苏金晓电子信息股份有限公司Method for setting attributes of QML (QML framework) extension control

Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102169486A (en)*2010-02-252011-08-31腾讯科技(深圳)有限公司File downloading method and device
US20120005586A1 (en)*2010-07-022012-01-05Nokia CorporationMethod and apparatus for dynamic network device start up
CN102915363A (en)*2012-10-182013-02-06北京奇虎科技有限公司Website storing method and system
CN103501463A (en)*2013-10-252014-01-08乐视网信息技术(北京)股份有限公司Data acquisition method and electronic equipment
CN103530365A (en)*2013-10-122014-01-22北京搜狗信息服务有限公司Method and system for acquiring downloading link of resources
CN103777942A (en)*2013-12-062014-05-07深圳市证通电子股份有限公司Embedded type software product development framework applied to financial terminal
CN104050962A (en)*2013-03-162014-09-17李军Multifunctional reader based on voice synthesis technology
CN107479990A (en)*2017-08-112017-12-15恒丰银行股份有限公司Distributed software service system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102169486A (en)*2010-02-252011-08-31腾讯科技(深圳)有限公司File downloading method and device
US20120005586A1 (en)*2010-07-022012-01-05Nokia CorporationMethod and apparatus for dynamic network device start up
CN102915363A (en)*2012-10-182013-02-06北京奇虎科技有限公司Website storing method and system
CN104050962A (en)*2013-03-162014-09-17李军Multifunctional reader based on voice synthesis technology
CN103530365A (en)*2013-10-122014-01-22北京搜狗信息服务有限公司Method and system for acquiring downloading link of resources
CN103501463A (en)*2013-10-252014-01-08乐视网信息技术(北京)股份有限公司Data acquisition method and electronic equipment
CN103777942A (en)*2013-12-062014-05-07深圳市证通电子股份有限公司Embedded type software product development framework applied to financial terminal
CN107479990A (en)*2017-08-112017-12-15恒丰银行股份有限公司Distributed software service system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
DECLARATION OF VAR: ""Interacting with HTML from QML over WebChannel/WebSockets"", 《HTTPS://RETIFRAV.GITHUB.IO/BLOG/2018/07/14/HTML-FROM-QML-OVER-WEBCHANNEL-WEBSOCKETS/?TDSOURCETAG=S_PCTIM_AIOMSG》*

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111858106A (en)*2020-09-232020-10-30江苏金晓电子信息股份有限公司Method for setting attributes of QML (QML framework) extension control

Also Published As

Publication numberPublication date
CN109189588B (en)2020-12-15

Similar Documents

PublicationPublication DateTitle
JP7013466B2 (en) Application data processing methods, equipment, and computer programs
US20240176478A1 (en)Method, device and storage medium for object dragging
JP4932842B2 (en) Network connectivity and radio conditions in the announcement area
CN109542427B (en)System customization method and device, electronic equipment and storage medium
CN110572705B (en) Control method, device, medium and electronic device for pop-up window
US20230394223A1 (en)Page jumping method, apparatus, and device, and storage medium and program product
CN109743381A (en)Client and the long connection exchange method of server-side and device
CN112052420A (en) A kind of page sharing picture generation and page sharing method and device
CN104820683A (en)Terminal
CN104142966A (en)Web page displaying method and client
US20160378743A1 (en)Method and apparatus for insertion of text in an electronic device
CN112667118A (en)Method, apparatus and computer readable medium for displaying historical chat messages
CN114095533B (en)Cloud game account login method and device, computer equipment and storage medium
CN109218393A (en)A kind of implementation method of push, device, equipment and computer storage medium
CN101895531B (en)Client equipment, multimedia data unloading system and unloading method
CN104834687A (en)Picture display method
CN110989940B (en)Migration method and migration device
CN111783010B (en)Webpage blank page monitoring method, device, terminal and storage medium
US6240472B1 (en)Method and system for sharing a communications port
CN113384885B (en)Game object control method and device, storage medium and electronic equipment
CN109189588A (en)A kind of browser function implementation method, device, terminal and storage medium
WO2017156986A1 (en)Full-picture image display method and system for mobile terminal
CN116401173A (en)Test case generation method and device, medium and electronic equipment
CN109523591A (en)Processing method, device, equipment and the storage medium of picture
CN114339966A (en) Interface control method, device, medium and electronic device for data transmission

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
TR01Transfer of patent right
TR01Transfer of patent right

Effective date of registration:20240929

Address after:Room J14872, Building 2, No. 4268 Zhennan Road, Jiading District, Shanghai, 201800

Patentee after:Songling Intelligent Technology (Shanghai) Co.,Ltd.

Country or region after:China

Address before:11 / F, building B1, software industry phase 4.1, No.1, Software Park East Road, Donghu Development Zone, Wuhan City, Hubei Province 430070

Patentee before:WUHAN DOUYU NETWORK TECHNOLOGY Co.,Ltd.

Country or region before:China


[8]ページ先頭

©2009-2025 Movatter.jp