CN116074249A - Multi-level page starting method and device, electronic equipment and storage medium - Google Patents

Multi-level page starting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116074249A
CN116074249A CN202310118479.8A CN202310118479A CN116074249A CN 116074249 A CN116074249 A CN 116074249A CN 202310118479 A CN202310118479 A CN 202310118479A CN 116074249 A CN116074249 A CN 116074249A
Authority
CN
China
Prior art keywords
information
page
virtual space
token information
starting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310118479.8A
Other languages
Chinese (zh)
Other versions
CN116074249B (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 Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information 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 Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202310118479.8A priority Critical patent/CN116074249B/en
Publication of CN116074249A publication Critical patent/CN116074249A/en
Application granted granted Critical
Publication of CN116074249B publication Critical patent/CN116074249B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • 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]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure relates to the technical field of internet, and in particular relates to a method and a device for starting a multi-level page. The multi-stage page starting method comprises the following steps: under the condition that a starting instruction aiming at a first multi-level page in a first virtual space is received, acquiring first token information and first URL information corresponding to the first multi-level page through a service entry, wherein the first token information corresponds to the first virtual space; acquiring a first token information table set corresponding to the first token information; determining first routing information corresponding to the first multilevel page in the first token information table set according to the first token information; and determining page starting information corresponding to the first URL information by adopting a first route corresponding to the first route information, and starting the first multi-level page by adopting the page starting information. By adopting the method and the device, the convenience of multi-stage page opening is improved, and the accuracy of multi-stage page opening is improved.

Description

