Page switching method, page switching device, program, and electronic equipment

JP7902280B2Active Publication Date: 2026-08-07TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
TENCENT TECHNOLOGY (SHENZHEN) CO LTD
Filing Date
2023-09-12
Publication Date
2026-08-07

Smart Images

  • Figure 0007902280000001
    Figure 0007902280000001
  • Figure 0007902280000002
    Figure 0007902280000002
  • Figure 0007902280000003
    Figure 0007902280000003
Patent Text Reader

Abstract

The present application discloses a page switching method, apparatus, storage medium, electronic device, and program product. Here, the page switching method includes: displaying a first page on which at least one virtual object in a first virtual scene is displayed; in response to a first zoom operation, zooming in on the first page and displaying the zoomed-in first page; and when it is determined that the first zoom operation triggers a transition to a second page corresponding to a first virtual object in the first virtual scene, switching the display of the zoomed-in first page to the display of the second page.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application claims the priority of a Chinese patent application with the application number 202211336842.5 and the invention title "Page Switching Method and Device, Storage Medium and Electronic Device", which was filed with the Chinese Patent Office on October 28, 2022.

[0002] This application relates to the technical field of computers, and specifically, to a page switching method. Page switching device, program and electronic equipment Relates to.

Background Art

[0003] Virtual social scenes usually include various scene areas, virtual characters, and other elements. Different scene areas represent different fields of social scenes. To enhance the entertainment of virtual social interactions, for example, users can select the scene area they want to enter according to their needs, such as entering a friend's square or an自习室 for learning purposes.

[0004] In related technologies, mainly by clicking on selectable elements, users can enter a scene at a level one below or one above the current scene area. That is, page switching is realized by a click operation method. For example, by clicking on a target virtual character, the user can enter the detailed page of the target virtual character, thereby realizing interaction with the target virtual character. However, when switching to the detailed page after expanding the current page, multiple operations are required, resulting in the technical problem of low operation efficiency in the page switching process.

[0005] So far, no effective solution has been shown for the above problems.

Summary of the Invention

Problems to be Solved by the Invention

[0006] It should be noted that "自习室" in the original text seems to be a misspelling. It might be intended to be "自习室" which could be translated as "自习室" or more accurately as "自习室" or "自习室" depending on the context. Here, I've left it as "自习室" as it's not clear what the exact correct term should be. If it's a specific known term, it should be replaced with the accurate translation.This embodiment solves the technical problem of low operational efficiency in at least the page switching process, and provides a page switching method. Page switching device, program and electronic equipment To provide. [Means for solving the problem]

[0007] In one embodiment of the present invention, a page switching method is provided which is performed by an electronic device, the method comprising: displaying a first page on which at least one virtual object in a first virtual scene is displayed; in response to a first zoom operation, zooming in on the first page and displaying the zoomed-in first page; and, if the first zoom operation is identified as triggering entry into a second page corresponding to a first virtual object in the first virtual scene, switching the display of the zoomed-in first page to the display of the second page.

[0008] In another embodiment of the present invention, a page switching device is further provided, comprising: a first display unit for displaying a first page on which at least one virtual object in a first virtual scene is displayed; a first processing unit for zooming in on the first page in response to a first zoom operation and displaying the zoomed first page; and a second processing unit for switching the display of the zoomed first page to the display of the second page if the first zoom operation is identified as triggering entry into a second page corresponding to a first virtual object in the first virtual scene.

[0009] In another embodiment of the present invention, a computer-readable storage medium is further provided. A computer program is stored in the computer-readable storage medium, and the computer program is configured to execute the page switching method described above when it is running.

[0010] In another embodiment of the present invention, A program that causes the computer to execute the above page switching method. Further offerings will be provided.

[0011] In another embodiment of the present invention, an electronic device is further provided, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the page switching method according to the computer program. [Brief explanation of the drawing]

[0012] The drawings described herein are provided to better understand the present application and constitute part of the present application. The general embodiments and descriptions of the present application are used for interpretation of the present application but do not unduly limit the present application. The drawings include the following:

[0013] [Figure 1] Figure 1 is a schematic diagram illustrating an application scenario of the selectable page switching method according to the embodiment of the present invention. [Figure 2] Figure 2 is a flowchart of the selectable page switching method according to the embodiment of the present invention. [Figure 3] Figure 3 is a schematic diagram (part 1) of a selectable page switching method according to an embodiment of the present invention. [Figure 4] Figure 4 is a schematic diagram of the magnification center of the selectable first magnification operation according to the embodiment of the present invention. [Figure 5] Figure 5 is a schematic diagram (part 2) of the selectable page switching method according to the embodiment of the present invention. [Figure 6] Figure 6 is a schematic diagram (part 3) of the selectable page switching method according to the embodiment of the present invention. [Figure 7] Figure 7 is a schematic diagram (part 4) of the selectable page switching method according to the embodiment of the present invention. [Figure 8] Figure 8 is a schematic diagram illustrating how page switching is achieved by continuously performing the selectable first zoom operation according to the embodiment of the present invention. [Figure 9] Figure 9 is a schematic diagram (part 5) of a selectable page switching method according to an embodiment of the present invention. [Figure 10] Figure 10 is a schematic diagram illustrating how page switching is achieved by continuously performing the selectable first reduction operation according to the embodiment of the present invention. [Figure 11] FIG. 11 is an overall flowchart of a selectable page switching method according to an embodiment of the present application. [Figure 12] FIG. 12 is a sequence diagram of a selectable page switching method according to an embodiment of the present application. [Figure 13] FIG. 13 is a structural schematic diagram of a selectable page switching device according to an embodiment of the present application. [Figure 14] FIG. 14 is a structural schematic diagram of a selectable electronic device according to an embodiment of the present application.

Embodiments for Carrying Out the Invention

[0014] In order for the scheme of the present application to be better understood by those skilled in the art, the technical scheme of the embodiments of the present application will be clearly and comprehensively described below in combination with the drawings in the embodiments of the present application. Of course, the described embodiments are only a part of the embodiments of the present application, not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present application without creative efforts should belong to the protection scope of the present application.

