Data processing method and device

A data processing and data technology, applied in the field of data processing, can solve problems such as low data processing performance, and achieve the effect of solving low data processing performance and improving data processing performance

Active Publication Date: 2017-10-10
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a data processing method and device to at least solve the technical problem of low data processing performance in the related art

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] According to an embodiment of the present invention, an embodiment of a data processing method is provided.

[0031] Optionally, in this embodiment, the above-mentioned data processing method can be applied to figure 2 In the hardware environment shown by the server 202 and the terminal 204. figure 2 It is a schematic diagram of the hardware environment of the data processing method according to an embodiment of the present invention. Such as figure 2 As shown, the server 202 is connected to the terminal 204 through a network. The above-mentioned network includes but is not limited to: a wide area network, a metropolitan area network, or a local area network. The terminal 204 is not limited to a PC, a mobile phone, a tablet computer, and the like. The data processing method in the embodiment of the present invention may be executed by the server 202, may also be executed by the terminal 204, or may be executed jointly by the server 202 and the terminal 204. Wherein, the...

Embodiment 2

[0096] The technical solutions of the present invention will be described below in conjunction with preferred embodiments.

[0097] The transfer model used in the embodiment of the present invention is based on a singleton model, and a new object is generated after adding different condition parameters, so as to reduce excessive generation of objects. Without modifying the original singleton, the new object can retain the built-in selector during the next reuse. When adding a condition parameter, a non-singleton condition object will be generated, and this condition object will be used iteratively in itself.

[0098] Figure 7 It is a schematic diagram of a data object creation according to an embodiment of the present invention. Such as Figure 7 As shown, the selector class, that is, the selector object, can be reused multiple times, the code logic is more in line with natural logic, and the code is more readable. The Model object of this embodiment is a singleton model. You ca...

Embodiment 3

[0124] According to an embodiment of the present invention, a data processing device for implementing the above data processing method is also provided. Picture 10 It is a schematic diagram of data processing according to an embodiment of the present invention. Such as Picture 10 As shown, the device may include: a determining unit 10, a first creating unit 20, and a processing unit 30.

[0125] The determining unit 10 is configured to determine the first object under the singleton model in the object database, where the first object under the singleton model is globally unique, and the first object is a singleton entity of the singleton model and is located in the object database The first data structure layer.

[0126] The first creating unit 20 is configured to create a second object corresponding to the preset parameter when adding the preset parameter to the first object, where the second object is located in the second data structure layer of the object database.

[0127] Th...

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 data processing method and device. The method comprises the steps that in an object database, a first object in a single case model is determined, wherein the first object in the single case model is globally unique, the first object is a single case entity and located in a first data structural layer of the object database; when a preset parameter is added to the first object, a second object corresponding to the preset parameter is created, wherein the second object is located on a second data structural layer of the object database; the data of the second object is processed, and processed data is obtained. By means of the data processing method and device, the technical problem that in the prior art, the data processing performance is poor is solved.

Description

Technical field [0001] The present invention relates to the field of data processing, and in particular, to a data processing method and device. Background technique [0002] At present, there are many Object Relation Mapping (ORM) systems based on Hyper text Preprocessor (PHP) in the market, and there are various implementation methods. Among them, basically add different conditions and choices to an object, thereby changing the properties of the object itself. In addition, the existing data processing methods are based on the non-singleton model, and the original conditions cannot be eliminated after execution. They can only be superimposed on the original basic conditions. When all single objects are used or all new objects are used, data processing is caused. The performance is low. [0003] figure 1 It is a schematic diagram of a data processing method based on a non-singleton model in related technologies. Such as figure 1 As shown in Figure (a), add selector A, add select...

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/211G06F16/289
Inventor 葛雨辰
Owner TENCENT TECH (SHENZHEN) 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