Multi-level page starting method and device, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of internet, and in particular relates to a multi-level page starting method, a device, electronic equipment and a storage medium.
Background
With the development of scientific technology, the routing framework is a technical framework for performing page-to-page jumping through a uniform resource location system (uniform resource locator, URL), so that a developer of a business portal can conveniently jump to a certain landing page by using the URL, and the code module of the landing page is not dependent. But the service portal needs to transmit parameters of many secondary pages to open them. When the transmitted parameters are wrong, the opening accuracy of the secondary page is lower, and the transmitted parameters are too many, so that the opening efficiency of the secondary page is lower.
Disclosure of Invention
The disclosure provides a multi-level page starting method, a device, electronic equipment and a storage medium, which are used for at least solving the problems of lower secondary page opening efficiency and lower secondary page opening accuracy in the related technology. The technical scheme of the present disclosure is as follows:
according to a first aspect of an embodiment of the present disclosure, there is provided a multi-level page starting method, including:
under the condition that a starting instruction aiming at a first multi-level page in a first virtual space is received, acquiring first token information and first URL information corresponding to the first multi-level page through a service entry, wherein the first token information corresponds to the first virtual space;
Acquiring a first token information table set corresponding to the first token information;
determining first routing information corresponding to the first multilevel page in the first token information table set according to the first token information;
and determining page starting information corresponding to the first URL information by adopting a first route corresponding to the first route information, and starting the first multi-level page by adopting the page starting information.
Optionally, the method further comprises:
when a creation instruction for the first virtual space is received, first token information corresponding to a virtual space identifier of the first virtual space is randomly generated;
and generating a corresponding relation table of the first token information and the first route information by adopting the first token information, and adding the corresponding relation table of the first token information and the first route information into the first token information table set.
Optionally, the method further comprises:
and the first token information is built in a context corresponding to the virtual space identifier of the first virtual space.
Optionally, the method further comprises:
and when receiving a starting instruction input for a first multilevel page of the first virtual space, controlling the service inlet to acquire the first token information in a context corresponding to the first virtual space identifier.
Optionally, the method further comprises:
switching the first virtual space in which the user identifier is positioned when a received switching instruction for the first virtual space is responded, so that the user identifier enters a second virtual space;
and receiving a starting instruction aiming at a second multilevel page of the second virtual space, and acquiring second token information and second URL information corresponding to the second multilevel page through the service entry again.
Optionally, the method further comprises:
displaying a first-level page corresponding to the first virtual space under the condition that the user identification enters the first virtual space;
and under the condition that a starting operation for any one of the primary pages is received, determining that a starting instruction for any one of the secondary pages is received.
According to a second aspect of the embodiments of the present disclosure, there is provided a multi-stage page starting apparatus, including:
an information acquisition unit configured to execute, when receiving a start instruction for a first multi-level page in a first virtual space, acquiring first token information and first URL information corresponding to the first multi-level page through a service entry, wherein the first token information corresponds to the first virtual space;
A set acquisition unit configured to perform acquisition of a first token information table set corresponding to the first token information;
an information acquisition unit, configured to perform determining, according to the first token information, first routing information corresponding to the first multi-level page in the first token information table set;
and the page starting unit is configured to determine page starting information corresponding to the first URL information by adopting a first route corresponding to the first route information, and start the first multi-level page by adopting the page starting information.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the multi-level page launch method of any one of the preceding aspects.
According to a fourth aspect of the present application, there is provided a non-transitory computer readable storage medium storing computer instructions which, when executed by a processor of an electronic device, enable the electronic device to perform the multi-level page starting method of any one of the preceding aspects.
According to a fifth aspect of the present application, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the method of any one of the preceding aspects.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
in some or related embodiments, obtaining first token information and first URL information corresponding to a first multi-level page in a first virtual space through a service portal under the condition that an activation instruction for the first multi-level page is received, wherein the first token information corresponds to the first virtual space; acquiring a first token information table set corresponding to the first token information; determining first routing information corresponding to the first multilevel page in the first token information table set according to the first token information; and determining page starting information corresponding to the first URL information by adopting a first route corresponding to the first route information, and starting the first multi-level page by adopting the page starting information. Therefore, when the multi-stage page is started, only the first token information is required to be transmitted, the accuracy of determining the first route can be improved, detailed information of the multi-stage page is not required to be transmitted, the situation that different business inlets are required to be set for different multi-stage pages is reduced, the information transmission time length and the loss in the transmission process are reduced, the multi-stage page starting efficiency can be improved, and the convenience of multi-stage page opening and the accuracy of multi-stage page opening can be improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure and do not constitute an undue limitation on the disclosure.
FIG. 1 is a schematic diagram of a scenario illustrating a multi-level page launch method according to an exemplary embodiment;
FIG. 2 is a flowchart illustrating a multi-level page start method according to an exemplary embodiment;
FIG. 3 is a flowchart illustrating a multi-level page start method according to an exemplary embodiment;
FIG. 4 is an exemplary schematic diagram illustrating a multi-level page launch method according to one exemplary embodiment;
FIG. 5 is an exemplary diagram illustrating a multi-level page launch method according to one exemplary embodiment;
FIG. 6 is a flowchart illustrating a multi-level page start method according to an exemplary embodiment;
FIG. 7 is a flowchart illustrating a multi-level page start method according to an exemplary embodiment;
FIG. 8 is a block diagram illustrating a multi-level page starting apparatus according to an exemplary embodiment;
FIG. 9 is a block diagram illustrating a multi-level page starting apparatus according to an exemplary embodiment;
FIG. 10 is a block diagram illustrating a multi-level page starting apparatus according to an exemplary embodiment;
FIG. 11 is a block diagram illustrating a multi-level page starting apparatus according to an exemplary embodiment;
fig. 12 is a block diagram of an electronic device, according to an example embodiment.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
According to some embodiments, the routing framework is a technical framework for performing page-to-page jumping through URLs, so that a developer of a business portal can conveniently jump to a certain landing page by using the URLs, and the code module of the landing page is not dependent. Because the routing registry of the traditional routing framework is static, the routing information cannot be dynamically switched according to the up-and-down sliding of the live broadcasting room, so that when the secondary page is opened, the primary page context is wrongly acquired.
Optionally, in the conventional routing framework, for example ARouter, MRouter, to realize that the secondary page is opened by sliding the live broadcasting room up and down, the service portal must transmit a plurality of parameters required by the landing page to correctly open the secondary page, and different parameters are required to be transmitted to different landing pages, which violates the nature of the routing framework, so that the portal is inconvenient to develop and difficult to maintain in the later period.
In some embodiments, another framework is to open a secondary page of a live room, and different instance routing interface services need to be provided for different primary pages, and a business portal performs page jumping by calling the services. Routing interface services for different instances are cumbersome for portals to use, each portal requiring access to the service instance. But typically the ingress and routing interface services are not the same research and development team and introduce additional code dependencies.
FIG. 1 is a schematic view of a scenario of a multi-level page start method according to an exemplary embodiment, where, as shown in FIG. 1, when it is determined that a user identifier enters a first virtual space and a start instruction for a second level page is received, a routing framework may be controlled to obtain first token information and a URL corresponding to the second level page, and a first token information table set corresponding to the first token information is searched in a floor page processor; determining first routing information corresponding to the first multi-level page in a first token information table set according to the first token information; the landing page processor can be controlled to determine page starting information corresponding to the first URL information by adopting a first route corresponding to the first route information, and start a first multi-stage page by adopting the page starting information, so that the landing page can be opened. When receiving a creation instruction for the first virtual space, the controllable routing framework API may perform registration for the first virtual space, that is, may randomly generate first token information corresponding to a virtual space identifier of the first virtual space, generate a correspondence table of the first token information and the first routing information by using the first token information, and add the correspondence table of the first token information and the first routing information to the first token information table set in the routing framework through the floor page processor.
Fig. 2 is a flowchart illustrating a multi-level page starting method according to an exemplary embodiment, and as shown in fig. 2, the multi-level page starting method may be used in a multi-level page starting scenario, and an execution subject of an embodiment of the present disclosure may be, for example, an electronic device or a server. The method comprises the following steps:
in step S11, under the condition that a start instruction for a first multi-level page in a first virtual space is received, acquiring first token information and first URL information corresponding to the first multi-level page through a service entry;
according to some embodiments, the multi-level pages may include, for example, any level of pages other than the level of pages. For example, the multi-level page may be a two-level page, and the multi-level page may be a three-level page. The multi-level page start scene class may be a scene of clicking a primary link to start a secondary page or clicking a secondary link to start a tertiary page.
In some embodiments, a virtual space refers to a space opened by a person or an organization to live a program to a viewer. The target virtual space is not specific to a certain fixed space. The first virtual space refers to the space into which the user identification currently enters. The first virtual space is only used for distinguishing from the second virtual space, and the first virtual space is not specific to a certain fixed virtual space. For example, when a user opening a virtual space changes, the first virtual space may change. The first virtual space may also change when a user who is broadcasting a program to the viewer changes.
According to some embodiments, a startup instruction refers to a scenario for opening a multi-level page. The start instruction is not specific to a fixed instruction. The initiation instructions include, but are not limited to, voice initiation instructions, click initiation instructions, and the like.
It is easy to understand that the first token information corresponds to the first virtual space, i.e. different token information corresponding to different virtual spaces. One virtual space corresponds to only one token information. The token information may be, for example, a token.
According to some embodiments, the business portal, i.e., the interactive response area, is used as a main element in the display interface, and generally, the image engine is called in a preset display area to display the business portal on the display interface.
In some embodiments, the first URL information refers to URL information corresponding to a first multi-level page. The first URL information is used for positioning the resources of the first multi-level page, namely, the resources corresponding to the first multi-level page can be obtained according to the URL information, so that the first multi-level page is opened.
According to some embodiments, the electronic device obtains, through the service portal, the first token information and the first URL information corresponding to the first multi-level page in the first virtual space, in case of receiving a start instruction for the first multi-level page.
According to some embodiments, the electronic device may, for example, receive a launch instruction for a first multi-level page in a first virtual space after determining that the user identification entered the first virtual space. The electronic device may obtain, by the electronic device through the service portal, the first token information and the first URL information corresponding to the first multi-level page in the first virtual space when receiving the start instruction for the first multi-level page. The user identification refers to an unique identification of a user in a certain system platform. The user identifier refers to a user identifier registered in a system platform where the first virtual space is located. The user identity is not specific to a certain fixed user identity. For example, when the user corresponding to the multi-level page start scene changes, the user identifier may also change accordingly.
In step S12, a first token information table set corresponding to the first token information is acquired;
according to some embodiments, the first set of token information tables includes at least one correspondence table therein. The corresponding relation table is used for representing the corresponding relation between the token information and the routing information. Wherein a routing information is maintained by a token information. Different live rooms correspond to different token information.
In some embodiments, routing refers to the network-wide process of determining an end-to-end path as a packet travels from a source to a destination. The route of the disclosed embodiments may be, for example, a route for launching a multi-level page.
Optionally, the first set of token information tables refers to a set comprising at least one correspondence table. The first set of token information tables does not refer specifically to a fixed set. For example, when the first token information changes, the first token information table set corresponding to the first token information may also change accordingly. For example, when the number of information tables included in the first token information table set changes, the first token information table set may also change accordingly.
According to some embodiments, when the first token information is acquired, a first token information table set corresponding to the first token information may be acquired according to the first token information.
In step S13, according to the first token information, determining first routing information corresponding to the first multi-level page in the first token information table set;
in some embodiments, the first routing information refers to information corresponding to a route for starting the first multi-level page, and the first routing information does not refer to certain fixed information. For example, when the first multi-level page changes, the first routing information may also change accordingly. For example, when the user identity changes, the first routing information may also change accordingly.
According to some embodiments, when the first token information is acquired, a first token information table set corresponding to the first token information may be acquired according to the first token information. According to the first token information, first routing information corresponding to the first multi-level page can be determined in the first token information table set.
In step S14, page start information corresponding to the first URL information is determined using the first route corresponding to the first route information, and the first multi-level page is started using the page start information.
According to some embodiments, when the first route information is acquired, a first route corresponding to the first route information may be determined. The page starting information corresponding to the first URL information can be determined by adopting the first route corresponding to the first route information, and the first multi-level page is started by adopting the page starting information.
The page starting information refers to information capable of starting the first multi-level page, and the page starting information includes, but is not limited to, display parameters corresponding to the first multi-level page and the like.
In some or related embodiments, the first token information and the first URL information corresponding to the first multi-level page are acquired through the service entry under the condition that a start instruction for the first multi-level page in the first virtual space is received, wherein the first token information corresponds to the first virtual space; acquiring a first token information table set corresponding to first token information; determining first routing information corresponding to the first multi-level page in a first token information table set according to the first token information; and determining page starting information corresponding to the first URL information by adopting a first route corresponding to the first route information, and starting a first multi-level page by adopting the page starting information. Therefore, when the multi-stage page is started, only the first token information is required to be transmitted, the accuracy of determining the first route can be improved, detailed information of the multi-stage page is not required to be transmitted, the situation that different business inlets are required to be set for different multi-stage pages is reduced, the information transmission time length and the loss in the transmission process are reduced, the multi-stage page starting efficiency can be improved, and the convenience of multi-stage page opening and the accuracy of multi-stage page opening can be improved.
FIG. 3 is a flowchart illustrating a multi-level page start method, as shown in FIG. 3, that may be used in a multi-level page start scenario, according to one exemplary embodiment, comprising the steps of:
in step S21, upon receiving a creation instruction for a first virtual space, first token information corresponding to a virtual space identification of the first virtual space is randomly generated;
the specific process is as described above, and will not be described here again.
According to some embodiments, the multi-level page launching apparatus may, for example, monitor whether to create the first virtual space. When a creation instruction for the first virtual space is received, first token information corresponding to a virtual space identification of the first virtual space may be randomly generated.
Optionally, the virtual space identifier refers to an identifier for uniquely identifying the virtual space. The virtual space identifier is not specific to a certain fixed identifier. For example, when the first virtual space changes, the virtual space identifier may also change accordingly.
FIG. 4 is an exemplary schematic diagram illustrating a multi-level page launch method according to one exemplary embodiment. For example, when the user identification enters the first virtual space, the presentation interface of the display screen may be as shown in fig. 4, for example.
In step S22, the first token information is adopted to generate a corresponding relation table of the first token information and the first route information, and the corresponding relation table of the first token information and the first route information is added into the first token information table set;
according to some embodiments, when the first token information is acquired, the first token information may be used to generate a correspondence table of the first token information and the first routing information, and the correspondence table of the first token information and the first routing information may be added to the first token information table set. The dynamic registration of the routing information in the page initialization stage can be completed.
In step S23, the first token information is built in a context corresponding to the virtual space identifier of the first virtual space;
in some embodiments, the virtual space identification corresponding context of the first virtual space may be, for example, information that includes what the first virtual space encounters during use. The context of embodiments of the present disclosure may be, for example, storing information or configuration files that are needed to be used when a multi-level page is started. The context is not specific to a certain fixed context. For example, when the first virtual space identifier changes, the context corresponding to the first virtual space may also change accordingly.
According to some embodiments, when the first token information is acquired, the first token information may be built in a context corresponding to a virtual space identifier of the first virtual space, so that the service portal may acquire the first token information.
In step S24, when receiving a start instruction input for a first multi-level page of a first virtual space, a control service portal obtains first token information in a context corresponding to a virtual space identifier of the first virtual space;
the specific process is as described above, and will not be described here again.
It is easy to understand that, when receiving a start instruction input for the first multi-level page of the first virtual space, the service portal may be controlled to acquire the first token information in the context corresponding to the first virtual space identifier.
According to some embodiments, in a case that a user identifier enters a first virtual space, a first-level page corresponding to the first virtual space may be displayed; in the case of receiving a start operation for any one of the secondary page links in the primary page, it is determined that a start instruction for any one of the secondary pages is received. The accuracy of starting instruction acquisition can be improved, and the situation of false starting is reduced.
In step S25, the first token information and the first URL information corresponding to the first multi-level page are acquired through the service entry;
the specific process is as described above, and will not be described here again.
In step S26, a first token information table set corresponding to the first token information is acquired;
the specific process is as described above, and will not be described here again.
The first token information table set comprises at least one corresponding relation table of token information and routing information.
In step S27, according to the first token information, determining first routing information corresponding to the first multi-level page in the first token information table set;
the specific process is as described above, and will not be described here again.
In step S28, the page start information corresponding to the first URL information is determined using the first route corresponding to the first route information, and the first multi-level page is started using the page start information.
The specific process is as described above, and will not be described here again.
Fig. 5 is an exemplary schematic diagram illustrating a multi-level page start method according to an exemplary embodiment. For example, when a first route corresponding to the first route information is adopted, and the first multi-level page is a second-level page, a display interface of the display screen may be shown in fig. 5, for example.
In some or related embodiments, when a creation instruction for the first virtual space is received, first token information corresponding to a virtual space identifier of the first virtual space is randomly generated, the first token information is adopted to generate a corresponding relation table of the first token information and the first routing information, and the corresponding relation table of the first token information and the first routing information is added into the first token information table set, so that the accuracy of determining the first token information can be improved, and the probability of uniqueness of the first token information can be improved. Secondly, the first token information is built in the context corresponding to the virtual space identifier corresponding to the first virtual space, so that the convenience of the service entrance for acquiring the first token information can be improved. In addition, under the condition that the user identification enters the first virtual space and a starting instruction for a first multi-stage page in the first virtual space is received, the service inlet is controlled to acquire first token information in a context corresponding to the first virtual space identification, the service inlet is used for acquiring the first token information and first URL information corresponding to the first multi-stage page, acquiring a first token information table set corresponding to the first token information, determining first route information corresponding to the first multi-stage page in the first token information table set according to the first token information, determining page starting information corresponding to the first URL information by adopting the first route corresponding to the first route information, and starting the first multi-stage page by adopting page starting information. Meanwhile, the setting of codes can be reduced, the dependence on the codes is reduced, and the development difficulty of the business entrance can be reduced.
Fig. 6 is a flowchart illustrating a multi-level page start method according to an exemplary embodiment, and as shown in fig. 6, the multi-level page start method may be applied to a multi-level page start scene, including the steps of:
in step S31, under the condition that a start instruction for a first multi-level page in a first virtual space is received, acquiring first token information and first URL information corresponding to the first multi-level page through a service entry;
the specific process is as described above, and will not be described here again.
In step S32, a first token information table set corresponding to the first token information is acquired;
the specific process is as described above, and will not be described here again.
In step S33, according to the first token information, determining first routing information corresponding to the first multi-level page in the first token information table set;
the specific process is as described above, and will not be described here again.
In step S34, determining page start information corresponding to the first URL information using a first route corresponding to the first route information, and starting the first multi-level page using the page start information;
the specific process is as described above, and will not be described here again.
In step S35, when a received switching instruction for the first virtual space is responded, switching the first virtual space in which the user identifier is located, so that the user identifier enters the second virtual space;
According to some embodiments, the switch instruction refers to an instruction to switch virtual space. The switch instruction is not specific to a fixed instruction. The switching instruction may be, for example, a slide instruction, a voice switching instruction, or the like. An exemplary schematic of the slide instruction may be shown in fig. 7, for example.
In some embodiments, when a received switching instruction for the first virtual space is responded, the first virtual space where the user identifier is located is switched, so that the user identifier enters the second virtual space. The second virtual space refers to a space that the user identifies to enter after the first virtual space, different from the first virtual space. The second virtual space is not particularly a fixed virtual space. The second virtual space may be, for example, a virtual space recommended from a historical browsing record of user identification. The second virtual space may also be a virtual space presented based on a user-identified list of interests.
It is easy to understand that the first virtual space may be, for example, an a-live room. The second virtual space may be, for example, a B-living room. When a switching instruction for the live broadcasting room A is received, the live broadcasting room A can be switched to the live broadcasting room B. The user identification can be switched from the live broadcasting room A to the live broadcasting room B, and correspondingly, the display interface of the display screen of the electronic equipment can be switched from the display interface of the live broadcasting room A to the display interface of the live broadcasting room B.
In step S36, receiving a start instruction for a second multi-level page of the second virtual space, and obtaining second token information and second URL information corresponding to the second multi-level page through the service entry again;
according to some embodiments, the second token information refers to token information corresponding to the second virtual space. The second token information is not specific to a certain fixed token information. For example, the second token information is randomly generated by the user identification into the second virtual space, so that when the randomly generated token information changes, the second token information can also change accordingly.
In some embodiments, when a start instruction for a second multi-level page of the second virtual space is received, the second token information and the second URL information corresponding to the second multi-level page are acquired again through the service entry.
In step S37, a second token information table set corresponding to the second token information is acquired;
according to some embodiments, the second set of token information tables includes at least one correspondence table of token information and routing information. The second token information table set refers to a correspondence table including at least one token information and routing information. The second set of token information tables does not refer specifically to a fixed set. For example, when the second token information changes, the second token information table set corresponding to the second token information may also change accordingly. For example, when the number of information tables included in the second set of token information tables changes, the second set of token information tables may also change accordingly.
According to some embodiments, when the second token information is acquired, a second token information table set corresponding to the second token information may be acquired according to the second token information.
In step S38, according to the second token information, determining second routing information corresponding to the second multi-level page in the second token information table set;
in some embodiments, the second routing information refers to information corresponding to a route for starting the second multi-level page, and the second routing information does not refer to certain fixed information. For example, when the second multi-level page changes, the second routing information may also change accordingly. For example, when the subscriber identity changes, the second routing information may also change accordingly.
According to some embodiments, when the second token information is acquired, a second token information table set corresponding to the second token information may be acquired according to the second token information. And determining second routing information corresponding to the second multi-level page in the second token information table set according to the second token information and the second URL information.
In step S39, the page start information corresponding to the second URL information is determined using the second route corresponding to the second route information, and the second multi-level page is started using the page start information.
According to some embodiments, when the second route information is acquired, a second route corresponding to the second route information may be determined. And determining page starting information corresponding to the second URL information by adopting a second route corresponding to the second route information, and starting a second multi-level page by adopting the page starting information.
In some or related embodiments, when a received switching instruction for a first virtual space is responded, the first virtual space in which the user identifier is located is switched, so that the user identifier enters a second virtual space, a starting instruction for a second multi-level page of the second virtual space is received, second token information and second URL information corresponding to the second multi-level page are acquired through a service entry again, accuracy of starting the second multi-level page in the second virtual space can be improved, and when the second multi-level page is started, only the second token information is required to be transmitted, accuracy of determining a second route can be improved, detailed information of the multi-level page is not required to be transmitted, different service entries are required to be set for different multi-level pages, transmission time length of the information and loss in a transmission process are reduced, starting efficiency of the multi-level page can be improved, and convenience of opening the multi-level page can be improved.
Fig. 8 is a block diagram illustrating a multi-stage page initiator in accordance with an exemplary embodiment. Referring to fig. 8, the apparatus 800 includes an information acquisition unit 801, a set acquisition unit 802, and a page starting unit 803.
An information obtaining unit 801 configured to perform obtaining, when receiving a start instruction for a first multi-level page in a first virtual space, first token information and first URL information corresponding to the first multi-level page through a service entry, where the first token information corresponds to the first virtual space;
a set acquisition unit 802 configured to perform acquisition of a first token information table set corresponding to first token information;
an information obtaining unit 801 further configured to perform determining, in the first token information table set, first routing information corresponding to the first multi-level page according to the first token information;
the page starting unit 803 is configured to determine page starting information corresponding to the first URL information using a first route corresponding to the first route information, and start the first multi-level page using the page starting information.
Fig. 9 is a block diagram of a multi-stage page initiator, according to some embodiments. Referring to fig. 9, the apparatus 800 further includes an information generating unit 804 and a relationship table adding unit 805,
An information generating unit 804 configured to execute, upon receiving a creation instruction for the first virtual space, randomly generating first token information corresponding to a virtual space identification of the first virtual space;
the relationship table adding unit 805 is configured to perform the steps of generating a correspondence table of the first token information and the first route information using the first token information, and adding the correspondence table of the first token information and the first route information to the first token information table set.
According to some embodiments, fig. 10 is a block diagram of a multi-level page initiator according to an example embodiment. Referring to fig. 10, the apparatus 800 further includes an information-embedding unit 806,
the information embedding unit 806 is configured to perform embedding of the first token information in a context corresponding to the virtual space identification of the first virtual space.
According to some embodiments, the information obtaining unit 801 is further configured to perform controlling, when receiving a start instruction input for the first multi-level page of the first virtual space, the service portal to obtain the first token information in a context corresponding to the first virtual space identifier.
Fig. 11 is a block diagram of a multi-level page initiator according to an exemplary embodiment. Referring to fig. 11, the apparatus 800 further comprises a spatial switching unit 807,
A space switching unit 807 configured to switch the first virtual space in which the user identifier is located so that the user identifier enters the second virtual space when a switching instruction for the first virtual space is received;
the information obtaining unit 801 is further configured to perform obtaining, through the service entry, the second token information and the second URL information corresponding to the second multi-level page again after receiving the start instruction for the second multi-level page of the second virtual space.
According to some embodiments, the information acquisition unit 801 is further configured to perform:
under the condition that the user identification enters the first virtual space, displaying a first-level page corresponding to the first virtual space;
in the case of receiving a start operation for any one of the secondary page links in the primary page, it is determined that a start instruction for any one of the secondary pages is received.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
In summary, in the apparatus provided by the embodiments of the present disclosure, the information obtaining unit is configured to obtain, through the service entry, first token information and first URL information corresponding to a first multi-level page in the first virtual space, where the first token information corresponds to the first virtual space, when receiving a start instruction for the first multi-level page in the first virtual space; the set acquisition unit is configured to perform acquisition of a first token information table set corresponding to the first token information; the information acquisition unit is further configured to execute determining first routing information corresponding to the first multi-level page in the first token information table set according to the first token information; the page starting unit is configured to execute the page starting information corresponding to the first URL information determined by adopting the first route corresponding to the first route information, and start the first multi-level page by adopting the page starting information. Therefore, when the multi-stage page is started, only the first token information is required to be transmitted, the accuracy of determining the first route can be improved, detailed information of the multi-stage page is not required to be transmitted, the situation that different business inlets are required to be set for different multi-stage pages is reduced, the information transmission time length and the loss in the transmission process are reduced, the multi-stage page starting efficiency can be improved, and the convenience of opening the multi-stage page can be improved. Meanwhile, the setting of codes can be reduced, the dependence on the codes is reduced, and the development difficulty of the business entrance can be reduced.
Fig. 12 shows a schematic block diagram of an example electronic device 1200 that can be used to implement embodiments of the present disclosure. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 12, the electronic device 1200 includes a computing unit 1201 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 1202 or a computer program loaded from a storage unit 1208 into a Random Access Memory (RAM) 1203. In the RAM 1203, various programs and data required for the operation of the electronic device 1200 may also be stored. The computing unit 1201, the ROM 1202, and the RAM 1203 are connected to each other via a bus 1204. An input/output (I/O) interface 1205 is also connected to the bus 1204.
Various components in the electronic device 1200 are connected to the I/O interface 1205, including: an input unit 1206 such as a keyboard, mouse, etc.; an output unit 1207 such as various types of displays, speakers, and the like; a storage unit 1208 such as a magnetic disk, an optical disk, or the like; and a communication unit 1209, such as a network card, modem, wireless communication transceiver, etc. The communication unit 1209 allows the electronic device 1200 to exchange information/data with other devices through a computer network, such as the internet, and/or various telecommunications networks.
The computing unit 1201 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 1201 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The computing unit 1201 performs the various methods and processes described above, such as a multi-level page start method. For example, in some embodiments, the multi-level page launch method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 1208. In some embodiments, some or all of the computer program may be loaded and/or installed onto the electronic device 1200 via the ROM 1202 and/or the communication unit 9012. When a computer program is loaded into the RAM 1203 and executed by the computing unit 1201, one or more steps of the above-described multi-level page start determination method may be performed. Alternatively, in other embodiments, the computing unit 1201 may be configured to perform the multi-level page start method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an 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, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on 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.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), the internet, and blockchain networks.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service ("Virtual Private Server" or simply "VPS") are overcome. The server may also be a server of a distributed system or a server that incorporates a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (10)

