A method for acquiring data and associated apparatus

A technology for obtaining data and data, which is applied in the directions of multi-program device, electronic digital data processing, inter-program communication, etc., and can solve problems such as low construction efficiency, long construction time, and difficult processing

Active Publication Date: 2019-02-15
WUHAN DOUYU NETWORK TECH CO LTD
View PDF3 Cites 1 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++ m

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
  • A method for acquiring data and associated apparatus
  • A method for acquiring data and associated apparatus
  • A method for acquiring data and associated apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The embodiment of the present invention provides a data acquisition method and a related device, which are used to ensure the integrity of parameters and improve the efficiency of C++ message acquisition.

[0027] 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.

[0028] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above drawings are used to distinguish similar objects, and not necessarily Used to describe a specific sequence or sequence. ...

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 method for acquiring data and an associated apparatus. The method comprises the follow steps of defining target data in a class PKBean of a data bean object, wherein the target data is of a private type; setting the functions of set function and the function of get function to the target data; using Map data structure in class PKBean,designing the maintenance variable Map (String, Object) allInfos of global data; storing the parameter information of the set function for setting global variable in allInfos according to Map data structure, and returning the content information of a global variable according to the get function; defining the calibration collection object listTarget in the class PKBean, wherein the listTarget is used to verify the data in the class PKBean; determining if allInfos is missing data information based on listTarget; if not, performing the conversion process through the to String () function which is used to convert the data information in allInfos to an object of type String; calling the pkbean, toString () function in the class PKBean to get a C + + message based on an object of type String.

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, compared to the traditional method of splicing parameters manually one by one, how to quickly and effectively construct a list of parameters to be ...

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): G06F9/54
CPCG06F9/546
Inventor 张磊
Owner WUHAN DOUYU NETWORK TECH CO LTD
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
Try Eureka
PatSnap group products