[0015] In addition, the "first", "second", etc. in the specification, claims and above drawings of the present application are used to distinguish similar objects, and are not necessarily for explaining a specific order or sequence. The data used in this way are interchangeable according to the situation, and it should be understood that the embodiments of the present application described here can be implemented in an order other than the illustrated or described order. Also, terms such as "including", "comprising", and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or means is not limited to those steps or means explicitly listed, and may include steps or means not explicitly listed, or other steps or means inherent to these processes, methods, products or devices.

[0016] According to one aspect of the embodiments of the present application, a page switching method is provided. As an optional embodiment, the above page switching method is applicable to the application scenario shown in FIG. 1, but is not limited thereto. In the application scenario shown in FIG. 1, the terminal device 102 communicates with the server 106 via the network 104, but is not limited thereto. The server 106 executes operations on the database 108, such as data writing operations and reading operations, but is not limited thereto. The above terminal device 102 includes a man-machine interaction screen, a processor, and a memory, but is not limited thereto. The above man-machine interaction screen is used to display virtual objects in the first virtual scene on the terminal device 102, the second page corresponding to the first virtual object, etc., but is not limited thereto. The above processor is used to execute corresponding operations or generate corresponding commands in response to the above man-machine interaction operations, and send the generated commands to the server 106, but is not limited thereto. The above memory is used to store related processing data such as the trigger condition of the first zoom operation and the correspondence between the first virtual object and the second page.

[0017] As an optional form, on the server 106, the following steps in the page switching method are executed.

[0018] Step S102: Display a first page on which at least one virtual object in the first virtual scene is displayed.

[0019] Step S104: In response to the first zoom operation, zoom in on the first page and display the zoomed-in first page.

[0020] Step S106: When it is determined that the first zoom operation triggers entering the second page corresponding to the first virtual object in the first virtual scene, switch the display of the zoomed-in first page to the display of the second page.

[0021] As one possible example, this embodiment does not limit the entity executing steps S102 to S106. For example, steps S102 to S106 may all be executed on terminal device 102 or server 106, or some may be executed on terminal device 102 and some on a computing server that communicates with server 106.

[0022] When the above configuration is adopted, if a first zoom operation is performed on the first page, and the first zoom operation triggers entry into the second page corresponding to the first virtual object in the first virtual scene, the displayed enlarged first page is switched to display the second page corresponding to the first virtual object. In this way, by simply performing a zoom operation on the first page, the first page can be enlarged and automatically switched to the second page.

[0023] However, with conventional technology, if a user wants to interact with a page after it has been enlarged and continue that interaction on the next page, they can only enlarge the current page and interact with it in the enlarged state; they cannot enter the next page. The page switch can only be achieved by performing another click operation.

[0024] Therefore, the embodiment of this invention reduces intermediate operation steps and realizes a dual function of zooming in and switching pages with a single click, thereby lowering the complexity of the operation, solving the technical problem of low operational efficiency that occurs in the page switching process, and achieving the technical effect of improved operational efficiency.

[0025] To address the problem of low operational efficiency in the above-described page switching process, this embodiment provides a page switching method. Figure 2 is a flowchart of the page switching method according to this embodiment, and the flow includes the following steps.

[0026] Step S202: Display the first page in which at least one virtual object in the first virtual scene is displayed.

[0027] As shown in Figure 3(a), the first virtual scene on the first page includes, but is not limited to, multiple virtual objects such as virtual buildings and virtual characters. The virtual objects serve as social portals in the form of a map. For example, you can enter a friend square via a virtual building. You can also enter a detail page where a virtual character exists via a virtual character and interact with other characters.

[0028] Step S204: In response to the first expansion operation, steps S2041 and S2042 are performed.

[0029] Step S2041: Enlarge the first page and display the enlarged first page.

[0030] Step S2042: If it is determined that the first zoom operation triggers entering the second page corresponding to the first virtual object in the first virtual scene, switch the display of the zoomed-in first page to the display of the second page.

[0031] By performing a zoom operation on the first page, the enlarged first page shown in Figure 3(b) is displayed. If the first zoom operation satisfies the trigger condition, the current enlarged first page shown in Figure 3(b) is switched to the second page shown in Figure 3(c). The second page is the page corresponding to the first virtual object on the first page.

[0032] In a virtual scene, the user can start from the page where the top-level virtual scene resides and, through specified operations, sequentially move down to the next lower level page. For example, a zoom operation switches from the first page shown in Figure 3(a) to the second page corresponding to the first virtual object.

[0033] As an example of what can be selected, if the above-mentioned first zoom operation triggers entry into a second page corresponding to a first virtual object in a first virtual scene, switching the display of the first page to the display of the second page corresponding to the first virtual object includes, if, based on the first zoom operation, it is determined that the magnification multiplier of the first page is greater than or equal to a first predetermined multiplier, and the center of the magnification of the first zoom operation is located on the first virtual object, switching the display of the magnified first page to the display of the second page; or, if, based on the first zoom operation, it is determined that the magnification multiplier of the first page is greater than or equal to a first predetermined multiplier, and the center of the magnified first page is located on the first virtual object, switching the display of the magnified first page to the display of the second page.

[0034] Assuming the default scaling factor is 1, if the scaling factor of the first page is 2 or greater and the scaling center of the first scaling operation is located on the first virtual object, the page switching trigger condition is met, and the display of the scaled first page is switched to the second page.

[0035] For example, as shown in Figure 4(a), if a first zoom operation is performed on the first page, and the zoom multiplier of the first page is 2, and the zoom center A of the first zoom operation is located on the virtual building, then a page switch is triggered. That is, the currently displayed zoomed-in first page is switched to the second page.

[0036] Furthermore, for example, as shown in Figure 4(b), if we assume that a first enlargement operation is performed on the first page, and the multiplier by which the first page is enlarged is 3, and that the center point B of the enlarged first page is located on the virtual building, then the page switching This triggers a change in the display, specifically switching from the currently displayed enlarged first page to the second page.

[0037] In one possible embodiment, if the first zoom operation is triggered by two fingers on the screen, the center between the two fingers on the screen is determined as the zoom center of the first zoom operation.

