Method and device for displaying reference-based target object in page, equipment and medium
By identifying and displaying target objects based on references in the same window, the problem of cumbersome operations during page editing and viewing is solved, and efficient page content management and user experience improvement is achieved.
Patent Information
- Application Number
- CN202310651401.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-02
- Publication Date
- 2024-12-10
AI Technical Summary
During the process of page editing and viewing, the existing technology requires frequent closing or minimizing windows and switching different pages, resulting in cumbersome operations, inefficient efficiency and poor user experience.
By identifying the type and location of the target object based on reference in the same window, creating a reference to the target object, and displaying the current page and the target object in the current window, supporting split-screen display of multiple page content in the same window to avoid new creation window.
It improves the efficiency and user experience of page editing, reduces system resource consumption, is convenient to operate, and is suitable for content switching within the same page or between different pages.
Smart Images

Figure CN119105669A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of computer technology, and specifically relates to a method, device, equipment and medium for displaying a target object based on a reference in a page. Background Art
[0002] With the rapid development of Internet technology, the amount of information carried in the information display process of various pages is gradually increasing, and people's requirements for editing and viewing pages are also gradually increasing.
[0003] Taking the canvas as an example, in the use scenarios such as canvas design and content browsing, there will be situations where different pages need to be viewed. In the related art, it is often necessary to close or minimize the window of the canvas currently being viewed, find another canvas, and create a new window to display the new page. And in subsequent operations, it is necessary to switch between the two windows multiple times to view the content of different pages. However, this way of viewing pages, when it is necessary to edit multiple pages or combine the content of elements in other locations on a single page, there will be problems such as cumbersome page editing operations, low efficiency, and poor user experience. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a method, device, equipment and medium for displaying a target object based on a reference in a page, which can display the contents of different pages in the same window without creating a new window, thereby reducing the consumption of system resources, and when switching between different locations in the same page or between different pages, the operation is convenient, which improves the user experience and also improves the page editing efficiency.
[0005] In a first aspect, an embodiment of the present application provides a method for displaying a target object based on a reference in a page, the method comprising:
[0006] In response to the insert operation on the current page, displaying the candidate object in the current window;
[0007] In response to the candidate object determination operation, determining a target object and creating a reference to the target object;
[0008] In response to a viewing operation on the reference, the current page is displayed in a current window, and the target object is displayed.
[0009] Furthermore, before displaying the current page in the current window and displaying the target object, the method further includes:
[0010] identifying the type of the reference;
[0011] If the type of the reference is a target element, it is identified whether the page where the target element is located is the same page as the current page.
[0012] Further, identifying whether the page where the target element is located is the same page as the current page includes:
[0013] Acquire the auxiliary information of the target object; wherein the auxiliary information includes the target element ID, the page ID where the target element is located, and the position information of the target element in the page where the target element is located;
[0014] If the page ID of the target element is the same as the current page ID, then they are determined to be the same page;
[0015] If the page ID where the target element is located is different from the current page ID, it is determined that they are different pages.
[0016] Further, in response to the viewing operation on the reference, displaying the current page in the current window and displaying the target object include:
[0017] In response to the viewing operation on the reference, if it is determined to be the same page, displaying the current page in the current window, and locating the display position of the current page based on the position information of the target element in the current page;
[0018] In response to a viewing operation on the reference, if it is determined to be a different page, the current page and the page where the target element is located are displayed in a split screen in the current window.
[0019] Furthermore, after identifying the type of the reference, the method further includes:
[0020] If the referenced type is a target page, identifying whether the current window is in a split-screen display state;
[0021] Accordingly, in response to the viewing operation on the reference, the current page is displayed in the current window, and the target object is displayed, including:
[0022] In response to a viewing operation on the reference, if the current page and the target page are not in a split-screen display state, split-screen displaying the current page and the target page in a current window;
[0023] In response to a viewing operation on the reference, if the display is in a split-screen state, the target page replaces other pages except the current page in the current window.
[0024] Furthermore, before displaying the candidate object in the current window in response to the insert operation on the current page, the method further includes:
[0025] In any page, in response to an element marking operation on any element, the ancillary information of the current element is obtained, and the current element is included in a candidate object set; wherein the ancillary information includes a target element ID, a page ID where the target element is located, and position information of the target element in the page where the target element is located.
[0026] Furthermore, before displaying the candidate object in the current window in response to the insert operation on the current page, the method further includes:
[0027] In any page, in response to a page marking operation, the current page is included in a candidate object set.
[0028] In a second aspect, an embodiment of the present application provides a device for displaying a target object based on a reference in a page, the device comprising:
[0029] A candidate object display module, configured to display candidate objects in the current window in response to an insert operation on the current page;
[0030] A reference creation module, configured to determine a target object in response to a candidate object determination operation, and to create a reference to the target object;
[0031] The target object display module is used to display the current page and the target object in the current window in response to a viewing operation on the reference.
[0032] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.
[0033] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0034] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0035] In an embodiment of the present application, in response to an insert operation on the current page in the current window, a candidate object is displayed; in response to a candidate object determination operation, a target object is determined, and a reference to the target object is created; in response to a viewing operation on the reference, the current page is displayed in the current window, and the target object is displayed. The problem of low efficiency in page editing and cumbersome steps in page element reference can be solved by the target object display method based on reference in the above page. By creating a reference to the target object, and in response to a user's viewing operation on the reference, the current page and the target object are displayed in the current window. The contents of different pages can be displayed in the same window without creating a new window, thereby reducing the consumption of system resources. In addition, when switching between different locations in the same page or between different pages, the operation is convenient, which improves the user experience, and the page editing efficiency is also improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 It is a flowchart of a method for displaying a target object based on a reference in a page provided by an embodiment of the present application;
[0037] Figure 2 It is a flowchart of a method for identifying a page where a target element is located provided in an embodiment of the present application;
[0038] Figure 3 It is a flowchart of a method for displaying a current page and a target object in a current window provided by an embodiment of the present application;
[0039] Figure 4 It is a flowchart of another method for displaying the current page and the target object in the current window provided by an embodiment of the present application;
[0040] Figure 5 It is a structural schematic diagram of a target object display device based on reference in a page provided by an embodiment of the present application;
[0041] Figure 6 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical scheme and advantages of the present application clearer, the specific embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. It is understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for the convenience of description, only the part related to the present application but not all the contents are shown in the accompanying drawings. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow chart describes each operation (or step) as a sequential process, many of the operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of each operation can be rearranged. The process can be terminated when its operation is completed, but it can also have additional steps not included in the accompanying drawings. The process can correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.
[0043] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0044] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the front and rear target objects are in an "or" relationship.
[0045] In conjunction with the accompanying drawings, the method, apparatus, device and medium for displaying a target object based on a reference in a page provided by the embodiments of the present application are described in detail below through specific embodiments and their application scenarios.
[0046] Figure 1 is a flow chart of a method for displaying a target object based on a reference in a page provided by an embodiment of the present application. Figure 1 As shown, the specific steps include:
[0047] S101, displaying candidate objects in the current window in response to an insert operation on the current page;
[0048] First, the use scenario of the embodiment of the present application can be a scenario of editing a page, especially a scenario of performing related editing according to different pages. Among them, the page can be any type of page that can be displayed on the user's smart terminal. The embodiment of the present application takes the canvas page as an example for explanation.
[0049] Based on the above usage scenarios, it can be understood that the execution subject of the embodiments of the present application can be a smart terminal such as a mobile phone, a tablet, and a computer, and no excessive limitations are made here.
[0050] Among them, the current window can be a window currently opened on the user's smart terminal, for example: the window displayed on the screen of the smart terminal when the canvas editing software is opened. The current page can be a canvas page to be edited displayed under the current window. The current window can include multiple function selection bars and edit bars, etc., so that the user can edit the current page through the current window. The insertion operation on the current page can be a user clicking the insert reference icon in the current window function selection bar to insert the page and / or element into the current page. The candidate object can be a target page and a target element that need to be referenced to the current page. For example, in the scenario where the current page is a canvas page to be edited, the candidate object can include historical canvas pages, canvas elements, etc., wherein the historical canvas page can be presented in the form of a list, the canvas element can be annotated and displayed in the form of a uniform resource locator URL, and the canvas element can also be displayed in other annotated forms such as a string, a code, etc., that is, the candidate object can be presented in the form of a list, or in the form of an element URL, an element ID, an element string, etc. This example does not limit the specific presentation form of the candidate object.
[0051] In a specific example, in a scenario where the current page is a canvas page to be edited, in response to the user's insert operation on the current page, a historical canvas page viewing list and more than one candidate objects such as element URLs that the user can choose to insert are displayed in the current window to allow the user to select a canvas page and search for elements.
[0052] Optionally, before displaying the candidate object in the current window in response to the insert operation on the current page, the method may further include:
[0053] In any page, in response to an element marking operation on any element in the page, the ancillary information of the current element is obtained, and the current element is included in a candidate object set; wherein the ancillary information includes a target element ID, a page ID where the target element is located, and position information of the target element in the page where the target element is located.
[0054] Among them, the element marking operation can be an operation for the user to copy the element URL. The element marking operation can include the user selecting the required target element in the target page, right-clicking to obtain a pop-up menu of the target element, and then selecting the "Copy Link to Object" option in the menu to copy the target element URL. The element URL can uniquely determine the element ID of the element, the page ID where the element is located, and the location information of the element in the page where it is located. The candidate object set can be a set of candidate target elements that need to be referenced in the current page.
[0055] In one embodiment, in any page, in response to a user's element marking operation on any element, the auxiliary information of the current element is obtained, and the current element is included in a candidate object set; wherein the auxiliary information includes the target element ID, the page ID where the target element is located, and the location information of the target element in the page where it is located.
[0056] In an embodiment of the present application, in response to an insert operation on the current page in the current window, before displaying the candidate objects, the reliability of the reference to the target element and the efficiency of viewing the target element can be improved by obtaining the auxiliary information of the current element in response to the user's element marking operation on any element in any page, and incorporating the current element into the candidate object set.
[0057] Optionally, before displaying the candidate object in the current window in response to the insert operation on the current page, the method further includes:
[0058] In any page, in response to a page marking operation, the current page is included in a candidate object set.
[0059] The page marking operation may be an operation in which the user marks the page ID of the currently viewed page.
[0060] In one embodiment, in any page, in response to a user's page marking operation, the page ID of the current page is obtained, and the current page is included in the candidate object set.
[0061] In an embodiment of the present application, in response to an insert operation on the current page in the current window, before displaying candidate objects, the reliability of reference to the target page and the efficiency of viewing the target page can be improved by including the current page in a set of candidate objects in response to a page marking operation by a user on any page.
[0062] S102, in response to the candidate object determination operation, determining a target object and creating a reference to the target object;
[0063] Among them, the operation of determining the candidate object may be an operation of selecting and determining the candidate object. For example: click and select a certain historical canvas or search and select an element, etc. The target object may be a page and element that has an association relationship with the current page. The association relationship may be a relationship in which the form and content are associated with the user's editing operation. For example: if the content to be inserted into the current page is "Taylor Formula Page", the edited "Taylor Formula Page" can be used as the target page, and the thumbnail of the "Taylor Formula Page" can be displayed on the current page. The target object includes at least one of a target page and a target element. The target page may be a page inserted into the current page. The target element may be an element inserted into the current page. The target page and the current page may be the same page, or may be one or more different pages, which are not limited here. The reference to the target object may be in the form of an element of the target object, such as a page thumbnail form and an element hyperlink form.
[0064] In one embodiment, in response to the user's determination operation on the candidate object in the current window, the type of the target object and the specific content of the target object are determined, and a reference to the target object is created by encoding the target object according to the type and specific content of the target object.
[0065] In one embodiment, creating a reference to the target object for the target object may include: in response to a selection operation on a page in a candidate object list, determining a page ID, and then determining a target page based on the page ID, and using the target page as a target object, encoding the target object to create a reference to the target object.
[0066] In another embodiment, creating a reference to the target object for the target object may include: in response to an input operation on a target element URL in a candidate object list, determining a unique target element, a page where the target element is located, and the position coordinates of the target element on the page where the target element is located, and using the target element as the target object, and creating a reference to the target element through encoding.
[0067] In one embodiment, after the user inserts the target object into the current page through the function selection bar in the current window, the user can select, input or search for the target page or target element associated with the current page or the element in the current page according to the needs. The user can view the preview content and specific content of the target page contained in the target object through the reference of the target object, or obtain the specific content of the target element contained in the target object and the preview content of the target page where the target element is located, etc.
[0068] S103: In response to a viewing operation on the reference, display the current page in a current window, and display the target object.
[0069] The viewing operation may be a user viewing operation on the reference, including placing a mouse on the reference to obtain a preview of the reference and clicking on the reference to obtain specific content of the target object.
[0070] In one embodiment, in response to the user's viewing operation on the reference, a small floating window previewing the reference may be displayed in the current page, or the current page and the target page may be displayed in a split-screen format under the current window.
[0071] Optionally, before displaying the current page in the current window and displaying the target object, the method further includes:
[0072] identifying the type of the reference;
[0073] If the type of the reference is a target element, it is identified whether the page where the target element is located is the same page as the current page.
[0074] The reference type may be the type of the target object selected by the user, including page type and element type.
[0075] In one embodiment, in response to the user's viewing operation on the reference, the type of the reference is identified by reading the ID, parameters, and content of the reference being viewed. If the type of the reference is identified as a target element, the page ID of the target element and the page ID of the current page are compared to identify whether the page where the target element is located is the same page as the current page.
[0076] In an embodiment of the present application, by identifying the type of the reference and, when the type of the reference is a target element, identifying whether the page where the target element is located is the same page as the current page, the accuracy and reliability of displaying the current page and the target object in the current window can be improved.
[0077] The technical solution provided by the embodiment of the present application displays a candidate object in the current window in response to an insert operation on the current page; determines a target object in response to a candidate object determination operation, and creates a reference to the target object; displays the current page in the current window and the target object in response to a viewing operation on the reference. The problem of low page editing efficiency and cumbersome page element reference steps can be solved by the target object display method based on reference in the above page. By creating a reference to the target object and displaying the current page and the target object in the current window in response to a user's viewing operation on the reference, the contents of different pages can be displayed in the same window without creating a new window, thereby reducing the consumption of system resources. In addition, when switching between different locations in the same page or between different pages, the operation is convenient, which improves the user experience, and the page editing efficiency is also improved.
[0078] Figure 2 It is a flowchart of a method for identifying a page where a target element is located provided in an embodiment of the present application.
[0079] like Figure 2 As shown, the specific steps include:
[0080] S201, obtaining the auxiliary information of the target object; wherein the auxiliary information includes the target element ID, the page ID where the target element is located, and the position information of the target element in the page where the target element is located;
[0081] In one embodiment, the target object's ancillary information can be obtained through the target element URL; wherein the ancillary information includes the target element ID, the page ID where the target element is located, and the location information of the target element in the page where the target element is located. The URL is the unique identifier of the target element, and the specific content of the target element, the page where the target element is located, and the position coordinates of the target element relative to the page where the target element is located can be determined according to the URL. The user can select the desired target element in the target page, right-click to obtain a pop-up menu of the target element, and then select the "Copy Link to Object" option in the menu to copy the target element URL.
[0082] S202, if the page ID where the target element is located is the same as the current page ID, then they are determined to be the same page;
[0083] In one embodiment, the page ID of the page where the target element is located can be compared with the page ID of the current page to determine whether the IDs are consistent. If they are consistent, it is determined that the page where the target element is located is the same page as the current page.
[0084] S203: If the page ID where the target element is located is different from the current page ID, it is determined to be a different page.
[0085] In one embodiment, if the page ID of the page where the target element is located is inconsistent with the page ID of the current page, it is determined that the page where the target element is located and the current page are different pages.
[0086] The technical solution provided in the embodiment of the present application obtains the auxiliary information of the target object, obtains the page ID where the target object is located, and identifies the page where the target element is located by comparing whether the page ID where the target element is located is the same as the current page ID. This can improve the accuracy of identifying the page where the target element is located, thereby improving the efficiency of referencing the target element.
[0087] Figure 3 1 is a flow chart of a method for displaying the current page and the target object in the current window provided by an embodiment of the present application. Figure 3 As shown, the specific steps include:
[0088] S301, acquiring the auxiliary information of the target object; wherein the auxiliary information includes the target element ID, the page ID where the target element is located, and the position information of the target element in the page where the target element is located;
[0089] S302, if the page ID of the target element is the same as the current page ID, it is determined that they are the same page; and S304 is executed;
[0090] S303: If the page ID where the target element is located is different from the current page ID, it is determined that they are different pages; and S305 is executed.
[0091] S304, displaying the current page in the current window, and locating the display position of the current page based on the position information of the target element in the current page;
[0092] In one embodiment, after responding to the user's viewing operation on the reference, if it is determined that the page where the target element is located is the same page as the current page, the current page is displayed in the current window, and based on the position information of the target element relative to the current page, the display position of the current page is located to control the horizontal and / or vertical translation of the page to jump from the current position to the position of the target element in the current page.
[0093] S305: Display the current page and the page where the target element is located in the current window in split screens.
[0094] The split-screen display may be to display the current page and the page where the target element is located in the same window through two different fields of view, and the fields of view of the current page and the page where the target element is located may each occupy one-half of the current window. The split-screen display of the current page and the page where the target element is located in the current window may be a top-bottom split-screen display or a left-right split-screen display, etc., which is not limited here.
[0095] In one embodiment, in response to the user's viewing operation on the reference, if it is determined that the current page and the page where the target element is located are different pages, the current page and the page where the target element is located can be displayed in the current window in the form of a two-view split-screen display.
[0096] The technical solution provided in the embodiment of the present application can improve the clarity of the reference display of the target element and enhance the user experience by identifying whether the page where the target element is located is the same page as the current page and setting different display modes for the target element.
[0097] Figure 4 FIG. 1 is a flow chart of another method for displaying the current page and the target object in the current window provided by an embodiment of the present application. Figure 4 As shown, the specific steps include:
[0098] S401, in response to a viewing operation on the reference, identifying whether the current window is in a split-screen display state; if not in a split-screen display state, executing S402; if in a split-screen display state, executing S403;
[0099] In one embodiment, if the reference type is identified as a target page, it is possible to determine whether the current window is in a split-screen display state by identifying whether the current window has two Views; it is also possible to determine whether the current window is in a split-screen display state by identifying whether the current window displays two different pages.
[0100] S402, displaying the current page and the target page in a split-screen manner in the current window;
[0101] In one embodiment, in response to the user's viewing operation on the reference, if the current window is not in a split-screen display state, two Views are used in the current window to perform split-screen display on the current page and the target page.
[0102] S403: replacing other pages except the current page in the current window with the target page.
[0103] In one embodiment, considering factors such as rendering efficiency and memory usage, the same window currently supports simultaneous rendering and display of two pages. When a user performs a viewing operation on a new reference, if the current window is already in a split-screen form, the new target page replaces the original target page. Therefore, in response to the user's viewing operation on the reference, if the current window is in a split-screen display state, the target page replaces other pages other than the current page in the current window, and the current page and the latest target page are displayed in split-screen.
[0104] The technical solution provided in the embodiment of the present application can improve the accuracy of the reference display of the target page and enhance the user experience by identifying whether the current window is in a split-screen display state and setting the split-screen display state of the current page and the target page.
[0105] Figure 5 Schematic diagram of the structure of the target object display device based on reference in the page provided by the embodiment of the present application. Figure 5 As shown, specifically including the following:
[0106] A candidate object display module 501, for displaying candidate objects in the current window in response to an insert operation on the current page;
[0107] A reference creation module 502, configured to determine a target object in response to a candidate object determination operation, and to create a reference to the target object;
[0108] The target object display module 503 is used to display the current page and the target object in the current window in response to the viewing operation on the reference.
[0109] Furthermore, the target object display module 503 is also used for:
[0110] identifying the type of the reference;
[0111] If the type of the reference is a target element, it is identified whether the page where the target element is located is the same page as the current page.
[0112] Furthermore, the target object display module 503 is specifically used for:
[0113] Acquire the auxiliary information of the target object; wherein the auxiliary information includes the target element ID, the page ID where the target element is located, and the position information of the target element in the page where the target element is located;
[0114] If the page ID of the target element is the same as the current page ID, then they are determined to be the same page;
[0115] If the page ID where the target element is located is different from the current page ID, it is determined that they are different pages.
[0116] Furthermore, the target object display module 503 is also used for:
[0117] In response to the viewing operation on the reference, if it is determined to be the same page, displaying the current page in the current window, and locating the display position of the current page based on the position information of the target element in the current page;
[0118] In response to a viewing operation on the reference, if it is determined to be a different page, the current page and the page where the target element is located are displayed in a split screen in the current window.
[0119] Furthermore, the target object display module 503 is also used for:
[0120] If the referenced type is a target page, identifying whether the current window is in a split-screen display state;
[0121] In response to a viewing operation on the reference, if the current page and the target page are not in a split-screen display state, split-screen displaying the current page and the target page in a current window;
[0122] In response to a viewing operation on the reference, if the display is in a split-screen state, the target page replaces other pages except the current page in the current window.
[0123] Furthermore, the candidate object display module 501 is further used for:
[0124] In any page, in response to an element marking operation on any element, the ancillary information of the current element is obtained, and the current element is included in a candidate object set; wherein the ancillary information includes a target element ID, a page ID where the target element is located, and position information of the target element in the page where the target element is located.
[0125] Furthermore, the candidate object display module 501 is further used for:
[0126] In any page, in response to a page marking operation, the current page is included in a candidate object set.
[0127] The technical solution provided by the embodiment of the present application is a candidate object display module, which is used to display the candidate object in the current window in response to the insert operation on the current page; a reference creation module, which is used to determine the target object in response to the candidate object determination operation, and create a reference to the target object; a target object display module, which is used to display the current page in the current window and the target object in response to the viewing operation on the reference. Through the target object display device based on reference in the above page, the problems of low page editing efficiency and cumbersome page element reference steps can be solved. By creating a reference to the target object and displaying the current page and the target object in the current window in response to the user's viewing operation on the reference, the content of different pages can be displayed in the same window without creating a new window, thereby reducing the consumption of system resources, and when switching between different positions in the same page or different pages, the operation is convenient, which improves the user experience, and the page editing efficiency is also improved.
[0128] The target object display device based on the reference in the page in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device can be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0129] The target object display device based on reference in the page in the embodiment of the present application can be a device with an operating system. The operating system can be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0130] The target object display device based on reference in the page provided by the embodiment of the present application can achieve Figures 1 to 4 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0131] like Figure 6As shown, an embodiment of the present application also provides an electronic device 600, including a processor 601, a memory 602, and a program or instruction stored in the memory 602 and executable on the processor 601. When the program or instruction is executed by the processor 601, each process of the embodiment of the target object display method based on reference in the above page is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0132] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0133] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the embodiment of the target object display method based on reference in the above page is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0134] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0135] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the target object display method embodiment based on reference in the above page, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0136] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0137] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0138] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0139] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
[0140] The above are only preferred embodiments of the present application and the technical principles used. The present application is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions that can be made by those skilled in the art will not deviate from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the claims.
Claims
1. A method for displaying a target object based on a reference in a page, characterized in that: The method comprises: In response to the insert operation on the current page, displaying the candidate object in the current window; In response to the candidate object determination operation, determining a target object and creating a reference to the target object; In response to a viewing operation on the reference, the current page is displayed in a current window, and the target object is displayed.
2. The method according to claim 1, characterized in that Before displaying the current page in the current window and displaying the target object, the method further includes: identifying the type of the reference; If the type of the reference is a target element, it is identified whether the page where the target element is located is the same page as the current page.
3. The method according to claim 2, characterized in that Identifying whether the page where the target element is located is the same page as the current page, including: Acquire the auxiliary information of the target object; wherein the auxiliary information includes the target element ID, the page ID where the target element is located, and the position information of the target element in the page where the target element is located; If the page ID of the target element is the same as the current page ID, then they are determined to be the same page; If the page ID where the target element is located is different from the current page ID, it is determined that they are different pages.
4. The method according to claim 3, characterized in that In response to a viewing operation on the reference, displaying the current page in a current window and displaying the target object include: In response to the viewing operation on the reference, if it is determined to be the same page, displaying the current page in the current window, and locating the display position of the current page based on the position information of the target element in the current page; In response to a viewing operation on the reference, if it is determined to be a different page, the current page and the page where the target element is located are displayed in a split screen in the current window.
5. The method according to claim 2, characterized in that: After identifying the type of the reference, the method further comprises: If the referenced type is a target page, identifying whether the current window is in a split-screen display state; Accordingly, in response to the viewing operation on the reference, the current page is displayed in the current window, and the target object is displayed, including: In response to a viewing operation on the reference, if the current page and the target page are not in a split-screen display state, split-screen displaying the current page and the target page in a current window; In response to a viewing operation on the reference, if the display is in a split-screen state, the target page replaces other pages except the current page in the current window.
6. The method according to claim 1, characterized in that Before displaying the candidate object in the current window in response to the insert operation on the current page, the method further includes: In any page, in response to an element marking operation on any element, the ancillary information of the current element is obtained, and the current element is included in a candidate object set; wherein the ancillary information includes a target element ID, a page ID where the target element is located, and position information of the target element in the page where the target element is located.
7. The method according to claim 1, characterized in that Before displaying the candidate object in the current window in response to the insert operation on the current page, the method further includes: In any page, in response to a page marking operation, the current page is included in a candidate object set.
8. A device for displaying a target object based on a reference in a page, characterized in that: The device comprises: A candidate object display module, configured to display candidate objects in the current window in response to an insert operation on the current page; A reference creation module, configured to determine a target object in response to a candidate object determination operation, and to create a reference to the target object; The target object display module is used to display the current page and the target object in the current window in response to a viewing operation on the reference.
9. An electronic device, characterized in that: It includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor. When the program or instruction is executed by the processor, the steps of the method for displaying a target object based on a reference in a page as described in any one of claims 1 to 7 are implemented.
10. A readable storage medium, characterized in that: The readable storage medium stores a program or an instruction, and when the program or the instruction is executed by the processor, the steps of the method for displaying a target object based on a reference in a page according to any one of claims 1 to 7 are implemented.
