CN108563926A - Data guard method and device - Google Patents
Data guard method and device Download PDFInfo
- Publication number
- CN108563926A CN108563926A CN201810382952.2A CN201810382952A CN108563926A CN 108563926 A CN108563926 A CN 108563926A CN 201810382952 A CN201810382952 A CN 201810382952A CN 108563926 A CN108563926 A CN 108563926A
- Authority
- CN
- China
- Prior art keywords
- file
- target
- mapping table
- game installation
- mapped
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000009434 installation Methods 0.000 claims abstract description 118
- 238000013507 mapping Methods 0.000 claims abstract description 110
- 238000010304 firing Methods 0.000 claims description 4
- 238000012545 processing Methods 0.000 abstract description 6
- 230000006870 function Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 9
- 230000008569 process Effects 0.000 description 7
- 230000002093 peripheral effect Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 230000006399 behavior Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 230000000149 penetrating effect Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 229910002056 binary alloy Inorganic materials 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000012800 visualization Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000000059 patterning Methods 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
- G06F21/12—Protecting executable software
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- Multimedia (AREA)
- Technology Law (AREA)
- Stored Programmes (AREA)
Abstract
A kind of data guard method of offer of the embodiment of the present invention and device, belong to data processing field.This method first parses the U3D of acquisition game installation kits,Obtain the current version number of the corresponding U3D engines of the U3D game installation kit,Then an object run code mapping table is generated according to preset rules,Further according to the executable file of the corresponding version of current version number selection of the U3D engines,The executable file is mapped according to the object run code mapping table,Target executable file after being mapped,Then the executable file in U3D game installation kits is replaced with into the target executable file,Obtain target U3D game installation kits,This method can make the mapping relations in U3D game installation kits in original executable file into according to user-defined mapping relations,So that U3D game installation kits are not easy to be cracked,Improve the safety of U3D game installation kits.
Description
Technical field
The present invention relates to data processing fields, in particular to a kind of data guard method and device.
Background technology
U3D:Full name Unity3D, be by Unity Technologies are developed one allow player easily to create such as three
The multi-platform comprehensive development of games tool of the types interaction contents such as video-game, building visualization, realtime three dimensional animation is tieed up,
It is a professional game engine integrated comprehensively.Unity is similar to Director, Blender game engine, Virtools
Or Torque Game Builder etc. utilize the software that the patterning development environment of interaction is primary manner.Its editing machine is run
At Windows and Mac OS X, can issue game to Windows, Mac, Wii, iPhone, WebGL (needing HTML5),
Windows phone 8 and Android platform can also utilize Unity web player plug-in unit publishing web pages to play, support
The web page browsing of Mac and Windows.
In present scheme, due to being the binary system execution file for the output of U3D engines:Dll file carries out Global Macros,
This mode only fights simple static analysis, still needs shelling to restore in the process of running, so security intensity is not high.
Invention content
In view of this, the embodiment of the present invention is designed to provide a kind of data guard method and device, it is above-mentioned to improve
Problem.
In a first aspect, an embodiment of the present invention provides a kind of data guard method, the method includes:To the U3D of acquisition
Game installation kit is parsed, and the current version number of the corresponding U3D engines of the U3D game installation kit is obtained;According to default rule
Then generate an object run code mapping table;The executable file of corresponding version is selected according to the current version number of the U3D engines,
The executable file is mapped according to the object run code mapping table, the target executable file after being mapped;
Executable file in U3D game installation kits is replaced with into the target executable file, obtains target U3D game installations
Packet.
Further, the U3D of acquisition game installation kits are parsed, obtains the corresponding U3D of the U3D game installation kit
The current version number of engine, including:It is played and is installed to the U3D by the resolver file in the U3D game installation kits of acquisition
Packet is parsed, and the current version number of the corresponding U3D engines of the U3D game installation kit is obtained.
Further, an object run code mapping table is generated according to preset rules, including:A behaviour is generated according to preset rules
Make code mapping table;An object run code is generated based on the operation code mapping table with the master operation code mapping table being generated in advance to reflect
Firing table.
Further, the executable file includes dll file and resolver file, according to the current of the U3D engines
The executable file of the corresponding version of version number's selection, reflects the executable file according to the object run code mapping table
It penetrates, the target executable file after being mapped, including:It is played and is installed to the U3D according to the object run code mapping table
Dll file in packet is mapped, the target dll file after being mapped;It is selected according to the current version number of the U3D engines
Resolver file in the U3D game installation kits of advance compiled version corresponding with the current version number is according to described
Object run code mapping table is mapped, the target resolver file after being mapped;By the U3D play installation kit in can
It executes file and replaces with the target executable file, obtain target U3D game installation kits, including:The U3D is played and is installed
Dll file in packet replaces with the target dll file, and the resolver file in U3D game installation kits is replaced
For the target resolver file, target U3D game installation kits are obtained.
Further, the dll file in U3D game installation kits is reflected according to the object run code mapping table
It penetrates, the target dll file after being mapped, including:Dll file in U3D game installation kits is traversed, to described
Each operation part in dll file is mapped according to the object run code mapping table, the target DLL after being mapped
File.
Second aspect, an embodiment of the present invention provides a kind of data protecting device, described device includes:Parsing module is used
It is parsed in the U3D game installation kits to acquisition, obtains the current version of the corresponding U3D engines of the U3D game installation kit
Number;Mapping table generation module, for generating an object run code mapping table according to preset rules;Mapping block, for according to institute
The executable file for stating the corresponding version of current version number selection of U3D engines, according to the object run code mapping table to described
Executable file is mapped, the target executable file after being mapped;File replacement module, for the U3D to play
Executable file in installation kit replaces with the target executable file, obtains target U3D game installation kits.
Further, the parsing module, the resolver file pair being specifically used in the U3D game installation kits by acquisition
The U3D game installation kit is parsed, and the current version number of the corresponding U3D engines of the U3D game installation kit is obtained.
Further, the mapping table generation module includes:First generation unit, for generating a behaviour according to preset rules
Make code mapping table;Second generation unit, for based on the operation code mapping table and the master operation code mapping table being generated in advance
Generate an object run code mapping table.
Further, the executable file includes dll file and resolver file, and the mapping block includes:DLL texts
Part map unit is reflected for the dll file in installation kit of being played to the U3D according to the object run code mapping table
It penetrates, the target dll file after being mapped;Resolver File Mapping unit, for the current version number according to the U3D engines
Selection in advance compiled version corresponding with the current version number the U3D play installation kit in resolver file according to
The object run code mapping table is mapped, the target resolver file after being mapped;The file replacement module, specifically
The target dll file is replaced with for the dll file in installation kit that the U3D plays, and the U3D is played and is installed
Resolver file in packet replaces with the target resolver file, obtains target U3D game installation kits.
Further, the dll file map unit, be specifically used for the U3D play installation kit in dll file into
Row traversal, each operation part in the dll file is mapped according to the object run code mapping table, is reflected
Target dll file after penetrating.
The advantageous effect of the embodiment of the present invention is:
A kind of data guard method of offer of the embodiment of the present invention and device, this method play to the U3D of acquisition install first
Packet is parsed, and is obtained the current version number of the corresponding U3D engines of the U3D game installation kit, is then given birth to according to preset rules
It is pressed further according to the executable file of the corresponding version of current version number selection of the U3D engines at an object run code mapping table
The executable file is mapped according to the object run code mapping table, the target executable file after being mapped, so
The executable file in U3D game installation kits is replaced with into the target executable file afterwards, obtains target U3D game peaces
Dress packet, this method can make into U3D game installation kits according to user-defined mapping relations in original executable file
Mapping relations so that U3D game installation kit be not easy to be cracked, improve U3D game installation kit safety.
Other features and advantages of the present invention will be illustrated in subsequent specification, also, partly be become from specification
It is clear that by implementing understanding of the embodiment of the present invention.The purpose of the present invention and other advantages can be by saying what is write
Specifically noted structure is realized and is obtained in bright book, claims and attached drawing.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows a kind of structure diagram can be applied to the electronic equipment in the embodiment of the present application;
Fig. 2 is a kind of flow chart of data guard method provided in an embodiment of the present invention;
Fig. 3 is a kind of structure diagram of data protecting device provided in an embodiment of the present invention.
Specific implementation mode
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete
Ground describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist
The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause
This, the detailed description of the embodiment of the present invention to providing in the accompanying drawings is not intended to limit claimed invention below
Range, but it is merely representative of the selected embodiment of the present invention.Based on the embodiment of the present invention, those skilled in the art are not doing
The every other embodiment obtained under the premise of going out creative work, shall fall within the protection scope of the present invention.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined, then it further need not be defined and explained in subsequent attached drawing in a attached drawing.Meanwhile the present invention's
In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
Fig. 1 is please referred to, Fig. 1 shows a kind of structure diagram for the electronic equipment 100 that can be applied in the embodiment of the present application.
Electronic equipment 100 may include data protecting device, memory 101, storage control 102, processor 103, Peripheral Interface
104。
The memory 101, storage control 102, processor 103,104 each element of Peripheral Interface between each other directly or
It is electrically connected indirectly, to realize the transmission or interaction of data.For example, these elements between each other can be logical by one or more
It interrogates bus or signal wire is realized and is electrically connected.The data protecting device include it is at least one can be with software or firmware
(firmware) form is stored in the memory 101 or is solidificated in the operating system of the data protecting device
Software function module in (operating system, OS).The processor 103 is used to execute to store in memory 101
Module is can perform, such as the software function module or computer program that the data protecting device includes.
Wherein, memory 101 may be, but not limited to, random access memory (Random Access Memory,
RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only
Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM),
Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..
Wherein, memory 101 is for storing program, and the processor 103 executes described program after receiving and executing instruction, aforementioned
The method performed by server that the stream process that any embodiment of the embodiment of the present invention discloses defines can be applied to processor 103
In, or realized by processor 103.
Processor 103 can be a kind of IC chip, the processing capacity with signal.Above-mentioned processor 103 can
To be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit
(Network Processor, abbreviation NP) etc.;Can also be digital signal processor (DSP), application-specific integrated circuit (ASIC),
Ready-made programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hard
Part component.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor
Can be microprocessor or the processor 103 can also be any conventional processor etc..
The Peripheral Interface 104 couples various input/output devices to processor 103 and memory 101.At some
In embodiment, Peripheral Interface 104, processor 103 and storage control 102 can be realized in one single chip.Other one
In a little examples, they can be realized by independent chip respectively.
The Peripheral Interface 104 couples various input/output devices to processor 103 and memory 101.At some
In embodiment, Peripheral Interface 104, processor 103 and storage control 102 can be realized in one single chip.Other one
In a little examples, they can be realized by independent chip respectively.
It is appreciated that structure shown in FIG. 1 is only to illustrate, the electronic equipment 100 may also include more than shown in Fig. 1
Either less component or with the configuration different from shown in Fig. 1.Hardware, software may be used in each component shown in Fig. 1
Or combinations thereof realize.
U3D full name are Universal 3D, are a general 3 D graphic format standards, are by Unity Technologies
One of exploitation allows player easily to create in the types interactions such as 3 D video game, building visualization, realtime three dimensional animation
The multi-platform comprehensive development of games tool held, is a professional game engine integrated comprehensively.
The target of U3D be terminate such as AutoDesk, Catia, UG, Pro-E and other software companys exploitation it is proprietary
3D graphical formats, a kind of reference format that all users can use replace it.Before retaining most functions
It carries, can be opened without proprietary program(me), or browsing and the operation of 3D views are carried out in internet.
Fig. 2 is please referred to, Fig. 2 is a kind of flow chart of data guard method provided in an embodiment of the present invention, the method packet
Include following steps:
Step S110:The U3D game installation kits of acquisition are parsed, the corresponding U3D of the U3D game installation kit is obtained
The current version number of engine.
In order to U3D play installation kit in executable file protect, prevent unauthorized person to its program code into
Row is distorted, so obtain U3D game installation kits to be installed first, i.e. APK (AndroidPackage, Android installation kit),
The U3D game installation kits of acquisition are parsed, to obtain the current version of the corresponding U3D engines of the U3D game installation kit
This number.
Specifically, U3D game installation kits are solved by the resolver file in the U3D of acquisition game installation kits
Analysis obtains the current version number of the corresponding U3D engines of the U3D game installation kit.
Wherein, resolver file refers to libunity.so files and libmono.so files, and libunity.so files are
The core library tool of U3D provides various functions realization, and libmono.so files are the core libraries of U3D, in android system
The environment for executing DLL (Dynamic Link Library, application program are expanded) file is provided.
That is, being parsed using resolver file, the version number of U3D engines is obtained, U3D engines are each for developing
Kind is played, that is, also different with the U3D game that different editions are developed, i.e. U3D game packages difference.
Step S120:An object run code mapping table is generated according to preset rules.
Operation code mapping table refers to opcode tables, and opcode refers to operation code, for describing in machine language instruction, is specified
Execute the machine code of certain operation, it can be understood as be the file that U3D compiles out, be a kind of intermediate language, be similar to word
Code is saved, bytecode can make an appointment operation rules, such as a+b=c, can be by using ADD a b and MOV c two instruction catalogues of a
Show.And all instructions is all by binary representation in a computer, therefore ADD here and MOV have pair in a computer
The numerical value answered indicates, for example ADD indicates that MOV is indicated with 02 with 01, then including ADD-01, MOV-02 in opcode tables
Such mapping relations.
Above-mentioned preset rules can be voluntarily defined with user, for example, for defined ADD-88, MOV- in advance
45, then it is 01-88 according to mapping relations, 02-45 generates object run code mapping table.
Alternatively, first according to preset rules generate an operation code mapping table, based on the operation code mapping table be generated in advance
Master operation code mapping table generate an object run code mapping table.
Master operation code mapping table is generated in advance and included in U3D game installation kits, is installed so playing to U3D
Packet can get master operation code mapping table after being parsed, for example, the mapping relations that it is instructed in master operation code mapping table
For ADD-01, MOV-02, then an operation code mapping table is generated at random according to customized preset rules, such as ADD-88, MOV-45,
So the mapping relations in the object run code mapping table of generation are 01-88,02-45.
Step S130:The executable file that corresponding version is selected according to the current version number of the U3D engines, according to described
Object run code mapping table maps the executable file, the target executable file after being mapped.
Since the U3D engines of each version correspond to the executable file of different editions, executable file can be regarded as U3D
The binary system of engine output executes file, namely for the executable file for generating U3D game installation kits, to executable file
In all parts opcode mapped according to object run code mapping table, for example, the portions opcode in executable file
ADD-01 in point, then mapped according to the 01-88 in the object run code mapping table of above-mentioned generation, that is, by executable text
Opcode partial replacements in part are 01-88.
Step S140:Executable file in U3D game installation kits is replaced with into the target executable file, is obtained
Obtain target U3D game installation kits.
Executable file in original U3D game installation kits is replaced with into the target executable file after being mapped, from
And target U3D game installation kits are obtained, to which the executable file in target U3D game installation kits has been redesigned
, so the safety and reliability for U3D game installation kits, improves the safety of U3D game installation kits.
Specifically, as an implementation, executable file includes dll file and resolver file, according to the U3D
The executable file of the corresponding version of current version number selection of engine, according to the object run code mapping table to described executable
File is mapped, the target executable file after being mapped, including:
The dll file in U3D game installation kits is mapped according to the object run code mapping table, is reflected
Target dll file after penetrating;It is compiled with the current version number in advance according to the selection of the current version number of the U3D engines
Resolver file in the U3D game installation kits of corresponding version is mapped according to the object run code mapping table, is obtained
Target resolver file after must mapping.
Wherein, the dll file in U3D game installation kits is traversed, to each operation in the dll file
Code part is mapped according to the object run code mapping table, the target dll file after being mapped.Namely for each
The parts opcode in dll file are mapped according to object run code mapping table so that in the above described manner in dll file
Mapping relations in the parts opcode all replace with the mapping relations in object run code mapping table.
According to the current version number of the U3D engines, the resolver file of compiled various versions in advance is selected (i.e.
Libmono.so files and libunity.so files), and the parts opcode in resolver file are reflected according to object run code
Mapping relations in firing table are mapped.
Then the dll file U3D played in installation kit replaces with the target dll file, and by the U3D
Resolver file in game installation kit replaces with the target resolver file, obtains target U3D game installation kits, as a result,
The mapping relations in the operation code mapping table in executable file in target U3D game installation kits have been replaced by target behaviour
Make the mapping relations in code mapping table so that first according to the mapping relations of user oneself definition when generating U3D game installation kits
Executable file is generated, then so that the U3D game installation kits that U3D engines generate are not easy to be cracked, improves U3D game installations
The safety of packet.
Fig. 3 is please referred to, Fig. 3 is a kind of structure diagram of data protecting device 200 provided in an embodiment of the present invention, the dress
Set including:
Parsing module 210 parses for the U3D game installation kits to acquisition, obtains the U3D game installation kit pair
The current version number for the U3D engines answered.
Mapping table generation module 220, for generating an object run code mapping table according to preset rules.
Mapping block 230, the executable file for selecting corresponding version according to the current version number of the U3D engines,
The executable file is mapped according to the object run code mapping table, the target executable file after being mapped.
File replacement module 240, replacing with the target for the executable file in installation kit that the U3D plays can
File is executed, target U3D game installation kits are obtained.
Further, the parsing module 210, the resolver text being specifically used in the U3D game installation kits by acquisition
Part parses U3D game installation kits, obtains the current version number of the corresponding U3D engines of the U3D game installation kit.
Further, the mapping table generation module 220 includes:First generation unit, for being generated according to preset rules
One operation code mapping table;Second generation unit, for being reflected with the master operation code being generated in advance based on the operation code mapping table
Firing table generates an object run code mapping table.
Further, the executable file includes dll file and resolver file, and the mapping block 230 includes:
Dll file map unit, for according to the object run code mapping table to the U3D play installation kit in dll file into
Row mapping, the target dll file after being mapped;Resolver File Mapping unit, for the current version according to the U3D engines
Resolver file in the U3D game installation kits of the advance compiled version corresponding with the current version number of this number selection
It is mapped according to the object run code mapping table, the target resolver file after being mapped;The file replacement module
240, replace with the target dll file specifically for the dll file in installation kit that the U3D plays, and by the U3D
Resolver file in game installation kit replaces with the target resolver file, obtains target U3D game installation kits.
Further, the dll file map unit, be specifically used for the U3D play installation kit in dll file into
Row traversal, each operation part in the dll file is mapped according to the object run code mapping table, is reflected
Target dll file after penetrating.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description
Specific work process, can refer to preceding method in corresponding process, no longer excessively repeat herein.
In conclusion a kind of data guard method of offer of the embodiment of the present invention and device, this method is first to the U3D of acquisition
Game installation kit is parsed, and the current version number of the corresponding U3D engines of the U3D game installation kit is obtained, then according to pre-
If rule generates an object run code mapping table, the current version number selection further according to the U3D engines corresponds to holding for version
Style of writing part, maps the executable file according to the object run code mapping table, the target after being mapped can be held
Then executable file in U3D game installation kits is replaced with the target executable file, obtains target by style of writing part
U3D game installation kits, this method can make into hold originally in U3D game installation kits according to user-defined mapping relations
Mapping relations in style of writing part improve the peace of U3D game installation kits so that U3D game installation kits are not easy to be cracked
Quan Xing.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through
Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, the flow chart in attached drawing and block diagram
Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product,
Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code
Part, a part for the module, section or code, which includes that one or more is for implementing the specified logical function, to be held
Row instruction.It should also be noted that at some as in the realization method replaced, the function of being marked in box can also be to be different from
The sequence marked in attached drawing occurs.For example, two continuous boxes can essentially be basically executed in parallel, they are sometimes
It can execute in the opposite order, this is depended on the functions involved.It is also noted that every in block diagram and or flow chart
The combination of box in a box and block diagram and or flow chart can use function or the dedicated base of action as defined in executing
It realizes, or can be realized using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each function module in each embodiment of the present invention can integrate to form an independent portion
Point, can also be modules individualism, can also two or more modules be integrated to form an independent part.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module
It is stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be expressed in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should be noted that:Similar label and letter exist
Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing
It is further defined and is explained.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Claims (10)
1. a kind of data guard method, which is characterized in that the method includes:
The U3D game installation kits of acquisition are parsed, the current version of the corresponding U3D engines of the U3D game installation kit is obtained
This number;
An object run code mapping table is generated according to preset rules;
The executable file that corresponding version is selected according to the current version number of the U3D engines, reflects according to the object run code
Firing table maps the executable file, the target executable file after being mapped;
Executable file in U3D game installation kits is replaced with into the target executable file, obtains target U3D game
Installation kit.
2. according to the method described in claim 1, it is characterized in that, parsed to the U3D of acquisition game installation kit, institute is obtained
The current version number of the corresponding U3D engines of U3D game installation kits is stated, including:
U3D game installation kits are parsed by the resolver file in the U3D game installation kits of acquisition, described in acquisition
The current version number of the corresponding U3D engines of U3D game installation kits.
3. according to the method described in claim 1, it is characterized in that, according to preset rules generate an object run code mapping table,
Including:
An operation code mapping table is generated according to preset rules;
An object run code mapping table is generated based on the operation code mapping table and the master operation code mapping table being generated in advance.
4. according to the method described in claim 1, it is characterized in that, the executable file includes dll file and resolver text
Part selects the executable file of corresponding version according to the current version number of the U3D engines, is mapped according to the object run code
Table maps the executable file, the target executable file after being mapped, including:
The dll file in U3D game installation kits is mapped according to the object run code mapping table, after being mapped
Target dll file;
It is selected described in compiled version corresponding with the current version number in advance according to the current version number of the U3D engines
Resolver file in U3D game installation kits is mapped according to the object run code mapping table, the target after being mapped
Resolver file;
Executable file in U3D game installation kits is replaced with into the target executable file, obtains target U3D game
Installation kit, including:
Dll file in U3D game installation kits is replaced with into the target dll file, and the U3D is played and is installed
Resolver file in packet replaces with the target resolver file, obtains target U3D game installation kits.
5. according to the method described in claim 4, it is characterized in that, being swum to the U3D according to the object run code mapping table
Dll file in play installation kit is mapped, the target dll file after being mapped, including:
Dll file in U3D game installation kits is traversed, each operation part in the dll file is pressed
It is mapped according to the object run code mapping table, the target dll file after being mapped.
6. a kind of data protecting device, which is characterized in that described device includes:
Parsing module is parsed for the U3D game installation kits to acquisition, obtains the corresponding U3D of the U3D game installation kit
The current version number of engine;
Mapping table generation module, for generating an object run code mapping table according to preset rules;
Mapping block, the executable file for selecting corresponding version according to the current version number of the U3D engines, according to described
Object run code mapping table maps the executable file, the target executable file after being mapped;
File replacement module replaces with the executable text of the target for the executable file in installation kit that the U3D plays
Part obtains target U3D game installation kits.
7. device according to claim 6, which is characterized in that the parsing module is specifically used for the U3D trips by obtaining
Resolver file in play installation kit parses U3D game installation kits, and it is corresponding to obtain the U3D game installation kit
The current version number of U3D engines.
8. device according to claim 6, which is characterized in that the mapping table generation module includes:
First generation unit, for generating an operation code mapping table according to preset rules;
Second generation unit, for generating a mesh based on the operation code mapping table and the master operation code mapping table being generated in advance
Mark operation code mapping table.
9. device according to claim 6, which is characterized in that the executable file includes dll file and resolver text
Part, the mapping block include:
Dll file map unit, for the DLL texts in installation kit of being played to the U3D according to the object run code mapping table
Part is mapped, the target dll file after being mapped;
Resolver File Mapping unit, for according to the current version number of the U3D engines selection in advance it is compiled with it is described
Resolver file in the U3D game installation kits of the corresponding version of current version number according to the object run code mapping table into
Row mapping, the target resolver file after being mapped;
The file replacement module replaces with the target DLL specifically for the dll file in installation kit that the U3D plays
File, and the resolver file in U3D game installation kits is replaced with into the target resolver file, obtain target
U3D game installation kits.
10. device according to claim 9, which is characterized in that the dll file map unit is specifically used for described
Dll file in U3D game installation kits is traversed, to each operation part in the dll file according to the target
Operation code mapping table is mapped, the target dll file after being mapped.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810382952.2A CN108563926A (en) | 2018-04-24 | 2018-04-24 | Data guard method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810382952.2A CN108563926A (en) | 2018-04-24 | 2018-04-24 | Data guard method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108563926A true CN108563926A (en) | 2018-09-21 |
Family
ID=63536803
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810382952.2A Pending CN108563926A (en) | 2018-04-24 | 2018-04-24 | Data guard method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108563926A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112926032A (en) * | 2021-03-26 | 2021-06-08 | 支付宝(杭州)信息技术有限公司 | Method and device for processing and operating byte code and byte code operating system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103324872A (en) * | 2013-07-12 | 2013-09-25 | 上海交通大学 | Android application program protective method and system based on order confusion |
US20140032505A1 (en) * | 2012-07-25 | 2014-01-30 | Aviv Grafi | Method, computer readable medium and a device for neutralization of attacks |
CN107203721A (en) * | 2017-03-01 | 2017-09-26 | 广西发发科技有限公司 | A kind of anti-cheating system of current game |
-
2018
- 2018-04-24 CN CN201810382952.2A patent/CN108563926A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140032505A1 (en) * | 2012-07-25 | 2014-01-30 | Aviv Grafi | Method, computer readable medium and a device for neutralization of attacks |
CN103324872A (en) * | 2013-07-12 | 2013-09-25 | 上海交通大学 | Android application program protective method and system based on order confusion |
CN107203721A (en) * | 2017-03-01 | 2017-09-26 | 广西发发科技有限公司 | A kind of anti-cheating system of current game |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112926032A (en) * | 2021-03-26 | 2021-06-08 | 支付宝(杭州)信息技术有限公司 | Method and device for processing and operating byte code and byte code operating system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108292231B (en) | Method and system for generating applications from data | |
US8589870B2 (en) | System and method for transforming graphical models | |
CN105608393B (en) | A kind of reinforcement means based on the recombination of Android executable files | |
US9842178B2 (en) | Systems and methods for binding mismatched schematic and layout design hierarchy | |
EP2751675A1 (en) | Describing native application programming interfaces of an operating system with metadata | |
AU2010241813A1 (en) | Platform extensibility framework | |
CN101208690B (en) | Translating expressions in computing environment | |
WO2014120142A1 (en) | Systems and methods for determining compatibility between software licenses | |
US8875301B2 (en) | Software license incompatibility determination | |
CN110263316A (en) | A kind of document handling method, device and computer equipment | |
JP2013246644A (en) | Software object correction support device, software object correction support method and program | |
US8359592B2 (en) | Identifying groups and subgroups | |
CN108563926A (en) | Data guard method and device | |
Farrell | Web Components in Action | |
Bonfanti et al. | AsmetaA: animator for abstract state machines | |
US20130318494A1 (en) | Capturing domain validations and domain element initializations | |
Toftedahl | Localization Tools in General Purpose Game Engines: A Systematic Mapping Study | |
US9411918B1 (en) | Simplified device model extension using subcircuits | |
CN113822002B (en) | Data processing method, device, computer equipment and storage medium | |
US20070192694A1 (en) | Information display for disparate data sets | |
US9122660B2 (en) | Presentation overlays to modify presentations of packaged files | |
CN111459483B (en) | Interface processing method and device | |
CN114298882A (en) | Watermark embedding method and tracing method for CAD data and electronic equipment | |
CN112583603B (en) | Visual signature method and device, electronic equipment and computer readable storage medium | |
KR101423508B1 (en) | Method and System for Providing Font |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180921 |
|
RJ01 | Rejection of invention patent application after publication |