[0038] As shown in Figure 4(a), if the first page is enlarged by moving two fingers, the center point A of the connecting line between the two fingers may be used as the center of the first enlargement operation, but is not limited to this.

[0039] Of course, the movement of two fingers may involve keeping the first finger in the same position and moving the second finger away from the first finger, or moving both the first and second fingers simultaneously to increase the distance between them, but is not limited to these methods.

[0040] In one possible example, the center point of the connecting line formed at the initial position where two fingers are placed on the first page may be used as the center of the first zoom operation, or the center point of the connecting line at the position after moving the two fingers a predetermined distance away from each other may be used as the center of the first zoom operation, but are not limited to these.

[0041] In other selectable examples, switching the display of the first page to the display of the second page corresponding to the first virtual object includes, if the first virtual object is a virtual building, displaying the second page corresponding to the virtual building, which is the virtual building details page, or if the first virtual object is a virtual character, displaying the second page corresponding to the virtual character, which is the virtual character details page, which displays the second virtual scene in the virtual building, which includes the virtual characters and / or virtual objects within the virtual building, and the virtual character details page displays the character information of the virtual character.

[0042] The first virtual scene shown in Figure 3(a) includes, but is not limited to, virtual objects such as virtual buildings and virtual characters. These virtual objects represent each social portal in the form of a map. For example, if the first virtual object is a virtual building, performing the first zoom operation switches the display of the first page to the display of the second page corresponding to the virtual building, and as shown in Figure 3(c), displays multiple virtual characters in the friend square and enables interaction between virtual characters in the friend square.

[0043] If the first virtual object is a virtual character, the first zoom operation is performed to display the second page corresponding to the virtual character. For example, as shown in Figure 7, the third zoom operation is performed on the third page where the second virtual object (virtual character) exists to display the fourth page, i.e., the detail page of the virtual character, and the character information of the virtual character (for example, the clothing information of the virtual character) is displayed on the detail page.

[0044] The character information of a virtual character may include, but is not limited to, the virtual character's state information (e.g., online or offline), attribute information (e.g., level, gender, age), and clothing information (e.g., hat, glasses).

[0045] As can be seen from Figure 3, the second page is the detail page for the virtual building. In other words, the second page is one level below the first page, and this detail page displays the second virtual scene within the virtual building. However, the second virtual scene includes, but is not limited to, virtual characters and virtual objects. The second page shown in Figure 3(c) is merely an example and does not limit the second page.

[0046] As one possible option, switching from displaying the enlarged first page to displaying the second page includes gradually hiding the enlarged first page and gradually displaying the second page during the enlargement process.

[0047] Assuming that the first zoom operation continues after the first page, shown in Figure 5(a), appears during the first zoom operation, the first page will gradually be hidden while the second page is gradually revealed. Furthermore, before the page switch, a transition page, shown in Figure 5(b), will appear. It can be seen that the transition page contains virtual objects from the first page after zoom and virtual objects from the second page. In other words, the content shown on the transition page is an overlap of the virtual objects from the first page after zoom and the virtual objects from the second page.

[0048] After the transition page shown in Figure 5(b) appears, if the first zoom operation continues and the magnified multiplier of the first page becomes equal to or greater than the multiplier threshold a (first predetermined multiplier), and the center of the first zoom operation is located on the first virtual object, then the display of the magnified first page is switched to the display of the second page, as specifically shown in Figure 5(c).

[0049] By using the above method, during the process of performing the first zoom operation, it is possible to see how the page changes from different viewing angles, and depending on how the page changes from different viewing angles, it is possible to control whether to continue or cancel the first zoom operation, thereby displaying the detailed process of page switching more intuitively and increasing the flexibility of page switching.

[0050] As one possible example, the method further includes, on the second page, displaying at least one virtual object in the second virtual scene, and on the second page, in response to a second zoom operation, zooming the second page and displaying the zoomed second page, and, if the second zoom operation is identified as triggering entry into a third page corresponding to the second virtual object in the second virtual scene, switching the display of the zoomed second page to the display of the third page.

[0051] From the description of the above embodiment, it can be understood that by performing the first zoom operation on the first page, the currently displayed page is switched from the first page to the second page shown in Figure 5(c), and then by performing the second zoom operation on the second page, the second page is enlarged by, for example, moving two fingers as shown in Figure 6(a).

[0052] If the magnification multiplier of the second page exceeds the multiplier threshold b, and the magnification center of the second magnification operation is located on the second virtual object, the display of the second page is switched to the display of the third page corresponding to the second virtual object.

[0053] For example, when performing a second zoom operation on the second page, if the zoom multiplier of the second page satisfies the multiplier threshold b (for example, it is zoomed to twice its original size), and the zoom center of the second zoom operation is located on the second virtual object, the trigger condition for page switching is met, and the currently displayed zoomed-in second page is switched to the third page corresponding to the second virtual object. For example, specifically as shown in Figure 6(b), the switch is made from the friend square to the details page of the target virtual character.

[0054] Although the execution process for the second and first expansion operations is the same, the trigger conditions that must be satisfied for switching from the first page to the second page, and from the second page to the third page, may be the same or different. For example, the values ​​that the multiple threshold a that the expansion multiple of the first page must satisfy, and the predetermined multiple threshold b that the expansion multiple of the second page must satisfy, may be the same or different.

[0055] For any two page transitions, a predetermined multiple threshold is typically set depending on the specific scenario. For example, a multiple threshold that a page transition must satisfy can be set according to the size of the currently enlarged page; if the currently enlarged page is small, the predetermined multiple threshold can be set to a smaller value, and if the currently enlarged page is large, the predetermined multiple threshold can be set to a larger value.

[0056] As one possible option, if the third zoom operation is performed on the third page shown in Figure 6(b) following the same execution process as the first and second zoom operations described above, and the magnification of the third page becomes greater than or equal to the multiplier threshold c, and the center of the zoom operation is located on the second virtual object, then, specifically as shown in Figures 7(a) and (b), the display of the magnified third page is switched to the display of the clothing details page of the image corresponding to the second virtual object (virtual character).

[0057] When different zoom operations are performed on different pages, and the corresponding trigger conditions are met for each, the zoomed-in page is switched to the page one level below it, simplifying the page switching operation steps and improving operational efficiency.

