CN111752547A - Method for modifying Java serialized object serial number and application thereof - Google Patents

Method for modifying Java serialized object serial number and application thereof Download PDF

Info

Publication number
CN111752547A
CN111752547A CN202010614676.5A CN202010614676A CN111752547A CN 111752547 A CN111752547 A CN 111752547A CN 202010614676 A CN202010614676 A CN 202010614676A CN 111752547 A CN111752547 A CN 111752547A
Authority
CN
China
Prior art keywords
class
stream
local
description class
sequence number
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
CN202010614676.5A
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.)
Wuhan Hongxin Technology Service Co Ltd
Original Assignee
Wuhan Hongxin Technology Service Co Ltd
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 Wuhan Hongxin Technology Service Co Ltd filed Critical Wuhan Hongxin Technology Service Co Ltd
Priority to CN202010614676.5A priority Critical patent/CN111752547A/en
Publication of CN111752547A publication Critical patent/CN111752547A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/24Object-oriented
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method for modifying Java serialization object serial number and application thereof, relating to the technical field of Java application; the method comprises the following steps: creating a custom object input stream class during deserialization, wherein the custom object input stream class is inherited to a serialization object input stream parent class and customizes the initialization process of the serialization object input stream so as to call a reading method of the class description of the serialization object input stream to initialize a target object stream description class and change the sequence number of the target object stream description class into the sequence number of a local object stream description class; then converting the target object stream description class with the changed sequence number into a local object and then performing serialization storage again; the invention recovers the historical serialized data by using a Java reflection mechanism, thereby avoiding the phenomenon that the historical serialized objects cannot be read due to inconsistent serial numbers to cause data loss.

Description

