CN110069308A - The page starts method, apparatus, electronic equipment and storage medium - Google Patents

The page starts method, apparatus, electronic equipment and storage medium Download PDF

Info

Publication number
CN110069308A
CN110069308A CN201910324995.XA CN201910324995A CN110069308A CN 110069308 A CN110069308 A CN 110069308A CN 201910324995 A CN201910324995 A CN 201910324995A CN 110069308 A CN110069308 A CN 110069308A
Authority
CN
China
Prior art keywords
page
program
target pages
function
agreement
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
CN201910324995.XA
Other languages
Chinese (zh)
Other versions
CN110069308B (en
Inventor
李昕蕾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance 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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910324995.XA priority Critical patent/CN110069308B/en
Publication of CN110069308A publication Critical patent/CN110069308A/en
Application granted granted Critical
Publication of CN110069308B publication Critical patent/CN110069308B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The embodiment of the present disclosure discloses a kind of page starting method, apparatus, electronic equipment and storage medium, wherein this method comprises: under the operating status of the function program of host program Environmental Support, the starting request of target pages is obtained, includes the page link of target pages in starting request;If it is determined that the non-code that target pages are function program directly initiates the page, then according to agreement is jumped in the page in page link, call host program with shows target pages.The embodiment of the present disclosure, which avoids, needs to rewrite code in function program in the prior art to realize that the page starts, and saves time and manpower, optimizes the process that functional unit opens the page, realize the generalization and facilitation of page starting.

Description

The page starts method, apparatus, electronic equipment and storage medium
Technical field
The embodiment of the present disclosure be related to field of terminal technology more particularly to a kind of page starting method, apparatus, electronic equipment and Storage medium.
Background technique
With the continuous development of intelligent terminal, may be implemented not by different types of application programs various in intelligent terminal Same function, it is convenient for people's lives.
Currently, SDK (Software Development Kit, software can be passed through in the application program of intelligent terminal Development kit) realize different functions, such as the function of direct broadcasting room is realized in an application program.In the prior art, it answers After the SDK starting in program, corresponding interface can be shown according to the code of SDK.If based on user in interface Clicking operation, which needs to open, links corresponding webpage, even if application program can be with the displaying of supported web page, but SDK can not be direct The corresponding function of application program is called to open the webpage, developer needs the implementation according to application program, in SDK Code is rewritten to realize the displaying of webpage, expends time and manpower.
Summary of the invention
The embodiment of the present disclosure provides a kind of page starting method, apparatus, electronic equipment and storage medium, to optimize functional group Part opens the process of the page, realizes the generalization and facilitation of page starting.
In a first aspect, the embodiment of the present disclosure provides a kind of page starting method, comprising:
Under the operating status of the function program of host program Environmental Support, the starting request of target pages is obtained, it is described It include the page link of the target pages in starting request;
If it is determined that the non-code that the target pages are the function program directly initiates the page, then according to the page Agreement is jumped in the page in link, calls the host program to show the target pages.
Further, according to agreement is jumped in the page in the page link, call the host program to show State target pages, comprising:
If being jumped in the page in the page link in the first setting page of agreement and the host program and jumping association Discuss it is identical, then by the page link by set interface be sent to the host program so that the host program parse institute It states page link and shows the target pages.
Further, the interface for setting interface as between the function program and the host program.
Further, determine that the target pages are that the non-code of the function program directly initiates the page, comprising:
The target pages are matched according to agreement is jumped in the second setting page of the function program;
If it fails to match, it is determined that the target pages are that the non-code of the function program directly initiates the page.
Further, jumping agreement in the second setting page includes in hypertext transfer protocol and custom protocol At least one.
Further, after the starting request for obtaining target pages, further includes:
If it is determined that the target pages be the function program code directly initiate the page, then using local code into The parsing and display of the row target pages.
Further, under the operating status of the function program of host program Environmental Support, the starting of target pages is obtained Request, comprising:
Under the operating status of the function program of host program Environmental Support, based on user to being set in the function program The operation of control obtains the starting request of target pages.
Second aspect, the embodiment of the present disclosure additionally provide a kind of page starter, which includes:
Start request module, for obtaining page object under the operating status of the function program of host program Environmental Support The starting in face is requested, and includes the page link of the target pages in the starting request;
Page starting module, for if it is determined that the non-code that the target pages are the function program directly initiates page The host program is called to show the target pages then according to agreement is jumped in the page in the page link in face.
Further, the page starting module includes:
Call unit, if the first setting for jumping agreement and the host program in the page in the page link It is identical that agreement is jumped in the page, then the page link is sent to the host program by setting interface, so that the place Main program parses the page link and shows the target pages.
Further, the interface for setting interface as between the function program and the host program.
Further, the page starting module further includes non-code unit, and the non-code unit is specifically used for:
The target pages are matched according to agreement is jumped in the second setting page of the function program;
If it fails to match, it is determined that the target pages are that the non-code of the function program directly initiates the page.
Further, jumping agreement in the second setting page includes in hypertext transfer protocol and custom protocol At least one.
Further, described device further include:
Module is locally displayed, for if it is determined that the code that the target pages are the function program directly initiates page Face then carries out the parsing and display of the target pages using local code.
Further, the starting request module is specifically used for:
Under the operating status of the function program of host program Environmental Support, based on user to being set in the function program The operation of control obtains the starting request of target pages.
The third aspect, the embodiment of the present disclosure additionally provide a kind of electronic equipment, and the electronic equipment includes:
One or more processors;
Storage device, 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 that the page as described above starts method.
Fourth aspect, the embodiment of the present disclosure additionally provide a kind of computer readable storage medium, are stored thereon with computer Program, the program realize page starting method as described above when being executed by processor.
The embodiment of the present disclosure is by obtaining target pages under the operating status of the function program of host program Environmental Support Starting request, if it is determined that target pages be function program non-code directly initiate the page, then according in page link Agreement is jumped in the page, calls host program with shows target pages.The technical solution that the embodiment of the present disclosure provides, when function journey The page in sequence can cannot call the correlation function of host program to start page in local boot by jumping agreement in the page Face avoids and needs to rewrite code in function program in the prior art to realize that the page starts, saves time and people Power optimizes the process that functional unit opens the page, realizes the generalization and facilitation of page starting.
Detailed description of the invention
Fig. 1 is the flow chart that the page that the embodiment of the present disclosure provides starts method;
Fig. 2 is the schematic diagram that the page that the embodiment of the present disclosure provides starts method;
Fig. 3 is the flow chart that another page that the embodiment of the present disclosure provides starts method;
Fig. 4 is the structural schematic diagram for the page starter that the embodiment of the present disclosure provides;
Fig. 5 is the structural schematic diagram for the electronic equipment that the embodiment of the present disclosure provides.
Specific embodiment
The disclosure 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 disclosure, rather than the restriction to the disclosure.It also should be noted that in order to just Part relevant to the disclosure is illustrated only in description, attached drawing rather than entire infrastructure.
Embodiment
Fig. 1 is the flow chart that the page that the embodiment of the present disclosure provides starts method, and the present embodiment is applicable to realize host The case where webpage starts under the operating status for the function program supported in program environment, the device can be using softwares and/or hard The mode of part realizes that the device is configured in electronic equipment, which can be two or more physical entities and constitute, It is also possible to a physical entity to constitute, which can be smart phone, plate or computer etc..
Fig. 2 is the schematic diagram that the page that the embodiment of the present disclosure provides starts method, and the host program 12 in figure is mounted on intelligence In energy mobile phone 13, the smart phone 13 in figure is only an example.The function program 11 supported in host program 12 is opened wherein A webpage when, if cannot directly initiate, can pass through call host program 12 start the webpage.
As shown in Figure 1, this method can specifically include:
S110, under the operating status of the function program of host program Environmental Support, obtain target pages starting request.
Wherein, host program can be the application program of the operating system environment operation based on electronic equipment, the present embodiment In specific host program is not construed as limiting.It is understood that hardware resource and software money that host program is required when running Source can call corresponding money by the corresponding interface of the offer of calling system resource both from operating system, host program Source, for example, host program can with the communication module of call operation system realize information send and receive or host program can With the driving chip of the display board of call operation system, instruction of touch screen etc. is received.
Function program can be SDK (Software Development Kit, the software run based on host program environment Development kit), function program is also referred to as microprogram or intelligent program etc., to specific function program in the present embodiment It is not construed as limiting, such as function program can be the SDK etc. of realization direct broadcasting room function.It is understood that when function program is run Required hardware resource and software resource mentions after can be the resource of host program call operation system both from host program A part is taken out to function program, is also possible to the resource that function program passes through host program call operation system.The present embodiment In function program can be one in the function program that can support in any one host program.
Any one webpage when target pages can run for function program, such as when function program is a direct broadcasting room When, target pages can be sharing web page therein.Starting request is the instruction for being used to indicate function program and starting target pages, It can be under the operating status of the function program of host program Environmental Support, based on user to the behaviour for setting control in function program The starting for making to obtain target pages is requested.Wherein setting control can be the virtual key in function program, to setting control Operation format can be set according to the actual situation, such as operation behavior can be that setting control is clicked, double-clicks or grown By etc..
It wherein, may include the page link of target pages in starting request, page link is the corresponding system of target pages One Resource Locator (Uniform Resource Locator, URL), by the position of the available resource of URL to be provided The acquisition in source.
S120, if it is determined that target pages be function program non-code directly initiate the page, then according in page link The page in jump agreement, call host program with shows target pages.
Wherein, it can be that cannot be directly initiated by the code write in function program that non-code, which directly initiates the page, The page.It may include: according to function journey specifically, determining that target pages are that the non-code of function program directly initiates the page Agreement is jumped in the second setting page of sequence to match target pages;If it fails to match, it is determined that target pages are function The non-code of program directly initiates the page.Wherein second sets and jump agreement in the page as generation for writing in corresponding function program Agreement is jumped in the page of code, jumping agreement in the second setting page in the present embodiment may include hypertext transfer protocol At least one of (HyperText Transfer Protocol, HTTP) and custom protocol etc..
The page link of target pages may include that agreement (URL Scheme) and page info are jumped in the page, wherein page Agreement is jumped in face can be a kind of agreement for realizing jump page.For example, when target pages URL be " http: // Www.yemian.com ", wherein the part before ": // " is known as URL Scheme, HTTP is one of URL Scheme. Further, it will be jumped in the second setting page that agreement and function program are jumped in the page in the page link of target pages Agreement is matched, if jumping agreement in the page of target pages not is one jumped in agreement in the second setting page, It fails to match, can determine that target pages are that the non-code of function program directly initiates the page.
Specifically, function program determines that target pages are after non-code directly initiates the page, it can be determined that the page object Jump whether jump agreement in the first setting page of agreement and host program identical in the page in the page link in face.If page It jumps that jump agreement in the first setting page of agreement and host program identical in the page in the link of face, then connects page chain It crosses setting interface and is sent to host program, so that host program parsing page link and shows target pages.Wherein the first setting It is that host program is supported to jump agreement in the corresponding page of the page started that agreement is jumped in the page, is set in the present embodiment to first Determine the quantity for jumping agreement in the page and specific protocol contents are not construed as limiting, such as is jumped in the first setting page of host program Turning agreement can be customized " suzhu " etc..
Wherein, interface of the interface as between function program and host program is set, which can be set in function In program, the page link of target pages can be sent to host program by the setting interface by function program.Host program After getting page link, it can parse the page link and obtain page info, and according to the page info displaying target page Face.
It should be noted that after page link can also be sent to host program by setting interface by function program, Host program judges to jump jump in the first setting page of agreement and host program in the page in the page link of target pages Whether identical turn agreement, if they are the same, then parse the page link and shows target pages, is lost if it is different, can then return to starting The notice lost.
In the present solution, obtaining target pages by under the operating status of the function program of host program Environmental Support Starting request, if it is determined that target pages are that the non-code of function program directly initiates the page, then according to the page in page link Agreement is jumped in face, calls host program with shows target pages.In embodiment, when the page in function program cannot be at this When ground starts, the correlation function of host program can be called to start the page by jumping agreement in the page, avoid the prior art Middle needs rewrite code in function program to realize that the page starts, and save time and manpower, optimize functional unit The process for opening the page realizes the generalization and facilitation of page starting.
Fig. 3 is the flow chart that another page that the embodiment of the present disclosure provides starts method.The present embodiment is in above-mentioned implementation On the basis of example, above-mentioned page starting method has been advanced optimized.Correspondingly, as shown in figure 3, the method for the present embodiment is specifically wrapped It includes:
S210, under the operating status of the function program of host program Environmental Support, based on user to being set in function program The operation for determining control obtains the starting request of target pages.
S220, determine whether target pages are that the non-code of function program directly initiates the page.
Specifically, being matched according to agreement is jumped in the second setting page of function program to target pages;According to Determine whether target pages are that the non-code of function program directly initiates the page with result.If it fails to match, it is determined that page object Face is that the non-code of function program directly initiates the page, then executes S230.If successful match, it is determined that target pages are function journey The code of sequence directly initiates the page, then executes S250.
It is jumped in the page in S230, page link in the first setting page of agreement and host program and whether jumps agreement It is identical.
Association is jumped specifically, judging to jump in the page in page link in the first setting page of agreement and host program Whether view is identical, i.e., sets in the page according to the first of host program and jump agreement to the page in the page link of target pages It inside jumps agreement to be matched, if successful match, executes S240, if it fails to match, execute S260.
S240, page link is sent to host program by setting interface, so that host program parsing page link is simultaneously Shows target pages.
Wherein, interface of the interface as between function program and host program is set, which can be set in function In program.If jumping in the page in page link, to jump agreement in the first setting page of agreement and host program identical, The page link of target pages can be sent to host program by the setting interface by function program.Host program gets page After the link of face, it can parse the page link and obtain page info, and according to the page info shows target pages.Specifically , host program can match the page Function Identification in page info with page Function Identification default in host program; If presetting page Function Identification successful match in page Function Identification and function host program, page parameter information is sent to page The corresponding host program functional module of face Function Identification, to start target pages.
In the present solution, supporting the page of display to increase if the function of host program increases, being supported in host program environment Function program do not have to by writing code increase the function, and the function of calling directly host program is realized, is improved The convenience and versatility of the function program starting page.
S250, the parsing and display that target pages are carried out using local code.
If according to agreement is jumped to target pages successful match, the target pages in the second setting page of function program The code for being determined as function program directly initiates the page.Since it includes super for jumping agreement in the second setting page of function program At least one of text transfer protocol and custom protocol, it may include HTTP webpage and customized that code, which directly initiates the page, At least one of webpage of agreement, wherein custom protocol expression URL Scheme is customized, such as customized URL Scheme can be " gongneng " etc..
Specifically, page link can be sent to browser resolves by function program if target pages are HTTP webpage The page link, and carry out the display of target pages.If target pages are the webpage of custom protocol, local parsing page object The page link in face obtains page info, and is based on page info shows target pages.Wherein, page info may include page Face Function Identification and page parameter information.Further, page info shows target pages are based on, may include: by page function It can identify and match with page Function Identification default in function program;If presetting page function in page Function Identification and function program Successful match can be identified, then page parameter information is sent to the corresponding local function module of page Function Identification, to start mesh Mark the page.Wherein, presetting page Function Identification can be stored by function white list.
Illustratively, if the page link of target pages be " gongneng:/share/? title=share title& Content=share content ", wherein " gongneng " indicates customized URL Scheme, " share " representation page Function Identification, the i.e. target pages are to share the page, " share title " and " share content " representation page parameter letter Breath, wherein " share title " indicates the specific name shared, " share content " indicates the particular content shared.If page Page parameter information, then can be sent to analysis module by face Function Identification " sharing " successful match, and the page is shared in starting.
S260, starting failure notification is returned.
If jumping in the page in page link, to jump agreement in the first setting page of agreement and host program not identical, I.e. no successful match, then the target pages are that the non-code of function program directly initiates the page, cannot locally be shown, and Starting failure notification cannot be returned to user, the concrete form of the notice can basis by calling host program to be shown Actual conditions are set, such as the notice can return to user etc. with written form.
In the present solution, obtaining target pages by under the operating status of the function program of host program Environmental Support Starting request, if it is determined that target pages directly initiate the page for the non-code of function program, and the page in page link It inside jumps that jump agreement in the first setting page of agreement and host program identical, then sends page link by setting interface To host program, so that host program parsing page link and shows target pages;If it is determined that target pages are function program Code directly initiate the page, then using local code carry out target pages parsing and display.In embodiment, when function journey When the page in sequence is that code directly initiates the page, is parsed and shown using local code, cannot be in local boot, Ke Yitong It crosses in the page and jumps the correlation function starting page that agreement calls host program, avoid and needed in the prior art in function program In rewrite code to realize that the page starts, save time and manpower, optimize the process that functional unit opens the page, it is real The generalization and facilitation of page starting are showed.
Fig. 4 is the structural schematic diagram for the page starter that the embodiment of the present disclosure provides, and the present embodiment is applicable to realize Under the operating status for the function program supported in host program environment webpage start the case where, the device can using software and/ Or the mode of hardware is realized, which is configured in electronic equipment, such as typically mobile phone, tablet computer and computer etc.. Page starter provided by the embodiment of the present disclosure can be performed the page provided by disclosure any embodiment and start method, tool The standby corresponding functional module of execution method and beneficial effect.The device specifically includes starting request module 31 and page starting module 320, in which:
Start request module 310, for obtaining target under the operating status of the function program of host program Environmental Support The starting of the page is requested, and includes the page link of target pages in starting request;
Page starting module 320, for if it is determined that the non-code that target pages are function program directly initiates the page, then According to agreement is jumped in the page in page link, call host program with shows target pages.
The embodiment of the present disclosure is by obtaining target pages under the operating status of the function program of host program Environmental Support Starting request, if it is determined that target pages be function program non-code directly initiate the page, then according in page link Agreement is jumped in the page, calls host program with shows target pages.The technical solution that the embodiment of the present disclosure provides, when function journey The page in sequence can cannot call the correlation function of host program to start page in local boot by jumping agreement in the page Face avoids and needs to rewrite code in function program in the prior art to realize that the page starts, saves time and people Power optimizes the process that functional unit opens the page, realizes the generalization and facilitation of page starting.
Further, page starting module 320 includes:
Call unit, if for jumping agreement and host program in the page in page link first setting the page in jump It is identical to turn agreement, then page link is sent to host program by setting interface, so that host program parsing page link is simultaneously Shows target pages.
Further, interface of the interface as between function program and host program is set.
Further, page starting module 320 further includes non-code unit, and non-code unit is specifically used for:
Target pages are matched according to agreement is jumped in the second setting page of function program;
If it fails to match, it is determined that target pages are that the non-code of function program directly initiates the page.
Further, second setting the page in jump agreement include in hypertext transfer protocol and custom protocol at least One.
Further, the device further include:
Module is locally displayed, for if it is determined that target pages be function program code directly initiate the page, then use The parsing and display of local code progress target pages.
Further, starting request module 310 is specifically used for:
Under the operating status of the function program of host program Environmental Support, based on user to setting control in function program Operation obtain target pages starting request.
Page starter provided by the embodiment of the present disclosure can be performed the page provided by disclosure any embodiment and open Dynamic method, has the corresponding functional module of execution method and beneficial effect.
Fig. 5 is the structural schematic diagram for the electronic equipment that the embodiment of the present disclosure provides.With reference to Fig. 5, it illustrates be suitable for being used to Realize the structural schematic diagram of the electronic equipment (such as terminal device or server) 400 of the embodiment of the present disclosure.The embodiment of the present disclosure In terminal device can include but is not limited to such as mobile phone, laptop, digit broadcasting receiver, PDA (a number Word assistant), PAD (tablet computer), PMP (portable media player), car-mounted terminal (such as vehicle mounted guidance terminal) etc. Mobile terminal and such as number TV, desktop computer etc. fixed terminal.Electronic equipment shown in Fig. 5 is only one Example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
As shown in figure 5, electronic equipment 400 may include processing unit (such as central processing unit, graphics processor etc.) 401, random access can be loaded into according to the program being stored in read-only memory (ROM) 402 or from storage device 408 Program in memory (RAM) 403 and execute various movements appropriate and processing.In RAM 403, it is also stored with electronic equipment Various programs and data needed for 400 operations.Processing unit 401, ROM 402 and RAM 403 pass through the phase each other of bus 404 Even.Input/output (I/O) interface 405 is also connected to bus 404.
In general, following device can connect to I/O interface 405: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph As the input unit 406 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration The output device 407 of dynamic device etc.;Storage device 408 including such as tape, hard disk etc.;And communication device 409.Communication device 409, which can permit electronic equipment 400, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 5 shows tool There is the electronic equipment 400 of various devices, it should be understood that being not required for implementing or having all devices shown.It can be with Alternatively implement or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communication device 409, or from storage device 408 It is mounted, or is mounted from ROM 402.When the computer program is executed by processing unit 401, the embodiment of the present disclosure is executed Page starting method in the above-mentioned function that limits.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (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 the disclosure, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit Any computer-readable medium other than storage media, the computer-readable signal media can send, propagate or transmit and be used for By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. are above-mentioned Any appropriate combination.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not It is fitted into the electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by the electricity When sub- equipment executes, so that the electronic equipment: under the operating status of the function program of host program Environmental Support, obtaining target The starting of the page is requested, and includes the page link of target pages in starting request;If it is determined that target pages are function program Non- code directly initiates the page, then according to agreement is jumped in the page in page link, calls host program with displaying target page Face.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof Machine program code, above procedure 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 Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package, Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard The mode of part is realized.Wherein, the title of unit does not constitute the restriction to the unit itself under certain conditions, for example, the One acquiring unit is also described as " obtaining the unit of at least two internet protocol addresses ".
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that the open scope involved in the disclosure, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from design disclosed above, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed in the disclosure Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (10)

1. a kind of page starts method characterized by comprising
Under the operating status of the function program of host program Environmental Support, the starting request of target pages, the starting are obtained It include the page link of the target pages in request;
If it is determined that the non-code that the target pages are the function program directly initiates the page, then according to the page link In the page in jump agreement, call the host program to show the target pages.
2. the method according to claim 1, wherein according to agreement is jumped in the page in the page link, The host program is called to show the target pages, comprising:
If being jumped in the page in the page link in agreement and the first setting page of the host program and jumping agreement phase Together, then the page link is sent to the host program by setting interface, so that the host program parses the page Face links and shows the target pages.
3. according to the method described in claim 2, it is characterized in that, the interface that sets is the function program and the host Interface between program.
4. the method according to claim 1, wherein determining that the target pages are the non-generation of the function program Code directly initiates the page, comprising:
The target pages are matched according to agreement is jumped in the second setting page of the function program;
If it fails to match, it is determined that the target pages are that the non-code of the function program directly initiates the page.
5. according to the method described in claim 4, it is characterized in that, jumping agreement in the second setting page includes hypertext At least one of transport protocol and custom protocol.
6. the method according to claim 1, wherein after the starting for obtaining target pages is requested, further includes:
If it is determined that the code that the target pages are the function program directly initiates the page, then institute is carried out using local code State the parsing and display of target pages.
7. the method according to claim 1, wherein the operation shape of the function program in host program Environmental Support Under state, the starting request of target pages is obtained, comprising:
Under the operating status of the function program of host program Environmental Support, based on user to setting control in the function program Operation obtain target pages starting request.
8. a kind of page starter characterized by comprising
Start request module, for obtaining target pages under the operating status of the function program of host program Environmental Support Starting request, the page link started in request including the target pages;
Page starting module, for if it is determined that the target pages be the function program non-code directly initiate the page, Then according to agreement is jumped in the page in the page link, the host program is called to show the target pages.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
One or more processors;
Storage device, 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 the page as described in any in claim 1-7 starts method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor Realize that the page as described in any in claim 1-7 starts method when execution.
CN201910324995.XA 2019-04-22 2019-04-22 Page starting method and device, electronic equipment and storage medium Active CN110069308B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910324995.XA CN110069308B (en) 2019-04-22 2019-04-22 Page starting method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910324995.XA CN110069308B (en) 2019-04-22 2019-04-22 Page starting method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110069308A true CN110069308A (en) 2019-07-30
CN110069308B CN110069308B (en) 2020-11-24

Family

ID=67368493

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910324995.XA Active CN110069308B (en) 2019-04-22 2019-04-22 Page starting method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110069308B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110704782A (en) * 2019-09-30 2020-01-17 北京字节跳动网络技术有限公司 Page response method and device, electronic equipment and storage medium
CN110717119A (en) * 2019-10-10 2020-01-21 北京字节跳动网络技术有限公司 Page jump method and device, electronic equipment and storage medium
CN110764793A (en) * 2019-11-04 2020-02-07 广州市飞元信息科技有限公司 Software tool and registration, installation and operation method and tool management system thereof
CN111026462A (en) * 2019-12-10 2020-04-17 百度在线网络技术(北京)有限公司 Applet control method, apparatus, device and medium
CN111625738A (en) * 2020-05-27 2020-09-04 北京百度网讯科技有限公司 APP target page calling method, device, equipment and storage medium
CN111641606A (en) * 2020-05-16 2020-09-08 中信银行股份有限公司 Data processing method, device, equipment and storage medium based on pseudo protocol

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101562790A (en) * 2009-05-04 2009-10-21 腾讯科技(北京)有限公司 Method and system for realizing audio and video sharing by mobile terminal instant messaging software users
US20130226991A1 (en) * 2012-02-27 2013-08-29 Disney Enterprises, Inc. Ensuring availability and parameter format of url scheme commands
CN103729425A (en) * 2013-12-24 2014-04-16 腾讯科技(深圳)有限公司 Operation response method, client, browser and operation response system
CN103763312A (en) * 2013-12-31 2014-04-30 广州华多网络科技有限公司 Function starting method and device and client
CN103970760A (en) * 2013-01-28 2014-08-06 腾讯科技(深圳)有限公司 Webpage request handling method and device
CN106777184A (en) * 2016-12-22 2017-05-31 北京猎豹移动科技有限公司 A kind of page loading method, device and electronic equipment
CN106899889A (en) * 2015-12-18 2017-06-27 北京奇虎科技有限公司 Video broadcasting method and device in application program
CN107357914A (en) * 2017-07-19 2017-11-17 北京小度信息科技有限公司 Information processing method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101562790A (en) * 2009-05-04 2009-10-21 腾讯科技(北京)有限公司 Method and system for realizing audio and video sharing by mobile terminal instant messaging software users
US20130226991A1 (en) * 2012-02-27 2013-08-29 Disney Enterprises, Inc. Ensuring availability and parameter format of url scheme commands
CN103970760A (en) * 2013-01-28 2014-08-06 腾讯科技(深圳)有限公司 Webpage request handling method and device
CN103729425A (en) * 2013-12-24 2014-04-16 腾讯科技(深圳)有限公司 Operation response method, client, browser and operation response system
CN103763312A (en) * 2013-12-31 2014-04-30 广州华多网络科技有限公司 Function starting method and device and client
CN106899889A (en) * 2015-12-18 2017-06-27 北京奇虎科技有限公司 Video broadcasting method and device in application program
CN106777184A (en) * 2016-12-22 2017-05-31 北京猎豹移动科技有限公司 A kind of page loading method, device and electronic equipment
CN107357914A (en) * 2017-07-19 2017-11-17 北京小度信息科技有限公司 Information processing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
TANKING-: ""微信小程序获取当前位置并调用微信内置地址打开"", 《HTTPS://BLOG.CSDN.NET/WEIXIN_39927850/ARTICLE/DETAILS/80821916》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110704782A (en) * 2019-09-30 2020-01-17 北京字节跳动网络技术有限公司 Page response method and device, electronic equipment and storage medium
CN110717119A (en) * 2019-10-10 2020-01-21 北京字节跳动网络技术有限公司 Page jump method and device, electronic equipment and storage medium
CN110764793A (en) * 2019-11-04 2020-02-07 广州市飞元信息科技有限公司 Software tool and registration, installation and operation method and tool management system thereof
CN111026462A (en) * 2019-12-10 2020-04-17 百度在线网络技术(北京)有限公司 Applet control method, apparatus, device and medium
CN111026462B (en) * 2019-12-10 2023-08-29 百度在线网络技术(北京)有限公司 Applet control method, device, apparatus and medium
CN111641606A (en) * 2020-05-16 2020-09-08 中信银行股份有限公司 Data processing method, device, equipment and storage medium based on pseudo protocol
CN111625738A (en) * 2020-05-27 2020-09-04 北京百度网讯科技有限公司 APP target page calling method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN110069308B (en) 2020-11-24

Similar Documents

Publication Publication Date Title
CN110069308A (en) The page starts method, apparatus, electronic equipment and storage medium
CN110489101B (en) Interface simulation method, system, medium and electronic equipment
US20220261127A1 (en) Information display method and apparatus, electronic device, and computer readable medium
CN109062563B (en) Method and device for generating page
CN109857506B (en) Method and device for realizing guide information, electronic equipment and storage medium
WO2021223752A1 (en) Display method and apparatus, and electronic device
US11586772B2 (en) Method and device for displaying information
CN110209315A (en) The display methods of character, device, electronic equipment and storage medium in user interface
CN109815105A (en) Applied program testing method and device based on Btrace
CN109753622A (en) static resource management method, device, storage medium and electronic equipment
CN109036397A (en) The method and apparatus of content for rendering
CN110245030A (en) A kind of data service providing method, device, medium and electronic equipment
CN109582317A (en) Method and apparatus for debugging boarding application
CN109947423A (en) Code generating method, device, terminal and medium
CN110377273A (en) A kind of method, apparatus of data processing, medium and electronic equipment
CN109800020A (en) A kind of code automatic adjusting method, device, equipment and the medium of program development
CN111324376B (en) Function configuration method, device, electronic equipment and computer readable medium
CN110618811B (en) Information presentation method and device
WO2022267809A1 (en) Page embedding method and apparatus, storage medium and electronic device
CN116010743A (en) Page processing method and device, electronic equipment and storage medium
CN111273967A (en) Remote hook setting method and device suitable for Android system and electronic equipment
CN114077368B (en) Vehicle-mounted applet running method and device, computer equipment and storage medium
CN109491687A (en) A kind of hot update method, device, terminal and the readable medium of application software
CN109145591A (en) The plug-in loading method of application program
CN112905931A (en) Page information display method and device, electronic equipment and storage medium

Legal Events

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