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

Processing method for self discribing data object

A technology of data objects and processing methods, which is applied in the direction of digital data processing, input/output process of data processing, program control design, etc., can solve the problem that the operating system cannot adapt to the requirements of WEB services and lacks character string length description information. and other problems to achieve the effect of quickly responding to application requests, reducing ambiguity and improving efficiency

Inactive Publication Date: 2008-10-01
KORTIDE LTD
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the desktop operating system (for example: WINDOWS 98) developed by Microsoft Corporation in the United States, its character string data type mainly adopts the pointer type of character pointer (char*) or word pointer (wchar_t*); although the character pointer (char* ) or word pointer (wchar_t*) are self-describing data types to some extent, but for component technology, these information are still flawed; for example: it lacks the length description information of string
[0050] However, with the rapid development of network technology today, new concepts and technologies such as "client / middleware / server" three-tier or even multi-layer architecture, middleware technology, and grid (Grid) network computing emerge in an endless stream. The traditional operating system can no longer Well adapted to the requirements of WEB services

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
  • Processing method for self discribing data object
  • Processing method for self discribing data object
  • Processing method for self discribing data object

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0085] see figure 1 , the string data type is a data structure designed to support component-based programming, and is generally used to store user constant strings. It has a fixed-length storage area that can store user strings. It also saves the length of the string, in this sense, the string data type is a self-describing data structure; figure 1 It is a schematic diagram of the storage structure of the string data type.

[0086] The string data type is defined as a class in the C++ language. It can be seen from the figure that the string data consists of three parts: the first part _ezStrBuf_t stores the length of the second part EzStr in the string data, and the first part occupies four characters. section, the second part stores a Unicode character string, and the third part stores a two-byte ' / 0' character to indicate the end. This structure is the same as the memory structure of the BSTR data type of the American Microsoft Component Object Model (The Component Objec...

Embodiment 2

[0096] The byte cache data type is a data structure designed to support component programming, and it provides a buffer for storing bytes. see figure 2 , which is a schematic diagram of the storage structure of the byte cache data type:

[0097] The byte buffer data type is defined as a class in the C++ language, which has a member variable byte**m_ppbuf, that is, m_ppbuf on the diagram. The byte buffer data type is defined as a byte* type pointer in C language, which points to figure 2Where the pointer _ezByteBuf_t points to.

[0098] Since the byte buffer data type points to the place pointed to by the pointer _ezByteBuf_t in C language, see figure 2 , which is compatible with COM's BSTR storage structure. intercept figure 2 the middle part as image 3 shown; from figure 2 It can be seen that the first four bytes are the first part _ezByteBuf_t, the last two bytes are the third part, and the middle one is the second part capacity. The value stored in the first p...

Embodiment 3

[0103] The character cache data type is a combination of the data types in the above two embodiments. Compared with the byte cache data, the most important area is that the character cache data stores a string data object, while the byte cache data type can store any data. Its storage structure see Figure 4 .

[0104] further reference Figure 1-Figure 3 , and see Figure 4 , the character cache data type is a character string data structure stored in the byte cache data, which will not be repeated here.

[0105] Like the above two data types, character buffer data can be defined on the stack or on the heap.

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 self description data object processing method includes distributing memory space to data object example and assigning values to data object example during using data object; and releasing the memory space the data object occupies during canceling the use of the data object example. The present invention makes it possible for the user to access corresponding internal structural member by means of the method the data type provides without needing to understand the internal structure of the data type. The present invention provides the memory structure of data type in the prerequisite of being compatible with COM technology. The present invention is suitable for three-layered 'client / intermediate / server' or even multilayer system structure, intermediate technology and Grid network computing. The present invention has the advantages of capacity of obtaining ideal data information via limited parameter transmission, effectively lowered load of service member, etc.

Description

technical field [0001] The present invention relates to a method for processing self-describing data objects, in particular to a kind of user who does not need to understand the internal structure of the data type, but can conveniently access the corresponding internal structure members only through the provision method provided by the data type Data processing method, data computer information processing technology field. Background technique [0002] The main purpose of using computers is that computers can quickly process a large amount of data and information in daily work, scientific research, and study. The main job of software programmers is to use programming language, such as C / C++ language, to compile corresponding software to organize and process the above-mentioned data and information according to the corresponding processing methods and steps, so that the computer is more effective under limited conditions. serve mankind. [0003] As we all know, any programm...

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/45G06F3/00G06F9/46
CPCG06F9/548
Inventor 陈榕梁宇洲叶忠强王维汉
Owner KORTIDE 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