Page marking method and vehicle
By receiving page marking instructions and adding target identifiers, the problem that users cannot intuitively understand the page operation area is solved, and the user experience is improved.
Patent Information
- Application Number
- CN202411916034.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-04-22
AI Technical Summary
Users cannot intuitively know from the page which areas can be operated, and what areas can be operated specifically, which leads to inconvenience to users.
By receiving page marking instructions, the attribute information of each view module is determined, and the target identification is determined based on this information, and it is added to the page location of the view module so that the user can understand the operations that can be performed through the target identification.
This enables users to intuitively know which areas can be operated from the page and understand the operations that can be performed in detail, thereby improving the user experience.
Smart Images

Figure CN119861992A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a page marking method and a vehicle. Background Art
[0002] Users can obtain a variety of information through the displayed page. The page also has some areas for users to operate, thereby realizing page changes.
[0003] Due to the diversity and complexity of the pages, users cannot intuitively know from the pages which areas can be operated and which specific operations can be performed in the corresponding areas, resulting in inconvenience for users. Summary of the invention
[0004] In view of this, the purpose of the present disclosure is to propose a page marking method and vehicle to solve the problem that current users cannot intuitively know from the page which areas can be operated and which specific operations can be performed in the corresponding areas, causing inconvenience to users.
[0005] Based on the above purpose, the first aspect of the present disclosure provides a page marking method, the method comprising:
[0006] Receiving a page marking instruction, determining attribute information corresponding to each view module contained in an initial page, wherein the attribute information indicates an operation mode of the view module for use by a user, wherein the initial page is all pages displayed after receiving the page marking instruction;
[0007] For each view module, determine the target identifier corresponding to the view module according to the attribute information, and add the target identifier to the page position corresponding to the view module;
[0008] Displays the page after the markup corresponding to the currently displayed page.
[0009] Based on the same inventive concept, the second aspect of the present disclosure proposes a page marking device, comprising:
[0010] The instruction receiving module is configured to receive the page marking instruction and determine the attribute information corresponding to each view module contained in the initial page, wherein the attribute information indicates the operation mode of the view module for the user, wherein the initial page is all the pages displayed after receiving the page marking instruction;
[0011] A target identifier determination module is configured to determine, for each view module, a target identifier corresponding to the view module according to the attribute information, and add the target identifier to a page position corresponding to the view module;
[0012] The page display module is configured to display the page after the mark corresponding to the currently displayed page.
[0013] Based on the same inventive concept, the third aspect of the present disclosure proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the page marking method as described above when executing the computer program.
[0014] Based on the same inventive concept, a fourth aspect of the present disclosure proposes a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the page marking method as described above.
[0015] Based on the same inventive concept, the fifth aspect of the present disclosure provides a vehicle, including the page marking device described in the second aspect or the electronic device described in the third aspect or the storage medium described in the fourth aspect.
[0016] As can be seen from the above, the present disclosure proposes a page marking method and a vehicle, and receives a page marking instruction, which means that the user wants to mark the current page, and determines the attribute information corresponding to each view module contained in the initial page, and the attribute information indicates the operation mode of the view module for the user, that is, the specific operation mode when the user operates the view module. Among them, the initial page is all the pages displayed after receiving the page marking instruction, that is, after receiving the page marking instruction, all the pages displayed next can be marked. For each view module, the target identifier corresponding to the view module is determined according to the attribute information, and the target identifier is added to the page position corresponding to the view module. The subsequent user can know what operation he can perform on the view module according to the target identifier. The marked page corresponding to the current display page is displayed, and in the marked page, all the operable view modules are correspondingly added with target identifiers to prompt the user what operation each view module can perform, so that the user can intuitively know from the page which areas can be operated and what operations can be performed on the corresponding areas, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the present disclosure or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0018] Figure 1 A flowchart of a page marking method according to an embodiment of the present disclosure;
[0019] Figure 2 is a first schematic diagram of a marked page corresponding to this embodiment;
[0020] Figure 3 is a second schematic diagram of a marked page corresponding to this embodiment;
[0021] Figure 4 is a third schematic diagram of a marked page corresponding to this embodiment;
[0022] Figure 5 is a fourth schematic diagram of a marked page corresponding to this embodiment;
[0023] Figure 6 is a fifth schematic diagram of a marked page corresponding to this embodiment;
[0024] Figure 7 is a sixth schematic diagram of a marked page corresponding to this embodiment;
[0025] Figure 8 is a seventh schematic diagram of a marked page corresponding to this embodiment;
[0026] Fig. 9 is an eighth schematic diagram of a marked page corresponding to this embodiment;
[0027] Fig.10 is a structural block diagram of a page marking device according to an embodiment of the present disclosure;
[0028] Fig.11 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0029] In order to make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0030] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the embodiments of the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0031] The terms used in this disclosure are explained as follows:
[0032] Android: Android is a free and open source mobile operating system based on the Linux kernel (excluding GNU components).
[0033] Users can obtain a variety of information from the displayed page, and there are also some areas on the page for users to operate, thereby realizing page changes. For example, if a "View Details" button is set on the page, users can click the "View Details" button to jump to the details page.
[0034] However, due to the diversity and complexity of the pages, some clickable areas or areas where other operations can be performed are not clearly marked. Therefore, users cannot intuitively know from the page which areas can be operated and what specific operations can be performed in the corresponding areas, resulting in inconvenience for users.
[0035] Based on the above description, this embodiment proposes a page marking method, such as Figure 1 As shown, the method includes:
[0036] Step 101, receiving a page marking instruction, determining the attribute information corresponding to each view module contained in the initial page, wherein the attribute information represents the operation mode of the view module for the user to use, wherein the initial page is all pages displayed after receiving the page marking instruction.
[0037] In specific implementation, when a page marking instruction is received, it means that the user wants to mark the currently displayed page. The triggering method of the page marking instruction includes at least one of the following: voice triggering, physical key triggering, virtual key triggering, etc.
[0038] This embodiment can be applied to various scenarios. Specifically, the page can be a page on any display screen, and there is no limitation on the specific display screen. Specific examples are as follows:
[0039] Scenario 1: If the page is a page on the car display screen, the user can say "start page guidance" in the car when driving the vehicle. At this time, the car computer receives the user's voice information and can use the voice information as a page marking instruction.
[0040] Scenario 2: If the page is a page on the vehicle display screen, when the user is driving the vehicle, the user uses the virtual button in the vehicle to select to start the page guidance function. At this time, the vehicle receives the user's touch command and can use the touch command as the page marking command. The location of the virtual button in the vehicle includes at least one of the following: door, window, central control screen, co-pilot screen, rear screen, etc.
[0041] Scenario three: If the page is a page on the vehicle display screen, when the user is driving the vehicle, the user chooses to turn on the page guidance function through a physical button set in the vehicle. At this time, the vehicle computer receives the user's touch command and can use the touch command as a page marking command.
[0042] Scenario 4: If the page is a page on a display screen of a mobile device, when the mobile device receives the user's "open page guide", the voice information can be used as a page marking instruction. The mobile device includes at least one of the following: a bracelet, a watch, a mobile phone, a laptop computer, and a tablet computer.
[0043] Scenario 5: If the page is a page on the display screen of a smart device, and the user chooses to turn on the page guidance function through the display screen of the smart device at home, the smart device receives the user's touch command and can use the touch command as a page marking command. The smart device includes at least one of the following: a smart refrigerator, smart furniture, a smart door lock, etc.
[0044] In this embodiment, the initial page is all pages displayed after receiving the page marking instruction, which specifically includes the current display page being displayed when receiving the page marking instruction, and all pages after jumping based on the current display page. When the page marking instruction is received, it indicates that the currently displayed interface needs to be marked. The initial page contains at least one view module, and the attribute information corresponding to each view module contained in the initial page is determined. The attribute information indicates the operation mode of the view module for the user, such as click, long press, slide, etc.
[0045] In this embodiment, since all view modules in the page are implemented based on View, modifying the View class can ensure that all classes have this function. Add code to the class to determine whether click, long press, slide, etc. are possible, and if these behaviors are available, add the corresponding target identifier.
[0046] Step 102: for each view module, determine the target identifier corresponding to the view module according to the attribute information, and add the target identifier to the page position corresponding to the view module.
[0047] In specific implementation, for each view module, the target identifier corresponding to the view module is determined according to the attribute information of the view module. In this embodiment, in order to distinguish different attribute information, different attribute information corresponds to different target identifiers. The form of the target identifier includes at least one of the following: color identifier, icon identifier, and text identifier.
[0048] The target identifier is added to the page position corresponding to the view module, that is, for each view module, after determining its corresponding target identifier, the target identifier is added to the page position corresponding to the view module. That is, at this time, the page contains not only the original content in the initial page, but also the added target identifier.
[0049] The target identifier may be added above the view module or around the view module. When added around the view module, it may surround the view module or be displayed beside the view module. When added beside the view module, an arrow identifier may be used for further guidance.
[0050] Step 103, displaying the marked page corresponding to the currently displayed page.
[0051] In the specific implementation, a target identifier is added to the page position corresponding to each view module until all view modules with corresponding target identifiers are added with the target identifier, that is, each interface to be displayed on the display screen has been marked.
[0052] Therefore, when displaying, the marked page corresponding to the currently displayed page can be directly displayed. At the same time, after jumping from the current display interface to the next interface, the next interface becomes the current display interface, and the marked interface can also be directly displayed without displaying the original interface of the next interface first, and the user does not need to trigger the page marking instruction again.
[0053] Through the above scheme, a page marking instruction is received, which means that the user wants to mark the current page, and the attribute information corresponding to each view module contained in the initial page is determined. The attribute information indicates the operation mode of the view module for the user, that is, the specific operation mode when the user operates the view module. Among them, the initial page is all the pages displayed after receiving the page marking instruction, that is, after receiving the page marking instruction, all the pages displayed next can be marked. For each view module, the target identifier corresponding to the view module is determined according to the attribute information, and the target identifier is added to the page position corresponding to the view module. The subsequent user can know what operation he can perform on the view module according to the target identifier. The marked page corresponding to the current display page is displayed. In the marked page, all the operable view modules are correspondingly added with target identifiers to prompt the user what operation each view module can perform, so that the user can intuitively know from the page which areas can be operated and what operations can be performed on the corresponding areas, thereby improving the user experience.
[0054] In some embodiments, the target identifier is a color identifier, and determining the target identifier corresponding to the view module according to the attribute information in step 102 specifically includes:
[0055] Step 1021, in response to the attribute information being a click operation, determining that the target identifier is a first color; or,
[0056] Step 1022, in response to the attribute information being a long press operation, determining that the target identifier is a second color; or,
[0057] Step 1023: In response to the attribute information being a sliding operation, determining that the target identifier is a third color.
[0058] In a specific implementation, when the target identifier is a color identifier, different color identifiers are determined for different attribute information. Specifically, if the attribute information is determined to be a click operation, it means that the view module is available for the user to click, and the color corresponding to the view module is determined to be the first color. If the attribute information is determined to be a long press operation, it means that the view module is available for the user to long press, and the color corresponding to the view module is determined to be the second color. If the attribute information is determined to be a sliding operation, it means that the view module is available for the user to slide, and the color corresponding to the view module is determined to be the third color. The first color, the second color, and the third color are different colors.
[0059] For example, Figure 2 As shown, Figure 2The first schematic diagram of the marked page corresponding to this embodiment is shown. The first color is red, the second color is green, and the third color is blue. View module A can be clicked by the user, so a red mark is set at view module A. View module B can be long pressed by the user, so a green mark is set at view module B. View module C can be slid by the user, so a red mark is set at view module C.
[0060] Through the above scheme, by setting different color labels for different operation modes corresponding to the view module, the user can intuitively know the specific operable mode of the view module, which is convenient for the user to perform corresponding operations.
[0061] In some embodiments, step 1023 specifically includes:
[0062] Step A, determining the sliding type corresponding to the sliding operation;
[0063] Step B, in response to the sliding type being upward sliding, determining that the target identifier is the first sub-color; or,
[0064] Step C, in response to the sliding type being downward sliding, determining that the target identifier is a second sub-color; or,
[0065] Step D: in response to the sliding type being bidirectional sliding, determining that the target identifier is a third sub-color.
[0066] In a specific implementation, different sliding operations correspond to different sliding types, and the sliding type specifically includes at least one of the following: sliding upward, sliding downward, or bidirectional sliding, wherein the bidirectional sliding means that the user can slide both upward and downward.
[0067] If the sliding type is sliding upward, the color corresponding to the view module is determined to be the first sub-color. If the sliding type is sliding downward, the color corresponding to the view module is determined to be the second sub-color. If the sliding type is sliding in both directions, the color corresponding to the view module is determined to be the third sub-color. The first sub-color, the second sub-color, and the third sub-color are all sub-colors of the third color.
[0068] For example, Figure 3 As shown, Figure 3 A second schematic diagram of the marked page corresponding to this embodiment is shown. The third color is blue, the first sub-color is sky blue, the second sub-color is light blue, and the third sub-color is dark blue. View module A can be slid upward by the user, so a sky blue logo is set at view module A. View module B can be slid downward by the user, so a light blue logo is set at view module B. View module C can be slid in both directions by the user, so a dark blue logo is set at view module C.
[0069] Through the above scheme, the sliding types of the sliding view modules are further subdivided, specifically determined as upward sliding, downward sliding or two-way sliding, and further distinguished by different color labels. Users can directly determine the specific sliding type according to the displayed color, and subsequent operations are more accurate.
[0070] In some embodiments, in order to avoid the user being unsure of the corresponding operation mode after directly displaying the color, an explanation mark may be provided next to the color mark, and the explanation mark is used to explain the specific operation mode corresponding to each color. The display form of the explanation mark may be text or an icon. If the explanation mark is displayed in the form of an icon, the user can display the specific content corresponding to the explanation mark by placing the mouse or finger on the icon.
[0071] In some embodiments, if the same view module has multiple attribute information, the colors corresponding to the multiple attribute information are determined and added to the view module. For example, if view module A can be clicked and slidable, the corresponding color can be determined to be purple and added to the view module.
[0072] In some embodiments, adding the target identifier to the page position corresponding to the view module in step 102 specifically includes:
[0073] Step 10A, determining the position information of the view module in the initial page, and using the position information as the target adding position corresponding to the target identifier;
[0074] Step 10B, adding the color corresponding to the target identifier to the target adding position.
[0075] During specific implementation, for each view module, the position information of the view module in the initial page is determined, and the position corresponding to the position information is used as the target adding position corresponding to the target identifier.
[0076] The color corresponding to the target identifier is added to the target adding position, that is, the target identifier is displayed on the view module in an overlay manner, and the size of the target identifier is the same as the size of the view module.
[0077] For example, Figure 4 As shown, Figure 4 The third schematic diagram of the marked page corresponding to this embodiment is shown. The area surrounded by the black border is the view module, the attribute information of the view module is the click operation, and the color mark corresponding to the view module is determined to be gray, then the gray is added to cover the position of the view module, and the added size is the same as the size of the view module.
[0078] Through the above scheme, by adding color identification above the view module, while ensuring that the user intuitively knows the specific operability of the view module, the specific size of the view module, that is, the size of the operable position, is displayed to the user to avoid user misoperation.
[0079] In some embodiments, adding the target identifier to the page position corresponding to the view module in step 102 specifically includes:
[0080] Step 10a, determining the position information of the view module in the initial page, and determining the initial size corresponding to the view module according to the position information;
[0081] Step 10b, scaling up the initial size in proportion to a preset ratio to obtain a target size;
[0082] Step 10c: determine a target adding area according to the target size, and add a color corresponding to the target identification to the target adding area.
[0083] During specific implementation, for each view module, the position information of the view module in the initial page is determined, and the initial size corresponding to the view module is determined according to the position information, wherein the initial size includes the length and width of the view module.
[0084] The initial size is enlarged in proportion according to a preset ratio to obtain a target size. A target adding area is determined according to the target size, and the target adding area is the area to be added with color. The color corresponding to the target identifier is added to the target adding area.
[0085] In some embodiments, step 10c specifically includes:
[0086] Step a, taking the area corresponding to the target size as the target adding area;
[0087] Step b: adding the color corresponding to the target identification to the target adding area.
[0088] In specific implementation, the area corresponding to the target size is used as the target adding area, and the color corresponding to the target identifier is added to the target adding area. That is, the entire area included in the target size is the target adding area, and the color corresponding to the target identifier covers the view module, and the area covered by the color is larger than the area corresponding to the view module.
[0089] For example, Figure 5 As shown, Figure 5The fourth schematic diagram of the marked page corresponding to this embodiment is shown. The area surrounded by the black solid line frame is the view module, the size corresponding to the black solid line frame is the initial size corresponding to the view module, and the size corresponding to the black dotted line frame is the target size obtained by proportionally enlarging according to the preset ratio. The area corresponding to the target size is used as the target adding area, and the gray part in the figure is the target adding area.
[0090] Through the above scheme, the target adding area is set to an area that contains the view module and is larger than the size of the view module, that is, the initial size is appropriately enlarged to avoid selecting an adding area of the same size as the view module when the view module is small, resulting in a small area for color display, causing inconvenience to users.
[0091] In some embodiments, step 10c specifically includes:
[0092] Step c, taking the area corresponding to the target size as the first area, and taking the area corresponding to the initial size as the second area;
[0093] Step d, determining the remaining area in the first area except the second area, and taking the remaining area as the target adding area;
[0094] Step e: adding the color corresponding to the target identification to the target adding area.
[0095] In a specific implementation, the area corresponding to the target size is taken as the first area, and the area corresponding to the initial size is taken as the second area, wherein the first area includes and is larger than the second area. The remaining area of the first area except the second area is determined, and the remaining area is taken as the target addition area, that is, the area between the border of the view module and the border of the target size is taken as the target addition area, and the color corresponding to the target logo is added to the target addition area.
[0096] For example, Figure 6 As shown, Figure 6 The fifth schematic diagram of the marked page corresponding to this embodiment is shown. The area surrounded by the black dotted line border is the first area, and the area surrounded by the black solid line border is the second area. The remaining area in the first area except the second area is used as the target adding area, that is, the gray part in the figure is the target adding area.
[0097] Through the above solution, by setting the area surrounding the view module as the target adding area, it is avoided that the color directly covers the view module and affects the user's normal viewing of the content of the view module.
[0098] In some embodiments, step 10e specifically includes:
[0099] Step f, determining an initial frame generated by the frame lines corresponding to the target size;
[0100] Step g, processing the border lines in the initial border according to a preset border line width to obtain a target border;
[0101] Step h: use the target border as a target adding area, and add the color corresponding to the target logo to the target adding area.
[0102] In a specific implementation, an initial frame generated by the frame lines corresponding to the target size is determined, and the size of the initial frame is the same as the target size. A preset frame line width is obtained, and the frame lines in the initial frame are set to the preset frame line width, thereby obtaining a target frame. The size of the target frame is the same as the target size, and the frame line width of the target frame is the same as the preset frame line width.
[0103] The target border is used as a target adding area, and a color corresponding to the target logo is added to the target adding area.
[0104] For example, Figure 7 As shown, Figure 7 Six schematic diagrams of the marked page corresponding to this embodiment are shown. The area surrounded by the black solid line frame is the view module, the black dotted line frame is the initial frame, the frame line in the initial frame is set to the preset frame line width to obtain the target frame, and the frame line in the initial frame is set to the preset frame line width to obtain the target frame. That is, the gray part in the figure is the target added area.
[0105] Through the above scheme, by setting the area surrounding the view module and not fitting the view module as the target adding area, it is avoided that when the color of the target logo coincides with the color of the view module itself, the boundary of the view module is blurred, and the user cannot accurately determine the content contained in the view module.
[0106] In some embodiments, the target identifier is an icon identifier, and step 102 specifically includes:
[0107] Step 102A, in response to the attribute information being a click operation, determining that the target identifier is a click icon; or,
[0108] Step 102B, in response to the attribute information being a long press operation, determining that the target identifier is a long press icon; or,
[0109] Step 102C: in response to the attribute information being a sliding operation, determining that the target identifier is a sliding icon.
[0110] In specific implementation, when the target identifier is an icon identifier, different icon identifiers are determined for different attribute information. Specifically, if the attribute information is determined to be a click operation, it means that the view module can be clicked by the user, and the icon corresponding to the view module is determined to be a click icon. If the attribute information is determined to be a long press operation, it means that the view module can be long pressed by the user, and the icon corresponding to the view module is determined to be a long press icon. If the attribute information is determined to be a sliding operation, it means that the view module can be slid by the user, and the icon corresponding to the view module is determined to be a sliding icon.
[0111] For example, Figure 8 As shown, Figure 8 The seventh schematic diagram of the marked page corresponding to this embodiment is shown. View module A can be clicked by the user, so a click icon is set at view module A. View module B can be long-pressed by the user, so a long-press icon is set at view module B. View module C can be slid by the user, so a slid icon is set at view module C.
[0112] Through the above scheme, by setting different icon identifiers for different operation modes corresponding to the view module, the user can intuitively know the specific operable mode of the view module, which is convenient for the user to perform corresponding operations.
[0113] In some embodiments, when a page recovery instruction is received, it means that the user no longer needs to display the marked page, so the page after the mark is stopped from being displayed, and the initial page is redisplayed, that is, the page before the mark is redisplayed.
[0114] Based on the same inventive concept, another embodiment of the present disclosure provides a page marking method, the execution process of the method is as follows: Fig. 9 As shown, specifically including:
[0115] Step 201: The user operates the page guide switch.
[0116] In specific implementation, the page guide switch settings are usually in the "System Settings" application, and a text description can be added after the switch option. For example: after turning on the option, the page will mark the view that can be clicked with red marks, the view that can be long-pressed with green marks, and the view that can be slid with blue marks.
[0117] Step 202, determine whether the switch is turned on, if so, jump to step 203, if not, jump to step 211.
[0118] Step 203, triggering the onConfigurationChanged method of all views of the current page.
[0119] In specific implementation, onConfigurationChanged is a method that comes with the Android system View class. Common day and night switching, classical Chinese switching, etc. will call this method. This method will be called when it is detected that the user operates the page guide switch.
[0120] Step 204, determine whether the view has a click method, if yes, jump to step 205. If no, jump to step 206.
[0121] Step 205, setting the view background to red.
[0122] Step 206, determine whether the view has a long press method, if yes, jump to step 207. If no, jump to step 208.
[0123] Step 207, setting the view background to green.
[0124] Step 208, determine whether the view has a sliding method, if yes, jump to step 209. If no, jump to step 211.
[0125] Step 209, setting the view background to blue.
[0126] Step 210: The page shows the set color.
[0127] Step 211, the page is in a default state.
[0128] It should be noted that the method of the embodiment of the present disclosure can be performed by a single device, such as a computer or a server. The method of the present embodiment can also be applied in a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present disclosure, and the multiple devices will interact with each other to complete the described method.
[0129] It should be noted that the above describes some embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0130] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present disclosure also provides a page marking device.
[0131] refer to Fig.10 , Fig.10The page marking device of the embodiment includes:
[0132] The instruction receiving module 301 is configured to receive a page marking instruction, determine the attribute information corresponding to each view module contained in the initial page, and the attribute information indicates the operation mode of the view module for the user, wherein the initial page is all the pages displayed after receiving the page marking instruction;
[0133] The target identifier determination module 302 is configured to determine, for each view module, a target identifier corresponding to the view module according to the attribute information, and add the target identifier to a page position corresponding to the view module;
[0134] The page display module 303 is configured to display the marked page corresponding to the currently displayed page.
[0135] In some embodiments, the target identifier is a color identifier, and the target identifier determination module 302 specifically includes:
[0136] A first color determination unit is configured to determine that the target identifier is a first color in response to the attribute information being a click operation; or
[0137] A second color determination unit is configured to determine that the target identifier is a second color in response to the attribute information being a long press operation; or,
[0138] The third color determination unit is configured to determine that the target identifier is a third color in response to the attribute information being a sliding operation.
[0139] In some embodiments, the third color determination unit is specifically configured to:
[0140] Determine a sliding type corresponding to the sliding operation;
[0141] In response to the sliding type being an upward slide, determining that the target identifier is a first sub-color; or,
[0142] In response to the sliding type being downward sliding, determining that the target identifier is a second sub-color; or,
[0143] In response to the sliding type being bidirectional sliding, the target identifier is determined to be a third sub-color.
[0144] In some embodiments, the target identification determination module 302 is specifically configured to:
[0145] Determine the position information of the view module in the initial page, and use the position information as the target adding position corresponding to the target identifier;
[0146] The target identifier is added with a corresponding color to the target adding position.
[0147] In some embodiments, the target identification determination module 302 specifically includes:
[0148] a position determination unit, configured to determine position information of the view module in the initial page, and determine an initial size corresponding to the view module according to the position information;
[0149] a target size determination unit, configured to perform a proportional enlargement process on the initial size according to a preset ratio to obtain a target size;
[0150] The target adding area determining unit is configured to determine the target adding area according to the target size, and add the color corresponding to the target identification to the target adding area.
[0151] In some embodiments, the target adding area determining unit is specifically configured to:
[0152] Using the area corresponding to the target size as the target adding area;
[0153] Add the color corresponding to the target identification to the target adding area.
[0154] In some embodiments, the target adding area determining unit is specifically configured to:
[0155] Using the area corresponding to the target size as the first area, and using the area corresponding to the initial size as the second area;
[0156] Determine a remaining area in the first area except the second area, and use the remaining area as a target added area;
[0157] Add the color corresponding to the target identification to the target adding area.
[0158] In some embodiments, the target adding area determining unit is specifically configured to:
[0159] Determine an initial frame generated by the frame line corresponding to the target size;
[0160] Processing the border lines in the initial border according to a preset border line width to obtain a target border;
[0161] The target border is used as a target adding area, and a color corresponding to the target logo is added to the target adding area.
[0162] In some embodiments, the target identifier is an icon identifier, and the target identifier determination module 302 is specifically configured to:
[0163] In response to the attribute information being a click operation, determining that the target identifier is a click icon; or,
[0164] In response to the attribute information being a long press operation, determining that the target identifier is a long press icon; or,
[0165] In response to the attribute information being a sliding operation, determining that the target identifier is a sliding icon.
[0166] For the convenience of description, the above device is described by dividing it into various modules according to its functions. Of course, when implementing the present disclosure, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0167] The device of the above embodiment is used to implement the corresponding page marking method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0168] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the page marking method described in any of the above embodiments is implemented.
[0169] Fig.11 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.
[0170] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0171] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.
[0172] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
[0173] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).
[0174] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).
[0175] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.
[0176] The electronic device of the above embodiment is used to implement the corresponding page marking method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0177] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present disclosure also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the page marking method described in any of the above embodiments.
[0178] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0179] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the page marking method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0180] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides a vehicle, including the page marking device in the above-mentioned embodiment, the electronic device in the above-mentioned embodiment, and the computer-readable storage medium in the above-mentioned embodiment, and the vehicle equipment implements the page marking method described in any of the above embodiments.
[0181] The vehicle of the above-mentioned embodiment is used to implement the page marking method described in any of the above-mentioned embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0182] It is understandable that before using the technical solutions of each embodiment of the present disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved will be informed to the user in an appropriate manner, and the user's authorization will be obtained.
[0183] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly remind the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can independently choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0184] As an optional but non-limiting implementation, in response to receiving the user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0185] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0186] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present disclosure (including the claims) is limited to these examples. Based on the concept of the present disclosure, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present disclosure as described above, which are not provided in detail for the sake of simplicity.
[0187] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present disclosure difficult to understand, the known power / ground connections to the integrated circuit (IC) chips and other components may or may not be shown in the provided figures. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present disclosure difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present disclosure will be implemented (that is, these details should be fully within the scope of understanding of those skilled in the art). Where specific details (e.g., circuits) are set forth to describe exemplary embodiments of the present disclosure, it is apparent to those skilled in the art that the embodiments of the present disclosure can be implemented without these specific details or with changes in these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.
[0188] Although the present disclosure has been described in conjunction with specific embodiments of the present disclosure, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
[0189] The embodiments of the present disclosure are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present disclosure should be included in the scope of protection of the present disclosure.
Claims
1. A page marking method, characterized in that: include: Receiving a page marking instruction, determining attribute information corresponding to each view module contained in an initial page, wherein the attribute information indicates an operation mode of the view module for use by a user, wherein the initial page is all pages displayed after receiving the page marking instruction; For each view module, determine the target identifier corresponding to the view module according to the attribute information, and add the target identifier to the page position corresponding to the view module; Displays the page after the markup corresponding to the currently displayed page.
2. The method according to claim 1, characterized in that The target identifier is a color identifier. The determining, according to the attribute information, a target identifier corresponding to the view module includes: In response to the attribute information being a click operation, determining that the target identifier is a first color; or, In response to the attribute information being a long press operation, determining that the target identifier is a second color; or, In response to the attribute information being a sliding operation, determining that the target identifier is a third color.
3. The method according to claim 2, characterized in that In response to the attribute information being a sliding operation, determining that the target identifier is a third color includes: Determine a sliding type corresponding to the sliding operation; In response to the sliding type being an upward slide, determining that the target identifier is a first sub-color; or, In response to the sliding type being downward sliding, determining that the target identifier is a second sub-color; or, In response to the sliding type being bidirectional sliding, the target identifier is determined to be a third sub-color.
4. The method according to claim 1, characterized in that: The step of adding the target identifier to a page position corresponding to the view module includes: Determine the position information of the view module in the initial page, and use the position information as the target adding position corresponding to the target identifier; The target identifier is added with a corresponding color to the target adding position.
5. The method according to claim 1, characterized in that The step of adding the target identifier to a page position corresponding to the view module includes: Determine the position information of the view module in the initial page, and determine the initial size corresponding to the view module according to the position information; The initial size is enlarged in proportion according to a preset ratio to obtain a target size; A target adding area is determined according to the target size, and a color corresponding to the target identifier is added to the target adding area.
6. The method according to claim 5, characterized in that The step of determining a target adding area according to the target size and adding a color corresponding to the target identifier to the target adding area includes: Using the area corresponding to the target size as the target adding area; Add the color corresponding to the target identification to the target adding area.
7. The method according to claim 5, characterized in that The step of determining a target adding area according to the target size and adding a color corresponding to the target identifier to the target adding area includes: Using the area corresponding to the target size as the first area, and using the area corresponding to the initial size as the second area; Determine a remaining area in the first area except the second area, and use the remaining area as a target added area; Add the color corresponding to the target identification to the target adding area.
8. The method according to claim 5, characterized in that The step of determining a target adding area according to the target size and adding a color corresponding to the target identifier to the target adding area includes: Determine an initial frame generated by the frame line corresponding to the target size; Processing the border lines in the initial border according to a preset border line width to obtain a target border; The target border is used as a target adding area, and a color corresponding to the target logo is added to the target adding area.
9. The method according to claim 1, characterized in that: The target identifier is an icon identifier. The determining, according to the attribute information, a target identifier corresponding to the view module includes: In response to the attribute information being a click operation, determining that the target identifier is a click icon; or, In response to the attribute information being a long press operation, determining that the target identifier is a long press icon; or, In response to the attribute information being a sliding operation, determining that the target identifier is a sliding icon.
10. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory so that the vehicle executes the method according to any one of claims 1 to 9.