IP Library Granted Patent US 11,934,697
Granted Patent B2
US 11,934,697 · App. 17/426,710 · Granted Mar 19, 2024

Information processing apparatus, method, and program

Inventors: Keiichiro Kashiwagi (Musashino, JP); Hisaharu Ishii (Musashino, JP); Yui Saito (Musashino, JP)
Assignee: NIPPON TELEGRAPH AND TELEPHONE CORPORATION
G06F3/0659G06F3/0604G06F3/0673G06F12/10
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,934,697
App. No.
17/426,710
Granted
Mar 19, 2024
Kind
B2
Abstract

An information processing apparatus according to an embodiment includes: a creation processing unit which creates information indicating a message structure based on which a length of a memory area to be secured in a stack area of a virtual address space assigned for a serialization process is determined during compilation; a serialization processing unit which performs a serialization process to serialize data from a device and write the serialized data into a data storage device using the information created by the creation processing unit; and a deserialization processing unit which reads the serialized data written into the data storage device and deserializes the read data using the information created by the creation processing unit.

Claims (21)

1. An information processing apparatus comprising:

a creation processing unit which creates information indicating a message structure based on which a length of a memory area to be secured in a stack area of a virtual address space assigned for a serialization process is determined during compilation;

a serialization processing unit which performs the serialization process to serialize data from a device and write the serialized data into a data storage device using the information created by the creation processing unit; and

a deserialization processing unit which reads the serialized data written into the data storage device and deserializes the read data using the information created by the creation processing unit.

2. The information processing apparatus according to claim 1 , wherein the serialization processing unit is configured to:

allocate a continuous memory area to the stack area during compilation of the information created by the creation processing unit; and

substitute the serialized data to be a write target for a variable of the allocated memory area, and write the substituted data into a memory area of a kernel space in the virtual address space.

3. The information processing apparatus according to claim 1 , wherein

the information created by the creation processing unit includes a pointer to data to be a read target, and

the deserialization processing unit is configured to:

associate a memory area of a physical address space in which the data to be the read target is written with a memory area of a kernel space in the virtual address space;

associate the memory area of the kernel space with a memory area of a user space of the virtual address space;

refer to the memory area of the user space;

read data written in the memory area of the physical address space into the associated memory area of the kernel space; and

deserialize the data to be the read target by reinterpreting an address of the memory area of the kernel space and an address of the memory area of the user space by dynamic casting of a pointer included in information created by the creation processing unit.

4. The information processing apparatus according to claim 1 , wherein the information created by the creation processing unit includes information relating to actual data and a plurality of items of metadata in a predetermined order.

5. An information processing method performed by an information processing apparatus comprising a data storage apparatus, comprising:

creating information indicating a message structure based on which a length of a memory area to be secured in a stack area of a virtual address space assigned for a serialization process is determined during compilation;

serializing data from a device and writing the serialized data into the data storage device using the created information; and

reading the serialized data written into the data storage device and deserializing the read data using the created information.

6. A non transitory computer readable storage medium storing an information processing program for causing a processor to function as each component of the information processing apparatus according to claim 1 .

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 29, 2021
From: KASHIWAGI, KEIICHIRO; ISHII, HISAHARU; SAITO, YUI
To: NIPPON TELEGRAPH AND TELEPHONE CORPORATION
Reel/Frame 057016/0455 →
Priority Claims (1)
JP 2019-014248 · Jan 30, 2019 · national
Continuity (1)
Related Publication 20220100426A1 · Mar 31, 2022