[0058] As one possible example, the method further includes, on the second page, displaying at least one virtual object in the second virtual scene, and if the first zoom operation is not yet completed and is continuing, zooming the second page in response to the continuing first zoom operation and displaying the zoomed second page, and if the continuing first zoom operation is identified as triggering entry into a third page corresponding to the second virtual object in the second virtual scene, switching the display of the zoomed second page to the display of the third page.

[0059] As shown in Figure 8(a), when the first zoom operation is performed on the first page and the first page is enlarged to twice its original size, the display of the first page is switched to the second page shown in Figure 8(b). Then, if the first zoom operation is continued and the second page is enlarged to three times its original size, the display of the enlarged second page is switched to the third page, as specifically shown in Figures 8(c) and (d).

[0060] In other words, in response to the first zoom operation, the first page is enlarged, and the display of the first page is switched to the display of the second page. Subsequently, in response to the first zoom operation, the second page is enlarged while the second page displays the enlarged page, and if the page enlargement multiplier exceeds a predetermined multiplier threshold, the enlarged second page is switched to the third page.

[0061] In this embodiment, the first zoom operation refers to a zoom operation triggered by two fingers on the screen, and the subsequent first zoom operation refers to the process of switching the display of the zoomed-in first page to the display of the second page, while the two fingers continue to maintain contact with the screen and move away from each other on the screen.

[0062] In other words, the continuous execution of the first zoom operation can be understood as the screen continuously zooming in as two fingers continue to move across the screen, and in the process of continuous zooming, the screen first switches from the first page to the second page, and then switches from the second page to the third page, but is not limited to this.

[0063] As shown in Figures 8(a) and 8(b), assuming that the first zoom operation is triggered by two fingers on the screen, and that the first zoom operation triggers entry to the second page, then, as shown in Figure 8(b), the display of the first page is switched to the display of the second page, and the two fingers continue to maintain contact with the screen on the second page.

[0064] If the first zoom operation is not yet completed and is still being performed, moving two fingers will cause them to move away from each other on the screen, displaying the zoomed-in second page shown in Figure 8(c). Finally, if the zoom level of the second page is greater than a predetermined threshold, the display of the zoomed-in second page will be switched to the display of the third page corresponding to the second virtual object, as specifically shown in Figure 8(d).

[0065] Furthermore, when two fingers move away from each other on the screen, triggering the first zoom operation, the currently displayed page is first switched from the first page to the second page. After entering the second page, the two fingers continue to move away from each other on the screen, meaning the distance between the two fingers increases further, and the second page is zoomed in. In other words, when displaying the second page, the distance d2 between the two fingers is greater than the distance d1 between the two fingers when displaying the first page, and when displaying the zoomed-in second page, the distance d3 between the two fingers is greater than the distance d2 between the two fingers when displaying the second page.

[0066] As another possible example, in a virtual scene that enables human-machine interaction using cross-reality (XR) technology, the method for implementing the first scaling operation described above includes, but is not limited to, one of the following methods.

[0067] (1) When a user communicates in a virtual scene using a wearable device, the first zoom operation described above is realized through gesture control.

[0068] For example, when a user wears a head-mounted display, they are provided with a completely closed field of view, and depending on the page in the virtual scene the user is viewing, the user can zoom in on the first or second page by extending their arms.

[0069] (2) The device is operated using a pad to perform the first magnification operation described above.

[0070] For example, the first or second page can be enlarged by operating buttons on a Bluetooth gamepad, or by using combinations of button operations.

[0071] (3) In the virtual scene of the immersive game, zoom operations on the first page described above are realized through the immersive game equipment and the user's physical movements.

[0072] For example, by using video motion capture technology to analyze the user's body movements using camera data, if the body movements meet a predetermined command (e.g., spreading both arms), the first or second page is enlarged.

[0073] By continuously performing the first zoom operation, it is possible to smoothly switch from the first page to the third page, avoiding the need for multiple zoom operations on multiple pages, thereby increasing the continuity of page switching operations and enhancing the entertainment value of virtual social interaction.

[0074] From the descriptions of each embodiment above, it can be understood that in a virtual scene, the user can enter a page at a lower level by sequentially zooming down from the top-level scene (or the page on which the scene exists). Conversely, by zooming, the user can sequentially return to a page at a higher level from the bottom-level page, specifically by, in the third page, in response to the first zoom-out operation, zooming out the third page and displaying the zoomed-out third page, and if the first zoom-out operation is identified as triggering entry into the second page, switching the display of the zoomed-out third page to the display of the second page.

[0075] As shown in Figure 9, when the first zoom-out operation is performed on the third page, the zoomed-out third page shown in Figure 9(b) is displayed. Here, the first zoom-out operation can, but is not limited to, reducing the display scale of the currently displayed page by moving two fingers toward each other on the screen, as the two fingers move.

[0076] If the first shrink operation triggers entry into the second page, the display of the third page is switched to the display of the second page. As a selectable example, when switching from the third page to the second page, the trigger condition that the first shrink operation must satisfy includes switching the display of the shrunk third page to the display of the second page if, based on the first shrink operation, it is determined that the scaled scale of the third page is less than or equal to a first predetermined scale.

[0077] As shown in Figures 9(a) and (b), if the third page is reduced to 50% of the original page size, the trigger condition for the first reduction operation is met, and the currently displayed reduced third page is returned to the second page shown in Figure 9(c).

[0078] If a similar operation is performed to display a virtual object in the second virtual scene on the second page, the second page is reduced in response to the second reduction operation, and the reduced second page is displayed. Furthermore, if the second reduction operation is performed, the first virtual object is displayed. 1 When triggered by entering the specified page, the display of the second page (after it has been reduced) switches back to the display of the first page.

[0079] In the embodiment provided by this application, when the first zoom operation is performed on the third page and the first zoom operation triggers entry into the second page, the displayed third page is switched to the display of the second page. In other words, by simply performing a zoom operation on the third page, the third page can be switched to the second page, achieving the technical effect of reducing the number of operation steps, decreasing the complexity of the operation, and improving operational efficiency.

