CN118153552A - Data analysis method, device, computer equipment and storage medium - Google Patents

Data analysis method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN118153552A
CN118153552A CN202410367646.7A CN202410367646A CN118153552A CN 118153552 A CN118153552 A CN 118153552A CN 202410367646 A CN202410367646 A CN 202410367646A CN 118153552 A CN118153552 A CN 118153552A
Authority
CN
China
Prior art keywords
data
coded data
target
coded
index
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.)
Pending
Application number
CN202410367646.7A
Other languages
Chinese (zh)
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.)
FAW Jiefang Automotive Co Ltd
Original Assignee
FAW Jiefang Automotive Co Ltd
Filing date
Publication date
Application filed by FAW Jiefang Automotive Co Ltd filed Critical FAW Jiefang Automotive Co Ltd
Publication of CN118153552A publication Critical patent/CN118153552A/en
Pending legal-status Critical Current

Links

Abstract

The present application relates to the field of data processing technologies, and in particular, to a data parsing method, apparatus, computer device, and storage medium. The method comprises the following steps: acquiring a data index of the coded data card; performing array type conversion on the initial coded data of the coded data card to obtain target coded data; and carrying out data analysis on the coded data card according to the data index and the target coded data to obtain target data. The method comprises the steps of firstly obtaining the data index of the coded data card and the target coded data after the array type is converted, and then carrying out data analysis on the coded data card according to the data index and the target coded data to obtain target data. And the coded data card is subjected to data analysis through the data index and the target coded data, so that the target data contained in the coded data card is fully acquired.

Description

Data analysis method, device, computer equipment and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a data parsing method, apparatus, computer device, and storage medium.
Background
Coded data cards (Java Card Open Platform cards) are very popular in the field of smart cards because of the nature of their ability to download and delete Java (one-sided code language) applications later.
Since the coded data card is provided with data protection measures, it is difficult to realize an operation of acquiring data from the coded data card.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a data parsing method, apparatus, computer device, and storage medium that enable an operation of acquiring data from an encoded data card.
In a first aspect, the present application provides a data parsing method. The method comprises the following steps:
Acquiring a data index of the coded data card;
performing array type conversion on the initial coded data of the coded data card to obtain target coded data;
And carrying out data analysis on the coded data card according to the data index and the target coded data to obtain target data.
In one embodiment, the obtaining the data index of the encoded data card includes:
performing byte code modification on the initial coded data of the coded data card to obtain candidate coded data;
And extracting the data index of the coded data card from the candidate coded data.
In one embodiment, the performing the byte code modification on the initial encoded data of the encoded data card to obtain candidate encoded data includes:
pushing a first integer constant and an array corresponding to the first integer constant to an operand stack of the initial encoded data;
storing a reference value in the operand stack top of the initial coded data into a candidate local variable with an index of a second integer constant, and pushing the candidate local variable of the second integer constant to the operand stack of the initial coded data;
And storing the value of the operand stack top of the initial coded data to a target local variable to obtain candidate coded data.
In one embodiment, the extracting the data index of the encoded data card from the candidate encoded data includes:
and taking the data contained in the target local variable of the candidate coded data as the data index of the coded data card.
In one embodiment, the performing array type conversion on the initial encoded data of the encoded data card to obtain target encoded data includes:
And performing array type conversion on the byte array in the initial coded data to obtain target coded data.
In one embodiment, the target data includes first data and second data; the step of carrying out data analysis on the coded data card according to the data index and the target coded data to obtain target data, comprising the following steps:
performing first data analysis on the coded data card according to the data index to obtain first data;
And carrying out first data analysis on the coded data card according to the target coded data to obtain the second data.
In a second aspect, the application further provides a data analysis device. The device comprises:
The acquisition module is used for acquiring the data index of the coded data card;
The conversion module is used for carrying out array type conversion on the initial coded data of the coded data card to obtain target coded data;
and the analysis module is used for carrying out data analysis on the coded data card according to the data index and the target coded data to obtain target data.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor which when executing the computer program performs the steps of:
Acquiring a data index of the coded data card;
performing array type conversion on the initial coded data of the coded data card to obtain target coded data;
And carrying out data analysis on the coded data card according to the data index and the target coded data to obtain target data.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
Acquiring a data index of the coded data card;
performing array type conversion on the initial coded data of the coded data card to obtain target coded data;
And carrying out data analysis on the coded data card according to the data index and the target coded data to obtain target data.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the steps of:
Acquiring a data index of the coded data card;
performing array type conversion on the initial coded data of the coded data card to obtain target coded data;
And carrying out data analysis on the coded data card according to the data index and the target coded data to obtain target data.
The data analysis method, the data analysis device, the computer equipment and the storage medium are characterized in that the data index of the coded data card is obtained; performing array type conversion on the initial coded data of the coded data card to obtain target coded data; and then, carrying out data analysis on the coded data card according to the data index and the target coded data to obtain target data. According to the above, in the application, when the data analysis processing is performed on the coded data card, the data index of the coded data card and the target coded data after the array type conversion are obtained first instead of directly reading the data of the coded data card, and then the data analysis is performed on the coded data card according to the data index and the target coded data to obtain the target data. And the coded data card is subjected to data analysis through the data index and the target coded data, so that the target data contained in the coded data card is fully acquired.
Drawings
Fig. 1 is a flow chart of a first data parsing method according to an embodiment of the present application;
fig. 2 is a flow chart of a second data parsing method according to an embodiment of the present application;
fig. 3 is a flow chart of a third data parsing method according to an embodiment of the present application;
fig. 4 is a flow chart of a fourth data parsing method according to an embodiment of the present application;
fig. 5 is a flowchart of a fifth data parsing method according to an embodiment of the present application;
fig. 6 is a block diagram of a first data analysis device according to an embodiment of the present application;
fig. 7 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The data analysis method provided by the embodiment of the application can be applied to an application environment shown in figure 1. Wherein the terminal 102 communicates with the server 104 via a network. The data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104 or may be located on a cloud or other network server. Acquiring a data index of the coded data card; performing array type conversion on the initial coded data of the coded data card to obtain target coded data; and then, carrying out data analysis on the coded data card according to the data index and the target coded data to obtain target data. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices, and portable wearable devices, where the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart vehicle devices, and the like. The portable wearable device may be a smart watch, smart bracelet, headset, or the like. The server 104 may be implemented as a stand-alone server or as a server cluster of multiple servers.
In one embodiment, as shown in fig. 2, a data parsing method is provided, and the method is applied to the terminal 102 in fig. 1 for illustration, and includes the following steps:
S201, acquiring a data index of the coded data card.
When the data index of the encoded data card needs to be acquired, a preset index acquisition mode for the encoded data card can be determined, and then the data index of the encoded data card is acquired according to the index acquisition mode, so that the data index of the encoded data card is obtained.
The allocation rule of the data index is different from that of a common Java virtual machine, and the data index of the coded data card is not allocated from 1, but is associated with a storage address in the coded data card. Specifically, in the low 64K range, the data index of the encoded data card is the start address, and in the high 64K address range, the lowest one bit of the data index of the encoded data card is set to 1. This allocation rule is different from a general Java virtual machine, and therefore, when acquiring a data index of an encoded data card, understanding and analysis are required for characteristics of the encoded data card.
Further, the storage objects of the coded data card are stored from 4-byte aligned addresses and from low addresses to high addresses, and the storage mode is different from that of a common Java virtual machine. And, the garbage collection mechanism of the coded data card. Compared with the traditional Java virtual machine, the garbage collection of the coded data card adopts a mark sorting mechanism. This mechanism may result in poor garbage collection speed because it requires sorting and reallocating memory, which may introduce additional overhead and delay.
In one embodiment of the present application, the index obtaining manner may be that data indexes of the encoded data card are obtained through a pre-trained neural network model, specifically, when the data indexes of the encoded data card need to be obtained, initial encoded data included in the encoded data card may be input into the neural network model, and an output result of the neural network model is obtained, where the output result is the data indexes of the encoded data card.
The training process of the neural network model comprises the following steps: and acquiring a sample data card and a sample index of the sample data card in advance, and inputting sample coding data and the sample index of the sample data card into the neural network model to realize model training of the neural network model and obtain a trained neural network model.
In another embodiment of the present application, the index obtaining manner may be that byte code modification is performed on the initial encoded data of the encoded data card, and further, the data index of the encoded data card is determined according to the modified initial encoded data. Specifically, when the data index of the coded data card needs to be acquired, the initial coded data of the coded data card can be subjected to byte code modification to obtain candidate coded data; and extracting the data index of the coded data card from the candidate coded data.
S202, performing array type conversion on the initial coded data of the coded data card to obtain target coded data.
It should be noted that, when the array type of the initial encoded data of the encoded data card is changed, the following may be specifically included: and performing array type conversion on the byte array in the initial coded data to obtain target coded data.
In one example of the present application, the byte array (i.e., byte array) in the initial encoded data of the encoded data card is converted into a short integer array (i.e., short array), so as to obtain the target encoded data, and the subsequent operation of obtaining the target data is realized through the target encoded data.
Specifically, when the byte array in the initial encoded data is strongly converted into the short integer array, a checkcast (checking conversion) detection instruction is provided, and the related detection code can be changed into nop (no operation) according to the checkcast, so that byte operation class byte codes are not used in byteArray (byte array) operation, but are changed into short integer array operation byte codes, and more target data can be conveniently acquired through target encoded data in the follow-up mode according to the consistent object head formats of the byte array and the short integer array.
S203, carrying out data analysis on the coded data card according to the data index and the target coded data to obtain target data.
When the target data is required to be obtained, the data prediction operation can be performed on the coded data card according to the data index and the target coded data, so that the data prediction result is used as the target data.
In one embodiment of the present application, when a data prediction operation is required to be performed on the encoded data card according to the data index and the target encoded data, a neural network prediction model may be preset, and an output result of the neural network prediction model is obtained by inputting the encoded data according to the data index and the target encoded data into the neural network prediction model, where the output result is the obtained target data.
The neural network prediction model is obtained based on a sample coding data card and sample data corresponding to the sample coding data card. Specifically, other coding data cards with known target data are used as sample coding data cards, at least two sample coding data cards and sample data of each sample coding data card are divided into a training set and a testing set, a neural network prediction model is trained through the training set, the prediction accuracy of the neural network prediction model is verified through the testing set, and if the prediction accuracy of the neural network prediction model exceeds a preset accuracy threshold, the neural network prediction model training is determined to be completed.
According to the data analysis method, the data index of the coded data card is obtained; performing array type conversion on the initial coded data of the coded data card to obtain target coded data; and then, carrying out data analysis on the coded data card according to the data index and the target coded data to obtain target data. According to the above, in the application, when the data analysis processing is performed on the coded data card, the data index of the coded data card and the target coded data after the array type conversion are obtained first instead of directly reading the data of the coded data card, and then the data analysis is performed on the coded data card according to the data index and the target coded data to obtain the target data. And the coded data card is subjected to data analysis through the data index and the target coded data, so that the target data contained in the coded data card is fully acquired.
In one embodiment, as shown in fig. 3, when the data index of the encoded data card needs to be acquired, the following may be specifically included:
s301, performing byte code modification on the initial coded data of the coded data card to obtain candidate coded data.
Specifically, the modification of the byte code in the initial encoded data box may specifically include the following: pushing the first integer constant and an array corresponding to the first integer constant to an operand stack of initial encoded data; storing the reference value in the operand stack top of the initial coded data into a candidate local variable with an index of a second integer constant, and pushing the candidate local variable with the second integer constant to the operand stack of the initial coded data; and storing the value of the operand stack top of the initial coded data to a target local variable to obtain candidate coded data.
S302, extracting the data index of the coded data card from the candidate coded data.
In one embodiment of the present application, when it is required to extract the data index of the encoded data card from the candidate encoded data, the following may be specifically included: and taking the data contained in the target local variable of the candidate coded data as the data index of the coded data card.
According to the data analysis method, the data index of the coded data card is obtained, so that a data basis is provided for the subsequent data analysis of the coded data card according to the data index and the target coded data, and the smooth obtaining of the target data is ensured. The method and the device realize the data analysis of the coded data card according to the data index and the target coded data by firstly acquiring the data index of the coded data card, so as to obtain the target data. And the coded data card is subjected to data analysis through the data index and the target coded data, so that the target data contained in the coded data card is fully acquired.
In one embodiment, as shown in fig. 4, when the data index of the encoded data card needs to be acquired, the following may be specifically included:
S401, performing first data analysis on the coded data card according to the data index to obtain first data.
In one embodiment of the present application, when the first data analysis is required to be performed on the encoded data card according to the data index, the guessing may be performed on the organization structure of the data index multiple times, so that the target organization structure of the data index is guessed from at least one candidate organization structure, and the data of the object header and the object body are determined according to the target organization structure.
The above method for performing the first data analysis on the encoded data card needs to have a certain knowledge of the organization structure of the data index, and needs multiple attempts to successfully read the data. Meanwhile, the method may depend on the regularity of a specific card, and the data analysis effect may be different for different coded data cards.
S402, carrying out first data analysis on the coded data card according to the target coded data to obtain second data.
In one embodiment of the present application, when the first data analysis is performed on the encoded data card by using the target encoded data, the byte array (i.e. the byte array) is converted into the target encoded data of the short integer array (i.e. the short array) by using the organization structure of the virtual machine object, so as to implement reading to read the subsequent data of the short integer array, and obtain the second data.
By the method, you can bypass the type check in the byte code and directly operate the short integer array, so that more information is read. But this approach may depend on the particular virtual machine implementation and may not be effective for certain types of coded data cards.
According to the data analysis method, the coded data card is subjected to data analysis through the data index and the target coded data, so that the target data is obtained. The method and the device realize data analysis of the coded data card through the data index and the target coded data respectively, and realize full acquisition of the target data contained in the coded data card.
In one embodiment, as shown in fig. 5, when the encoded data card needs to be subjected to data analysis to obtain the target data, the following may be specifically included:
s501, pushing the first integer constant and an array corresponding to the first integer constant to an operand stack of initial encoded data.
S502, storing the reference value in the operand stack top of the initial coded data into the candidate local variable with the index of the second integer constant, and pushing the candidate local variable with the second integer constant to the operand stack of the initial coded data.
And S503, storing the value of the operand stack top of the initial coded data to a target local variable to obtain candidate coded data.
S504, the data contained in the target local variable of the candidate coded data is used as the data index of the coded data card.
S505, performing array type conversion on the byte array in the initial coded data to obtain target coded data.
S506, carrying out first data analysis on the coded data card according to the data index to obtain first data.
S507, carrying out first data analysis on the coded data card according to the target coded data to obtain second data.
According to the data analysis method, the data index of the coded data card is obtained; performing array type conversion on the initial coded data of the coded data card to obtain target coded data; and then, carrying out data analysis on the coded data card according to the data index and the target coded data to obtain target data. According to the above, in the application, when the data analysis processing is performed on the coded data card, the data index of the coded data card and the target coded data after the array type conversion are obtained first instead of directly reading the data of the coded data card, and then the data analysis is performed on the coded data card according to the data index and the target coded data to obtain the target data. And the coded data card is subjected to data analysis through the data index and the target coded data, so that the target data contained in the coded data card is fully acquired.
It should be understood that, although the steps in the flowcharts related to the above embodiments are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a data analysis device for realizing the data analysis method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiments of the data parsing device or devices provided below may refer to the limitation of the data parsing method hereinabove, and will not be repeated herein.
In one embodiment, as shown in fig. 6, there is provided a data parsing apparatus including: an acquisition module 10, a transformation module 20, and an analysis module 30, wherein:
The acquiring module 10 is configured to acquire a data index of the encoded data card.
The conversion module 20 is configured to perform array type conversion on the initial encoded data of the encoded data card, so as to obtain target encoded data.
The parsing module 30 is configured to parse the encoded data card according to the data index and the target encoded data to obtain target data.
In one embodiment, byte code modification is performed on the initial encoded data of the encoded data card to obtain candidate encoded data; and extracting the data index of the coded data card from the candidate coded data.
In one embodiment, a first integer constant and an array corresponding to the first integer constant are pushed to an operand stack of initial encoded data; storing the reference value in the operand stack top of the initial coded data into a candidate local variable with an index of a second integer constant, and pushing the candidate local variable with the second integer constant to the operand stack of the initial coded data; and storing the value of the operand stack top of the initial coded data to a target local variable to obtain candidate coded data.
In one embodiment, the data contained in the target local variable of the candidate encoded data is used as the data index of the encoded data card.
In one embodiment, array type conversion is performed on the byte arrays in the initial encoded data to obtain the target encoded data.
In one embodiment, first data analysis is performed on the coded data card according to the data index to obtain first data;
and carrying out first data analysis on the coded data card according to the target coded data to obtain second data.
The data analysis device acquires the data index of the coded data card; performing array type conversion on the initial coded data of the coded data card to obtain target coded data; and then, carrying out data analysis on the coded data card according to the data index and the target coded data to obtain target data. According to the above, in the application, when the data analysis processing is performed on the coded data card, the data index of the coded data card and the target coded data after the array type conversion are obtained first instead of directly reading the data of the coded data card, and then the data analysis is performed on the coded data card according to the data index and the target coded data to obtain the target data. And the coded data card is subjected to data analysis through the data index and the target coded data, so that the target data contained in the coded data card is fully acquired.
Each module in the data parsing apparatus may be implemented in whole or in part by software, hardware, and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input means. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a data parsing method. The display unit of the computer device is used for forming a visual picture, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be a key, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in FIG. 7 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of:
Acquiring a data index of the coded data card;
Performing array type conversion on the initial coded data of the coded data card to obtain target coded data;
and carrying out data analysis on the coded data card according to the data index and the target coded data to obtain target data.
In one embodiment, the processor when executing the computer program further performs the steps of:
performing byte code modification on the initial coded data of the coded data card to obtain candidate coded data;
And extracting the data index of the coded data card from the candidate coded data.
In one embodiment, the processor when executing the computer program further performs the steps of:
Pushing the first integer constant and an array corresponding to the first integer constant to an operand stack of initial encoded data;
Storing the reference value in the operand stack top of the initial coded data into a candidate local variable with an index of a second integer constant, and pushing the candidate local variable with the second integer constant to the operand stack of the initial coded data;
And storing the value of the operand stack top of the initial coded data to a target local variable to obtain candidate coded data.
In one embodiment, the processor when executing the computer program further performs the steps of:
and taking the data contained in the target local variable of the candidate coded data as the data index of the coded data card.
In one embodiment, the processor when executing the computer program further performs the steps of:
and performing array type conversion on the byte array in the initial coded data to obtain target coded data.
In one embodiment, the processor when executing the computer program further performs the steps of:
Carrying out first data analysis on the coded data card according to the data index to obtain first data;
and carrying out first data analysis on the coded data card according to the target coded data to obtain second data.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
Acquiring a data index of the coded data card;
Performing array type conversion on the initial coded data of the coded data card to obtain target coded data;
and carrying out data analysis on the coded data card according to the data index and the target coded data to obtain target data.
In one embodiment, the computer program when executed by the processor further performs the steps of:
performing byte code modification on the initial coded data of the coded data card to obtain candidate coded data;
And extracting the data index of the coded data card from the candidate coded data.
In one embodiment, the computer program when executed by the processor further performs the steps of:
Pushing the first integer constant and an array corresponding to the first integer constant to an operand stack of initial encoded data;
Storing the reference value in the operand stack top of the initial coded data into a candidate local variable with an index of a second integer constant, and pushing the candidate local variable with the second integer constant to the operand stack of the initial coded data;
And storing the value of the operand stack top of the initial coded data to a target local variable to obtain candidate coded data.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and taking the data contained in the target local variable of the candidate coded data as the data index of the coded data card.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and performing array type conversion on the byte array in the initial coded data to obtain target coded data.
In one embodiment, the computer program when executed by the processor further performs the steps of:
Carrying out first data analysis on the coded data card according to the data index to obtain first data;
and carrying out first data analysis on the coded data card according to the target coded data to obtain second data.
In one embodiment, a computer program product is provided comprising a computer program which, when executed by a processor, performs the steps of:
Acquiring a data index of the coded data card;
Performing array type conversion on the initial coded data of the coded data card to obtain target coded data;
and carrying out data analysis on the coded data card according to the data index and the target coded data to obtain target data.
In one embodiment, the computer program when executed by the processor further performs the steps of:
performing byte code modification on the initial coded data of the coded data card to obtain candidate coded data;
And extracting the data index of the coded data card from the candidate coded data.
In one embodiment, the computer program when executed by the processor further performs the steps of:
Pushing the first integer constant and an array corresponding to the first integer constant to an operand stack of initial encoded data;
Storing the reference value in the operand stack top of the initial coded data into a candidate local variable with an index of a second integer constant, and pushing the candidate local variable with the second integer constant to the operand stack of the initial coded data;
And storing the value of the operand stack top of the initial coded data to a target local variable to obtain candidate coded data.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and taking the data contained in the target local variable of the candidate coded data as the data index of the coded data card.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and performing array type conversion on the byte array in the initial coded data to obtain target coded data.
In one embodiment, the computer program when executed by the processor further performs the steps of:
Carrying out first data analysis on the coded data card according to the data index to obtain first data;
and carrying out first data analysis on the coded data card according to the target coded data to obtain second data.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data need to comply with the related laws and regulations and standards of the related country and region.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magneto-resistive random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (PHASE CHANGE Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in various forms such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.

Claims (10)

1. A method of data parsing, the method comprising:
Acquiring a data index of the coded data card;
performing array type conversion on the initial coded data of the coded data card to obtain target coded data;
And carrying out data analysis on the coded data card according to the data index and the target coded data to obtain target data.
2. The method of claim 1, wherein the obtaining the data index of the encoded data card comprises:
performing byte code modification on the initial coded data of the coded data card to obtain candidate coded data;
And extracting the data index of the coded data card from the candidate coded data.
3. The method of claim 2, wherein performing byte code modification on the initial encoded data of the encoded data card to obtain candidate encoded data comprises:
pushing a first integer constant and an array corresponding to the first integer constant to an operand stack of the initial encoded data;
storing a reference value in the operand stack top of the initial coded data into a candidate local variable with an index of a second integer constant, and pushing the candidate local variable of the second integer constant to the operand stack of the initial coded data;
And storing the value of the operand stack top of the initial coded data to a target local variable to obtain candidate coded data.
4. A method according to claim 3, wherein said extracting the data index of the encoded data card from said candidate encoded data comprises:
and taking the data contained in the target local variable of the candidate coded data as the data index of the coded data card.
5. The method of claim 1, wherein performing array type conversion on the initial encoded data of the encoded data card to obtain target encoded data comprises:
And performing array type conversion on the byte array in the initial coded data to obtain target coded data.
6. The method of any one of claims 1-5, wherein the target data comprises first data and second data; the step of carrying out data analysis on the coded data card according to the data index and the target coded data to obtain target data, comprising the following steps:
performing first data analysis on the coded data card according to the data index to obtain first data;
And carrying out first data analysis on the coded data card according to the target coded data to obtain the second data.
7. A data parsing apparatus, the apparatus comprising:
The acquisition module is used for acquiring the data index of the coded data card;
The conversion module is used for carrying out array type conversion on the initial coded data of the coded data card to obtain target coded data;
and the analysis module is used for carrying out data analysis on the coded data card according to the data index and the target coded data to obtain target data.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
CN202410367646.7A 2024-03-28 Data analysis method, device, computer equipment and storage medium Pending CN118153552A (en)

Publications (1)

Publication Number Publication Date
CN118153552A true CN118153552A (en) 2024-06-07

Family

ID=

Similar Documents

Publication Publication Date Title
EP3612989B1 (en) Flexible hardware for high throughput vector dequantization with dynamic vector length and codebook size
CN109857744B (en) Sparse tensor calculation method, device, equipment and storage medium
CN106648569B (en) Target serialization realization method and device
CN112789626A (en) Scalable and compressed neural network data storage system
CN113538070B (en) User life value cycle detection method and device and computer equipment
CN111898380A (en) Text matching method and device, electronic equipment and storage medium
CN115795000A (en) Joint similarity algorithm comparison-based enclosure identification method and device
CN115858628A (en) Method and equipment for acquiring comprehensive arrangement data of multi-column data
CN115952346A (en) Recommendation system using sparse feature coding
CN115470156A (en) RDMA-based memory use method, system, electronic device and storage medium
CN109416621A (en) Restore the free space in non-volatile memories using the computer memory system of shared object is supported
CN117332766A (en) Flow chart generation method, device, computer equipment and storage medium
CN112068781A (en) Data reading and writing method of memory and related equipment
CN118153552A (en) Data analysis method, device, computer equipment and storage medium
CN115470190A (en) Multi-storage-pool data classification storage method and system and electronic equipment
CN115130002A (en) Recommendation request processing method and device, computer equipment and storage medium
CN113238821A (en) Data processing acceleration method and device, electronic equipment and storage medium
CN107608947A (en) Html file processing method and processing device, electronic equipment
CN117009534B (en) Text classification method, apparatus, computer device and storage medium
CN117370488A (en) Data processing method, device, electronic equipment and computer readable storage medium
CN118069044A (en) Chip data storage method, device, equipment, medium and product
CN116523308A (en) Training method and device of risk prediction model and user behavior risk prediction method
CN117909093A (en) Data distribution processing method and device for chip interface
CN116597293A (en) Multi-mode scene recognition method, device, computer equipment and storage medium
CN117612192A (en) Electronic drawing information identification method, system, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication