WO2021068634A1 - 页面跳转方法、装置、电子设备及计算机可读存储介质 - Google Patents

页面跳转方法、装置、电子设备及计算机可读存储介质 Download PDF

Info

Publication number
WO2021068634A1
WO2021068634A1 PCT/CN2020/107667 CN2020107667W WO2021068634A1 WO 2021068634 A1 WO2021068634 A1 WO 2021068634A1 CN 2020107667 W CN2020107667 W CN 2020107667W WO 2021068634 A1 WO2021068634 A1 WO 2021068634A1
Authority
WO
WIPO (PCT)
Prior art keywords
jump
link
page
jumped
links
Prior art date
Application number
PCT/CN2020/107667
Other languages
English (en)
French (fr)
Inventor
朱镜元
Original Assignee
北京字节跳动网络技术有限公司
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 北京字节跳动网络技术有限公司 filed Critical 北京字节跳动网络技术有限公司
Priority to US17/767,030 priority Critical patent/US20220365985A1/en
Publication of WO2021068634A1 publication Critical patent/WO2021068634A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/954Navigation, e.g. using categorised browsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation

Definitions

  • the present disclosure relates to the field of page processing, and in particular, to a page jump method, device, electronic device, and computer-readable storage medium.
  • the landing page of H5 generally has some components for users to click, and the components are generally preset with a jump address. After the user clicks, the page can jump to the page corresponding to the address. Typically, on a video recommendation page, the viewing address of the video appears, and the user can jump to the address to watch the video after clicking.
  • the jump address set in advance may fail to jump on some terminal devices.
  • embodiments of the present disclosure provide a page jump method, including:
  • a page jump device including:
  • a page display module configured to display a first page, the first page includes a jump component, and the jump component is associated with a plurality of jump links;
  • the jump link acquisition module is configured to perform a jump link acquisition operation in response to receiving a trigger signal to the jump component, and the jump link acquisition operation acquires the link to be jumped from among the multiple jump links ;
  • a jump operation execution module configured to perform a jump operation, and the jump operation causes the page to jump to the second page associated with the link to be jumped;
  • the jump failure processing module is used to respond to the failure of the jump operation and continue to perform the jump link acquisition operation and the jump operation described above until the jump operation is successful or there is no link to be jumped.
  • an embodiment of the present disclosure provides an electronic device, including: at least one processor; and,
  • a memory that is communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processing
  • the device can execute any of the page jump methods described in the first aspect.
  • embodiments of the present disclosure provide a non-transitory computer-readable storage medium, characterized in that the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to make a computer execute the aforementioned first aspect Any of the page jump methods described above.
  • the present disclosure discloses a page jump method, device, electronic equipment, and computer-readable storage medium.
  • the page jump method includes: displaying a first page, the first page includes a jump component, the jump component is associated with a plurality of jump links; in response to receiving a trigger signal of the jump component , Perform a jump link acquisition operation, the jump link acquisition operation acquires the link to be jumped from among the multiple jump links; perform a jump operation, the jump operation causes the page to jump to the to be jumped.
  • the second page associated with the jump link in response to the failure of the jump operation, continue to perform the jump link acquisition operation and the jump operation described above until the jump operation succeeds or there is no link to be jumped.
  • FIG. 1 is a flowchart of an embodiment of a page jump method provided by the present disclosure
  • FIG. 2 is a schematic diagram of the first page and the components in the first page provided by the present disclosure
  • FIG. 3 is a flow chart of a specific example of step S102 in the embodiment of the page jump method provided by the present disclosure
  • Fig. 4 is a flow chart of a specific example of step S103 in the embodiment of the page jump method provided by the present disclosure
  • FIG. 5 is a flowchart of a further embodiment of the page jump method embodiment provided by the present disclosure.
  • FIG. 6 is a flow chart of a specific example of step S104 in the embodiment of the page jump method provided by the present disclosure
  • FIG. 7 is a schematic structural diagram of an embodiment of a page jumping device provided by an embodiment of the disclosure.
  • Fig. 8 is a schematic structural diagram of an electronic device provided according to an embodiment of the present disclosure.
  • FIG. 1 is a flowchart of an embodiment of a page jump method provided by an embodiment of the present disclosure.
  • the page jump method provided in this embodiment may be executed by a page jump device, and the page jump device may be implemented as software, or Realized as a combination of software and hardware, the page jump device can be integrated in a certain device in the page jump system, such as a page jump server or a page jump terminal device.
  • the method includes the following steps:
  • Step S101 displaying the first page
  • the first page includes multiple types of components.
  • Figure 2 shows a schematic diagram of a typical first page, where 201 is the first page, 202 is the module in the page, and 203 is the component in the module.
  • the components include at least text components, image components, and video components. One or more of the jump components.
  • a page can be composed of one or more modules.
  • the first page includes a jump component
  • the jump component is associated with a plurality of jump links.
  • the jump links may include multiple types, and typical jump links may include quick application links, APP links, webpage links, and the like.
  • each jump component can be associated with multiple jump links, that is, multiple jump links are set in one jump component.
  • the jump component is a jump button.
  • the method further includes: receiving a setting signal of a jump component, where the setting signal is used to set a plurality of jump links associated with the jump component.
  • the setting signal input by the user through the man-machine interface can be received, and the setting signal contains the jump link and the priority information of the jump link.
  • the terminal device After receiving the setting signal, the terminal device will The jump link is associated with the jump component.
  • the jump link can be stored in the terminal device in the form of an array or a list.
  • Step S102 in response to receiving the trigger signal of the jump component, execute a jump link acquisition operation, and the jump link acquisition operation acquires the link to be jumped from among the multiple jump links;
  • the trigger signal of the jump component is a click signal on the jump component; in response to receiving the trigger signal of the jump component, the jump link acquisition operation is performed, and the jump link The obtaining operation obtains the link to be redirected from the multiple redirect links, including:
  • Step S301 in response to receiving a click signal on the jump component, obtain the priority of the multiple jump links
  • Step S302 Obtain the jump link with the highest priority among the multiple jump links as the link to be jumped.
  • each jump link has a jump priority.
  • the priority may be set by default according to the type of the jump link, or it may be set when the jump component is edited on the page. . After receiving the click signal for the jump component, obtain the priority of the multiple jump links corresponding to the jump component, sort the priorities, and then obtain the highest priority among the priorities The jump link corresponding to the level is the link to be jumped.
  • the jump links can be directly sorted by priority in the array or list. At this time, when the links to be jumped are obtained, it is only necessary to obtain the top one from the array or list in sequence. Jump link.
  • Step S103 perform a jump operation, and the jump operation causes the page to jump to the second page associated with the link to be jumped;
  • the execution of the jump operation refers to jumping the page from the first page to the second page pointed to by the link to be jumped according to the link to be jumped.
  • the performing a jump operation includes:
  • Step S401 determining the type of the link to be redirected
  • Step S402 calling a program corresponding to the type of the link to be redirected to open the link to be redirected.
  • each jump link has a corresponding type
  • the types of the multiple jump links are different, and the type is determined by the opening mode of the link to be jumped.
  • the types of jump links include quick application jump links, APP jump links, and web page jump links.
  • the quick application jump link uses the quick application method to open the jump link
  • the APP jump link uses the corresponding
  • the APP client opens the jump link
  • the webpage jump link uses a browser to open the jump link.
  • Step S104 in response to the failure of the jump operation, continue to perform the jump link acquisition operation and the jump operation described above until the jump operation succeeds or there is no link to be jumped.
  • the jump operation in step S103 may succeed or fail.
  • the jump operation fails, that is, the jump from the first page to the second page is not possible, continue to perform the jump link acquisition operation described above, and at this time, the jump link can be obtained from the jump Delete the jump link that failed to jump from the linked array or list, and then obtain the first jump link in the array or list at this time; or directly obtain the jump link that failed to jump from the array or list
  • the method for obtaining the next jump link here is the same as the description in step S102, and will not be repeated here. Then continue to perform the jump operation according to the newly acquired link to be jumped until the jump is successful or there is no next jump link in the array or list.
  • step S102 after performing the jump link obtaining operation, the method further includes:
  • Step S501 Determine whether the type of the terminal device where the first page is located matches the link to be redirected;
  • Step S502 in response to the type of the terminal device that does not match the link to be redirected, continue to perform the jump link obtaining operation.
  • step S501 after obtaining the link to be redirected obtained in step S102, firstly determine the type of the link to be redirected.
  • each jump link has a corresponding type, and the type is associated with the user's terminal type.
  • the type of the jump link is a quick application jump link, and the quick application jump
  • the redirect link corresponds to an Android system terminal; or, the type of the jump link is an APP jump link, and the APP jump link corresponds to an Android system or an Apple system terminal; or the type of the jump link is a webpage Jump link, the web page jump link corresponds to the terminal of the Android system or the Apple system.
  • step S502 is executed, and the execution of the jump link obtaining operation in step S102 is continued to obtain the next jump link.
  • the method for obtaining the next jump link is the same as the description in step S102, and will not be repeated here. It is understandable that when the type of the terminal device matches the link to be jumped, the subsequent jump operation is directly performed, which will not be repeated here.
  • the step S103 of performing a jump operation, and the jump operation causes the page to jump to the second page associated with the link to be jumped, including:
  • the program corresponding to the link to be jumped is called to open the link to be jumped.
  • step S104 in response to the failure of the jump operation, continue to perform the jump link obtaining operation and the jump operation until the jump operation is successful or there is no link to be jumped, including:
  • Step S601 In response to the timeout of the first timer, determine whether the currently displayed page is the first page;
  • Step S602 in response to the currently displayed page being the first page, continue to perform the jump link obtaining operation and the jump operation described above until the jump operation is successful or there is no link to be jumped.
  • a timer is used to determine whether the jump has failed.
  • the first timer is started at the same time, the first timer is the longest time limit for the jump, and the typical timeout period of the first timer is 2 seconds; when the first timer expires , Determine whether the currently displayed page is the first page.
  • the displayed pages are all in the foreground. You can set a flag to mark the one in the foreground.
  • the present disclosure discloses a page jump method, device, electronic equipment, and computer-readable storage medium.
  • the page jump method includes: displaying a first page, the first page includes a jump component, the jump component is associated with a plurality of jump links; in response to receiving a trigger signal of the jump component , Perform a jump link acquisition operation, the jump link acquisition operation acquires the link to be jumped from among the multiple jump links; perform a jump operation, the jump operation causes the page to jump to the to be jumped.
  • the second page associated with the jump link in response to the failure of the jump operation, continue to perform the jump link acquisition operation and the jump operation described above until the jump operation succeeds or there is no link to be jumped.
  • FIG. 7 is a schematic structural diagram of an embodiment of a page jumping device provided by an embodiment of the disclosure.
  • the device 700 includes: a page display module 701, a jump link acquisition module 702, a jump operation execution module 703, and a jump Transfer failure processing module 704. among them,
  • the page display module 701 is configured to display a first page, the first page includes a jump component, and the jump component is associated with multiple jump links;
  • the jump link acquisition module 702 is configured to perform a jump link acquisition operation in response to receiving a trigger signal to the jump component, and the jump link acquisition operation acquires the to-be-jumped link from the multiple jump links link;
  • the jump operation execution module 703 is configured to perform a jump operation, and the jump operation causes the page to jump to the second page associated with the link to be jumped;
  • the jump failure processing module 704 is configured to, in response to the failure of the jump operation, continue to perform the jump link acquisition operation and the jump operation described above until the jump operation succeeds or there is no link to be jumped.
  • jump link obtaining module 702 further includes:
  • a priority acquiring module configured to acquire the priority of the multiple jump links in response to receiving a click signal on the jump component
  • the to-be-jumped link acquisition module is configured to acquire the jump link with the highest priority among the multiple jump links as the to-be-jumped link.
  • jump operation execution module 703 further includes:
  • a jump link type determination module which is used to determine the type of the link to be jumped
  • the first calling module is used to call the program corresponding to the type of the link to be jumped to open the link to be jumped.
  • page jumping device 700 further includes:
  • a matching judgment module configured to judge whether the type of the terminal device where the first page is located matches the link to be redirected
  • the first jump link acquisition module is configured to continue to perform the jump link acquisition operation in response to the type of the terminal device that does not match the link to be jumped.
  • jump operation execution module 703 further includes:
  • the timer start module is used to start the first timer
  • the second calling module is used to call the program corresponding to the link to be jumped to open the link to be jumped.
  • jump failure processing module 704 further includes:
  • the first page judging module is configured to judge whether the currently displayed page is the first page in response to the timeout of the first timer;
  • the first jump failure processing module is configured to respond to the page currently displayed as the first page, continue to perform the jump link acquisition operation and jump operation described above until the jump operation succeeds or there is no link to be jumped.
  • page jumping device 700 further includes:
  • the setting signal receiving module is configured to receive a setting signal of a jump component, and the setting signal is used to set a plurality of jump links associated with the jump component.
  • the device shown in FIG. 7 can execute the method of the embodiment shown in FIG. 1 to FIG. 6.
  • parts that are not described in detail in this embodiment please refer to the related description of the embodiment shown in FIG. 1 to FIG. 6.
  • the implementation process and technical effects of this technical solution please refer to the description in the embodiment shown in FIG. 1 to FIG. 6, which will not be repeated here.
  • Terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals (e.g. Mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers, etc.
  • the electronic device shown in FIG. 8 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
  • the electronic device 800 may include a processing device (such as a central processing unit, a graphics processor, etc.) 801, which may be loaded into a random access device according to a program stored in a read-only memory (ROM) 802 or loaded from a storage device 806.
  • the program in the memory (RAM) 803 executes various appropriate actions and processing.
  • various programs and data required for the operation of the electronic device 800 are also stored.
  • the processing device 801, the ROM 802, and the RAM 803 are connected to each other through a bus 804.
  • An input/output (I/O) interface 805 is also connected to the bus 804.
  • the following devices can be connected to the I/O interface 805: including input devices 806 such as touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, liquid crystal display (LCD), speakers, vibration An output device 807 such as a device; a storage device 806 such as a magnetic tape and a hard disk; and a communication device 809.
  • the communication device 809 may allow the electronic device 800 to perform wireless or wired communication with other devices to exchange data.
  • FIG. 8 shows an electronic device 800 having various devices, it should be understood that it is not required to implement or have all of the illustrated devices. It may alternatively be implemented or provided with more or fewer devices.
  • the process described above with reference to the flowchart can be implemented as a computer software program.
  • the embodiments of the present disclosure include a computer program product, which includes a computer program carried on a non-transitory computer readable medium, and the computer program contains program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from the network through the communication device 809, or installed from the storage device 806, or installed from the ROM 802.
  • the processing device 801 the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
  • the aforementioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable removable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in a baseband or as a part of a carrier wave, and a computer-readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
  • the computer-readable signal medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wire, optical cable, RF (Radio Frequency), etc., or any suitable combination of the above.
  • the client and server can communicate with any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can communicate with digital data in any form or medium.
  • Communication e.g., communication network
  • Examples of communication networks include local area networks (“LAN”), wide area networks (“WAN”), the Internet (for example, the Internet), and end-to-end networks (for example, ad hoc end-to-end networks), as well as any currently known or future research and development network of.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist alone without being assembled into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device is caused to display a first page, the first page includes a jump component, and The jump component is associated with a plurality of jump links; in response to receiving a trigger signal of the jump component, a jump link acquisition operation is performed, and the jump link acquisition operation acquires a pending link from the plurality of jump links.
  • Jump link perform a jump operation, the jump operation causes the page to jump to the second page associated with the link to be jumped; in response to the failure of the jump operation, continue to perform the jump link acquisition Operation and jump operation until the jump operation is successful or there is no link to jump.
  • the computer program code used to perform the operations of the present disclosure can be written in one or more programming languages or a combination thereof.
  • the above-mentioned programming languages include but are not limited to object-oriented programming languages such as Java, Smalltalk, C++, and Including conventional procedural programming languages-such as "C" language or similar programming languages.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, as an independent software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to pass Internet connection).
  • LAN local area network
  • WAN wide area network
  • each block in the flowchart or block diagram may represent a module, program segment, or part of code, and the module, program segment, or part of code contains one or more for realizing the specified logical function Executable instructions.
  • the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two blocks shown in succession can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved.
  • each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or operations Or it can be realized by a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments described in the present disclosure can be implemented in software or hardware. Among them, the name of the unit does not constitute a limitation on the unit itself under certain circumstances.
  • exemplary types of hardware logic components include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Product (ASSP), System on Chip (SOC), Complex Programmable Logical device (CPLD) and so on.
  • FPGA Field Programmable Gate Array
  • ASIC Application Specific Integrated Circuit
  • ASSP Application Specific Standard Product
  • SOC System on Chip
  • CPLD Complex Programmable Logical device
  • a machine-readable medium may be a tangible medium, which may contain or store a program for use by the instruction execution system, apparatus, or device or in combination with the instruction execution system, apparatus, or device.
  • the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • the machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing.
  • machine-readable storage media would include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read-only memory
  • EPROM or flash memory erasable programmable read-only memory
  • CD-ROM compact disk read only memory
  • magnetic storage device or any suitable combination of the foregoing.
  • a page jump method including:
  • the jump link acquisition operation acquires a link to be jumped from among the multiple jump links, including:
  • the performing the jump operation includes:
  • the program corresponding to the type of the link to be jumped is called to open the link to be jumped.
  • the method further includes:
  • the performing the jump operation includes:
  • the program corresponding to the link to be jumped is called to open the link to be jumped.
  • the method further includes:
  • the setting signal being used to set a plurality of jump links associated with the jump component.
  • a page jump device including:
  • a page display module configured to display a first page, the first page includes a jump component, and the jump component is associated with a plurality of jump links;
  • the jump link acquisition module is configured to perform a jump link acquisition operation in response to receiving a trigger signal to the jump component, and the jump link acquisition operation acquires the link to be jumped from among the multiple jump links ;
  • a jump operation execution module configured to perform a jump operation, and the jump operation causes the page to jump to the second page associated with the link to be jumped;
  • the jump failure processing module is used to respond to the failure of the jump operation and continue to perform the jump link acquisition operation and the jump operation described above until the jump operation is successful or there is no link to be jumped.
  • jump link obtaining module further includes:
  • a priority acquiring module configured to acquire the priority of the multiple jump links in response to receiving a click signal on the jump component
  • the to-be-jumped link acquisition module is configured to acquire the jump link with the highest priority among the multiple jump links as the to-be-jumped link.
  • the jump operation execution module further includes:
  • a jump link type determination module which is used to determine the type of the link to be jumped
  • the first calling module is used to call the program corresponding to the type of the link to be jumped to open the link to be jumped.
  • the page jumping device further includes:
  • a matching judgment module configured to judge whether the type of the terminal device where the first page is located matches the link to be redirected
  • the first jump link acquisition module is configured to continue to perform the jump link acquisition operation in response to the type of the terminal device that does not match the link to be jumped.
  • the jump operation execution module further includes:
  • the timer start module is used to start the first timer
  • the second calling module is used to call the program corresponding to the link to be jumped to open the link to be jumped.
  • the jump failure processing module further includes:
  • the first page judging module is configured to judge whether the currently displayed page is the first page in response to the timeout of the first timer;
  • the first jump failure processing module is used to respond to the page currently displayed as the first page, continue to perform the jump link obtaining operation and jump operation described above until the jump operation is successful or there is no link to be jumped.
  • the page jumping device further includes:
  • the setting signal receiving module is configured to receive a setting signal of a jump component, and the setting signal is used to set a plurality of jump links associated with the jump component.
  • an electronic device including: at least one processor; and, a memory communicatively connected with the at least one processor; wherein the memory stores the An instruction executed by at least one processor, the instruction being executed by the at least one processor, so that the at least one processor can execute any of the page jump methods in the foregoing first aspect.
  • non-transitory computer-readable storage medium characterized in that the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to make a computer execute the foregoing Any one of the page jump methods in the first aspect.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种页面跳转方法、装置、电子设备和计算机可读存储介质。其中该页面跳转方法包括:显示第一页面(S101),所述第一页面中包括跳转组件,所述跳转组件与多个跳转链接相关联;响应于接收到所述跳转组件的触发信号,执行跳转链接获取操作,所述跳转链接获取操作从所述多个跳转链接中获取待跳转链接(S102);执行跳转操作,所述跳转操作使所述页面跳转至所述待跳转链接所关联的第二页面(S103);响应于所述跳转操作失败,继续执行上述跳转链接获取操作以及跳转操作,直至跳转操作成功或者没有待跳转链接为止(S104)。通过上述方法,解决了由于终端设备的环境差别所引起的页面跳转失败的技术问题。

