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

Data acquisition method and related device

A technology for obtaining data and data, applied in the direction of program code conversion, etc., can solve problems such as difficult processing, low construction efficiency, and long construction time

Active Publication Date: 2020-02-14
WUHAN DOUYU NETWORK TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method will make the entire splicing process complicated and difficult to handle, and the process of acquiring data and splicing data will also take a lot of time, resulting in very low efficiency in building C++ messages
Therefore, in practical applications, using this traditional method to construct the parameter list sent to the C++ barrage server also faces the problems of long construction time and low construction efficiency

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 acquisition method and related device
  • Data acquisition method and related device
  • Data acquisition method and related device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The embodiment of the present invention provides a data acquisition method and a rapid development framework, which are used to effectively improve the construction efficiency of C++ messages and reduce the difficulty of data acquisition and splicing, which greatly improves the efficiency of C++ message acquisition.

[0033] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.

[0034] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above drawings...

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 embodiment of the invention discloses a data acquisition method and related device, which are used for effectively improving the construction efficiency of a C + + message, reducing the acquisition difficulty and splicing difficulty of the data and greatly improving the acquisition efficiency of the C + + message. The method provided by the embodiment of the invention comprises the following steps: defining target data in a class PKBean of a data Bean object; defining a static class MyBuilder in the class PKBean, wherein the data defined in the class MyBuilder is the same as the target data defined in the class PKBean; setting a function of a set function and a function of a get function for the target data in the MyBuilder-like model; storing parameter information for setting a globalvariable in the set function in allInfos according to the Map data structure, and returning content information of the global variable according to the get function; defining a builder function in the class MyBuilder so as to obtain a parameter object of the class PKBean; performing a conversion process through a toString () function, wherein the toString () function is used for converting the PKBean-like parameter object in the allInfos into an object of a String type; and calling a pkbean.toString () function in the class PKBean so as to obtain a C + + message through conversion according to the object of the String type.

Description

technical field [0001] The invention relates to the field of development platforms, in particular to a method for acquiring data and related devices. Background technique [0002] In the traditional solution, the construction of C++ messages is achieved by manually writing codes by programmers and splicing the written codes one by one to realize the construction of data. Such an approach will make the entire splicing process complicated and difficult to handle, and the process of acquiring data and splicing data will also take a lot of time, resulting in very low efficiency in building C++ messages. Therefore, in practical applications, using this traditional method to construct the parameter list sent to the C++ barrage server also faces the problems of long construction time and low construction efficiency. [0003] Therefore, how to quickly and effectively construct a list of parameters to be sent to the C++ barrage server is an urgent problem to be solved, compared to t...

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): G06F8/40
CPCG06F8/40
Inventor 张磊
Owner WUHAN DOUYU NETWORK TECH CO LTD
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