CN110308958B - Component skipping method and device, electronic equipment and storage medium - Google Patents

Component skipping method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110308958B
CN110308958B CN201910380078.3A CN201910380078A CN110308958B CN 110308958 B CN110308958 B CN 110308958B CN 201910380078 A CN201910380078 A CN 201910380078A CN 110308958 B CN110308958 B CN 110308958B
Authority
CN
China
Prior art keywords
plug
jump
program
initial
routing protocol
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910380078.3A
Other languages
Chinese (zh)
Other versions
CN110308958A (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 CN201910380078.3A priority Critical patent/CN110308958B/en
Publication of CN110308958A publication Critical patent/CN110308958A/en
Application granted granted Critical
Publication of CN110308958B publication Critical patent/CN110308958B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the disclosure discloses a component jumping method, a device, an electronic device and a storage medium, wherein the method comprises the following steps: in an initial function plug-in starting state of an initial function program, the initial function plug-in receives a jump request for jumping to a target function program or the target function plug-in and sends the jump request to the initial function program, wherein the initial function program and the target function program run in an application program environment; and the initial function program receives the jump request and realizes the jump from the initial function plug-in to the target function program or the target function plug-in according to the jump request and the root routing protocol. According to the technical scheme provided by the embodiment of the invention, the component jump process in the application program is optimized, the jump convenience is improved, the generalization of component jump is realized, and the jump experience of a user is further optimized.

Description

Component skipping method and device, electronic equipment and storage medium
Technical Field
The embodiment of the disclosure relates to the technical field of data processing, and in particular, to a component skipping method and device, an electronic device, and a storage medium.
Background
With the continuous development of information technology, the application of intelligent terminals in many fields is widely expanded, for example, in the field of live broadcasting, more and more users can watch live programs through the intelligent terminals.
In the prior art, after a user opens a plug-in of a live broadcast room, for example, a value-added plug-in, a function corresponding to the plug-in can be implemented through an interface provided by the plug-in. However, when a user wants to jump from a current live broadcast room to another live broadcast room in a plug-in interface or jump from the current plug-in interface to another plug-in interface, the function supported by the plug-in is limited, and the jump cannot be realized, the user can only return the live broadcast room interface from the current plug-in interface, and then the live broadcast room or the plug-in to be jumped is re-opened through searching, so that the jump process is complicated, and the user experience is poor.
Disclosure of Invention
The embodiment of the disclosure provides a functional component skipping method and device, electronic equipment and a storage medium, so as to optimize a component skipping process in an application program and realize generalization of component skipping.
In a first aspect, an embodiment of the present disclosure provides a component jump method, including:
in an initial function plug-in starting state of an initial function program, the initial function plug-in receives a jump request for jumping to a target function program or a target function plug-in and sends the jump request to the initial function program, wherein the initial function program and the target function program run in an application program environment;
and the initial function program receives the jump request and realizes the jump from the initial function plug-in to the target function program or the target function plug-in according to the jump request and a root routing protocol.
Further, the step of the initial function program implementing the jump from the initial function plug-in to the target function program or the target function plug-in according to the jump request and a root routing protocol includes:
and if the jump request comprises the identification of the target function program, the initial function program executes the implementation method corresponding to the root routing protocol according to the identification of the target function program, and the jump from the initial function plug-in to the target function program is realized.
Further, the step of the initial function program implementing the jump from the initial function plug-in to the target function program or the target function plug-in according to the jump request and a root routing protocol includes:
if the jump request comprises the identification of the target function plug-in, the initial function program traverses each sub-routing protocol in the root routing protocol according to the identification of the target function plug-in, and determines a target sub-routing protocol matched with the identification of the target function plug-in;
and the initial function program executes the implementation method corresponding to the target sub-routing protocol through the target function plug-in to realize the jump from the initial function plug-in to the target function plug-in.
Furthermore, the root routing protocol comprises at least one sub-routing protocol, and each sub-routing protocol corresponds to a unique functional plug-in.
Further, the root routing protocol is a code for determining an implementation method corresponding to the skip request in the initial functional program, and the sub-routing protocol is a code for determining an implementation method corresponding to the skip request in a functional plug-in corresponding to the sub-routing protocol.
Further, in the starting state of the initial function plug-in of the initial function program, the step of receiving a jump request for jumping to the target function program or the target function plug-in by the initial function plug-in includes:
and in the starting state of the initial function plug-in of the initial function program, the initial function plug-in receives a target function program or a jump request of the target function plug-in input by a user through a plug-in display interface.
Further, the initial function program comprises a live broadcast room, and the initial function plug-ins comprise a main thread plug-in and a non-main thread plug-in.
Further, the main-thread plug-in includes at least one of an animation plug-in and a user interface plug-in, and the non-main-thread plug-in includes at least one of a top-up plug-in, a gift plug-in, a red envelope plug-in, a comment plug-in, a list plug-in and a beauty filter plug-in.
In a second aspect, an embodiment of the present disclosure further provides an assembly jumping device, where the device includes:
the system comprises a jump request module, a target function program module and a target function program module, wherein the jump request module is used for receiving a jump request for jumping to the target function program or the target function plug-in through the initial function plug-in and sending the jump request to the initial function program under the starting state of the initial function plug-in of the initial function program, and the initial function program and the target function program operate in an application program environment;
and the jump module is used for receiving the jump request through the initial function program and realizing the jump from the initial function plug-in to the target function program or the target function plug-in according to the jump request and a root routing protocol.
Further, the skip module is specifically configured to:
and if the jump request comprises the identification of the target function program, executing an implementation method corresponding to the root routing protocol according to the identification of the target function program through the initial function program, and realizing the jump from the initial function plug-in to the target function program.
Further, the skip module is specifically configured to:
if the jump request comprises the identification of the target function plug-in, traversing each sub-routing protocol in the root routing protocol according to the identification of the target function plug-in through the initial function program, and determining a target sub-routing protocol matched with the identification of the target function plug-in;
and the initial function program executes the implementation method corresponding to the target sub-routing protocol through the target function plug-in to realize the jump from the initial function plug-in to the target function plug-in.
Furthermore, the root routing protocol comprises at least one sub-routing protocol, and each sub-routing protocol corresponds to a unique functional plug-in.
Further, the root routing protocol is a code for determining an implementation method corresponding to the skip request in the initial functional program, and the sub-routing protocol is a code for determining an implementation method corresponding to the skip request in a functional plug-in corresponding to the sub-routing protocol.
Further, the skip request module is specifically configured to:
and in the starting state of the initial function plug-in of the initial function program, the initial function plug-in receives a target function program or a jump request of the target function plug-in input by a user through a plug-in display interface.
Further, the initial function program comprises a live broadcast room, and the initial function plug-in comprises a main thread plug-in and a non-main thread plug-in.
Further, the main-thread plug-in includes at least one of an animation plug-in and a user interface plug-in, and the non-main-thread plug-in includes at least one of a top-up plug-in, a gift plug-in, a red envelope plug-in, a comment plug-in, a list plug-in and a beauty filter plug-in.
In a third aspect, an embodiment of the present disclosure further provides an electronic device, where the electronic device includes:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the component jump method as described above.
In a fourth aspect, the disclosed embodiments also provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the component jump method as described above.
In the embodiment of the disclosure, in an initial function plug-in starting state of an initial function program, the initial function plug-in receives a jump request for jumping to a target function program or a target function plug-in and sends the jump request to the initial function program; and the initial function program receives the jump request and realizes the jump from the initial function plug-in to the target function program or the target function plug-in according to the jump request and the root routing protocol. According to the technical scheme provided by the embodiment of the disclosure, the initial function program and the target function program run in the application program environment, the initial function plug-in can call the jump function in the initial function program to realize the jump from the local to the target function program or the target function plug-in, the component jump process in the application program is optimized, the jump convenience is improved, the generalization of component jump is realized, and the jump experience of a user is further optimized.
Drawings
FIG. 1 is a flowchart of a component jump method provided by an embodiment of the present disclosure;
FIG. 2 is a diagram illustrating a component jump method according to an embodiment of the present disclosure;
FIG. 3 is a flow chart of another component hopping method provided by the embodiments of the present disclosure;
FIG. 4 is a schematic structural diagram of an assembly jumping device provided by an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the disclosure and are not limiting of the disclosure. It should be further noted that, for the convenience of description, only some of the structures relevant to the present disclosure are shown in the drawings, not all of them.
Examples
Fig. 1 is a flowchart of a component jump method provided in an embodiment of the present disclosure, where the embodiment is applicable to a case where a functional plug-in of a functional program in an application program jumps to another functional program or another functional plug-in when the functional plug-in starts, the method may be executed by a component jump apparatus, the apparatus may be implemented in a software and/or hardware manner, the apparatus may be configured in an electronic device, the electronic device may be configured by two or more physical entities or may be configured by one physical entity, and the electronic device may be a smart phone, a tablet, a computer, or the like.
Fig. 2 is a schematic diagram of a component skipping method provided in an embodiment of the present disclosure, where an application 15 may be installed in a smartphone 16, and the smartphone 16 in the drawing is merely an example. The function program 12 runs in the application program 15, the function plug-in 11 is a plug-in a starting state in the function program 12, and when the function plug-in 11 receives a jump request to jump to the function program 13 or the function plug-in 14, the jump is realized by calling a jump function in the function program 12. The functional program 12 and the functional program 13 run in the same application 15, and the functional plug-in 11 and the functional plug-in 14 run in the same functional program 12.
As shown in fig. 1, the method may specifically include:
s110, in the initial function plug-in starting state of the initial function program, the initial function plug-in receives a jump request for jumping to the target function program or the target function plug-in and sends the jump request to the initial function program.
The functional program may be a Software Development Kit (SDK) that runs based on an application environment, and the functional program may also be referred to as a micro program or an intelligent program. It will be appreciated that both the hardware and software resources required for the functioning program to run are from the application program. The application program may be an application program that runs based on an operating system environment of the electronic device, and a specific application program is not limited in this embodiment. The initial function and the target function may be run in an application environment.
A functional plug-in is a program written in an application program interface conforming to a certain specification, and can only run under a system platform (possibly supporting multiple platforms simultaneously) specified by an application program, and cannot run independently from a specified platform. In the scheme, the specific function plug-in is not limited, for example, when the function program is a live broadcast room, the function plug-in may be a recharge plug-in the live broadcast room.
Specifically, in the initial function plug-in starting state of the initial function program, the initial function plug-in receives a jump request of the target function program or the target function plug-in input by a user through a plug-in display interface, and sends the jump request to the initial function program through an interface between the initial function plug-in and the initial function program. The plug-in display interface is an interface displayed at the front end of the application program for a user to browse or operate when the initial function plug-in is started. In the scheme, the specific mode of receiving the jump request input by the user on the plug-in display interface can be set according to actual conditions, for example, when the plug-in display interface detects that the user clicks or double clicks and other operations on a set trigger key, the jump request is received, and the trigger key can be an entity key or a virtual key.
The initial function program may comprise a live broadcast room, and the initial function plug-ins may comprise a main thread plug-in and a non-main thread plug-in. The main thread plug-in may be a plug-in that is loaded preferentially when the function program is started, and the non-main thread plug-in may be a plug-in that is loaded after the main thread plug-in when the function program is started. The main thread plug-in can comprise at least one of animation plug-in, user interface plug-in and the like, and the non-main thread plug-in can comprise at least one of recharge plug-in, gift plug-in, red envelope plug-in, comment plug-in, list plug-in, beauty filter plug-in and the like.
And S120, the initial function program receives the jump request and realizes the jump from the initial function plug-in to the target function program or the target function plug-in according to the jump request and the root routing protocol.
The root routing protocol may be a code for determining an implementation method corresponding to the skip request in the initial functional program.
Specifically, if the jump request received by the initial function program is a jump request for jumping to the target function program, the implementation method corresponding to the local root routing protocol is called according to the related information of the target function program in the jump request, so as to realize the jump from the initial function plug-in to the target function program.
If the jump request received by the initial function program is a jump request for jumping to the target function plug-in, calling a realization method corresponding to a sub-routing protocol in a local root routing protocol according to the related information of the target function plug-in the jump request, and realizing the jump from the initial function plug-in to the target function plug-in. The root routing protocol comprises at least one sub-routing protocol, and the sub-routing protocol is a code for determining an implementation method corresponding to the jump request in a corresponding functional plug-in.
In the scheme, in the starting state of the initial function plug-in of the initial function program, the initial function plug-in receives a jump request for jumping to a target function program or the target function plug-in and sends the jump request to the initial function program; and the initial function program receives the jump request and realizes the jump from the initial function plug-in to the target function program or the target function plug-in according to the jump request and the root routing protocol. In the scheme, the initial function program and the target function program run in the application program environment, the initial function plug-in can call the jump function in the initial function program to realize the jump from the local to the target function program or the target function plug-in, the component jump process in the application program is optimized, the jump convenience is improved, the generalization of component jump is realized, and the jump experience of a user is further optimized.
Fig. 3 is a flowchart of another component skipping method according to an embodiment of the present disclosure. On the basis of the foregoing embodiments, the present embodiment further embodies the foregoing component skipping method. Correspondingly, as shown in fig. 3, the method of the embodiment specifically includes:
s210, in the initial function plug-in starting state of the initial function program, the initial function plug-in receives a jump request for jumping to the target function program or the target function plug-in and sends the jump request to the initial function program.
Specifically, in the initial function plug-in starting state of the initial function program, the initial function plug-in receives a jump request of the target function program or the target function plug-in input by a user through a plug-in display interface, and sends the jump request to the initial function program through an interface between the initial function plug-in and the initial function program. At this time, the target function program or the target function plug-in is selected by the user.
Furthermore, the initial function plug-in can also automatically receive the jump request of the target function program or the target function plug-in when meeting the set conditions under the condition of starting in the background. The setting condition may be set according to an actual situation, for example, the setting condition may be that a jump time threshold is exceeded or a jump position is reached, and the jump time threshold or the jump position is not limited, and may be set according to the actual situation. At this time, the target function program or the target function plug-in may be the initial function plug-in or recommended by the initial function program according to the history or the hot spot.
S220, the initial function program determines whether the jump request comprises the identification of the target function program.
The jump request includes related information corresponding to the jump destination, for example, the jump request may include an identifier of the target function program or an identifier of the target function plug-in.
Specifically, after receiving the jump request, the initial function program may obtain information in the jump request, and if the jump request includes the identifier of the target function program, perform S230, and if the jump request does not include the identifier of the target function program, perform S240.
And S230, the initial function program executes the implementation method corresponding to the root routing protocol according to the identification of the target function program, and the jump from the initial function plug-in to the target function program is realized.
The root routing protocol is a code for determining an implementation method corresponding to the jump request in the initial function program. The initial function program may be pre-stored with a stub routing protocol and a corresponding implementation method, and the corresponding implementation method may also be a specific function program jump code.
The initial function program can input the identification of the target function program into the implementation method corresponding to the root routing protocol, and execute the implementation method, namely, the jump from the initial function plug-in to the target function program can be realized.
S240, the initial function program determines whether the jump request includes the identification of the target function plug-in.
Specifically, after the initial function program determines that the jump request does not include the identifier of the target function program, it continues to determine whether the jump request includes the identifier of the target function plug-in, if so, S250 is executed, otherwise, S270 is executed.
S250, the initial function program traverses each sub-routing protocol in the root routing protocol according to the identification of the target function plug-in, and determines a target sub-routing protocol matched with the identification of the target function plug-in.
The root routing protocol stored in the initial function program comprises at least one sub-routing protocol, and each sub-routing protocol corresponds to a unique function plug-in. The sub-routing protocol is a code for determining an implementation method corresponding to the jump request in the corresponding functional plug-in.
And traversing each sub-routing protocol in the root routing protocol by the initial function program, matching the identifier of the target function plug-in with each sub-routing protocol, and determining the sub-routing protocol as the target sub-routing protocol if determining that one sub-routing protocol is matched with the identifier of the target function plug-in.
S260, the initial function program executes the implementation method corresponding to the target sub-routing protocol through the target function plug-in, and the jump from the initial function plug-in to the target function plug-in is realized.
After the initial function program determines the target sub-routing protocol, the target function plug-in can be called to execute the implementation method corresponding to the target sub-routing protocol, and the jump from the initial function plug-in to the target function plug-in is realized. Or, the initial function program may also store the implementation method corresponding to each sub-routing protocol, and after determining the target sub-routing protocol, directly execute the implementation method corresponding to the target sub-routing protocol, thereby implementing the jump from the initial function plug-in to the target function plug-in.
And S270, ending jumping.
And the initial function program determines that the jump request does not include the identification of the target function program or the identification of the target function plug-in, and then the jump is ended.
It should be noted that after the initial functional program receives the jump request, it may be determined whether the jump request includes the identifier of the target functional program, and if not, it may be determined whether the jump request includes the identifier of the target functional plug-in; or, whether the jump request comprises the identification of the target function plug-in or not can be determined firstly, and whether the jump request comprises the identification of the target function program or not can be determined when the jump request does not comprise the identification of the target function program. The above-described sequence of steps S210-S270 is merely an example.
In the scheme, in the starting state of the initial function plug-in of the initial function program, the initial function plug-in receives a jump request for jumping to a target function program or the target function plug-in and sends the jump request to the initial function program; the initial function program receives the jump request, if the jump request is determined to include the identification of the target function program, the initial function program executes an implementation method corresponding to the root routing protocol according to the identification of the target function program, and jump from the initial function plug-in to the target function program is achieved; and if the initial function program determines that the jump request comprises the identification of the target function plug-in, traversing each sub-routing protocol in the root routing protocol according to the identification of the target function plug-in by the initial function program, determining a target sub-routing protocol matched with the identification of the target function plug-in, and executing an implementation method corresponding to the target sub-routing protocol by the target function plug-in to realize the jump from the initial function plug-in to the target function plug-in. In the scheme, the initial function program and the target function program run in an application program environment, the initial function plug-in can call the jump function in the initial function program to realize the jump from the local to the target function program or the target function plug-in, so that the component jump process in the application program is optimized, the jump convenience is improved, the generalization of component jump is realized, and the jump experience of a user is further optimized; and the jump purpose can be quickly judged through the information in the jump request, so that the jump speed is further improved.
Fig. 4 is a schematic structural diagram of a component jump apparatus provided in an embodiment of the present disclosure, where in an application program, when a functional plug-in of a functional program is started, a jump is made to another functional program or another functional plug-in. The component skipping device provided by the embodiment of the disclosure can execute the component skipping method provided by any embodiment of the disclosure, and has corresponding functional modules and beneficial effects of the execution method.
The apparatus specifically includes a skip request module 310 and a skip module 320, specifically:
a jump request module 310, configured to receive, by an initial functional plug-in a starting state of the initial functional program, a jump request for jumping to a target functional program or a target functional plug-in, and send the jump request to the initial functional program, where the initial functional program and the target functional program run in an application program environment;
a jump module 320, configured to receive the jump request through the initial function program, and implement a jump from the initial function plug-in to the target function program or the target function plug-in according to the jump request and a root routing protocol.
In the embodiment of the disclosure, in an initial function plug-in starting state of an initial function program, the initial function plug-in receives a jump request for jumping to a target function program or a target function plug-in and sends the jump request to the initial function program; and the initial function program receives the jump request and realizes the jump from the initial function plug-in to the target function program or the target function plug-in according to the jump request and the root routing protocol. According to the technical scheme provided by the embodiment of the disclosure, the initial function program and the target function program run in the application program environment, the initial function plug-in can call the jump function in the initial function program to realize the jump from the local to the target function program or the target function plug-in, the component jump process in the application program is optimized, the jump convenience is improved, the generalization of component jump is realized, and the jump experience of a user is further optimized.
Further, the skip module 320 is specifically configured to:
and if the jump request comprises the identification of the target function program, executing an implementation method corresponding to the root routing protocol according to the identification of the target function program through the initial function program, and realizing the jump from the initial function plug-in to the target function program.
Further, the skip module 320 is specifically configured to:
if the jump request comprises the identification of the target function plug-in, traversing each sub-routing protocol in the root routing protocol according to the identification of the target function plug-in through the initial function program, and determining a target sub-routing protocol matched with the identification of the target function plug-in;
and the initial function program executes the implementation method corresponding to the target sub-routing protocol through the target function plug-in to realize the jump from the initial function plug-in to the target function plug-in.
Further, the root routing protocol includes at least one sub-routing protocol, and each sub-routing protocol corresponds to a unique functional plug-in.
Further, the root routing protocol is a code for determining an implementation method corresponding to the skip request in the initial functional program, and the sub-routing protocol is a code for determining an implementation method corresponding to the skip request in a functional plug-in corresponding to the sub-routing protocol.
Further, the skip request module 310 is specifically configured to:
and in the starting state of the initial function plug-in of the initial function program, the initial function plug-in receives a target function program or a jump request of the target function plug-in input by a user through a plug-in display interface.
Further, the initial function program comprises a live broadcast room, and the initial function plug-in comprises a main thread plug-in and a non-main thread plug-in.
Further, the main-thread plug-in includes at least one of an animation plug-in and a user interface plug-in, and the non-main-thread plug-in includes at least one of a top-up plug-in, a gift plug-in, a red envelope plug-in, a comment plug-in, a list plug-in and a beauty filter plug-in.
The component skipping device provided by the embodiment of the disclosure can execute the component skipping method provided by any embodiment of the disclosure, and has corresponding functional modules and beneficial effects of the execution method.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. Referring to fig. 5, a schematic structural diagram of an electronic device (e.g., a terminal device or a server) 400 suitable for implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, electronic device 400 may include a processing device (e.g., central processing unit, graphics processor, etc.) 401 that may perform various suitable actions and processes in accordance with a program stored in a Read Only Memory (ROM) 402 or a program loaded from a storage device 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the electronic apparatus 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the electronic device 400 to communicate wirelessly or by wire with other devices to exchange data. While fig. 5 illustrates an electronic device 400 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or from the storage device 408, or from the ROM 402. When executed by the processing device 401, the computer program performs the above-described functions defined in the component skip method of the embodiment of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: in an initial function plug-in starting state of an initial function program, the initial function plug-in receives a jump request for jumping to a target function program or the target function plug-in and sends the jump request to the initial function program, wherein the initial function program and the target function program run in an application program environment; and the initial function program receives the jump request and realizes the jump from the initial function plug-in to the target function program or the target function plug-in according to the jump request and the root routing protocol.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a unit does not in some cases constitute a limitation of the unit itself, for example, the first retrieving unit may also be described as a "unit for retrieving at least two internet protocol addresses".
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (10)

1. A component jump method, comprising:
in an initial function plug-in starting state of an initial function program, the initial function plug-in receives a jump request for jumping to a target function program or a target function plug-in and sends the jump request to the initial function program, wherein the initial function program and the target function program run in an application program environment;
the initial function program receives the jump request and realizes the jump from the initial function plug-in to the target function program according to the jump request and a root routing protocol, or realizes the jump from the initial function plug-in to the target function plug-in according to the jump request and a sub-routing protocol in the root routing protocol;
the initial function program realizes the jump from the initial function plug-in to the target function plug-in according to the jump request and a sub-routing protocol in a root route, and the jump comprises the following steps:
if the jump request comprises the identification of the target function plug-in, the initial function program traverses each sub-routing protocol in the root routing protocol according to the identification of the target function plug-in, and determines a target sub-routing protocol matched with the identification of the target function plug-in;
and the initial function program executes the implementation method corresponding to the target sub-routing protocol through the target function plug-in to realize the jump from the initial function plug-in to the target function plug-in.
2. The method of claim 1, wherein the initial function program implementing the jump from the initial function plug-in to the target function program according to the jump request and a root routing protocol comprises:
and if the jump request comprises the identification of the target function program, the initial function program executes the implementation method corresponding to the root routing protocol according to the identification of the target function program, and the jump from the initial function plug-in to the target function program is realized.
3. The method of claim 1, wherein the root routing protocol comprises at least one sub-routing protocol, and each sub-routing protocol corresponds to a unique functional plug-in.
4. The method according to claim 3, wherein the root routing protocol is code for determining an implementation method corresponding to the jump request in the initial functional program, and the sub-routing protocol is code for determining an implementation method corresponding to the jump request in its corresponding functional plug-in.
5. The method according to claim 1, wherein in an initial function plug-in starting state of an initial function program, the initial function plug-in receives a jump request for jumping to a target function program or a target function plug-in, comprising:
and in the starting state of the initial function plug-in of the initial function program, the initial function plug-in receives a target function program or a jump request of the target function plug-in input by a user through a plug-in display interface.
6. The method of claim 1, wherein the initial function program comprises a live broadcast room, and wherein the initial function plug-ins comprise a main-thread plug-in and a non-main-thread plug-in.
7. The method of claim 6, wherein the leadership plug-in comprises at least one of an animation plug-in and a user interface plug-in, and wherein the non-leadership plug-in comprises at least one of a top-up plug-in, a gift plug-in, a red envelope plug-in, a comment plug-in, a list plug-in, and a beauty filter plug-in.
8. A component jump device, comprising:
the system comprises a jump request module, a jump request module and a jump request module, wherein the jump request module is used for receiving a jump request to a target function program or a target function plug-in through the initial function plug-in and sending the jump request to the initial function program in an initial function plug-in starting state of the initial function program, and the initial function program and the target function program run in an application program environment;
the jump module is used for receiving the jump request through the initial function program and realizing the jump from the initial function plug-in to the target function program according to the jump request and a root routing protocol or realizing the jump from the initial function plug-in to the target function plug-in according to the jump request and a sub-routing protocol in the root routing protocol;
the skip module is specifically configured to:
if the jump request comprises the identification of the target function plug-in, traversing each sub-routing protocol in the root routing protocol according to the identification of the target function plug-in through the initial function program, and determining a target sub-routing protocol matched with the identification of the target function plug-in;
and the initial function program executes the implementation method corresponding to the target sub-routing protocol through the target function plug-in to realize the jump from the initial function plug-in to the target function plug-in.
9. An electronic device, characterized in that the electronic device comprises:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the component hopping method as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the component jump method according to any one of claims 1 to 7.
CN201910380078.3A 2019-05-08 2019-05-08 Component skipping method and device, electronic equipment and storage medium Active CN110308958B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910380078.3A CN110308958B (en) 2019-05-08 2019-05-08 Component skipping method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910380078.3A CN110308958B (en) 2019-05-08 2019-05-08 Component skipping method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110308958A CN110308958A (en) 2019-10-08
CN110308958B true CN110308958B (en) 2023-01-31

Family

ID=68075386

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910380078.3A Active CN110308958B (en) 2019-05-08 2019-05-08 Component skipping method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110308958B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109033302A (en) * 2018-07-16 2018-12-18 深圳鼎盛电脑科技有限公司 A kind of method for page jump, device, terminal and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8732728B2 (en) * 2009-07-20 2014-05-20 Samsung Electronics Co., Ltd. System and method to allow multiple plug-in applications real-time access to a camera application in a mobile device
CN106844019A (en) * 2015-12-04 2017-06-13 阿里巴巴集团控股有限公司 Application control method, application program redirect associated configuration method and device
CN107357644B (en) * 2017-06-30 2018-10-16 腾讯科技(深圳)有限公司 Applied program processing method, device, storage medium and computer equipment
CN107729106A (en) * 2017-10-09 2018-02-23 北京京东尚科信息技术有限公司 It is a kind of that the method and apparatus quickly redirected are realized between application component
CN108897612A (en) * 2018-07-17 2018-11-27 北京京东金融科技控股有限公司 Route the method and apparatus jumped

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109033302A (en) * 2018-07-16 2018-12-18 深圳鼎盛电脑科技有限公司 A kind of method for page jump, device, terminal and storage medium

Also Published As

Publication number Publication date
CN110308958A (en) 2019-10-08

Similar Documents

Publication Publication Date Title
US20220261127A1 (en) Information display method and apparatus, electronic device, and computer readable medium
CN110390493B (en) Task management method and device, storage medium and electronic equipment
CN109753332B (en) Method and device for displaying information
CN114217707B (en) Sharing method, sharing device, electronic equipment and storage medium
CN110781373B (en) List updating method and device, readable medium and electronic equipment
CN110865846B (en) Application management method, device, terminal, system and storage medium
CN110618768B (en) Information presentation method and device
CN110413367B (en) Task creation method and device, storage medium and electronic equipment
CN110336592B (en) Data transmission method suitable for Bluetooth card reader, electronic equipment and storage medium
CN113766303B (en) Multi-screen interaction method, device, equipment and storage medium
CN111309416A (en) Information display method, device and equipment of application interface and readable medium
CN110825481A (en) Method and device for displaying page information corresponding to page tag and electronic equipment
CN111752644A (en) Interface simulation method, device, equipment and storage medium
CN110308958B (en) Component skipping method and device, electronic equipment and storage medium
CN115237291A (en) Information processing method, device, equipment and medium
CN109669679B (en) Service detection and processing method and device and electronic equipment
CN114138149A (en) Data screening method and device, readable medium and electronic equipment
US11010041B2 (en) Method and apparatus for displaying interface
CN114089891A (en) Display control method and device and electronic equipment
CN112162682A (en) Content display method and device, electronic equipment and computer readable storage medium
CN111240758A (en) Material display method and device, electronic equipment and storage medium
CN111382025A (en) Method and device for judging foreground and background states of application program and electronic equipment
CN111427647B (en) Page display method and device of application program, storage medium and electronic equipment
CN110704767B (en) Page opening method and device, electronic equipment and storage medium
US20240089560A1 (en) Video generation method, apparatus, electronic device 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