[0080] As one possible example, by employing the process of continuing to perform the first zoom operation described above, and further continuing to perform the first zoom operation, it is possible to smoothly return from the third page to the first page, which specifically includes, when the second page is displayed and the first zoom operation has not been completed and is continuing, shrinking the second page in response to the continuing first zoom operation and displaying the reduced second page, and when it is determined that the continuing first zoom operation triggers entry into the first page, switching the display of the reduced second page to the display of the first page.

[0081] As shown in Figures 10(a) and (b), assuming that the first zoom-out operation is triggered by two fingers on the screen, and that the first zoom-out operation triggers entry into the second page, then, as shown in Figure 10(b), the display of the third page is switched to the display of the second page, and the two fingers continue to maintain contact with the screen on the second page.

[0082] As one possible example, if the first minimization operation described above is a minimization operation triggered by two fingers on the screen, and after switching the display of the third page to the display of the second page, the two fingers continue to maintain contact with the screen, the second page is displayed, and the first minimization operation has not been terminated and continues to be performed, then minimizing the second page and displaying the minimized second page in response to the continuing first minimization operation includes minimizing the second page and displaying the minimized second page in response to the first minimization operation triggered by two fingers on the screen, when the second page is displayed and the two fingers move toward each other on the screen.

[0083] For example, if the first zoom-out operation is not yet completed and is still being performed, by continuing to move two fingers, the two fingers are moved closer together on the screen, and the zoomed-out second page shown in Figure 10(c) is displayed. Finally, if the scale of the second page after zooming out is less than or equal to the second predetermined scale, the display of the zoomed-out second page is switched to the display of the first page, specifically as shown in Figure 10(d).

[0084] Furthermore, when two fingers move toward each other on the screen, triggering the first zoom-out operation, the currently displayed page is first switched from the third page to the second page. After entering the second page, the two fingers continue to move toward each other on the screen, meaning the distance between the two fingers becomes even smaller, and the second page is zoomed out. In other words, when displaying the second page, the distance between the two fingers is smaller than the distance between the two fingers when displaying the first page.

[0085] Using the method described above, in response to the first resize operation, the third page is resized, the display of the third page is switched to the display of the second page, and then, in response to the first resize operation again, the second page is resized, the resized second page is displayed, and finally, if the trigger condition is met, the display of the second page is switched back to the first page.

[0086] First reduction By continuing to perform the operation, you can smoothly return from the third page to the first page, and multiple times for multiple pages reduction This avoids the need for manual operation and improves the continuity of page switching.

[0087] To further clarify the page switching method in the embodiment of this application, the overall flowchart shown in Figure 11 and the sequence diagram shown in Figure 12 will be explained below in combination.

[0088] As shown in Figure 11, using a method that achieves page switching by performing a zoom operation as an example, the specific steps of the above page switching method include the following:

[0089] Step S1102: Enter the scene map, i.e., the first page.

[0090] As shown in Figure 3(a), the representation format of a scene map may include, but is not limited to, virtual buildings, virtual characters, etc.

[0091] Step S1104: The user performs a zoom operation in the current scene.

[0092] The current scene is the first virtual scene on the first page. As shown in Figures 3(a) and 3(b), assuming the user performs the first zoom operation in the first virtual scene, it can be seen from the figure that as the two fingers move, the display scale of the first page increases and the virtual objects in the virtual scene also become larger.

[0093] The first virtual scene may be a partial virtual scene on the first page, but is not limited to this; the first page may also contain other virtual scenes.

[0094] Step S1106: Determine whether the multiplier of the first page's enlargement satisfies a predetermined multiplier threshold.

[0095] For example, as shown in Figure 3(b), if we assume that the first virtual scene is enlarged to twice the size of the first page, the condition of a predetermined multiple threshold of 2 or more is met.

[0096] Step S1108: Determine whether the zoom center triggers a page at the level below.

[0097] For example, assuming that the first virtual scene is enlarged to twice the size of the first page, as shown in Figure 3(b), and the center of the enlargement is located on the first virtual object, step S1110 is performed; otherwise, step S1112 is performed.

[0098] Here, the first virtual object is one of the entrances to the social area, meaning there exists a page at a lower level corresponding to the first virtual object, for example, the second page mentioned above, which is the detail page corresponding to the first virtual object.

[0099] Step S1110: Go to the page one level lower.

[0100] For example, switch from the first page shown in Figure 3(b) to the second page shown in Figure 3(c), or switch from the second page shown in Figure 6(a) to the third page shown in Figure 6(b).

[0101] Here, if a page switch occurs, set the initial scaling factor to 1 to enter the page at the next lower level, for example, set the default scaling factor to 1.

[0102] Step S1112: Do not perform any operations.

[0103] For example, if we assume that after enlarging the first page, as shown in Figure 3(b), the operation center of the first enlargement operation is not located on the first virtual object, then we will remain on the enlarged first page shown in Figure 3(b) and will not perform any operations.

[0104] To gain a clearer understanding of the page switching method described above, we will explain it by combining it with the sequence diagram shown in Figure 12, illustrating the interaction process between the user, the client-side presentation layer, and the background logic layer.

[0105] Step S1202: The user performs a zoom operation in the current scene.

[0106] Here, through interaction between the user side and the client side, a zoom operation is performed by moving two fingers away from each other on the screen, for example, the first zoom operation in the above embodiment is performed.

[0107] Step S1204: Determine whether the threshold for scene scaling has been reached.

[0108] On the client side, it is determined whether the scaling factor of the virtual scene of the current page meets a predetermined threshold, for example, whether the scaling factor of the first page shown in Figure 3 is greater than or equal to the first predetermined threshold. If it does, step S1206 is executed.

[0109] Step S1206: If the multiplier threshold is reached, determine whether the expansion center triggers a page at the next lower level.

[0110] As shown in Figure 4, if the magnification factor of the first page satisfies a first predetermined multiple, and the magnification center A or B of the first magnification operation is located on the first virtual object, the trigger condition is met and step S1208 is executed. Otherwise, step S1210 is executed.

[0111] Step S1208: Request the background logic layer to access the address of the page at the next lower level.