1. A multi-level page launch method, comprising:
under the condition that a starting instruction aiming at a first multi-level page in a first virtual space is received, acquiring first token information and first URL information corresponding to the first multi-level page through a service entry, wherein the first token information corresponds to the first virtual space;
acquiring a first token information table set corresponding to the first token information;
Determining first routing information corresponding to the first multilevel page in the first token information table set according to the first token information;
and determining page starting information corresponding to the first URL information by adopting a first route corresponding to the first route information, and starting the first multi-level page by adopting the page starting information.
2. The method according to claim 1, wherein the method further comprises:
when a creation instruction for the first virtual space is received, first token information corresponding to a virtual space identifier of the first virtual space is randomly generated;
and generating a corresponding relation table of the first token information and the first route information by adopting the first token information, and adding the corresponding relation table of the first token information and the first route information into the first token information table set.
3. The method according to claim 2, wherein the method further comprises:
and the first token information is built in a context corresponding to the virtual space identifier of the first virtual space.
4. A method according to claim 3, characterized in that the method further comprises:
And when receiving a starting instruction input for a first multilevel page of the first virtual space, controlling the service inlet to acquire the first token information in a context corresponding to the first virtual space identifier.
5. The method according to claim 1, wherein the method further comprises:
switching the first virtual space in which the user identifier is positioned when a received switching instruction for the first virtual space is responded, so that the user identifier enters a second virtual space;
and receiving a starting instruction aiming at a second multilevel page of the second virtual space, and acquiring second token information and second URL information corresponding to the second multilevel page through the service entry again.
6. The method according to claim 1, wherein the method further comprises:
displaying a first-level page corresponding to the first virtual space under the condition that the user identification enters the first virtual space;
and under the condition that a starting operation for any one of the primary pages is received, determining that a starting instruction for any one of the secondary pages is received.
7. A multi-stage page starting apparatus, comprising:
An information acquisition unit configured to execute, when receiving a start instruction for a first multi-level page in a first virtual space, acquiring first token information and first URL information corresponding to the first multi-level page through a service entry, wherein the first token information corresponds to the first virtual space;
a set acquisition unit configured to perform acquisition of a first token information table set corresponding to the first token information;
an information acquisition unit, configured to perform determining, according to the first token information, first routing information corresponding to the first multi-level page in the first token information table set;
and the page starting unit is configured to determine page starting information corresponding to the first URL information by adopting a first route corresponding to the first route information, and start the first multi-level page by adopting the page starting information.
8. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the multi-level page launch method of any one of claims 1 to 6.
9. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-6.
10. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any of claims 1-6.
CN202310118479.8A 2023-01-30 2023-01-30 Multi-level page starting method and device, electronic equipment and storage medium Active CN116074249B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310118479.8A CN116074249B (en) 2023-01-30 2023-01-30 Multi-level page starting method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310118479.8A CN116074249B (en) 2023-01-30 2023-01-30 Multi-level page starting method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116074249A true CN116074249A (en) 2023-05-05
CN116074249B CN116074249B (en) 2024-07-12

Family

ID=86169622

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310118479.8A Active CN116074249B (en) 2023-01-30 2023-01-30 Multi-level page starting method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116074249B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070254631A1 (en) * 2003-11-06 2007-11-01 Intuwave Limited Secure Multi-Entity Access to Resources on Mobile Telephones
CN104410644A (en) * 2014-12-15 2015-03-11 北京国双科技有限公司 Data configuration method and device
US20190158304A1 (en) * 2008-08-11 2019-05-23 Icontrol Networks, Inc. Data model for home automation
CN109962908A (en) * 2019-01-22 2019-07-02 深圳壹账通智能科技有限公司 Right management method, device, equipment and storage medium based on token
CN110347942A (en) * 2019-05-31 2019-10-18 深圳壹账通智能科技有限公司 Method for page jump, device, storage medium and computer equipment
US20200202341A1 (en) * 2018-12-20 2020-06-25 Paypal, Inc. Routing multiple tokens in a single network hop
CN111459566A (en) * 2020-03-10 2020-07-28 中国平安人寿保险股份有限公司 Authority verification-based route loading method and related equipment
CN112560003A (en) * 2019-09-25 2021-03-26 北京京东尚科信息技术有限公司 User authority management method and device
CN112883361A (en) * 2021-01-29 2021-06-01 平安科技(深圳)有限公司 Function jump method and device of application program, computer equipment and storage medium
CN113064583A (en) * 2021-04-14 2021-07-02 深圳市活力天汇科技股份有限公司 Multi-level page routing skip method and device, computer equipment and storage medium
CN115033322A (en) * 2022-05-24 2022-09-09 青岛海尔科技有限公司 Page control method and device, storage medium and electronic device
CN115408637A (en) * 2022-08-25 2022-11-29 浪潮云信息技术股份公司 Method and system for realizing dynamically assembled route based on vue

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070254631A1 (en) * 2003-11-06 2007-11-01 Intuwave Limited Secure Multi-Entity Access to Resources on Mobile Telephones
US20190158304A1 (en) * 2008-08-11 2019-05-23 Icontrol Networks, Inc. Data model for home automation
CN104410644A (en) * 2014-12-15 2015-03-11 北京国双科技有限公司 Data configuration method and device
US20200202341A1 (en) * 2018-12-20 2020-06-25 Paypal, Inc. Routing multiple tokens in a single network hop
CN109962908A (en) * 2019-01-22 2019-07-02 深圳壹账通智能科技有限公司 Right management method, device, equipment and storage medium based on token
CN110347942A (en) * 2019-05-31 2019-10-18 深圳壹账通智能科技有限公司 Method for page jump, device, storage medium and computer equipment
CN112560003A (en) * 2019-09-25 2021-03-26 北京京东尚科信息技术有限公司 User authority management method and device
CN111459566A (en) * 2020-03-10 2020-07-28 中国平安人寿保险股份有限公司 Authority verification-based route loading method and related equipment
CN112883361A (en) * 2021-01-29 2021-06-01 平安科技(深圳)有限公司 Function jump method and device of application program, computer equipment and storage medium
CN113064583A (en) * 2021-04-14 2021-07-02 深圳市活力天汇科技股份有限公司 Multi-level page routing skip method and device, computer equipment and storage medium
CN115033322A (en) * 2022-05-24 2022-09-09 青岛海尔科技有限公司 Page control method and device, storage medium and electronic device
CN115408637A (en) * 2022-08-25 2022-11-29 浪潮云信息技术股份公司 Method and system for realizing dynamically assembled route based on vue

Also Published As

Publication number Publication date
CN116074249B (en) 2024-07-12

Similar Documents

Publication Publication Date Title
CN108805091B (en) Method and apparatus for generating a model
WO2018149292A1 (en) Object clustering method and apparatus
JP6316447B2 (en) Object search method and apparatus
US11646981B2 (en) Providing instant messaging service
CN109271556B (en) Method and apparatus for outputting information
US11244153B2 (en) Method and apparatus for processing information
CN113076153B (en) Interface calling method and device
CN110727434A (en) Rendering method, rendering device, electronic equipment and storage medium
CN111858083A (en) Remote service calling method and device, electronic equipment and storage medium
KR20170018577A (en) System and method for providing virtual communication session for portion of participants connecting to communication session
CN112910741B (en) Interface testing method and device, computer equipment and storage medium
CN113779422A (en) Method and device for realizing relation chain label, electronic equipment and storage medium
CN116074249B (en) Multi-level page starting method and device, electronic equipment and storage medium
KR102277691B1 (en) Method and system for managing image based on interworking face image and messenger account
CN116661936A (en) Page data processing method and device, computer equipment and storage medium
CN109034085B (en) Method and apparatus for generating information
CN116048517A (en) API (application program interface) generating method, system and device based on B/S (browser/Server) architecture application system
CN111831942A (en) Method and device for displaying search results on page and electronic equipment
CN114546220A (en) Page configuration method and device, storage medium and computer equipment
CN112822089B (en) Method and device for adding friends
CN113163257B (en) Screen projection method, device, equipment and storage medium
CN112540820A (en) User interface updating method and device and electronic equipment
CN111324244B (en) Method and device for switching picture display types
CN110942306A (en) Data processing method and device and electronic equipment
CN116994380B (en) Information interaction method and device

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