CN112732336A - Egl type variable quantum structure access method for JAVA platform - Google Patents

Egl type variable quantum structure access method for JAVA platform Download PDF

Info

Publication number
CN112732336A
CN112732336A CN202011639617.XA CN202011639617A CN112732336A CN 112732336 A CN112732336 A CN 112732336A CN 202011639617 A CN202011639617 A CN 202011639617A CN 112732336 A CN112732336 A CN 112732336A
Authority
CN
China
Prior art keywords
data
infrastructure
substructure
egl
type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011639617.XA
Other languages
Chinese (zh)
Other versions
CN112732336B (en
Inventor
李英灯
林德坤
祁有盛
戴明海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202011639617.XA priority Critical patent/CN112732336B/en
Publication of CN112732336A publication Critical patent/CN112732336A/en
Application granted granted Critical
Publication of CN112732336B publication Critical patent/CN112732336B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/76Adapting program code to run in a different environment; Porting

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides an access method of Egl type variable quantum structure for JAVA platform, comprising the following steps: acquiring Egl incoming data of the type-variable quantum structure; converting the incoming data into corresponding bytes according to the storage type and storing the bytes into a data storage array of a basic structure; wherein the infrastructure comprises: a data storage array for storing metadata and a corresponding list of substructure references, the list of substructure references comprising: pointers to each sub-structure and offset values and lengths of data corresponding thereto in the infrastructure, the sub-structures comprising: by adopting the technical scheme, Egl storage modes can be described, Egl data structures can be quickly and smoothly migrated to a Java platform, the migration difficulty is reduced, the maintainability is improved, the time overhead is saved, and the method and the system can be used in the financial field.

Description

Egl type variable quantum structure access method for JAVA platform
Technical Field
The invention relates to the technical field of JAVA platforms, in particular to an access method of an Egl type variable quantum structure for a JAVA platform.
Background
Currently, part of the core system of the bank is written in Egl language and runs on an IBM host, and the high use cost of the system causes the bank to need to migrate the system to a lower-cost Java platform. Because the storage structure of the Egl language relates to a variable substructure (for example, 8-bit characters of an account number, the 8 th bit is used as a check bit, and the check bit can be independently valued), there is no corresponding access structure on the Java platform, and migration of the Egl system to the Java system is limited.
Disclosure of Invention
The present invention provides an accessing method, an accessing apparatus, an electronic device, and a computer-readable storage medium for an Egl type variant quantum structure of a JAVA platform, which can at least partially solve the problems in the prior art.
In order to achieve the purpose, the invention adopts the following technical scheme:
in a first aspect, an access method for an Egl type variant quantum structure of a JAVA platform is provided, which includes:
acquiring Egl incoming data of the type-variable quantum structure;
converting the incoming data into corresponding bytes according to the storage type and storing the bytes into a data storage array of a basic structure;
wherein the infrastructure comprises: a data storage array for storing metadata and a corresponding list of substructure references, the list of substructure references comprising: pointers to each sub-structure and offset values and lengths of data corresponding thereto in the infrastructure, the sub-structures comprising: the pointer of the corresponding infrastructure and the offset value and length of the corresponding data in the infrastructure.
Further, still include:
taking out bytes in a data storage array of the basic structure according to a basic structure data reading instruction;
and converting the bytes into corresponding data according to the storage type and outputting the data.
Further, still include:
transmitting an offset value and a length corresponding to the substructure and a pointer of update data based on the corresponding infrastructure to the corresponding infrastructure according to a substructure data update instruction, wherein the update data is converted into corresponding bytes according to the storage type of the substructure;
and storing the updated data to the corresponding position in the data storage array of the basic structure according to the offset value and the length.
Further, still include:
transferring an offset value and a pointer of which the length is based on the corresponding basic structure corresponding to the substructure to the corresponding basic structure according to a substructure data reading instruction;
taking out bytes at corresponding positions in a data storage array of the basic structure according to the deviation value and the length;
and converting the bytes into corresponding data according to the storage type and outputting the data.
Further, still include:
an infrastructure and its corresponding substructures are created, and associations of each substructure with the infrastructure are established.
In a second aspect, there is provided an access device for an Egl type variant quantum structure of a JAVA platform, comprising:
the data acquisition module is used for acquiring Egl type variable quantum structure incoming data;
the data conversion storage module is used for converting the incoming data into corresponding bytes according to the storage type and storing the bytes into a data storage array of the basic structure;
wherein the infrastructure comprises: a data storage array for storing metadata and a corresponding list of substructure references, the list of substructure references comprising: pointers to each sub-structure and offset values and lengths of data corresponding thereto in the infrastructure, the sub-structures comprising: the pointer of the corresponding infrastructure and the offset value and length of the corresponding data in the infrastructure.
Further, still include:
and the structure creation association module is used for creating the basic structure and the corresponding substructure thereof and establishing the association between each substructure and the basic structure.
In a third aspect, there is provided an access structure for an Egl type variant quantum structure of a JAVA platform, comprising: an infrastructure and a corresponding plurality of substructures, the infrastructure comprising: a data storage array for storing metadata and a corresponding list of substructure references, the list of substructure references comprising: pointers to each sub-structure and offset values and lengths of data corresponding thereto in the infrastructure, the sub-structures comprising: the pointer of the corresponding infrastructure and the offset value and length of the corresponding data in the infrastructure.
In a fourth aspect, an electronic device is provided, which includes a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor executes the program to implement the steps of the above-mentioned method for accessing the Egl type variable quantum structure of the JAVA platform.
In a fifth aspect, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the above-described method for accessing an Egl-type variant quantum structure for a JAVA platform.
The invention provides an access method of an Egl type variable quantum structure for a JAVA platform, which comprises the following steps: acquiring Egl incoming data of the type-variable quantum structure; converting the incoming data into corresponding bytes according to the storage type and storing the bytes into a data storage array of a basic structure; wherein the infrastructure comprises: a data storage array for storing metadata and a corresponding list of substructure references, the list of substructure references comprising: pointers to each sub-structure and offset values and lengths of data corresponding thereto in the infrastructure, the sub-structures comprising: by adopting the technical scheme, Egl storage modes can be described, Egl data structures can be quickly and smoothly migrated to a Java platform, the migration difficulty is reduced, the maintainability is improved, the time overhead is saved, and the method and the system can be used in the financial field.
In order to make the aforementioned and other objects, features and advantages of the invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts. In the drawings:
FIG. 1 is a schematic diagram of data stored in an Egl type variable quantum structure in an embodiment of the invention;
FIG. 2 is a diagram illustrating an application architecture according to an embodiment of the present invention;
FIG. 3 illustrates an access structure of the Egl type variant quantum structure for a JAVA platform in an embodiment of the present invention;
FIG. 4 is a first flowchart illustrating an accessing method of the Egl type variable quantum structure for the JAVA platform according to an embodiment of the present invention;
FIG. 5 shows details of step S300 and step S400 in the embodiment of the present invention;
fig. 6 is a detailed content of step S500 and step S600 in the embodiment of the present invention;
fig. 7 is a detailed content of step S700, step S800 and step S900 in the embodiment of the present invention;
FIG. 8 illustrates the creation of an access structure for the Egl type variant quantum structure for a JAVA platform in an embodiment of the present invention;
FIG. 9 illustrates the process of association of a sub-structure with an infrastructure creation in an embodiment of the invention;
FIG. 10 illustrates the infrastructure access data flow in an embodiment of the invention;
FIG. 11 illustrates a sub-structure access data flow in an embodiment of the invention;
FIG. 12 is a block diagram of an access device for the Egl type variable quantum structure of the JAVA platform according to an embodiment of the present invention;
fig. 13 is a block diagram of an electronic device according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
It should be noted that the terms "comprises" and "comprising," and any variations thereof, in the description and claims of this application and the above-described drawings, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Because the storage structure of the Egl language relates to a variable substructure (for example, 8-bit characters of an account number, the 8 th bit is used as a check bit, and the check bit can be independently valued), there is no corresponding access structure on the Java platform, and migration of the Egl system to the Java system is limited.
The invention provides an access technology of a Egl type variable quantum structure for a Java platform aiming at Egl migration to the Java platform and relating to a scene of Egl storage substructures. For example, when Egl code is converted into Java code, the storage substructures involved in Egl can be directly converted into the storage structure of the present invention.
FIG. 1 is a schematic diagram of data stored in an Egl type variable quantum structure in an embodiment of the invention; as shown in fig. 1, S101 is an account number with a length of 10 bits and has a value of 98761234. S102 is the first 2 digits of a 10-bit long account number, meaning the area number, and having a value of 98. S103 is the 3 rd to 4 th digits of the account with the length of 10 bits, which means the website number, and the value of the website number is 76. S104 is the 5 th to 7 th digits of a 10-bit long account, which means a serial number, and has a value of 123. S105 is the 8 th digit of the account with a length of 10 bits, which means a check digit with a value of 4. S102, S103, S104 and S105 can be individually assigned or modified, and after the content is modified, the data at the corresponding position of S101 needs to be correspondingly modified. Of course, S101 itself may also be directly assigned or modified, and when S101 is assigned or modified, the corresponding data of S102, S103, S104, and S105 are also modified accordingly.
FIG. 2 is a diagram illustrating an application architecture according to an embodiment of the present invention; as shown in fig. 2, Egl type variant quantum structure data, that is, the data structure shown in fig. 1, is stored in IBM host B1, and when part of the core system of a bank is migrated from the Egl system on IBM host to the Java system, the data in IBM host B1 is transferred and stored on Java platform S1, and Java platform S1 implements the access method for the Egl type variant quantum structure of the Java platform provided in the embodiment of the present invention, using the storage structure provided in the embodiment of the present invention, so as to smoothly migrate Egl type data structure to the Java platform.
In addition, the Java platform S1 may interact with an external terminal S2, and the external terminal S2 may read data on the Java platform, or may create and update data on the Java platform.
FIG. 3 illustrates an access structure of the Egl type variant quantum structure for a JAVA platform in an embodiment of the present invention; as shown in fig. 3, the access structure of the Egl type variable quantum structure for JAVA platform includes: a base structure M1 and a corresponding plurality of sub-structures T1-TN, the base structure comprising: a data storage array for storing metadata and a corresponding list of substructure references, the list of substructure references comprising: pointers to each sub-structure and offset values and lengths of data corresponding thereto in the infrastructure, the sub-structures comprising: the pointer of the corresponding infrastructure and the offset value and length of the corresponding data in the infrastructure.
In conjunction with FIG. 1, the data storage array of the infrastructure is used to store S101, i.e., 98761234; each substructure points to data corresponding to S102, S103, S104, and S105, but the substructure itself does not store data, but only stores a pointer of the corresponding infrastructure and an offset value and a length of the corresponding data in the infrastructure, where the offset value represents a position of the data corresponding to the substructure in the infrastructure, and the length represents a byte length of the data corresponding to the substructure, for example, the substructure T1 points to S102, and the offset value corresponding to the substructure is 0, that is, the position of the first bit, and the length is 2; the sub-structure T2 points to S103, and its corresponding offset value is 2 and length is 2; the sub-structure T3 points to S104, and its corresponding offset value is 4 and length is 3; the sub-structure T4 points to S105, which corresponds to an offset value of 7 and a length of 1.
By adopting the storage structure on the Java platform, the data structure of Egl can be quickly and smoothly migrated to the Java platform, the data corresponding to each substructure can be individually assigned, modified or called, and after the content is modified, the data at the position corresponding to the substructure can be correspondingly modified. The basic structure can be directly assigned or modified or called, and when the basic structure is assigned or modified, the data corresponding to the sub-structure is correspondingly changed.
FIG. 4 is a first flowchart illustrating an accessing method of the Egl type variable quantum structure for the JAVA platform according to an embodiment of the present invention; as shown in fig. 4, the method for accessing the Egl type variant quantum structure for the JAVA platform performs data access based on the above memory structure, and the method may specifically include the following steps:
step S100: acquiring Egl incoming data of the type-variable quantum structure;
where the incoming data may be a data structure as shown in fig. 1.
Step S200: converting the incoming data into corresponding bytes according to the storage type and storing the bytes into a data storage array of a basic structure;
specifically, the corresponding bytes are converted according to the storage type (character, number, or other type) and stored in the data.
Wherein the infrastructure comprises: a data storage array for storing metadata and a corresponding list of substructure references, the list of substructure references comprising: pointers to each sub-structure and offset values and lengths of data corresponding thereto in the infrastructure, the sub-structures comprising: the pointer of the corresponding infrastructure and the offset value and length of the corresponding data in the infrastructure.
By adopting the technical scheme, Egl storage can be realized, the Egl data structure can be migrated to the Java platform quickly and smoothly, the migration difficulty is reduced, the maintainability is improved, and the time overhead is saved.
In an alternative embodiment, referring to fig. 5, when reading the infrastructure corresponding data, the method for accessing the Egl type variant quanta structure for the JAVA platform may further include:
step S300: taking out bytes in a data storage array of the basic structure according to a basic structure data reading instruction;
step S400: and converting the bytes into corresponding data according to the storage type and outputting the data.
Specifically, when the data in the infrastructure is directly called, the data in the data storage array of the infrastructure is removed according to the reading instruction, and the data reading is quickly realized.
In an alternative embodiment, referring to fig. 6, when modifying the data corresponding to the substructures, the accessing method of the Egl-type variant substructures for the JAVA platform may include:
step S500: transmitting an offset value and a length corresponding to the substructure and a pointer of update data based on the corresponding infrastructure to the corresponding infrastructure according to a substructure data update instruction, wherein the update data is converted into corresponding bytes according to the storage type of the substructure;
step S600: and storing the updated data to the corresponding position in the data storage array of the basic structure according to the offset value and the length.
By adopting the technical scheme, the modification and the updating of the data corresponding to the substructure can be realized, and the method is simple, convenient, quick, flexible and reliable.
In an alternative embodiment, referring to fig. 7, when the data corresponding to the call substructures is read, the access method for the Egl-type variant substructures of the JAVA platform may further include the following steps:
step S700: transferring an offset value and a pointer of which the length is based on the corresponding basic structure corresponding to the substructure to the corresponding basic structure according to a substructure data reading instruction;
step S800: taking out bytes at corresponding positions in a data storage array of the basic structure according to the deviation value and the length;
step S900: and converting the bytes into corresponding data according to the storage type and outputting the data.
By adopting the technical scheme, the calling and reading of the data corresponding to the substructure can be realized, and the method is simple, convenient, quick, flexible and reliable.
In an optional embodiment, the method for accessing the Egl type variant quantum structure for the JAVA platform may further include:
an infrastructure and its corresponding substructures are created, and associations of each substructure with the infrastructure are established.
In order to make the present application more understandable to those skilled in the art, the following describes the implementation of the present invention in detail with reference to fig. 8 to 11:
FIG. 8 illustrates the creation of an access structure for the Egl type variant quantum structure for a JAVA platform in an embodiment of the present invention; as shown in fig. 8, the creation process includes:
s201 creates and initializes a variable account, which contains an array of 10 bits in length.
S202, creating a variable zone and establishing association with account;
the process of establishing association is described in conjunction with fig. 9.
S203, creating a variable bryn and establishing association with the account;
s204, creating a variable seq and establishing association with account;
s205, creating a variable chk, and establishing association with account;
the creation process of S203 to S205 is similar to that of S202, but the creation order is different and has different offset values, and the association establishment process is described with reference to fig. 9.
FIG. 9 illustrates the process of association of a sub-structure with an infrastructure creation in an embodiment of the invention; as shown in fig. 9, the process of creating an association is as follows:
s301, storing a structure;
i.e. creating an infrastructure, S301 is the storage content of the infrastructure, including the data storage array and the list of sub-structure references.
S302, acquiring an infrastructure reference;
namely: when a sub-structure is created, the reference of the infrastructure, i.e. the pointer of the infrastructure corresponding to the sub-structure, is introduced and stored in the sub-structure.
In addition, the length of the sub-structure is preset at the time of sub-structure creation.
S303, referring to the query substructure offset value according to the infrastructure;
namely: and the substructures obtain offset values corresponding to the substructures in the reference list according to the reference of the infrastructure.
S304, calculating a current offset value according to the sub-structure reference list;
it is worth noting that the content in the list of references to substructures is not built at once, but rather is refined as the substructures are created step by step.
After the sub-structures corresponding to S301 and S303 are created, the infrastructure acquires the last sub-structure reference of the sub-structure reference list, acquires the offset value and the length of the sub-structure, adds the offset value and the length of the structure, and calculates the current offset value for creating the current sub-structure.
S305 stores the substructure offset values.
S306 stores the pre-substructure length.
Specifically, after the offset value and length of the corresponding sub-structure in the sub-structure reference list of the infrastructure are set, the corresponding sub-structure stores the offset value and length so that the offset value and length in the infrastructure and the corresponding sub-structure are consistent.
S307 the infrastructure stores the sub-structure references in chronological order.
The S308 sub-structure stores infrastructure references.
Repeating the above steps, the association between the infrastructure and the corresponding substructures can be realized.
FIG. 10 illustrates the infrastructure access data flow in an embodiment of the invention; as shown in fig. 10, the infrastructure access data flow may include the following:
when the data is stored, S401 converts the corresponding byte of the incoming data according to the storage type and stores the converted byte in the array.
When the data is fetched, S402 fetches the storage byte array, and converts the storage byte array into corresponding data according to the storage type.
Wherein the storage type includes characters, numbers or other types.
FIG. 11 illustrates a sub-structure access data flow in an embodiment of the invention; as shown in fig. 11, the sub-structure access data flow may include the following:
when storing data, S501 passes an offset value, a length, and data to the infrastructure. Wherein the data has been converted into corresponding bytes according to the storage type of the sub-structure. S502, according to the deviant and the length of the substructure, the position of the corresponding subscript in the data track byte array is set.
When data is read: s503 transfers the offset value and the length to the infrastructure. S504, the data of the subscript corresponding to the storage array is fetched according to the offset value and the length of the substructure. And S505, converting into corresponding data according to the storage type.
Based on the same inventive concept, the present application further provides an access device for an Egl type variant quantum structure of a JAVA platform, which can be used to implement the methods described in the foregoing embodiments, as described in the following embodiments. Since the principle of solving the problem of the access device of the Egl type Quantum variant architecture for the JAVA platform is similar to that of the above method, the implementation of the access device of the Egl type Quantum variant architecture for the JAVA platform can refer to the implementation of the above method, and repeated details are omitted. As used hereinafter, the term "unit" or "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 12 is a block diagram of an access device of the Egl type variable quantum structure for the JAVA platform according to an embodiment of the present invention. As shown in fig. 12, the access device for the Egl type quantum structure of the JAVA platform specifically includes: the data acquisition module 10 and the data conversion storage module 20.
The data acquisition module 10 acquires Egl type variable quantum structure incoming data;
the data conversion storage module 20 converts the incoming data into corresponding bytes according to the storage type and stores the bytes in a data storage array of the infrastructure;
wherein the infrastructure comprises: a data storage array for storing metadata and a corresponding list of substructure references, the list of substructure references comprising: pointers to each sub-structure and offset values and lengths of data corresponding thereto in the infrastructure, the sub-structures comprising: the pointer of the corresponding infrastructure and the offset value and length of the corresponding data in the infrastructure.
In an alternative embodiment, the accessing apparatus for Egl type variable quantum structure of JAVA platform may further include: and the structure creation association module is used for creating the basic structure and the corresponding substructure thereof and establishing the association between each substructure and the basic structure.
The apparatuses, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or implemented by a product with certain functions. A typical implementation device is an electronic device, which may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
In a typical example, the electronic device specifically includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor executes the program to implement the steps of the above-mentioned access method for the Egl type variable quantum structure of the JAVA platform.
Referring now to FIG. 13, shown is a schematic diagram of an electronic device 600 suitable for use in implementing embodiments of the present application.
As shown in fig. 13, the electronic apparatus 600 includes a Central Processing Unit (CPU)601 that can perform various appropriate works and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM)) 603. In the RAM603, various programs and data necessary for the operation of the system 600 are also stored. The CPU601, ROM602, and RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted as necessary on the storage section 608.
In particular, according to an embodiment of the present invention, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, an embodiment of the invention comprises a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the above-mentioned access method for the Egl-type variant quantum structure of the JAVA platform.
In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. An access method for Egl type variable quantum structure of JAVA platform, comprising:
acquiring Egl incoming data of the type-variable quantum structure;
converting the incoming data into corresponding bytes according to the storage type and storing the bytes into a data storage array of a basic structure;
wherein the infrastructure comprises: a data storage array for storing metadata and a corresponding list of substructure references, the list of substructure references comprising: pointers to each sub-structure and offset values and lengths of data corresponding thereto in the infrastructure, the sub-structures comprising: the pointer of the corresponding infrastructure and the offset value and length of the corresponding data in the infrastructure.
2. The method of claim 1, further comprising:
taking out bytes in a data storage array of the basic structure according to a basic structure data reading instruction;
and converting the bytes into corresponding data according to the storage type and outputting the data.
3. The method of claim 1, further comprising:
transmitting an offset value and a length corresponding to the substructure and a pointer of update data based on the corresponding infrastructure to the corresponding infrastructure according to a substructure data update instruction, wherein the update data is converted into corresponding bytes according to the storage type of the substructure;
and storing the updated data to the corresponding position in the data storage array of the basic structure according to the offset value and the length.
4. The method of claim 1, further comprising:
transferring an offset value and a pointer of which the length is based on the corresponding basic structure corresponding to the substructure to the corresponding basic structure according to a substructure data reading instruction;
taking out bytes at corresponding positions in a data storage array of the basic structure according to the deviation value and the length;
and converting the bytes into corresponding data according to the storage type and outputting the data.
5. The method for accessing the Egl-type quantum structure of the JAVA platform as claimed in any one of claims 1 to 4, further comprising:
an infrastructure and its corresponding substructures are created, and associations of each substructure with the infrastructure are established.
6. An access device for an Egl type variable quantum structure of a JAVA platform, comprising:
the data acquisition module is used for acquiring Egl type variable quantum structure incoming data;
the data conversion storage module is used for converting the incoming data into corresponding bytes according to the storage type and storing the bytes into a data storage array of the basic structure;
wherein the infrastructure comprises: a data storage array for storing metadata and a corresponding list of substructure references, the list of substructure references comprising: pointers to each sub-structure and offset values and lengths of data corresponding thereto in the infrastructure, the sub-structures comprising: the pointer of the corresponding infrastructure and the offset value and length of the corresponding data in the infrastructure.
7. The access device of Egl type variant quantum structure for JAVA platform of claim 6, further comprising:
and the structure creation association module is used for creating the basic structure and the corresponding substructure thereof and establishing the association between each substructure and the basic structure.
8. An access structure for an Egl type variant quantum structure for a JAVA platform, comprising: an infrastructure and a corresponding plurality of substructures, the infrastructure comprising: a data storage array for storing metadata and a corresponding list of substructure references, the list of substructure references comprising: pointers to each sub-structure and offset values and lengths of data corresponding thereto in the infrastructure, the sub-structures comprising: the pointer of the corresponding infrastructure and the offset value and length of the corresponding data in the infrastructure.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method of any of claims 1 to 5 for accessing an Egl-type variant quantum structure of a JAVA platform.
10. A computer readable storage medium, having stored thereon a computer program, characterized in that the computer program, when being executed by a processor, carries out the steps of the method for accessing an Egl type variant quantum structure for a JAVA platform of any one of claims 1 to 5.
CN202011639617.XA 2020-12-31 2020-12-31 Access method for Egl-type variable sub-structure of JAVA platform Active CN112732336B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011639617.XA CN112732336B (en) 2020-12-31 2020-12-31 Access method for Egl-type variable sub-structure of JAVA platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011639617.XA CN112732336B (en) 2020-12-31 2020-12-31 Access method for Egl-type variable sub-structure of JAVA platform

Publications (2)

Publication Number Publication Date
CN112732336A true CN112732336A (en) 2021-04-30
CN112732336B CN112732336B (en) 2024-01-30

Family

ID=75608973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011639617.XA Active CN112732336B (en) 2020-12-31 2020-12-31 Access method for Egl-type variable sub-structure of JAVA platform

Country Status (1)

Country Link
CN (1) CN112732336B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5765148A (en) * 1995-10-19 1998-06-09 Nec Corporation Database processing apparatus and database processing method for variable length objects, and computer-readable memory medium for storing database processing program
US20070192818A1 (en) * 2004-10-12 2007-08-16 Mikael Bourges-Sevenier System and method for creating, distributing, and executing rich multimedia applications
US20140032205A1 (en) * 2012-07-27 2014-01-30 Lior Yaffe Java program for emulating the memory management of a c program and corresponding method
CN104268225A (en) * 2014-09-26 2015-01-07 山西达鑫核科技有限公司 File system architecture for addressing in multidimensional degree of freedom, as well as generating and accessing mode thereof
US20180260454A1 (en) * 2017-03-09 2018-09-13 International Business Machines Corporation Method for efficient derived data views using byte addressable persistent storage

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5765148A (en) * 1995-10-19 1998-06-09 Nec Corporation Database processing apparatus and database processing method for variable length objects, and computer-readable memory medium for storing database processing program
US20070192818A1 (en) * 2004-10-12 2007-08-16 Mikael Bourges-Sevenier System and method for creating, distributing, and executing rich multimedia applications
US20140032205A1 (en) * 2012-07-27 2014-01-30 Lior Yaffe Java program for emulating the memory management of a c program and corresponding method
CN104268225A (en) * 2014-09-26 2015-01-07 山西达鑫核科技有限公司 File system architecture for addressing in multidimensional degree of freedom, as well as generating and accessing mode thereof
US20180260454A1 (en) * 2017-03-09 2018-09-13 International Business Machines Corporation Method for efficient derived data views using byte addressable persistent storage

