Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data processing method, device and equipment and storage medium

A data processing and digital technology, applied in the computer field, can solve problems such as visual fatigue, affecting code readability, and reducing code inspection speed

Pending Publication Date: 2021-03-12
BEIJING DIDI INFINITY TECH & DEV
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the inspection process, in addition to checking whether the code logic is correct, the overall layout of the code is also a very important inspection point, because it greatly affects the readability of the code, requiring the programmer to check the length of the code line by line, but This detection method is easy to cause visual fatigue, which reduces the inspection speed of the code

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
  • Data processing method, device and equipment and storage medium
  • Data processing method, device and equipment and storage medium
  • Data processing method, device and equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0089] figure 1 A schematic flow chart of a data processing method provided in Embodiment 1 of the present application, such as figure 1 As shown, the method includes the following steps:

[0090] Step 101, in response to the operation instruction for generating music, according to the length of each line of code in the specified code segment, assign corresponding digital notes to the line of code to obtain the corresponding digital note string of the specified code segment, the digital note string The order of each digital note included in is the same as the order of the code lines corresponding to each number note in the specified code segment.

[0091] Step 102, using the digital note string as an input parameter, inputting it into the time sequence estimation model after training, and obtaining a digital note string carrying a staccato mark, using the digital note string carrying a staccato mark as the specified Music notation for code snippets.

[0092] Step 103, outpu...

Embodiment 2

[0139] Figure 7 A schematic flow chart of a data processing method provided in Embodiment 2 of the present application, such as Figure 7 As shown, the method includes the following steps:

[0140] Step 701, in response to the start operation for executing the target function in the application program, according to the length of each line of code in the function code segment corresponding to the target function, assign a corresponding digital note to the line of code to obtain the function code segment For the corresponding digital musical note string, the sequence of the digital musical notes included in the digital musical note string is the same as the sequential sequence of the code lines corresponding to the digital musical notes in the functional code segment.

[0141] Step 702, using the digital note string as an input parameter, inputting it into the time sequence estimation model after training, and obtaining a digital note string with a staccato mark, using the di...

Embodiment 3

[0145] Figure 8 A schematic structural diagram of a data processing device provided in Embodiment 3 of the present application, such as Figure 8 As shown, the device includes:

[0146] Response unit 81 is used to respond to the operation instruction for generating music, according to the length of each line of code in the specified code segment, assign corresponding digital notes to the line of code to obtain the corresponding digital note string of the specified code segment, said The sequence of each digital note included in the string of digital notes is the same as the sequence of the code line corresponding to each digital note in the specified code segment;

[0147] The input unit 82 is used to use the digital note string as an input parameter, input it into the time sequence estimation model after training, and obtain the digital note string carrying the staccato mark, so as to use the digital note string carrying the staccato mark as Music numbered notation of the ...

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 data processing method and device, equipment and a storage medium, and the method comprises the steps of responding to an operation instruction for generating music, distributing a corresponding digital note for each line code in a specified code segment according to the length of the line code, so as to obtain a digital note string corresponding to the specified code segment, wherein the sequence of the digital notes included in the digital note string is the same as the sequence of the code lines corresponding to the digital notes in the specified code segment; taking the digital note string as an input parameter, inputting the digital note string into a trained time sequence estimation model to obtain a digital note string carrying a sound interruption mark, andtaking the digital note string carrying the sound interruption mark as a music numbered musical notation of a specified code segment; according to the music numbered musical notation, outputting themusic is output. Through the method, the user can perform auxiliary inspection on the specified code segment in a listening mode, so that visual fatigue of the user is not easily caused, and the codedetection speed is improved.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular, to a data processing method, device, device and storage medium. Background technique [0002] After the programmer writes the code, he needs to check the code to ensure that the code is correct. In the inspection process, in addition to checking whether the code logic is correct, the overall layout of the code is also a very important inspection point, because it greatly affects the readability of the code, requiring the programmer to check the length of the code line by line, but This detection method is easy to cause visual fatigue, thereby reducing the inspection speed of the code. Contents of the invention [0003] In view of this, the purpose of the present application is to provide a data processing method, device, device and storage medium to assist users in detecting codes through music, thereby increasing the code inspection speed. [0004] In the first...

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): G06F11/36
CPCG06F11/3684G06F11/3688
Inventor 于留宝
Owner BEIJING DIDI INFINITY TECH & DEV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products