Description

页面跳转方法、装置、电子设备及计算机可读存储介质
相关申请的交叉引用
本申请要求于2019年10月08日提交的,申请号为201910947866.6、名称为“页面跳转方法、装置、电子设备及计算机可读存储介质”的中国专利申请的优先权,该申请的全文通过引用结合在本申请中。
技术领域
本公开涉及页面处理领域,尤其涉及一种页面跳转方法、装置、电子设备及计算机可读存储介质。
背景技术
随着计算机网络的发展和智能手机的普及,用户常常使用终端设备浏览网络中的内容,通常用户访问网络页面来浏览网络中的图片、文字、视频、音频等等,因此需要页面的设计人员或者开发人员事先去设计或开发相关的页面,将页面上的内容布局好并填充内容之后进行发布,用户则通过该页面的网络地址对该页面进行访问。
现有技术中H5的落地页一般会设置一些组件供用户点击,组件中一般预先设置有跳转地址,当用户点击之后,页面可以跳转到该地 址所对应的页面上。典型的,在一个视频推荐页面上,出现该视频的观看地址,用户点击之后可以跳转到该地址上去观看该视频。但是现有技术中,由于终端设备有多种类型、每种类型的终端设备的系统运行环境千差万别,导致事先设置好的跳转地址可能在一些终端设备上会跳转失败。
发明内容
提供该部分的内容以便以简要的形式介绍构思,这些构思将在后面的具体实施方式部分被详细描述。该部分的内容并不旨在标识要求保护的技术方案的关键特征或必要特征,也不旨在用于限制所要求的保护的技术方案的范围。
第一方面,本公开实施例提供一种页面跳转方法,包括:
显示第一页面,所述第一页面中包括跳转组件,所述跳转组件与多个跳转链接相关联;
响应于接收到所述跳转组件的触发信号,执行跳转链接获取操作,所述跳转链接获取操作从所述多个跳转链接中获取待跳转链接;
执行跳转操作,所述跳转操作使所述页面跳转至所述待跳转链接所关联的第二页面;
响应于所述跳转操作失败,继续执行上述跳转链接获取操作以及跳转操作,直至跳转操作成功或者没有待跳转链接为止。
第二方面,本公开实施例提供一种页面跳转装置,包括:
页面显示模块,用于显示第一页面,所述第一页面中包括跳转组件,所述跳转组件与多个跳转链接相关联;
跳转链接获取模块,用于响应于接收到对所述跳转组件的触发信号,执行跳转链接获取操作,所述跳转链接获取操作从所述多个跳转链接中获取待跳转链接;
跳转操作执行模块,用于执行跳转操作,所述跳转操作使所述页面跳转至所述待跳转链接所关联的第二页面;
跳转失败处理模块,用于响应于所述跳转操作失败,继续执行上述跳转链接获取操作以及跳转操作,直至跳转操作成功或者没有待跳转链接为止。
第三方面,本公开实施例提供一种电子设备,包括:至少一个处理器;以及,
与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有能被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行前述第一方面中的任一所述页面跳转方法。
第四方面,本公开实施例提供一种非暂态计算机可读存储介质,其特征在于,该非暂态计算机可读存储介质存储计算机指令,该计算机指令用于使计算机执行前述第一方面中的任一所述页面跳转方法。
本公开公开了一种页面跳转方法、装置、电子设备和计算机可读存储介质。其中该页面跳转方法包括:显示第一页面,所述第一页面中包括跳转组件,所述跳转组件与多个跳转链接相关联;响应于接收 到所述跳转组件的触发信号,执行跳转链接获取操作,所述跳转链接获取操作从所述多个跳转链接中获取待跳转链接;执行跳转操作,所述跳转操作使所述页面跳转至所述待跳转链接所关联的第二页面;响应于所述跳转操作失败,继续执行上述跳转链接获取操作以及跳转操作,直至跳转操作成功或者没有待跳转链接为止。通过上述方法,解决了现有技术中的由于终端设备的环境差别所引起的页面跳转失败的技术问题。
上述说明仅是本公开技术方案的概述,为了能更清楚了解本公开的技术手段,而可依照说明书的内容予以实施,并且为让本公开的上述和其他目的、特征和优点能够更明显易懂,以下特举较佳实施例,并配合附图,详细说明如下。
附图说明
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。
图1为本公开提供的页面跳转方法实施例的流程图;
图2为本公开提供的第一页面以及第一页面中的组件的示意图;
图3为本公开提供的页面跳转方法实施例中步骤S102的一个具体实例流程图;
图4为本公开提供的页面跳转方法实施例中步骤S103的一个具 体实例流程图;
图5为本公开提供的页面跳转方法实施例的进一步实施例的流程图;
图6为本公开提供的页面跳转方法实施例中步骤S104的一个具体实例流程图;
图7为本公开实施例提供的页面跳转装置的实施例的结构示意图;
图8为根据本公开实施例提供的电子设备的结构示意图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不 限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
图1为本公开实施例提供的页面跳转方法实施例的流程图,本实施例提供的该页面跳转方法可以由一页面跳转装置来执行,该页面跳转装置可以实现为软件,或者实现为软件和硬件的组合,该页面跳转装置可以集成设置在页面跳转系统中的某设备中,比如页面跳转服务器或者页面跳转终端设备中。如图1所示,该方法包括如下步骤:
步骤S101,显示第一页面;
在本公开中,所述第一页面中包括多个类型的组件。如图2所示为一个典型的第一页面的示意图,其中201为第一页面,202为页面 中的模块,203为模块中的组件,所述的组件至少包括文字组件、图片组件、视频组件、跳转组件中的一种或多种。在编辑页面时,可以首选建立一个模块,之后在模块中建立各种组件用以展示不同种类的内容,一个页面可以由一个或多个模块组成。
在本公开中,所述第一页面中包括跳转组件,其中所述跳转组件与多个跳转链接相关联。所述的跳转链接可以包括有多种类型,典型的所述跳转链接可以包括快应用链接、APP链接以及网页链接等。在本公开中,每个跳转组件都可以与多个跳转链接关联,即在一个跳转组件中设置多个跳转链接。典型的,所述跳转组件为跳转按钮。
可选的,在所述步骤S101之前,还包括:接收跳转组件的设置信号,所述设置信号用来设置与所述跳转组件相关联的多个跳转链接。在该步骤中,可以接收用户通过人机接口输入的设置信号,所述设置信号中带有跳转链接以及跳转链接的优先级信息等,终端设备接收到所述设置信号之后,将所述跳转链接与所述跳转组件进行关联。典型的,所述跳转链接可以以数组的形式或者列表的形式保存于终端设备中。
步骤S102,响应于接收到所述跳转组件的触发信号,执行跳转链接获取操作,所述跳转链接获取操作从所述多个跳转链接中获取待跳转链接;
可选的,所述跳转组件的触发信号为对所述跳转组件的点击信号;所述响应于接收到所述跳转组件的触发信号,执行跳转链接获取操作, 所述跳转链接获取操作从所述多个跳转链接中获取待跳转链接,包括:
步骤S301,响应于接收到对所述跳转组件的点击信号,获取所述多个跳转链接的优先级;
步骤S302,获取所述多个跳转链接中的优先级最高的跳转链接作为待跳转链接。
在该可选实施例中,每个跳转链接都具有跳转优先级,该优先级可以是根据跳转链接的类型默认设置的,也可以是在页面中编辑所述跳转组件时设置的。在接收到针对所述跳转组件的点击信号之后,获取所述跳转组件所对应的多个跳转链接的优先级,将所述优先级进行排序,之后获取所述优先级中最高的优先级所对应的跳转链接作为待跳转链接。
可以理解的,在本公开中,所述跳转链接可以在数组或列表中直接按照优先级排序,此时获取待跳转链接时,只需要从数组或者列表中按照排列顺序依次获取最前边的跳转链接。
步骤S103,执行跳转操作,所述跳转操作使所述页面跳转至所述待跳转链接所关联的第二页面;
在本公开中,所述执行跳转操作是指根据所述待跳转链接,将页面从第一页面跳转至所述待跳转链接所指向的第二页面。
可选的,所述执行跳转操作,所述跳转操作使所述页面跳转至所述待跳转链接所关联的第二页面,包括:
步骤S401,确定所述待跳转链接的类型;
步骤S402,调用与所述待跳转链接的类型对应的程序打开所述待跳转链接。
在该可选实施例中,每个跳转链接都具有对应的类型,所述的多个跳转链接的类型各不相同,所述的类型由所述待跳转链接的打开方式决定。在执行跳转操作时,首先确定获取到的待跳转链接的类型,之后调用与该类型对应的程序打开所述待跳转链接以跳转到所述待跳转链接所对应的第二页面。典型的,所述跳转链接的类型包括快应用跳转链接、APP跳转链接以及网页跳转链接,其中快应用跳转链接使用快应用的方式打开跳转链接,APP跳转链接使用对应的APP客户端打开所述跳转链接,网页跳转链接使用浏览器打开跳转链接。
步骤S104,响应于所述跳转操作失败,继续执行上述跳转链接获取操作以及跳转操作,直至跳转操作成功或者没有待跳转链接为止。
在本公开中,所述步骤S103中的跳转操作可能成功也可能失败。在该步骤中,当所述跳转操作失败,即没有能从所述第一页面跳转到所述第二页面时,继续执行上述的跳转链接获取操作,此时可以从所述跳转链接的数组或者列表中删除跳转失败的跳转链接,之后获取此时数组或者列表中的最前边的跳转链接;或者,直接从所述数组或者列表中获取跳转失败的跳转链接的下一个跳转链接,此处获取下一个跳转链接的方法与步骤S102中的描述相同,在此不再赘述。之后根据新获取到的待跳转链接继续执行跳转操作,直至跳转成功或者所述数组或列表中不再有下一个跳转链接为止。
可选的,在一个实施例中,在所述步骤S102,执行所述跳转链接获取操作之后,还包括:
步骤S501,判断所述第一页面所在的终端设备的类型与所述待跳转链接是否匹配;
步骤S502,响应于所述终端设备的类型与所述待跳转链接不匹配,继续执行所述跳转链接获取操作。
可选的,在步骤S501中,在得到从步骤S102中获取到的待跳转链接之后,首先判断所述待跳转链接的类型。在该实施例中,每个跳转链接都具有对应的类型,所述的类型与用户的终端类型关联,典型的,所述跳转链接的类型为快应用跳转链接,所述快应用跳转链接对应于安卓系统的终端;或者,所述跳转链接的类型为APP跳转链接,所述APP跳转链接对应于安卓系统或者苹果系统的终端;或者所述跳转链接的类型为网页跳转链接,所述网页跳转链接对应于安卓系统或者苹果系统的终端。获取到待跳转链接的类型之后,将其与所述第一页面所在的终端设备的类型进行匹配,如当前终端设备为苹果系统的终端,而待跳转链接为快应用跳转链接,则两者不匹配,即显示所述第一页面的终端设备不能打开所述待跳转链接,则执行步骤S502,继续执行上述步骤S102中的执行跳转链接获取操作以获取下一个跳转链接,获取下一个跳转链接的方法与步骤S102中的描述相同,在此不再赘述。可以理解的,当所述终端设备的类型与所述待跳转链接匹配时,直接继续执行后续的跳转操作,在此不再赘述。通过上述步骤,可以在跳转之前判断显示所述第一页面的终端是否有能力打开当前获取到的待跳转链接,以减少无意义的跳转操作,加快跳转的速度。
可选的,在一个实施例中,所述步骤S103,执行跳转操作,所述跳转操作使所述页面跳转至所述待跳转链接所关联的第二页面,包括:
启动第一计时器;
调用与所述待跳转链接对应的程序打开所述待跳转链接。
所述步骤S104,响应于所述跳转操作失败,继续执行上述跳转链接获取操作以及跳转操作,直至跳转操作成功或者没有待跳转链接为止,包括:
步骤S601,响应于所述第一计时器超时,判断当前所显示的页面是否为所述第一页面;
步骤S602,响应于当前所显示的页面为第一页面,继续执行上述跳转链接获取操作以及跳转操作,直至跳转操作成功或者没有待跳转链接为止。
在该实施例中,使用计时器判断跳转是否失败。在执行跳转操作时,同时启动第一计时器,第一计时器为跳转的最长时限,典型的所述第一计时器的超时时间为2秒;当所述第一计时器超时之后,判断当前所显示的页面是否为第一页面,典型的,可以使用页面的激活状态来判断当前显示的页面是否为第一页面,显示的页面都位于前台,可以设置一个标志来标志位于前台的页面,如果第一页面的标志确定所述第一页面位于前台,则当前所显示页面为第一页面,也即是说在第一计时器超时前,没有跳转到第二页面,跳转失败。此时,继续执行上述跳转链接获取操作以获取下一个待跳转链接,并根据所述下一个待跳转链接执行跳转操作,直至跳转操作成功或者没有下一个待跳转链接为止。
通过上述页面跳转方法,在同一个跳转组件中设置多个不同类型的跳转链接,在跳转的时候,如果发生跳转失败,可以使用其他类型的跳转链接进行多次跳转,适用于多种不同类型的终端,减少跳转失 败的情况发生。
本公开公开了一种页面跳转方法、装置、电子设备和计算机可读存储介质。其中该页面跳转方法包括:显示第一页面,所述第一页面中包括跳转组件,所述跳转组件与多个跳转链接相关联;响应于接收到所述跳转组件的触发信号,执行跳转链接获取操作,所述跳转链接获取操作从所述多个跳转链接中获取待跳转链接;执行跳转操作,所述跳转操作使所述页面跳转至所述待跳转链接所关联的第二页面;响应于所述跳转操作失败,继续执行上述跳转链接获取操作以及跳转操作,直至跳转操作成功或者没有待跳转链接为止。通过上述方法,解决了现有技术中的由于终端设备的环境差别所引起的页面跳转失败的技术问题。
在上文中,虽然按照上述的顺序描述了上述方法实施例中的各个步骤,本领域技术人员应清楚,本公开实施例中的步骤并不必然按照上述顺序执行,其也可以倒序、并行、交叉等其他顺序执行,而且,在上述步骤的基础上,本领域技术人员也可以再加入其他步骤,这些明显变型或等同替换的方式也应包含在本公开的保护范围之内,在此不再赘述。
图7为本公开实施例提供的页面跳转装置实施例的结构示意图,如图7所示,该装置700包括:页面显示模块701、跳转链接获取模块702、跳转操作执行模块703和跳转失败处理模块704。其中,
页面显示模块701,用于显示第一页面,所述第一页面中包括跳转组件,所述跳转组件与多个跳转链接相关联;
跳转链接获取模块702,用于响应于接收到对所述跳转组件的触 发信号,执行跳转链接获取操作,所述跳转链接获取操作从所述多个跳转链接中获取待跳转链接;
跳转操作执行模块703,用于执行跳转操作,所述跳转操作使所述页面跳转至所述待跳转链接所关联的第二页面;
跳转失败处理模块704,用于响应于所述跳转操作失败,继续执行上述跳转链接获取操作以及跳转操作,直至跳转操作成功或者没有待跳转链接为止。
进一步的,所述跳转链接获取模块702,还包括:
优先级获取模块,用于响应于接收到对所述跳转组件的点击信号,获取所述多个跳转链接的优先级;
待跳转链接获取模块,用于获取所述多个跳转链接中的优先级最高的跳转链接作为待跳转链接。
进一步的,所述跳转操作执行模块703,还包括:
跳转链接类型确定模块,用于确定所述待跳转链接的类型;
第一调用模块,用于调用与所述待跳转链接的类型对应的程序打开所述待跳转链接。
进一步的,所述页面跳转装置700,还包括:
匹配判断模块,用于判断所述第一页面所在的终端设备的类型与所述待跳转链接是否匹配;
第一跳转链接获取模块,用于响应于所述终端设备的类型与所述待跳转链接不匹配,继续执行所述跳转链接获取操作。
进一步的,所述跳转操作执行模块703,还包括:
计时器启动模块,用于启动第一计时器;
第二调用模块,用于调用与所述待跳转链接对应的程序打开所述待跳转链接。
进一步的,所述跳转失败处理模块704,还包括:
第一页面判断模块,用于响应于所述第一计时器超时,判断当前所显示的页面是否为所述第一页面;
第一跳转失败处理模块,用于响应于当前所显示的页面为第一页面,继续执行上述跳转链接获取操作以及跳转操作,直至跳转操作成功或者没有待跳转链接为止。
进一步的,所述页面跳转装置700,还包括:
设置信号接收模块,用于接收跳转组件的设置信号,所述设置信号用来设置与所述跳转组件相关联的多个跳转链接。
图7所示装置可以执行图1-图6所示实施例的方法,本实施例未详细描述的部分,可参考对图1-图6所示实施例的相关说明。该技术方案的执行过程和技术效果参见图1-图6所示实施例中的描述,在此不再赘述。
下面参考图8,其示出了适于用来实现本公开实施例的电子设备800的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图8示出的电子设备仅仅是一个示例,不应对本公开实施 例的功能和使用范围带来任何限制。
如图8所示,电子设备800可以包括处理装置(例如中央处理器、图形处理器等)801,其可以根据存储在只读存储器(ROM)802中的程序或者从存储装置806加载到随机访问存储器(RAM)803中的程序而执行各种适当的动作和处理。在RAM 803中,还存储有电子设备800操作所需的各种程序和数据。处理装置801、ROM 802以及RAM 803通过总线804彼此相连。输入/输出(I/O)接口805也连接至总线804。
通常,以下装置可以连接至I/O接口805:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置806;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置807;包括例如磁带、硬盘等的存储装置806;以及通信装置809。通信装置809可以允许电子设备800与其他设备进行无线或有线通信以交换数据。虽然图8示出了具有各种装置的电子设备800,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置809从网络上被下载和安装, 或者从存储装置806被安装,或者从ROM 802被安装。在该计算机程序被处理装置801执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:显示第一页面,所述第一页面中包括跳转组件,所述跳转组件与多个跳转链接相关联;响应于接收到所述跳转组件的触发信号,执行跳转链接获取操作,所述跳转链接获取操作从所述多个跳转链接中获取待跳转链接;执行跳转操作,所述跳转操作使所述页面跳转至所述待跳转链接所关联的第二页面;响应于所述跳转操作失败,继续执行上述跳转链接获取操作以及跳转操作,直至跳转操作成功或者没有待跳转链接为止。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作 为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部 件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的一个或多个实施例,提供了一种页面跳转方法,包括:
显示第一页面,所述第一页面中包括跳转组件,所述跳转组件与多个跳转链接相关联;
响应于接收到所述跳转组件的触发信号,执行跳转链接获取操作,所述跳转链接获取操作从所述多个跳转链接中获取待跳转链接;
执行跳转操作,所述跳转操作使所述页面跳转至所述待跳转链接所关联的第二页面;
响应于所述跳转操作失败,继续执行上述跳转链接获取操作以及 跳转操作,直至跳转操作成功或者没有待跳转链接为止。
进一步的,所述响应于接收到对所述跳转组件的触发信号,执行跳转链接获取操作,所述跳转链接获取操作从所述多个跳转链接中获取待跳转链接,包括:
响应于接收到对所述跳转组件的点击信号,获取所述多个跳转链接的优先级;
获取所述多个跳转链接中的优先级最高的跳转链接作为待跳转链接。
进一步的,所述执行跳转操作,所述跳转操作使所述页面跳转至所述待跳转链接所关联的第二页面,包括:
确定所述待跳转链接的类型;
调用与所述待跳转链接的类型对应的程序打开所述待跳转链接。
进一步的,在执行所述跳转链接获取操作之后,还包括:
判断所述第一页面所在的终端设备的类型与所述待跳转链接是否匹配;
响应于所述终端设备的类型与所述待跳转链接不匹配,继续执行所述跳转链接获取操作。
进一步的,所述执行跳转操作,所述跳转操作使所述页面跳转至所述待跳转链接所关联的第二页面,包括:
启动第一计时器;
调用与所述待跳转链接对应的程序打开所述待跳转链接。
进一步的,响应于所述跳转操作失败,继续执行上述跳转链接获 取操作以及跳转操作,直至跳转操作成功或者没有待跳转链接为止,包括:
响应于所述第一计时器超时,判断当前所显示的页面是否为所述第一页面;
响应于当前所显示的页面为第一页面,继续执行上述跳转链接获取操作以及跳转操作,直至跳转操作成功或者没有待跳转链接为止。
进一步的,在所述显示第一页面之前,还包括:
接收跳转组件的设置信号,所述设置信号用来设置与所述跳转组件相关联的多个跳转链接。
根据本公开的一个或多个实施例,提供了一种页面跳转装置,包括:
页面显示模块,用于显示第一页面,所述第一页面中包括跳转组件,所述跳转组件与多个跳转链接相关联;
跳转链接获取模块,用于响应于接收到对所述跳转组件的触发信号,执行跳转链接获取操作,所述跳转链接获取操作从所述多个跳转链接中获取待跳转链接;
跳转操作执行模块,用于执行跳转操作,所述跳转操作使所述页面跳转至所述待跳转链接所关联的第二页面;
跳转失败处理模块,用于响应于所述跳转操作失败,继续执行上述跳转链接获取操作以及跳转操作,直至跳转操作成功或者没有待跳转链接为止。
进一步的,所述跳转链接获取模块,还包括:
优先级获取模块,用于响应于接收到对所述跳转组件的点击信号,获取所述多个跳转链接的优先级;
待跳转链接获取模块,用于获取所述多个跳转链接中的优先级最高的跳转链接作为待跳转链接。
进一步的,所述跳转操作执行模块,还包括:
跳转链接类型确定模块,用于确定所述待跳转链接的类型;
第一调用模块,用于调用与所述待跳转链接的类型对应的程序打开所述待跳转链接。
进一步的,所述页面跳转装置,还包括:
匹配判断模块,用于判断所述第一页面所在的终端设备的类型与所述待跳转链接是否匹配;
第一跳转链接获取模块,用于响应于所述终端设备的类型与所述待跳转链接不匹配,继续执行所述跳转链接获取操作。
进一步的,所述跳转操作执行模块,还包括:
计时器启动模块,用于启动第一计时器;
第二调用模块,用于调用与所述待跳转链接对应的程序打开所述待跳转链接。
进一步的,所述跳转失败处理模块,还包括:
第一页面判断模块,用于响应于所述第一计时器超时,判断当前所显示的页面是否为所述第一页面;
第一跳转失败处理模块,用于响应于当前所显示的页面为第一页面,继续执行上述跳转链接获取操作以及跳转操作,直至跳转操作成 功或者没有待跳转链接为止。
进一步的,所述页面跳转装置,还包括:
设置信号接收模块,用于接收跳转组件的设置信号,所述设置信号用来设置与所述跳转组件相关联的多个跳转链接。
根据本公开的一个或多个实施例,提供了一种电子设备,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有能被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行前述第一方面中的任一所述页面跳转方法。
根据本公开的一个或多个实施例,提供了一种非暂态计算机可读存储介质,其特征在于,该非暂态计算机可读存储介质存储计算机指令,该计算机指令用于使计算机执行前述第一方面中的任一所述页面跳转方法。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。