Method for modifying Java serialized object serial number and application thereof
Technical Field
The invention belongs to the technical field of Java application, and particularly relates to a method for modifying a Java serialized object serial number and application thereof.
Background
Java serialization is a data serialization way provided by Java itself, and generally, when a Java object is serialized to persistent storage (local hard disk) or transmitted in a network, the Java object is serialized into a binary byte sequence for storage and transmission, and the behavior of converting the Java object into a binary is called serialization. This mechanism greatly facilitates the developer's streaming requirements for complex data structures.
After the class of the Java object realizes the Serializable interface, a specific serial number value can be appointed or not, a unique value is calculated by the internal structure (package name, class name, attribute, method and the like) of the class and is used for checking the consistency of the serialized version of the class during deserialization; when a specific sequence number value is not specified, the sequence number of the Java object may change due to a change in the internal structure of the class (package name, class name, attribute, method, etc.); when data is read, the binary byte sequence is converted into a Java object through deserialization, and in the process, if the serial number of the Java object is changed due to the version change of the Java object, the abnormal condition that the serial number of the serialized object is inconsistent with the serial number of the local object occurs when the Java object is read through deserialization, so that the historical serialized object cannot be read, and data loss is caused.
Disclosure of Invention
In view of at least one defect or improvement requirement in the prior art, the present invention provides a method for modifying a Java serialized object sequence number and an application thereof, which aims to solve the problem that a serial object sequence number is inconsistent with a local object sequence number, which results in that a historical serialized object cannot be read and data loss is caused.
To achieve the above object, according to a first aspect of the present invention, there is provided a method of modifying a Java serialized object sequence number, the method comprising:
initializing a target object flow description class during deserialization, and changing a serial number of the target object flow description class into a serial number of a local object flow description class;
and converting the target object stream description class with the changed sequence number into a local object and then performing serialization storage again.
Preferably, in the method for modifying a Java serialization object sequence number, initializing a target object stream description class during deserialization specifically includes:
creating a custom object input stream class, wherein the custom object input stream class is inherited to a serialization object input stream parent class, and customizing the initialization process of the serialization object input stream so as to call a reading method of the class description of the serialization object input stream to initialize the target object stream description class.
Preferably, in the method for modifying a Java serialized object sequence number, changing the sequence number of the target object stream description class to the sequence number of the local object stream description class specifically includes:
acquiring a class of a target object stream description class in a local Java virtual machine;
and obtaining a local object flow description class, comparing the sequence numbers of the target object flow description class and the local object flow description class, and changing the sequence number of the target object flow description class into the sequence number of the local object flow description class when the sequence numbers of the target object flow description class and the local object flow description class are different.
Preferably, in the method for modifying a Java serialized object sequence number, the manner of obtaining the local object stream description class is as follows:
and calling a lookup method of the serialized object input stream class to search a local object stream description class corresponding to the serialized object input stream class in the local Java virtual machine.
Preferably, in the method for modifying a Java serialized object sequence number, the manner of changing the sequence number of the target object stream description class to the sequence number of the local object stream description class is as follows:
and changing the sequence number of the target object flow description class into the sequence number of the local object flow description class by acquiring the attribute information of the serialized object input flow class.
Preferably, in the method for modifying a Java serialized object sequence number, converting a target object stream description class with a modified sequence number into a local object, and then performing serialized storage specifically includes:
reading the target object stream description class with the sequence number changed by using the user-defined object input stream class and converting the target object stream description class into a local object;
the local objects are re-serialized and saved as a binary byte sequence.
Preferably, the method for modifying Java serialized object sequence numbers further includes:
reading the binary byte sequence by using the serialized object input stream class, and verifying whether the serial number of the binary byte sequence is consistent with the serial number of the local object.
According to a second aspect of the present invention, there is also provided an apparatus for modifying a sequence number of a Java serialized object, comprising:
a modification unit configured to initialize a target object flow description class at the time of deserialization, and change a sequence number of the target object flow description class to a sequence number of a local object flow description class;
and the serialization unit is configured to convert the target object stream description class with the changed sequence number into a local object and then carry out serialization storage again.
According to a third aspect of the present invention, there is also provided an electronic device comprising at least one processing unit, and at least one memory unit, wherein the memory unit stores a computer program that, when executed by the processing unit, causes the processing unit to perform the steps of any of the above-mentioned methods.
According to a fourth aspect of the present invention, there is also provided a computer readable medium storing a computer program executable by an electronic device, the computer program, when run on the electronic device, causing the electronic device to perform the steps of any of the methods described above.
In general, compared with the prior art, the above technical solution contemplated by the present invention can achieve the following beneficial effects:
the method for modifying the serial number of the Java serialized object and the application thereof provided by the invention have the advantages that when the Java serialized object is deserialized, the serial number of the target serialized object is modified into the serial number of the current version object by using a Java reflection mechanism, and the object is converted and then is deserialized and stored, so that the recovery effect on historical serialized data is realized; therefore, the phenomenon that data loss is caused because historical serialized objects cannot be read due to inconsistent serial numbers is avoided.
Drawings
FIG. 1 is a flowchart of a method for modifying Java serialized object sequence numbers according to an embodiment of the present invention;
FIG. 2 is a flow chart of another preferred method for modifying the sequence number of a Java serialized object according to the embodiment of the invention;
fig. 3 is a logic block diagram of an apparatus for modifying Java serialized object serial numbers according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
The conventional deserialization process is as follows: firstly, acquiring a binary byte sequence (namely a serialization Object input stream) transmitted in a hard disk or a network, initializing, calling a readObject method of the serialization Object input stream to convert the serialization Object input stream into an Object, calling an initNonProxy method of an Object stream description class in the process, wherein the initNonProxy method is used for comparing whether a sequence number of the serialization Object input stream is consistent with a sequence number of a local Object stream, and if the sequence number is not consistent, generating abnormal inconsistency of the sequence numbers; after analysis, before the initnproxy method is executed, the serialization object input stream calls a readClassDescriptor method, which is a reading method of the class description of the serialization stream and is used for initializing the serialization stream. For security, the JDK source code defines a standard format for processing input and output streams, but the standard can be customized by rewriting the readClassDescriptor method, and the breakthrough of the present invention is that.
The core idea of the method for modifying the Java serialization object serial number is based on a Java reflection mechanism, when the serialization object stream description class is initialized, the reading method (i.e. readClassDescriptor method) of the class description of the serialization object input stream is customized, the serial number of the local object stream is set to the target object stream, and data can be normally read under the condition that the serial numbers are inconsistent. The object stream is converted into an object and then is re-serialized and stored, so that the recovery effect on the historical serialized data is achieved. The use scenario of the present invention is mainly directed to the following situations:
1. the object entity structure is definite;
2. objects implement the Serializable interface (a Serializable interface is an interface that enables object serialization functionality), but no specific values are specified;
3. the object changes the serial number due to the change of the internal structure;
4. the object generates serialized object data for a plurality of version serial numbers.
Fig. 1 is a flowchart of a method for modifying Java serialized object sequence numbers provided by the present invention, and referring to fig. 1, the method includes the following steps:
s1: initializing a target object flow description class during deserialization, and changing a serial number of the target object flow description class into a serial number of a local object flow description class;
referring to fig. 2, initializing the target object stream description class during deserialization specifically includes:
and creating a custom object input stream class which is inherited to an object input stream parent class, and customizing the initialization process of the class of the serialized object input stream to call a reading method of the class description of the serialized object input stream to initialize the target object stream description class.
Changing the sequence number of the target object flow description class into the sequence number of the local object flow description class specifically includes:
firstly, acquiring a class of a target object stream description class in a local Java virtual machine;
and then obtaining a local object flow description class, comparing the sequence numbers of the target object flow description class and the local object flow description class, and changing the sequence number of the target object flow description class into the sequence number of the local object flow description class when the sequence numbers of the target object flow description class and the local object flow description class are different. As an example, the manner of obtaining the local object stream description class is as follows:
and calling a lookup method of the serialized object input stream class to search a local object stream description class corresponding to the serialized object input stream class in the local Java virtual machine. The method mainly comprises the steps of searching or creating a Java object corresponding to a specific serialized object input stream loaded in a Java virtual machine;
as an example, the way to change the sequence number of the target object flow description class to the sequence number of the local object flow description class is:
changing the sequence number of the target object stream description class into the sequence number of the local object stream description class by acquiring the Field class of the serialized object input stream class; the Field class is used for describing attribute information of the class in Java reflection, and can acquire the type of a member variable of a current object and reset the value of the member variable.
S2: converting the target object stream description class with the changed sequence number into a local object and then performing serialization storage again; specifically, the method comprises the following steps:
reading the target object stream description class with the sequence number changed by using the user-defined object input stream class and converting the target object stream description class into a local object; the local object is then re-serialized and saved as a sequence of binary bytes.
The purpose of this process is to compatibly read the serialized data of different version sequence numbers and change its sequence number to that of the current version object.
In order to verify whether the sequence number of the target object flow description class has been changed to the sequence number of the current version of the local object flow description class, as a preferred example of the present invention, the method further comprises:
and reading the re-serialized binary byte sequence by using the serialized object input stream class, and verifying whether the sequence number of the binary byte sequence is consistent with the sequence number of the local object. If the data can be read normally, the historical data is repaired.
Further, in order to avoid the situation that the serial number is changed again due to the fact that the specific value of the serial number of the object is not specified, the specific value of the serial number is specified for the object entity which realizes the Serializable interface but does not specify the specific value of the serial number, the specific value can be customized by a user, and the situation that data of multi-version serial numbers are continuously generated is prevented.
As a specific embodiment, the method for modifying a Java serialized object sequence number provided by the present invention includes the following steps:
1. user-defined deserialization processing method
1.1 creating a custom object input stream class MyObjectInputStream, wherein the custom object input stream class MyObjectInputStream is inherited to an object input stream parent class ObjectInputStream to realize a method of the parent class; the object input stream class ObjectStreamClass stores information of the object stream, including a serialization version number and a class name; rewriting a readClassDescriptor method inherited from a parent class for a custom object input stream class MyObjectInputStream;
1.2 calling the readClassDescriptor method of the parent class in the rewriting method, and initializing a target object stream description class resultObjectStreamClass;
ObjectStreamClass resultObjectStreamClass=super.readClassDescriptor();
1.3, acquiring a class localClass in a local Java virtual machine by describing the name of a class resultObjectStreamclass through a target object stream;
Class localClass=Class.forName(resultObjectStreamClass.getName());
1.4 calling a lookup method of the serialized object input stream class ObjectStreamclass to search for localClass and acquiring a local object stream description class localObjectStreamclass;
ObjectStreamClass localObjectStreamClass=ObjectStreamClass.lookup(localClass);
1.5 comparing the sequence number of the target object stream description class (resultObjectStreamClass) with the sequence number of the local object stream description class (localObjectStreamClass), if not identical, setting the sequence number of the target object stream description class resultObjectStreamClass as the sequence number of the local object stream description class localObjectStreamClass by obtaining the Field class of the serialized object input stream class ObjectStreamClass.
2. Repairing object serialized version numbers
2.1, the object which realizes the Serializable interface but does not define the serial number specifies a specific serial number value to prevent the continuous occurrence of multi-version serial number data;
3. method for executing custom deserialization
3.1 obtaining a serialized Object input stream class ObjectStreamMess by using a custom Object input stream class MyObjectInputStream, and calling a readObject method of the serialized Object input stream class ObjectStreamMess to convert the stream into an Object entity Object;
ObjectInputStream ois=new MyObjectInputStream(in);
Object object=ois.readObject();
3.2 re-serialize and save the Object entities Object generated in step 3.1 as a sequence of binary bytes.
4. Verification data
Replacing the custom object input stream class MyObjectInputStream with ObjectInputStream reading the binary byte sequence re-serialized in step 3.2, verifying whether the sequence number of the binary byte sequence is changed to be consistent with the local object stream description class locallobjectstream class of the current version;
specifically, the method comprises the following steps: the method calls the readObject method of the Object input stream (ObjectInputStream) to convert the binary byte sequence into the Object, and also calls the initnoproxy method of the Object stream description class (ObjectStreamClass) to compare whether the sequence number of the binary byte sequence is consistent with the sequence number of the local Object.
Special description: if the attribute is added, the method can not cause the previous data loss; if the attribute is reduced, the attribute data of the object is lost before, the original attribute can be restored, and the attribute of the existing object is empty, but the data loss does not exist.
The embodiment also provides a device for modifying the Java serialization object serial number, which can be realized in a software and/or hardware mode and can be integrated on electronic equipment; referring to fig. 3, the apparatus includes a modification unit and a serialization unit; wherein:
the modification unit is used for initializing the target object flow description class during deserialization and changing the serial number of the target object flow description class into the serial number of the local object flow description class; in this embodiment, the modification unit includes an initialization module and a modification module;
the initialization module is used for creating a custom object input stream class, the custom object input stream class is inherited to the serialized object input stream class and self-defines the initialization process of the serialized object input stream class so as to call a reading method of the class description of the serialized object input stream to initialize the target object stream description class;
the changing module is used for obtaining the class of the target object flow description class in the local Java virtual machine, obtaining the local object flow description class, comparing the serial numbers of the target object flow description class and the local object flow description class, and changing the serial number of the target object flow description class into the serial number of the local object flow description class when the serial numbers of the target object flow description class and the local object flow description class are different.
As a preferred example, the modification module searches for a local object stream description class corresponding to the serialized object input stream class in the local Java virtual machine by calling a lookup method of the serialized object input stream class.
As a preferred example, the modification module modifies the sequence number of the target object stream description class to the sequence number of the local object stream description class by acquiring the attribute information of the serialized object input stream class.
The serialization unit is used for converting the target object stream description class with the changed serial number into a local object and then performing serialization storage again; specifically, the serialization unit reads the target object stream description class with the changed serial number by using the custom object input stream class and converts the target object stream description class into a local object; the local object is then re-serialized and saved as a sequence of binary bytes.
As a preferred example, the apparatus further includes a verification unit for reading the binary byte sequence generated by the serialization unit using the serialization object input stream class, and verifying whether a sequence number of the binary byte sequence coincides with a sequence number of the local object. Further, the verification unit calls a readObject method of the Object input stream (ObjectInputStream), converts the binary byte sequence into an Object, and calls an initnoproxy method of the Object stream description class (ObjectStreamClass) to compare whether the sequence number of the binary byte sequence is consistent with the sequence number of the local Object.
The embodiment also provides an electronic device, which includes at least one processor and at least one memory, where the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method for modifying the Java serialized object serial number, and the specific steps refer to embodiment one and are not described herein again; in this embodiment, the types of the processor and the memory are not particularly limited, for example: the processor may be a microprocessor, digital information processor, on-chip programmable logic system, or the like; the memory may be volatile memory, non-volatile memory, a combination thereof, or the like.
The electronic device may also communicate with one or more external devices (e.g., keyboard, pointing terminal, display, etc.), with one or more terminals that enable a user to interact with the electronic device, and/or with any terminals (e.g., network card, modem, etc.) that enable the electronic device to communicate with one or more other computing terminals. Such communication may be through an input/output (I/O) interface. Also, the electronic device may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public Network, such as the internet) via the Network adapter.
The present embodiment also provides a computer readable medium storing a computer program executable by an electronic device, which when run on the electronic device causes the electronic device to perform the above-mentioned steps of the method of modifying a serial number of a Java serialized object. Types of computer readable media include, but are not limited to, storage media such as SD cards, usb disks, fixed hard disks, removable hard disks, and the like.
It will be understood by those skilled in the art that the foregoing is only a preferred embodiment of the present invention, and is not intended to limit the invention, and that any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for modifying Java serialized object sequence numbers, comprising:
initializing a target object flow description class during deserialization, and changing a serial number of the target object flow description class into a serial number of a local object flow description class;
and converting the target object stream description class with the changed sequence number into a local object and then performing serialization storage again.
2. The method according to claim 1, wherein initializing a target object stream description class during deserialization is specifically:
creating a custom object input stream class, wherein the custom object input stream class is inherited to a serialization object input stream parent class, and customizing the initialization process of the serialization object input stream so as to call a reading method of the class description of the serialization object input stream to initialize the target object stream description class.
3. The method according to claim 1, wherein changing the sequence number of the target object stream description class to the sequence number of the local object stream description class specifically comprises:
acquiring a class of a target object stream description class in a local Java virtual machine;
and obtaining a local object flow description class, comparing the sequence numbers of the target object flow description class and the local object flow description class, and changing the sequence number of the target object flow description class into the sequence number of the local object flow description class when the sequence numbers of the target object flow description class and the local object flow description class are different.
4. The method for modifying Java serialized object sequence numbers as recited in claim 3, wherein the manner of obtaining local object stream description classes is:
and calling a lookup method of the serialized object input stream class to search a local object stream description class corresponding to the serialized object input stream class in the local Java virtual machine.
5. The method for modifying Java serialized object sequence number as recited in claim 3, wherein the change of the sequence number of the target object stream description class to the sequence number of the local object stream description class is by:
and changing the sequence number of the target object flow description class into the sequence number of the local object flow description class by acquiring the attribute information of the serialized object input flow class.
6. The method according to claim 2, wherein the converting the target object stream description class with the changed sequence number into the local object and then performing serialization storage specifically comprises:
reading the target object stream description class with the sequence number changed by using the user-defined object input stream class and converting the target object stream description class into a local object;
the local objects are re-serialized and saved as a binary byte sequence.
7. The method for modifying Java serialized object sequence numbers as recited in claim 6, further comprising:
reading the binary byte sequence by using the serialized object input stream class, and verifying whether the serial number of the binary byte sequence is consistent with the serial number of the local object.
8. An apparatus for modifying a Java serialized object sequence number, comprising:
a modification unit configured to initialize a target object flow description class at the time of deserialization, and change a sequence number of the target object flow description class to a sequence number of a local object flow description class;
and the serialization unit is configured to convert the target object stream description class with the changed sequence number into a local object and then carry out serialization storage again.
9. An electronic device, comprising at least one processing unit and at least one memory unit, wherein the memory unit stores a computer program that, when executed by the processing unit, causes the processing unit to perform the steps of the method according to any one of claims 1 to 7.
10. A computer-readable medium, in which a computer program is stored which is executable by an electronic device, and which, when run on the electronic device, causes the electronic device to perform the steps of the method of any one of claims 1 to 7.
CN202010614676.5A 2020-06-30 2020-06-30 Method for modifying Java serialized object serial number and application thereof Pending CN111752547A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010614676.5A CN111752547A (en) 2020-06-30 2020-06-30 Method for modifying Java serialized object serial number and application thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010614676.5A CN111752547A (en) 2020-06-30 2020-06-30 Method for modifying Java serialized object serial number and application thereof