[0112] As shown in Figure 4, if the scaling factor of the first page satisfies a first predetermined multiple, and the scaling center A or B of the first scaling operation is located on the first virtual object, the access address of the second page is requested from the background, and step S1212 is executed.

[0113] Step S1210: Do not perform any operations.

[0114] Step S1212: Return the access address of the second page to the client.

[0115] Step S1214: In the client's display interface, hide the current scene page and display the page at the next lower level.

[0116] For example, as shown in Figure 3, the screen switches from the enlarged first page to the second page.

[0117] In the embodiment provided by this application, when a zoom operation is performed on the first page, and the first zoom operation triggers entry into the second page corresponding to the first virtual object in the first virtual scene, the displayed zoomed-in first page is switched to the display of the second page corresponding to the first virtual object. In other words, by simply performing a zoom operation on the first page, the first page can be switched to the second page, reducing the number of operation steps and decreasing the complexity of the operation, thereby solving the technical problem of low operational efficiency that occurs in the page switching process and achieving the technical effect of improving operational efficiency.

[0118] For the sake of brevity, the embodiments of each of the above methods have all been presented as a series of operations. However, it will be obvious to those skilled in the art that the present invention is not limited to the described order of operations, and that several steps can be performed in other orders or simultaneously based on the present invention. Furthermore, it will be obvious to those skilled in the art that all embodiments described in the specification are preferred embodiments, and that the related operations and modules are not necessarily required for the present invention.

[0119] Based on another embodiment of the present invention, a page switching device shown in Figure 13 is further provided, the device comprising: a first display unit 1302 for displaying a first page on which at least one virtual object in a first virtual scene is displayed; a first processing unit 1304 for zooming in on the first page in response to a first zoom operation and displaying the zoomed first page; and a second processing unit 1306 for switching the display of the zoomed first page to the display of the second page when the first zoom operation is identified as triggering entry into a second page corresponding to a first virtual object in the first virtual scene.

[0120] The first virtual scene on the first page shown in Figure 3(a) includes, but is not limited to, virtual objects such as virtual buildings and virtual characters. In this first virtual scene, the virtual objects represent each social portal in the form of a map. For example, one can enter a friend square via a virtual building. Alternatively, one can enter a detail page where a virtual character exists via a virtual character and interact with other characters.

[0121] By performing a zoom operation on the first page, the enlarged first page shown in Figure 3(b) is displayed. If the first zoom operation satisfies the trigger condition, the currently displayed enlarged first page is switched to the second page shown in Figure 3(c). Here, the second page is the page corresponding to the first virtual object on the first page.

[0122] As can be intuitively seen from Figure 3, the second page is the detail page for the virtual building. In other words, the second page is one level below the first page, and this detail page displays the second virtual scene within the virtual building. Here, the second virtual scene includes, but is not limited to, virtual characters, virtual objects, etc. The second page shown in Figure 3(c) is merely an example and does not limit the second page.

[0123] Selectively, the second processing unit 1306 includes a first processing module for switching the display of the enlarged first page to the display of the second page if, based on the first enlargement operation, it is determined that the magnification multiplier of the first page is greater than or equal to a first predetermined multiplier, and the center of the enlargement operation is located on the first virtual object; or for switching the display of the enlarged first page to the display of the second page if, based on the first enlargement operation, it is determined that the magnification multiplier of the first page is greater than or equal to a first predetermined multiplier, and the center of the enlarged first page is located on the first virtual object.

[0124] Selectively, the apparatus further includes a third processing unit for determining the center between the two fingers on the screen as the magnification center of the first magnification operation, if the first magnification operation is a magnification operation triggered by two fingers on the screen.

[0125] Selectively, the second processing unit described above 1306 The system includes a second processing module for gradually displaying the second page while the first page is being enlarged, so that the enlarged first page is gradually hidden during the enlargement process.

[0126] The device further includes, selectively, displaying at least one virtual object in a second virtual scene on the second page, and further includes, on the second page, a fourth processing unit for zooming the second page in response to a second zoom operation and displaying the zoomed second page, and a first switching unit for switching the display of the zoomed second page to the display of the third page if the second zoom operation is identified as triggering entry into a third page corresponding to a second virtual object in the second virtual scene.

[0127] The device further includes, selectively, displaying at least one virtual object in a second virtual scene on the second page, and if the first zoom operation is not completed and continues to be performed, a fifth processing unit for zooming the second page and displaying the zoomed second page in response to the continuing first zoom operation, and a second switching unit for switching the display of the zoomed second page to the display of the third page if the continuing first zoom operation is identified as triggering entry into a third page corresponding to a second virtual object in the second virtual scene.

[0128] Selectively, the first zoom operation refers to a zoom operation triggered by two fingers on the screen, and the subsequent first zoom operation refers to the two fingers continuing to maintain contact with the screen and moving away from each other on the screen after switching the display of the zoomed first page to the display of the second page.

[0129] Selectively, the second processing unit 1306 includes, if the first virtual object is a virtual building, a first display module for displaying a detail page of the virtual building, which is the second page corresponding to the virtual building, or, if the first virtual object is a virtual character, a second display module for displaying a detail page of the virtual character, which is the second page corresponding to the virtual character, wherein the detail page of the virtual building displays a second virtual scene in the virtual building, the second virtual scene includes virtual characters and / or virtual objects within the virtual building, and the detail page of the virtual character displays character information of the virtual character.

[0130] Selectively, the apparatus further includes a second display unit for displaying a third page; a sixth processing unit for reducing the third page and displaying the reduced third page in response to a first reduction operation; and a third display unit for switching the display of the reduced third page to the display of the second page if the first reduction operation is identified as triggering entry into the second page.

[0131] Selectively, the third display unit includes a fourth processing module for switching the display of the reduced third page to the display of the second page if, based on the first reduction operation, the scale of the reduced third page is determined to be less than or equal to a first predetermined scale.

[0132] Selectively, the apparatus further includes, if the second page is displayed and the first shrink operation has not been completed and is being continued, a seventh processing unit for shrinking the second page and displaying the shrunk second page in response to the continuing first shrink operation; and an eighth processing unit for switching the display of the shrunk second page to the display of the first page if the continuing first shrink operation is identified as triggering entry into the first page.