Claims (10)

  1. 一种页面跳转方法,包括:
    显示第一页面,所述第一页面中包括跳转组件,所述跳转组件与多个跳转链接相关联;
    响应于接收到所述跳转组件的触发信号,执行跳转链接获取操作,所述跳转链接获取操作从所述多个跳转链接中获取待跳转链接;
    执行跳转操作,所述跳转操作使所述页面跳转至所述待跳转链接所关联的第二页面;
    响应于所述跳转操作失败,继续执行上述跳转链接获取操作以及跳转操作,直至跳转操作成功或者没有待跳转链接为止。
  2. 如权利要求1所述的页面跳转方法,其特征在于,所述响应于接收到对所述跳转组件的触发信号,执行跳转链接获取操作,所述跳转链接获取操作从所述多个跳转链接中获取待跳转链接,包括:
    响应于接收到对所述跳转组件的点击信号,获取所述多个跳转链接的优先级;
    获取所述多个跳转链接中的优先级最高的跳转链接作为待跳转链接。
  3. 如权利要求1所述的页面跳转方法,其特征在于,所述执行跳转操作,所述跳转操作使所述页面跳转至所述待跳转链接所关联的第二页面,包括:
    确定所述待跳转链接的类型;
    调用与所述待跳转链接的类型对应的程序打开所述待跳转链接。
  4. 如权利要求1或2所述的页面跳转方法,其特征在于,在执行所述跳转链接获取操作之后,还包括:
    判断所述第一页面所在的终端设备的类型与所述待跳转链接是否匹配;
    响应于所述终端设备的类型与所述待跳转链接不匹配,继续执行所述跳转链接获取操作。
  5. 如权利要求1所述的页面跳转方法,其特征在于,所述执行跳转操作,所述跳转操作使所述页面跳转至所述待跳转链接所关联的第二页面,包括:
    启动第一计时器;
    调用与所述待跳转链接对应的程序打开所述待跳转链接。
  6. 如权利要求5所述的页面跳转方法,其特征在于,响应于所述跳转操作失败,继续执行上述跳转链接获取操作以及跳转操作,直至跳转操作成功或者没有待跳转链接为止,包括:
    响应于所述第一计时器超时,判断当前所显示的页面是否为所述第一页面;
    响应于当前所显示的页面为第一页面,继续执行上述跳转链接获取操作以及跳转操作,直至跳转操作成功或者没有待跳转链接为止。
  7. 如权利要求1所述的页面跳转方法,其特征在于,在所述显示第一页面之前,还包括:
    接收跳转组件的设置信号,所述设置信号用来设置与所述跳转组件相关联的多个跳转链接。
  8. 一种页面跳转装置,包括:
    页面显示模块,用于显示第一页面,所述第一页面中包括跳转组件,所述跳转组件与多个跳转链接相关联;
    跳转链接获取模块,用于响应于接收到对所述跳转组件的触发信号,执行跳转链接获取操作,所述跳转链接获取操作从所述多个跳转链接中获取待跳转链接;
    跳转操作执行模块,用于执行跳转操作,所述跳转操作使所述页面跳转至所述待跳转链接所关联的第二页面;
    跳转失败处理模块,用于响应于所述跳转操作失败,继续执行上述跳转链接获取操作以及跳转操作,直至跳转操作成功或者没有待跳转链接为止。
  9. 一种电子设备,包括:
    存储器,用于存储计算机可读指令;以及
    处理器,用于运行所述计算机可读指令,使得所述处理器运行时实现根据权利要求1-7中任意一项所述的页面跳转方法。
  10. 一种非暂态计算机可读存储介质,用于存储计算机可读指令,当所述计算机可读指令由计算机执行时,使得所述计算机执行权利要求1-7中任意一项所述的页面跳转方法。