Also Published As

Publication number Publication date
CN112732336B (en) 2024-01-30

Similar Documents

Publication Publication Date Title
US12008556B2 (en) Method and apparatus for executing smart contract
CN111555940A (en) Client test method and device, electronic equipment and computer readable storage medium
CN111368519B (en) Method, device, equipment and storage medium for editing online form
CN112817657B (en) Application program starting item loading method, device, system and storage medium
CN111290737B (en) Method and device for application program development and electronic equipment
CN110960855B (en) Communication protocol code updating method and device, electronic equipment and storage medium
CN112965761B (en) Data processing method, system, electronic equipment and storage medium
CN111581555A (en) Document loading method, device, equipment and storage medium
CN114035879A (en) Page theme color changing method and device, electronic equipment and computer readable medium
CN104025046A (en) Isa bridging with callback
CN111324376A (en) Function configuration method and device, electronic equipment and computer readable medium
CN110909527B (en) Text processing model running method and device, electronic equipment and storage medium
CN110990038B (en) Method, apparatus, electronic device and medium for applying local update
CN111259636A (en) Document rendering method and device and electronic equipment
CN112416303B (en) Software development kit hot repair method and device and electronic equipment
CN112732336B (en) Access method for Egl-type variable sub-structure of JAVA platform
CN111324405A (en) Character display method and device and electronic equipment
CN113204557B (en) Electronic form importing method, device, equipment and medium
CN111459893B (en) File processing method and device and electronic equipment
CN111596987B (en) Page display method and device and electronic equipment
CN111338827B (en) Method and device for pasting form data and electronic equipment
CN110619079B (en) Method and device for pushing information
CN114327453A (en) Page display method, device, equipment and storage medium
CN110188119A (en) Method and apparatus for obtaining data
CN111241852A (en) File translation method, device, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant