CN116149946A - Data acquisition method and device, electronic equipment and storage medium - Google Patents

Data acquisition method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116149946A
CN116149946A CN202310147273.8A CN202310147273A CN116149946A CN 116149946 A CN116149946 A CN 116149946A CN 202310147273 A CN202310147273 A CN 202310147273A CN 116149946 A CN116149946 A CN 116149946A
Authority
CN
China
Prior art keywords
byte code
application program
target application
code file
data
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
CN202310147273.8A
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 Group Corp
Original Assignee
FAW Group Corp
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 FAW Group Corp filed Critical FAW Group Corp
Priority to CN202310147273.8A priority Critical patent/CN116149946A/en
Publication of CN116149946A publication Critical patent/CN116149946A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a data acquisition method, a data acquisition device, electronic equipment and a storage medium. The method comprises the following steps: determining a byte code file corresponding to a target application program in response to an operation data acquisition instruction for the target application program; receiving a byte code modification operation aiming at the byte code file, and obtaining a modified byte code file based on the byte code modification operation; and controlling the operation of the target application program by executing the modified byte code file so as to obtain the operation data of the target application program. The technical scheme of the embodiment of the invention realizes more convenient acquisition of the running data of the target application program.

Description

Data acquisition method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a data acquisition method, a data acquisition device, an electronic device, and a storage medium.
Background
With the development of computer and internet technologies, various applications have been developed and widely used. For the developed application program, a corresponding response result is often given based on the input of the user according to preset execution logic. However, in this process, the running data of the application cannot be obtained.
Disclosure of Invention
The invention provides a data acquisition method, a data acquisition device, electronic equipment and a storage medium, so as to realize more convenient acquisition of operation data of an application program.
According to an aspect of the present invention, there is provided a data acquisition method, the method comprising:
determining a byte code file corresponding to a target application program in response to an operation data acquisition instruction for the target application program;
receiving a byte code modification operation aiming at the byte code file, and obtaining a modified byte code file based on the byte code modification operation;
and controlling the operation of the target application program by executing the modified byte code file so as to obtain the operation data of the target application program.
According to another aspect of the present invention, there is provided a data acquisition apparatus. The device comprises:
the system comprises a byte code file determining module, a byte code file generating module and a byte code file generating module, wherein the byte code file determining module is used for determining a byte code file corresponding to a target application program in response to an operation data acquisition instruction aiming at the target application program;
the byte code file modification module is used for receiving byte code modification operation aiming at the byte code file and obtaining a modified byte code file based on the byte code modification operation;
and the byte code file executing module is used for controlling the operation of the target application program by executing the modified byte code file so as to obtain the operation data of the target application program.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform any one of the data acquisition methods of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to execute any one of the data acquisition methods of the present invention.
According to the technical scheme, after an operation data acquisition instruction aiming at a target application program is received, a byte code file corresponding to the target application program is determined; receiving a byte code modification operation aiming at the byte code file, and obtaining a modified byte code file based on the byte code modification operation; and controlling the operation of the target application program by executing the modified byte code file so as to obtain the operation data of the target application program. The technical scheme of the embodiment of the invention realizes more convenient acquisition of the running data of the application program.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a data acquisition method according to a first embodiment of the present invention;
fig. 2 is a schematic structural diagram of a data acquisition device according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It is noted that the terms "comprises" and "comprising," and any variations thereof, in the description and claims of the present invention and in the foregoing figures, 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 or inherent to such process, method, article, or apparatus.
It will be appreciated that the data (including but not limited to the data itself, the acquisition or use of the data) involved in the present technical solution should comply with the corresponding legal regulations and the requirements of the relevant regulations.
Example 1
Fig. 1 is a flowchart of a data acquisition method according to a first embodiment of the present invention, where the method may be applied to a case of acquiring operation data of an application program, and the method may be performed by a data acquisition device, where the data acquisition device may be implemented in hardware and/or software, and the data acquisition device may be configured in an electronic device such as a computer or a server.
As shown in fig. 1, the method of the present embodiment includes:
s110, responding to an operation data acquisition instruction aiming at a target application program, and determining a byte code file corresponding to the target application program.
In the embodiment of the present invention, the operation data may be understood as data generated during the operation of the target application. The target application may be understood as an application that needs to obtain the operation data. The operation data acquisition instruction may be understood as an instruction for acquiring operation data generated by the target application program. The operational data acquisition instructions may include an application identification of the target application. The method for obtaining the operation data obtaining instruction may specifically be that the operation data obtaining instruction for the target application program is generated in response to the operation data obtaining operation for the target application program. Optionally, generating the operation data acquisition instruction for the target application program in response to the operation data acquisition operation for the target application program may include: receiving a control triggering operation of a preset control for acquiring the running data of a target application program; and further, based on the control triggering operation, a running data acquisition instruction aiming at the target application program can be generated. The number of bytecode files corresponding to the target application may be one, two, or more than two.
Specifically, an operation data acquisition instruction for a target application program is received. After receiving the operation data acquisition instruction, determining a byte code file corresponding to the target application program according to the corresponding relation between each application program and the byte code file.
For example, taking an application in which the target application program is a smart card or a security chip with a JavaCard operating system as an example, the bytecode file corresponding to the target application program may be:
Figure BDA0004089572710000041
wherein sconst_2 may be denoted as pushing 2 to the java stack. newarry may represent creating an array. 0b may be represented as a byte array. The store_3 may represent that the newarry created array index is popped from the stack and stored at a stack position offset from the current stack frame FP by 3 elements. aload_3 may be represented as a fetch index placed at the current stack top. sconst_0 may be represented as pushing 0 into the java stack. The load may be represented as fetching data with an offset of 0 in the data field of the index that was previously pushed onto the stack and pushing that data onto the stack. The sstore can be represented as push data before pop and stored at stack locations offset by 4 elements.
In an embodiment of the present invention, the determining, in response to an operation data acquisition instruction for a target application program, a bytecode file corresponding to the target application program may include: and acquiring an application program code file corresponding to the target application program in response to a data acquisition instruction for the target application program. And further compiling the application program code file. So that a bytecode file corresponding to the target application can be generated. The application code file may be understood as a program code for developing a target application.
S120, receiving a byte code modification operation aiming at the byte code file, and obtaining the modified byte code file based on the byte code modification operation.
The bytecode modification operation may be understood as an operation for modifying a bytecode file, among others. Optionally, the bytecode modification operation may include a bytecode addition operation and/or a bytecode replacement operation. Wherein the byte code addition operation may be used to add byte code data to the byte code file. The byte code replacement operation may be used to replace the byte code data to be replaced in the byte code file with the target byte code data. It is understood that the byte code data to be replaced may be understood as byte code data that needs to be replaced. The target bytecode data may be understood as bytecode data that needs to be replaced with replacement bytecode data.
Along the above example, based on the bytecode modification operation, the modified bytecode file is obtained as follows:
Figure BDA0004089572710000051
Figure BDA0004089572710000061
wherein 00nop can be represented as no-operation, filling the storage space.
In one embodiment, a bytecode addition operation is received for the bytecode file. And further, the byte code data to be added can be determined based on the byte code adding operation. And further, the byte code data to be added can be stored in a byte code file of the target application program. So that an added bytecode file can be obtained.
In another embodiment, a byte code replacement operation for the byte code file is received, and then target byte code data can be obtained based on the byte code replacement operation, and the byte code data to be replaced corresponding to the target byte code data is determined. And the replaced byte code data may be replaced with the target byte code data. After the replacement is completed, a replaced bytecode file can be obtained.
In an embodiment of the present invention, before the receiving the bytecode modification operation for the bytecode file, the method further includes: if the editing state of the byte code file is the non-editing state, the editing state of the byte code file can be adjusted to the editing state so that the byte code file is in the editing state. Based on this, in the case where the editing state of the byte code file is an editable state, the byte code file may be modified based on a byte code modification operation for the byte code file. So that a modified bytecode file can be obtained.
S130, controlling the operation of the target application program by executing the modified byte code file so as to obtain the operation data of the target application program.
Specifically, after the modified byte code file is obtained, the modified byte code file may be loaded into the memory. After loading is completed, the modified byte file may be run in memory, that is, the modified byte code file may be executed. And further, the operation of the target application program can be controlled by executing the modified byte code file so as to obtain the operation data of the target application program.
In an embodiment of the present invention, after controlling the target application program to run, the method further includes: and determining whether the running data of the target application program can be read, and if not, generating prompt information for prompting to modify the byte code file again.
The hint information may be information generated after the execution of the modified byte file determines that the running data cannot be read. The hint information may be used to hint the re-modification of the bytecode file.
On the basis of the above embodiment, the method further includes: if yes, the operation data of the target application program are read, and the operation data are displayed. Specifically, in the case where the operation data of the target application program is readable, the reading process may be performed on the operation data of the target application program. So that the operating data can be read. After the operation data is read, the read operation data can be displayed, so that the target application program can be subjected to program analysis and the like based on the operation data.
On the basis of the above embodiment, the method further includes: determining a target storage area for storing the operation data of the target application program in the case that the operation data of the target application program is readable; traversing other data except the running data in the target storage area.
The target storage area is understood to be a storage area for storing the operating data. The other data than the operation data may be data generated by the operation of the target application and/or data generated by the system running the target application.
In particular, in the case where the operation data generated by the target application program during the operation is readable, a target storage area for storing the operation data may be determined. After determining the target storage area, the data stored in the target storage area may be traversed. So that other data than the running data in the target storage area can be read.
Optionally, the traversing the other data in the target storage area except the running data may include: determining a target storage address and an address offset of the operation data in the target storage area; and traversing other data in the target storage area except the running data based on the target storage address and the address offset. The target storage address may be understood as a first address of the running data in the target storage area.
In an embodiment of the present invention, traversing other data in the target storage area except the running data based on the target storage address and the address offset may include: determining a data storage head address of other data except the running data in the target storage area based on the target storage address and the address offset; and further determining address segments of other data in the target storage area based on the data storage head addresses and the address offsets. Thereby acquiring other data than the running data in the target storage area based on each of the address segments.
According to the technical scheme, after an operation data acquisition instruction aiming at a target application program is received, a byte code file corresponding to the target application program is determined; receiving a byte code modification operation aiming at the byte code file, and obtaining a modified byte code file based on the byte code modification operation; and controlling the operation of the target application program by executing the modified byte code file so as to obtain the operation data of the target application program. The technical scheme of the embodiment of the invention realizes more convenient acquisition of the operation data generated in the operation process of the application program.
Example two
Fig. 2 is a schematic structural diagram of a data acquisition device according to a second embodiment of the present invention. As shown in fig. 2, the apparatus includes: a bytecode file determination module 210, a bytecode file modification module 220, and a bytecode file execution module 230.
Wherein, the byte code file determining module 210 is configured to determine a byte code file corresponding to a target application program in response to an operation data acquisition instruction for the target application program;
a byte code file modification module 220, configured to receive a byte code modification operation for the byte code file, and obtain a modified byte code file based on the byte code modification operation;
and the byte code file executing module 230 is configured to control the target application program to run by executing the modified byte code file, so as to obtain the running data of the target application program.
According to the technical scheme, a byte code file corresponding to a target application program is determined by a byte code file determining module in response to an operation data acquisition instruction aiming at the target application program; receiving a byte code modification operation aiming at the byte code file through a byte code file modification module, and obtaining a modified byte code file based on the byte code modification operation; and controlling the operation of the target application program by executing the modified byte code file through a byte code file executing module so as to obtain the operation data of the target application program. The technical scheme of the embodiment of the invention realizes more convenient acquisition of the running data of the application program.
Optionally, the bytecode file determining module 210 is specifically configured to:
acquiring an application program code file corresponding to a target application program in response to a data acquisition instruction for the target application program;
and compiling the application program code file to generate a byte code file corresponding to the target application program.
Optionally, the apparatus further comprises: a prompt information generation module; the prompt information generation module is used for:
after controlling the operation of the target application program, determining whether the operation data of the target application program can be read, and if not, generating prompt information for prompting to revise the byte code file.
Optionally, the apparatus further comprises: a data display module is operated; the operation data display module is used for:
if yes, the operation data of the target application program are read, and the operation data are displayed.
Optionally, the apparatus further comprises: a data storage module is operated; wherein, the operation data storage module is used for:
determining a target storage area for storing the operation data of the target application program in the case that the operation data of the target application program is readable;
traversing other data except the running data in the target storage area.
Optionally, the operation data storage module comprises a data traversing unit; wherein the data traversing unit comprises:
determining a target storage address and an address offset of the operation data in the target storage area;
traversing other data except the running data in the target storage area based on the target storage address and the address offset.
Optionally, the apparatus includes a byte code file adjustment module; the byte code file adjusting module is used for:
before the receiving the byte code modification operation for the byte code file, if the editing state of the byte code file is an uneditable state, adjusting the editing state of the byte code file to an editable state.
The data acquisition device provided by the embodiment of the invention can execute the data acquisition method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
It should be noted that each unit and module included in the data acquisition device are only divided according to the functional logic, but not limited to the above division, so long as the corresponding functions can be implemented; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the embodiments of the present invention.
Example III
Fig. 3 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 3, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the data acquisition method.
In some embodiments, the data acquisition method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the data acquisition method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the data acquisition method in any other suitable way (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method of data acquisition, comprising:
determining a byte code file corresponding to a target application program in response to an operation data acquisition instruction for the target application program;
receiving a byte code modification operation aiming at the byte code file, and obtaining a modified byte code file based on the byte code modification operation;
and controlling the operation of the target application program by executing the modified byte code file so as to obtain the operation data of the target application program.
2. The method of claim 1, wherein the determining a bytecode file corresponding to a target application in response to an operation data acquisition instruction for the target application comprises:
acquiring an application program code file corresponding to a target application program in response to a data acquisition instruction for the target application program;
and compiling the application program code file to generate a byte code file corresponding to the target application program.
3. The method of claim 1, wherein after controlling the target application program to run, the method further comprises:
and determining whether the running data of the target application program can be read, and if not, generating prompt information for prompting to revise the byte code file.
4. A method according to claim 3, characterized in that the method further comprises:
if yes, the operation data of the target application program are read, and the operation data are displayed.
5. A method according to claim 3, characterized in that the method further comprises:
determining a target storage area for storing the operation data of the target application program in the case that the operation data of the target application program is readable;
traversing other data except the running data in the target storage area.
6. The method of claim 5, wherein traversing other data in the target storage area than the operational data comprises:
determining a target storage address and an address offset of the operation data in the target storage area;
traversing other data except the running data in the target storage area based on the target storage address and the address offset.
7. The method of claim 1, wherein prior to the receiving a bytecode modification operation for the bytecode file, the method further comprises:
and if the editing state of the byte code file is the non-editing state, adjusting the editing state of the byte code file to the editing state.
8. A data acquisition device, comprising:
the system comprises a byte code file determining module, a byte code file generating module and a byte code file generating module, wherein the byte code file determining module is used for determining a byte code file corresponding to a target application program in response to an operation data acquisition instruction aiming at the target application program;
the byte code file modification module is used for receiving byte code modification operation aiming at the byte code file and obtaining a modified byte code file based on the byte code modification operation;
and the byte code file executing module is used for controlling the operation of the target application program by executing the modified byte code file so as to obtain the operation data of the target application program.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the data acquisition method of any one of claims 1-7.
10. A computer readable storage medium storing computer instructions for causing a processor to perform the data acquisition method of any one of claims 1-7 when executed.
CN202310147273.8A 2023-02-21 2023-02-21 Data acquisition method and device, electronic equipment and storage medium Pending CN116149946A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310147273.8A CN116149946A (en) 2023-02-21 2023-02-21 Data acquisition method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310147273.8A CN116149946A (en) 2023-02-21 2023-02-21 Data acquisition method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116149946A true CN116149946A (en) 2023-05-23

Family

ID=86354088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310147273.8A Pending CN116149946A (en) 2023-02-21 2023-02-21 Data acquisition method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116149946A (en)

Similar Documents

Publication Publication Date Title
CN113342345A (en) Operator fusion method and device of deep learning framework
CN115421922A (en) Current limiting method, device, equipment, medium and product of distributed system
CN111159606A (en) Three-dimensional model loading method, equipment and storage medium applied to building system
CN114372256A (en) Application program running method, device, equipment and storage medium
CN112363814A (en) Task scheduling method and device, computer equipment and storage medium
CN117236236A (en) Chip design data management method and device, electronic equipment and storage medium
CN116149946A (en) Data acquisition method and device, electronic equipment and storage medium
CN115617800A (en) Data reading method and device, electronic equipment and storage medium
CN114996107A (en) Log file updating method, device, equipment, medium and product
CN114637672A (en) Automatic data testing method and device, computer equipment and storage medium
CN114510334A (en) Class instance calling method and device, electronic equipment and automatic driving vehicle
CN114218166A (en) Data processing method and device, electronic equipment and readable storage medium
CN113377295A (en) Data storage and reading method, device and equipment for multi-producer single-consumer
CN113138760A (en) Page generation method and device, electronic equipment and medium
CN112783574A (en) Application program development method, device, equipment and storage medium
CN113760765B (en) Code testing method and device, electronic equipment and storage medium
CN111414162B (en) Data processing method, device and equipment thereof
CN117130721B (en) WebAssemblely code execution method and device
CN114064301A (en) Data storage and reading method, device and equipment for single writer and multiple readers
CN117742699A (en) Method, device, equipment and storage medium for generating functional module of application program
CN115481090A (en) File processing method and device, electronic equipment and storage medium
CN117931195A (en) Data dictionary processing method and device, electronic equipment and storage medium
CN116308713A (en) Multiplexing method and device for business transaction codes, electronic equipment and storage medium
CN114579494A (en) Interface calling method, device, equipment and medium
CN114217873A (en) Plug-in determining method and device, electronic equipment 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