PCT/CN2020/107667 2019-10-08 2020-08-07 页面跳转方法、装置、电子设备及计算机可读存储介质 WO2021068634A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/767,030 US20220365985A1 (en) 2019-10-08 2020-08-07 Page jump method and apparatus, electronic device and computer-readable storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910947866.6 2019-10-08
CN201910947866.6A CN110781432A (zh) 2019-10-08 2019-10-08 页面跳转方法、装置、电子设备及计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2021068634A1 true WO2021068634A1 (zh) 2021-04-15

Family

ID=69385144

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/107667 WO2021068634A1 (zh) 2019-10-08 2020-08-07 页面跳转方法、装置、电子设备及计算机可读存储介质

Country Status (3)

Country Link
US (1) US20220365985A1 (zh)
CN (1) CN110781432A (zh)
WO (1) WO2021068634A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110781432A (zh) * 2019-10-08 2020-02-11 北京字节跳动网络技术有限公司 页面跳转方法、装置、电子设备及计算机可读存储介质
CN111428163A (zh) * 2020-03-20 2020-07-17 吉林亿联银行股份有限公司 一种页面访问方法及装置
CN113343133B (zh) * 2021-05-31 2024-01-09 北京百度网讯科技有限公司 显示页面生成方法、相关装置及计算机程序产品
CN113434233B (zh) * 2021-06-28 2023-10-24 青岛海尔科技有限公司 界面跳转方法、装置、存储介质及电子装置
CN113641936B (zh) * 2021-08-12 2023-08-11 百度在线网络技术(北京)有限公司 用于页面跳转的方法、装置、电子设备及存储介质
CN115208890B (zh) * 2022-06-09 2024-04-30 北京达佳互联信息技术有限公司 一种信息获取方法、装置、电子设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102231752A (zh) * 2011-06-01 2011-11-02 上海聚力传媒技术有限公司 获取子链接对应的资源信息的方法、装置、设备和系统
CN103501274A (zh) * 2013-09-24 2014-01-08 神州数码网络(北京)有限公司 一种多链接透明互联网络中流量负载分担方法及装置
CN106294839A (zh) * 2016-08-20 2017-01-04 北京云艾科技有限公司 一种链接跳转方法和装置
US10169462B2 (en) * 2004-11-30 2019-01-01 International Business Machines Corporation Creation of structural diagram of web site based on both physical links and semantic links of web pages of web site
CN110781432A (zh) * 2019-10-08 2020-02-11 北京字节跳动网络技术有限公司 页面跳转方法、装置、电子设备及计算机可读存储介质

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2327011A1 (en) * 2000-11-22 2002-05-22 Earl Alexander Culham Method of linking web pages
US20020107884A1 (en) * 2001-02-08 2002-08-08 International Business Machines Corporation Prioritizing and visually distinguishing sets of hyperlinks in hypertext world wide web documents in accordance with weights based upon attributes of web documents linked to such hyperlinks
US7451135B2 (en) * 2005-06-13 2008-11-11 Inform Technologies, Llc System and method for retrieving and displaying information relating to electronic documents available from an informational network
US9218419B2 (en) * 2012-04-23 2015-12-22 Yahoo! Inc. Snapshot generation for search results page preview
US10353979B2 (en) * 2013-04-25 2019-07-16 Tencent Technology (Shenzhen) Company Limited Web-user navigating information recording method, apparatus and storage medium
CN104866534A (zh) * 2015-04-28 2015-08-26 北京奇虎科技有限公司 页面展示方法及装置
CN106294459A (zh) * 2015-05-29 2017-01-04 阿里巴巴集团控股有限公司 基于文本隐藏的页面跳转方法及相关装置
CN106970977A (zh) * 2017-03-28 2017-07-21 腾讯音乐娱乐(深圳)有限公司 一种网页跳转处理方法及装置
CN109766082B (zh) * 2017-11-09 2022-04-12 北京京东尚科信息技术有限公司 应用程序页面跳转的方法和装置
CN109063064A (zh) * 2018-07-20 2018-12-21 北京三快在线科技有限公司 一种页面跳转方法、装置及计算机可读存储介质
CN110046310B (zh) * 2019-04-03 2020-12-08 北京字节跳动网络技术有限公司 分析页面中的跳转链接的方法和装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10169462B2 (en) * 2004-11-30 2019-01-01 International Business Machines Corporation Creation of structural diagram of web site based on both physical links and semantic links of web pages of web site
CN102231752A (zh) * 2011-06-01 2011-11-02 上海聚力传媒技术有限公司 获取子链接对应的资源信息的方法、装置、设备和系统
CN103501274A (zh) * 2013-09-24 2014-01-08 神州数码网络(北京)有限公司 一种多链接透明互联网络中流量负载分担方法及装置
CN106294839A (zh) * 2016-08-20 2017-01-04 北京云艾科技有限公司 一种链接跳转方法和装置
CN110781432A (zh) * 2019-10-08 2020-02-11 北京字节跳动网络技术有限公司 页面跳转方法、装置、电子设备及计算机可读存储介质

