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

A method and device for judging the size of a version number

A version number and corresponding location technology, applied in the field of data processing, can solve the problem that the complex version number cannot be accurately judged.

Inactive Publication Date: 2018-06-19
TVM BEIJING EDUCATION SCI & TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] The invention provides a method and device for judging the size of the version number, which is used to solve the problem that the existing method cannot accurately judge the complex version number, and can realize accurate judgment of the size of the version number

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
  • A method and device for judging the size of a version number
  • A method and device for judging the size of a version number
  • A method and device for judging the size of a version number

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0088] In the first embodiment, the first version number and the second version number are respectively converted into character strings, and the size of the segment data is judged according to the size of the character strings, see Figure 5As shown, the method for judging the version number provided by Embodiment 1 specifically includes steps S401-S40:

[0089] Step S401: Obtain first version number information and second version number information.

[0090] In Embodiment 1, take the first version number as 4.2.11 and the second version number as 4.3.10.14 as an example.

[0091] Step S402: Convert the first version number and the second version number into character strings.

[0092] Step S403: According to the segmentation identification of the first version number and the segmentation identification of the second version number, respectively perform segmentation processing on the first version number and the second version number, and obtain each piece of data of the fir...

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 present invention provides a method and device for judging the size of a version number, wherein the method includes: acquiring the first version number information and the second version number information; determining the length identification information; determining the first segment of data and the second segment of data; determining Size identification information; when the length identification information is the first length identification and the size identification information is the second size identification, or when the length identification information is the second length identification and the size identification information is the first size When flag, determine that the second version number is greater than the first version number. The method for judging the size of the version number takes into account the parameter of the length of the version number, which can be applied to naming simple or complex version numbers, and can accurately determine the size of the complex version number.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a method and device for judging the size of a version number. Background technique [0002] The version number (version number) is the identification number of the version. Every operating system (or, broadly speaking, every piece of software) has a version number. The version number enables users to know whether the operating system in use is the latest version and the functions and facilities it provides. Each version number can be mainly divided into two parts: the major version number and the minor version number. For example: DOS4.0, the major version number is 4, and the minor version number is 0. In general, the complete version number definition is divided into three items: <major version number>.<minor version number>.<revision version number>, such as 1.0.0. [0003] Version number upgrade principle: Major version number: There are major ch...

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 Patents(China)
IPC IPC(8): G06F17/30
Inventor 景云山
Owner TVM BEIJING EDUCATION SCI & TECH CO LTD