Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Method and device for comparing character strings

A string and identity technology, applied in the field of computer data processing, can solve problems such as large amount of data, decreased player experience, low client processing capability, etc., to achieve the effect of improving comparison speed, performance and computing speed

Inactive Publication Date: 2017-03-01
BEIJING PIXEL SOFTWARE TECH
View PDF5 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Using this direct comparison method to compare the strings of video game programs, whether it is based on the C++ programming language or the C programming language, essentially it is necessary to compare each character of the string one by one. This comparison method is relatively inefficient. Especially when the data volume of the electronic game program is large and the processing capability of the client is low, the performance and computing speed of the electronic game program are seriously affected, and the player's experience is reduced.

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 comparing character strings
  • Method and device for comparing character strings
  • Method and device for comparing character strings

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples.

[0036] In order to increase the comparison speed of the character strings of the electronic game program, thereby improving the performance and operation speed of the electronic game program, especially in the case of a large amount of data in the electronic game program and low processing capacity of the client, so that the electronic game program does not experience delay , to improve the player's experience. In the embodiment of the present invention, the pointers corresponding to the character strings in the electronic game program to be processed are assigned in advance, and when a character string comparison instruction in the electronic game program is subsequently received, it is only necessary to directly compare whether the pointers correspondi...

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 discloses a method and device for comparing character strings. According to the method, the character strings in a to-be-processed electronic game program correspond to pointers; and when a character string comparison instruction in the electronic game program is subsequently received, whether the pointers corresponding to the character strings are the same or not is directly compared. Furthermore, when the character strings in the to-be-processed electronic game program correspond to the pointers, comparison of the character strings is carried out and a sole pointer is set for the same character strings, so that comparison of the character strings in the electronic game program can be more conveniently and quickly completed, the comparison speed is improved and the performance and the operation speed of the electronic game program are improved.

Description

technical field [0001] The invention relates to computer data processing technology, in particular to a method and device for character string comparison. Background technique [0002] Video games are developing in the direction of large-scale three-dimensional video games. Therefore, in existing electronic game programs, a huge number of string comparison operations, such as operations for comparing character strings such as resource names, will be encountered. In video game programs, strings are mainly used for programming, concept descriptions, and function explanations. They are generally a string of characters composed of numbers, letters, and / or underscores, and are the data types that represent text in programming languages. [0003] At present, when comparing the character strings of video game programs, the direct comparison method is generally adopted, that is, the == algorithm in the std::string command of the C++ programming language is used, or the strmp functi...

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/90344
Inventor 吕天胜
Owner BEIJING PIXEL SOFTWARE TECH
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
Eureka Blog
Learn More
PatSnap group products