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

Character string processing method and device, computer storage medium and electronic equipment

A processing method and string technology, applied in the computer field, can solve problems such as conversion errors, omissions, and complicated conversion methods, and achieve the effects of improving work efficiency, improving processing efficiency, and simplifying processing steps.

Pending Publication Date: 2020-10-16
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, special characters are usually escaped through regular expressions, and then special characters are converted into JSON objects. However, the conversion method is relatively cumbersome, and all special characters that need to be converted need to be matched.
However, because the number of special characters is unpredictable, omissions often occur, resulting in conversion errors

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
  • Character string processing method and device, computer storage medium and electronic equipment
  • Character string processing method and device, computer storage medium and electronic equipment
  • Character string processing method and device, computer storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Example embodiments will now be described more fully with reference to the accompanying drawings. However, the example embodiments can be implemented in various forms, and should not be construed as being limited to the examples set forth herein; on the contrary, the provision of these embodiments makes the present disclosure more comprehensive and complete, and fully conveys the concept of the example embodiments To those skilled in the art. The described features, structures or characteristics may be combined in one or more embodiments in any suitable way. In the following description, many specific details are provided to give a sufficient understanding of the embodiments of the present disclosure. However, those skilled in the art will realize that the technical solutions of the present disclosure can be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. can be used. In other cases, the known technical solution...

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 the technical field of computers. The invention provides a character string processing method, a character string processing device, a computer storage medium and electronic equipment. The character string processing method comprises the steps that a first processing unit obtains an original character string, the original character string is a character string comprising at least one key value pair, and the at least one key value pair comprises a first keyword and a first key value; when it is detected that the first key value contains the specific character, the firstprocessing unit adds a segmentation identifier to the starting position and / or the ending position of the first key value to obtain a target character string; and the first processing unit sends thetarget character string to a second processing unit, so that the second processing unit analyzes the target character string according to the segmentation identifier to at least obtain a first keywordand a first key value. According to the method, the technical problem of conversion errors when the character string is converted into the object can be solved, the processing steps are simplified, and the character string processing efficiency is improved.

Description

Technical field [0001] The present disclosure relates to the field of computer technology, and in particular to a string processing method, a string processing device, a computer storage medium and an electronic device. Background technique [0002] JSON (Javascript Object Notation, JS Object Notation) is a lightweight data exchange format. It is based on a subset of ECMAScript (the js specification developed by the European Computer Association), and uses a text format completely independent of the programming language to store and represent data. The concise and clear hierarchical structure makes JSON an ideal data exchange language. It is easy for people to read and write, but also easy for machine to parse and generate, and effectively improve the efficiency of network transmission. [0003] At present, special characters are generally escaped through regular expressions, and then special characters are converted into JSON objects. However, the conversion method is relatively...

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): G06F40/151
CPCG06F40/151
Inventor 黄富华
Owner NETEASE (HANGZHOU) NETWORK CO LTD