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

Method and device for judging magnitude of version number

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

Inactive Publication Date: 2015-08-05
TVM BEIJING EDUCATION SCI & TECH CO LTD
View PDF6 Cites 9 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
  • Method and device for judging magnitude of version number
  • Method and device for judging magnitude of version number
  • Method and device for judging magnitude of 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 invention provides a method and a device for judging the magnitude of a version number. The method comprises the steps of acquiring first version number information and second version number information; determining length identification information; determining first section data and second section data; determining magnitude identification information; and determining that the second version number is greater than the first version number when the length identification information is a first length identifier and the magnitude identification information is a second magnitude sign, or the length identification information is a second length identifier and the magnitude identification information is a first magnitude sign. The method for judging the magnitude of the version number takes the parameter of version number length into account, is applicable to simple or complex version number naming, and can judge the magnitude of a complex version number accurately.

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