[0133] The example of the page switching device described here can be found in the example of the page switching method described above, and therefore, its explanation is omitted here.

[0134] In yet another embodiment of the present invention, an electronic device for carrying out the page switching method is further provided, which may be a terminal device as shown in Figure 14. This embodiment will be described as an example in which the electronic device is a background device. As shown in Figure 14, the electronic device includes a memory 1402 and a processor 1404, the memory 1402 storing a computer program, and the processor 1404 is configured to perform the steps in the embodiment of any one of the above-described methods by the computer program.

[0135] Selectively, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices in a computer network.

[0136] Selectively, in this embodiment, the processor may be configured to perform the following steps by a computer program.

[0137] Step S1: Display the first page in which at least one virtual object in the first virtual scene is displayed.

[0138] Step S2: In response to the first zoom operation, the first page is zoomed in and the zoomed-in first page is displayed.

[0139] Step S3: If the first zoom operation is determined to trigger entry into a second page corresponding to a first virtual object in the first virtual scene, the display of the zoomed-in first page is switched to the display of the second page.

[0140] Selectively, to those skilled in the art, the structure shown in Figure 14 is merely illustrative, and the electronic components of the electronic device may be target terminals such as smartphones (e.g., Android phones, iOS phones, etc.), tablet computers, pocket PCs, and mobile internet devices (MIDs), PADs, etc. Figure 14 is not limited to the structure of the electronic components of the electronic device described above. For example, the electronic components of the electronic device may include more or fewer assemblies (e.g., network interfaces, etc.) than those shown in Figure 14, or may have a different arrangement than that shown in Figure 14.

[0141] Here, memory 1402 is used to store software programs and modules, for example, program commands / modules corresponding to the page switching method and apparatus in the embodiment of the present application, and processor 1404 executes various functional applications and data processing by executing the software programs and modules stored in memory 1402, that is, realizes the page switching method described above. Memory 1402 may include high-speed random access memory, or it may include, for example, one or more magnetic storage devices, non-volatile memory such as flash memory, or other non-volatile solid-state memory. In some embodiments, memory 1402 may further include memory located remotely from processor 1404, and these remote memories may be connected to terminals via a network. Examples of the above network include, but are not limited to, the Internet, intranet, local area network, mobile communication network, and combinations thereof. Here, memory 1402 is specifically used to store trigger conditions for the first expansion operation, the correspondence between the first virtual object and the second page, etc., but is not limited to this. As an example, as shown in Figure 14, the memory 1402 may include, but is not limited to, the first display unit 1302, the first processing unit 1304, and the second processing unit 1306 in the page switching device. It may also include, but is not limited to, other module units in the page switching device, and such details are omitted in this example.

[0142] Selectively, the transmission device 1406 is used to receive or transmit data over a network. Specific examples of the network may include wired and wireless networks. In one example, the transmission device 1406 includes a network interface controller (NIC) that can communicate with the Internet or a local area network by being connected to other network devices and routers via network cables. In one example, the transmission device 1406 is a radio frequency (RF) module for communicating with the Internet wirelessly.

[0143] Furthermore, the electronic device also includes a monitor 1408 for displaying target information transmitted by the target account, and a connection bus 1410 for connecting each module component in the electronic device.

[0144] In other embodiments, the target terminal or server may be a node in a distributed system, which may be a blockchain system, which may be a distributed system formed by multiple nodes being connected in the form of network communication. Here, the nodes may form a peer-to-peer (P2P) network, and any type of computer equipment, such as servers, terminals, or other electronic devices, can become a node in the blockchain system by joining the peer-to-peer network.

[0145] According to one aspect of the present application, a computer program product or computer program is provided, the computer program product or computer program includes computer commands, the computer commands are stored in a computer-readable storage medium. The processor of the computer equipment reads the computer commands from the computer-readable storage medium, and the processor executes the computer commands, causing the computer equipment to execute a page switching method provided in various selective implementation methods for the server check process, etc., and the computer program is configured to execute the steps in any one of the above method embodiments when executed.

[0146] Selectively, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps.

[0147] Step S1: Display the first page in which at least one virtual object in the first virtual scene is displayed.

[0148] Step S2: In response to the first zoom operation, the first page is zoomed in and the zoomed-in first page is displayed.

[0149] Step S3: If the first zoom operation is determined to trigger entry into a second page corresponding to a first virtual object in the first virtual scene, the display of the zoomed-in first page is switched to the display of the second page.

[0150] Selectively, in this embodiment, a person skilled in the art will understand that all or some of the steps in the various methods of the above embodiment are completed by a program issuing instructions to hardware associated with a target terminal, the program being stored in a computer-readable storage medium, which may include a flash disk, read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk, etc.

[0151] The above-mentioned examples of the present invention are for illustrative purposes only and do not indicate any indication of superiority or inferiority among the examples.

[0152] The units integrated in the above embodiments may be implemented in the form of software function units and, if sold or used as independent products, may be stored on the computer-readable storage medium described above. Based on this understanding, the essence of the proposed technology of the present application, that is, the part that contributes to the prior art, or all or part of the proposed technology, may be embodied in the form of a software product. The computer software product is stored on a storage medium and contains several commands for causing one or more computer devices (which may be personal computers, servers, or network devices, etc.) to perform all or part of the steps of the methods of each embodiment of the present application.

[0153] In the embodiments described above, each embodiment has its own key points, and for parts not described in detail in one embodiment, the relevant descriptions in other embodiments can be referenced.

[0154] It is understood that the client side disclosed in some embodiments provided by this application can be realized in other forms. Herein, the embodiments of the apparatus described above are illustrative only, and for example, the division of the units is merely a division of a kind of logical function, and other methods of division may be possible in actual implementation. For example, multiple units or assemblies may be combined or integrated into another system, or some features may be omitted or not performed. Notwithstanding, the combinations, direct combinations or communication connections between them that are explicitly stated or discussed may be indirect combinations or communication connections via some interface, unit or module, and may be electrical or otherwise.

[0155] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units, and may be located in one place or distributed across multiple network units. Some or all of the units can be selected as needed to achieve the objectives of the scheme in this embodiment.

[0156] Furthermore, each functional unit in each embodiment of the present application may be integrated into a single processing unit, each unit may exist physically independently, or two or more units may be integrated into a single unit. The integrated unit may be implemented in hardware form or in software functional unit form.

[0157] The above describes only preferred embodiments of the present application, and it should be noted that those skilled in the art may make some improvements and modifications without departing from the principles of the present application, and these improvements and modifications will also be considered to be within the scope of protection of the present application.

Claims

1. A page switching method performed by an electronic device, Displaying a first page in which at least one virtual object is displayed, each representing a virtual character that is the subject of character-to-character interaction, In response to the first expansion operation, Enlarging the aforementioned first page and displaying the enlarged first page, If it is determined that the magnification of the first page is equal to or greater than a first predetermined multiple, and the magnification center of the first magnification operation is located on a first virtual object representing the virtual character in the first virtual scene, then the display of the magnified first page is switched to the display of the second page corresponding to the first virtual object. Includes, The second page includes first character information that represents the details of the virtual character represented by the first virtual object. How to switch pages.

2. The page switching method according to claim 1, further comprising determining the center between the two fingers on the screen as the zoom center of the first zoom operation, if the first zoom operation is a zoom operation triggered by two fingers on the screen.

3. Switching the display of the enlarged first page to the display of the second page is: The page switching method according to claim 1, comprising the process of gradually hiding the display of the enlarged first page and gradually displaying the second page as the first page is enlarged.

4. The second page displays at least one virtual object in the second virtual scene, and the page switching method further: On the second page described above, in response to the second zoom operation, Enlarging the second page and displaying the enlarged second page, The page switching method according to claim 1, wherein if the second zoom operation is identified as triggering entry into a third page corresponding to a second virtual object in the second virtual scene, the display of the zoomed second page is switched to the display of the third page.

5. On the second page, at least the first virtual object in the second virtual scene is displayed, and the page switching method further: If the first expansion operation is not completed and continues to be performed on the second page, in response to the first expansion operation that continues to be performed, Enlarging the second page and displaying the enlarged second page, If it is determined that the magnification of the second page is equal to or greater than a second predetermined multiple, the display of the magnified second page is switched to the display of the third page corresponding to the first virtual object, and the following is performed: Includes, The third page includes second character information, which is different from the first character information, and which represents the details of the virtual character represented by the first virtual object. The page switching method according to claim 1.

6. The page switching method according to claim 5, wherein the first zoom operation is a zoom operation triggered by two fingers on the screen, and the first zoom operation performed thereafter switches the display of the first page after zooming to the display of the second page, and then the two fingers continue to maintain contact with the screen and move away from each other on the screen.

7. On the third page mentioned above, in response to the first reduction operation, The third page described above is reduced in size, and the reduced third page is displayed. The page switching method according to claim 5, further comprising the following steps: if the first reduction operation is identified as triggering entry into the second page, the display of the reduced third page is switched to the display of the second page.

8. If the first reduction operation is identified as triggering entry into the second page, then switching the display of the reduced third page to the display of the second page is: The page switching method according to claim 7, which includes switching the display of the reduced third page to the display of the second page if, based on the first reduction operation, it is determined that the scale of the reduced third page is less than or equal to a first predetermined scale.

9. If the second page is displayed and the first minimization operation has not been completed and continues to be performed, in response to the continuing first minimization operation, The second page is reduced in size, and the reduced second page is displayed. The page switching method according to claim 8, further comprising the following steps: if the first shrink operation performed in succession is identified as triggering entry into the first page, the display of the second page after shrinking is switched to the display of the first page.

10. A first display unit for displaying a first page, in which at least one virtual object is displayed, each representing a virtual character that is the subject of character-to-character interaction in a first virtual scene, A first processing unit for enlarging the first page in response to a first enlargement operation and displaying the enlarged first page, When it is determined that the magnification of the first page is greater than or equal to a first predetermined multiple, and the magnification center of the first magnification operation is located on a first virtual object representing the virtual character in the first virtual scene, a second processing unit for switching the display of the magnified first page to the display of a second page corresponding to the first virtual object, Includes, The second page includes first character information that represents the details of the virtual character represented by the first virtual object. Page switching device.

11. On the second page, at least one virtual object in the second virtual scene is displayed, and the page switching device further, The second page includes a fourth processing unit for enlarging the second page in response to a second zoom operation and displaying the enlarged second page, The page switching device according to claim 10, further comprising: a first switching unit for switching the display of the enlarged second page to the display of the third page when the second enlargement operation is identified as triggering entry into a third page corresponding to a second virtual object in the second virtual scene.

12. On the second page, at least the first virtual object in the second virtual scene is displayed, and the page switching device further, If the first zoom operation is not completed and continues to be performed on the second page, a fifth processing unit for zooming the second page and displaying the zoomed-out second page in response to the continuing first zoom operation, If it is determined that the magnification of the second page is greater than or equal to a second predetermined multiple, a second switching unit for switching the display of the magnified second page to the display of the third page corresponding to the first virtual object, Includes, The third page includes second character information, which is different from the first character information, and which represents the details of the virtual character represented by the first virtual object. The page switching device according to claim 10.

13. A second display unit for displaying the third page, The third page includes a sixth processing unit for reducing the third page in response to a first reduction operation and displaying the reduced third page, The page switching device according to claim 11 or 12, further comprising: a third display unit for switching the display of the reduced third page to the display of the second page if the first reduction operation is identified as triggering entry into the second page.

14. A program that causes a computer to execute the page switching method described in any one of claims 1 to 9.

15. An electronic device comprising memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to execute the page switching method described in any one of claims 1 to 9 by the computer program.

Citation Information

Patent Citations

  • Interface display method and device, terminal and storage medium

    CN114177614A

  • Stereoscopic scene switching method and device, terminal and storage medium

    CN114764295A

  • Image display device, image display method and program

    JP2014160461A

  • Gesture input device

    JP2015018432A

  • Method for displaying position indication information, electronic device, storage medium, and computer program

    JP2021516580A