Also Published As

Publication number Publication date
CN110781432A (zh) 2020-02-11
US20220365985A1 (en) 2022-11-17

Similar Documents

Publication Publication Date Title
WO2021068634A1 (zh) 页面跳转方法、装置、电子设备及计算机可读存储介质
WO2021088798A1 (zh) 信息展示方法、装置、电子设备和计算机可读介质
WO2021135626A1 (zh) 菜单项选择方法、装置、可读介质及电子设备
WO2021223752A1 (zh) 展示方法、装置和电子设备
WO2021057595A1 (zh) 信息推送方法、装置、电子设备和计算机可读介质
WO2021114979A1 (zh) 视频页面显示方法、装置、电子设备和计算机可读介质
WO2021197161A1 (zh) 图标更新方法、装置和电子设备
WO2020200173A1 (zh) 文档输入内容的处理方法、装置、电子设备和存储介质
CN111400625B (zh) 页面处理方法、装置、电子设备及计算机可读存储介质
CN111290819B (zh) 显示操作提示的方法、装置和电子设备
CN112269959B (zh) 展示内容的控制方法、装置、可读介质和电子设备
US11818491B2 (en) Image special effect configuration method, image recognition method, apparatus and electronic device
WO2021088823A1 (zh) 用于交互控制的方法、装置、终端及存储介质
CN113254136A (zh) 信息推荐弹窗展示方法、装置、设备和计算机可读介质
CN110865846B (zh) 应用管理的方法、装置、终端、系统及存储介质
WO2020156055A1 (zh) 显示界面切换方法、电子设备及计算机可读存储介质
WO2020192246A1 (zh) 终端界面的显示控制方法、装置、存储介质及电子设备
WO2024007912A1 (zh) 信息显示方法、装置、电子设备和存储介质
CN110618811B (zh) 信息呈现方法和装置
US11962929B2 (en) Method, apparatus, and device for configuring video special effect, and storage medium
WO2023124944A1 (zh) 视频通话方法、装置、电子设备和存储介质
WO2022057581A1 (zh) 内容显示方法、装置、电子设备及计算机可读存储介质
WO2022245280A1 (zh) 特征构建方法、内容显示方法及相关装置
WO2020143556A1 (zh) 用于展示页面的方法和装置
WO2021057738A1 (zh) 用户界面展示方法、装置、计算机可读介质及电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20873801

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 05.08.2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20873801

Country of ref document: EP

Kind code of ref document: A1