Publications (1)

Publication Number Publication Date
CN111752547A true CN111752547A (en) 2020-10-09

Family

ID=72676712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010614676.5A Pending CN111752547A (en) 2020-06-30 2020-06-30 Method for modifying Java serialized object serial number and application thereof

Country Status (1)

Country Link
CN (1) CN111752547A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112286594A (en) * 2020-10-10 2021-01-29 百度(中国)有限公司 Object serialization and deserialization method and device, electronic device and medium
CN113553033A (en) * 2021-06-24 2021-10-26 厦门正航软件科技有限公司 Object serialization and deserialization method, device and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030005169A1 (en) * 2001-06-28 2003-01-02 International Business Machines Corporation Method and system for maintaining forward and backward compatibility in flattened object streams
US20040250239A1 (en) * 2003-06-09 2004-12-09 International Business Machines Corporation Maintaining multiple valid concurrent serialized object versions
CN101661391A (en) * 2009-09-24 2010-03-03 金蝶软件(中国)有限公司 Object serializing method, object deserializing method, device and system
CN106775778A (en) * 2017-02-06 2017-05-31 山东鲁能智能技术有限公司 Embedded program exploitation Program updates recognition methods and system
CN107451237A (en) * 2017-07-26 2017-12-08 阿里巴巴集团控股有限公司 Serializing and unserializing method, apparatus and equipment
CN110597500A (en) * 2019-07-26 2019-12-20 北京柠檬微趣科技股份有限公司 Method and device for serialization and deserialization of message structure

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030005169A1 (en) * 2001-06-28 2003-01-02 International Business Machines Corporation Method and system for maintaining forward and backward compatibility in flattened object streams
US20040250239A1 (en) * 2003-06-09 2004-12-09 International Business Machines Corporation Maintaining multiple valid concurrent serialized object versions
CN101661391A (en) * 2009-09-24 2010-03-03 金蝶软件(中国)有限公司 Object serializing method, object deserializing method, device and system
CN106775778A (en) * 2017-02-06 2017-05-31 山东鲁能智能技术有限公司 Embedded program exploitation Program updates recognition methods and system
CN107451237A (en) * 2017-07-26 2017-12-08 阿里巴巴集团控股有限公司 Serializing and unserializing method, apparatus and equipment
CN110597500A (en) * 2019-07-26 2019-12-20 北京柠檬微趣科技股份有限公司 Method and device for serialization and deserialization of message structure

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112286594A (en) * 2020-10-10 2021-01-29 百度(中国)有限公司 Object serialization and deserialization method and device, electronic device and medium
CN113553033A (en) * 2021-06-24 2021-10-26 厦门正航软件科技有限公司 Object serialization and deserialization method, device and computer readable storage medium

Similar Documents

Publication Publication Date Title
US7366955B2 (en) Automated test execution framework with central management
US7890951B2 (en) Model-based provisioning of test environments
US9430228B2 (en) Verification of backward compatibility of software components
US8984502B2 (en) Systems and methods for composing or decomposing a composite image for firmware update images
CN107832062B (en) Program updating method and terminal equipment
US20030097650A1 (en) Method and apparatus for testing software
US8196100B2 (en) Content management system for computer software with dynamic traceability between code and design documents
US6931521B2 (en) Data processing apparatus generates initialization schedule by sorting module order according to number of its dependencies for initializing data affecting execution of operational instructions
US7810077B2 (en) Reifying generic types while maintaining migration compatibility
US7490098B2 (en) Apparatus, system, and method for processing hierarchical data in disparate data repositories
US20230036357A1 (en) Method and apparatus for authority control, computer device and storage medium
US7319948B2 (en) Blocking access to selected APIs
CN107656750A (en) Update of plug-in method and device
US7143395B2 (en) Verifying a program version
CN112685020A (en) Method and device for dynamically creating service interface, electronic equipment and storage medium
US20020174082A1 (en) Reusable parts for assembled software systems
WO2009033424A1 (en) A method and system for obtaining information of user's commands and device for registering user's commands
CN111159040A (en) Test data generation method, device, equipment and storage medium
CN111752547A (en) Method for modifying Java serialized object serial number and application thereof
US20090132692A1 (en) System and method for starting server services
CN112988215A (en) Method and device for realizing evaluation rule and evaluating user data and electronic equipment
US7958490B2 (en) System for automating the definition of application objects supporting undoing, redoing compressing and logging operations
CN110941443B (en) Method and device for modifying file name in SDK (software development kit) and electronic equipment
CN110826074A (en) Application vulnerability detection method and device and computer readable storage medium
CN107451050B (en) Function acquisition method and device and server

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