Method for setting labels, server and label setting system

A server and label technology, applied in the Internet field, can solve the problems of complex process and large amount of engineering, and achieve the effect of reducing workload, strong adaptability, and rapid adjustment

Active Publication Date: 2018-08-03
SHANGHAI BILIBILI TECH CO LTD
View PDF9 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, for different display interface sizes on the client side, and secondly, whenever the number of labels in the navigation bar changes, the spacing needs to be re-adapted at any time to display labels uniformly and beautifully in the navigation bar, resulting in an adjustment of the number of labels. The process is complicated and the engineering volume is large

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for setting labels, server and label setting system
  • Method for setting labels, server and label setting system
  • Method for setting labels, server and label setting system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] When the navigation bar in the webpage, that is, no operation buttons are set on both sides of the label display area, the width of the display interface of the client is equal to the width of the label display area; when the webpage has m1 labels preset to be placed in the above label display area , it can be achieved through the following steps:

[0040] By obtaining the coordinates of the two endpoints in the horizontal direction of the display interface, the width a1 of the display interface, that is, the label display area, can be calculated;

[0041] Subtract the hidden value k1 of the last label from the threshold n1 of the label display quantity to obtain the label display quantity n1-k1;

[0042] Divide the above width a1 by the label display number n1-k1 to obtain the display width a1 / (n1-k1) of each label;

[0043] Set the display width of the label to a1 / (n1-k1), based on the central axis of the display interface. When m1 figure 2 , centering on the central...

Embodiment 2

[0045] When there is an operation button in the navigation bar of the web page, that is, on one side of the label display area, the label display area should be located on the side of the operation button, and the width of the label display area is equal to the width of the display interface minus the operation button away from the label The horizontal distance c1 from one side of the display area to the display interface, and the width c2 of the operation button, when the web page has m2 labels preset to be placed in the above label display area, it can be realized by the following steps:

[0046] Obtain the coordinate values ​​of the two endpoints of the client display interface in the horizontal direction, and then calculate and obtain the width a2 of the label display interface based on the coordinate values;

[0047] Obtain the horizontal distance c1 between the operation button in the label display area and the display interface on the side away from the label display are...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method for setting labels, a server and a label setting system. In the method, a label display number threshold value and a last label hiding value are set, the display widthof one label is obtained according to the width of a label display region, then labels to be displayed are evenly arrayed in the label display region, and it is guaranteed that the last label can be exposed partially when the number of the labels is larger than the label display threshold value. In this way, a user is reminded of follow-up labels and can move to a next web page for display.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a label setting method, a server and a label setting system. Background technique [0002] In the existing web page settings, it is often used to set a navigation bar in the display interface, link multiple pages in the form of labels in the navigation bar, and use functional naming or overview naming to name the labels, so as to provide users with corresponding navigation tips. [0003] However, in the prior art, a fixed spacing method is often used to display multiple labels in the navigation bar. However, for different display interface sizes on the client side, and secondly, whenever the number of labels in the navigation bar changes, the spacing needs to be re-adapted at any time to display labels evenly and beautifully in the navigation bar, resulting in an adjustment of the number of labels. The process is complex and the amount of work is large. Contents of the i...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/954G06F16/9562
Inventor 金萌
Owner SHANGHAI BILIBILI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products