Unlock instant, AI-driven research and patent intelligence for your innovation.

Website conversion method and device

A URL conversion and URL technology, applied in the Internet field, can solve the problems of variable length, orderly short URLs, and insecurity, and achieve the effects of saving resource storage space, realizing resource reuse, and reducing security risks.

Active Publication Date: 2019-10-22
无线生活(杭州)信息科技有限公司
View PDF9 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, when using the existing method to obtain a short URL, the length of the short URL is not fixed, and the length of the short URL will become longer as the number sequence added to the long URL increases, and the length is not fixed, and the obtained short URL Orderly, there is a risk of insecurity; and, the possibility of duplication among different short URLs obtained is also high

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
  • Website conversion method and device
  • Website conversion method and device
  • Website conversion method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

[0026] figure 1 is a flow chart of a URL conversion method shown according to an exemplary embodiment, such as figure 1 As shown, the URL conversion method includes the following steps 101-105:

[0027] In step 101, a hash operation is performed on the long URL to obtain an H-bit hash value, where H is an integer greater than or equal to 32.

[0028] Here, the long URL is a long URL of string...

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 relates to a website conversion method and device. The website conversion method comprises the steps: conducting hash operation on a long website, and obtaining an H-bit hash value, wherein H is larger than or equal to 32; selecting M-bit codes from the hash values every time according to a preset sequence, and taking N times, wherein compared with the M-bit codes selected for the nth time, at least one bit code in the M-bit codes selected for the (n + 1)th time is not included in the M-bit codes selected for the previous n times, and n is greater than or equal to 1, and M is greater than or equal to 6, and N is greater than or equal to 8; converting the M-bit code selected each time into a corresponding numerical value in a numerical value range of 0-2M; obtaining a character corresponding to the corresponding numerical value from a preset character group; and outputting a character string consisting of the obtained N characters as a short website after the long websiteis converted. According to the technical scheme, the length of the short website can be fixed and disordered, and the safety risk is reduced; at least 648 (2810 billion) types of combined short websites can be obtained, so that the collision rate among the short websites is greatly reduced; and resource reuse can also be realized, and the resource storage space is saved.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a website conversion method and device. Background technique [0002] A short URL refers to a URL that is relatively short in form. It is usually calculated based on the original lengthy long URL and used to replace the original long URL, so as to facilitate users to share URLs. [0003] However, when using the existing method to obtain a short URL, the length of the short URL is not fixed, and the length of the short URL will become longer as the number sequence added to the long URL increases, and the length is not fixed, and the obtained short URL Orderly, there is a risk of insecurity; and, the possibility of duplication among different short URLs obtained is also high. Contents of the invention [0004] Embodiments of the present invention provide a website conversion method and device. Described technical scheme is as follows: [0005] According to the first aspec...

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): H04L29/12
CPCH04L61/25H04L2101/672
Inventor 刘国维
Owner 无线生活(杭州)信息科技有限公司