WO2015139646A1 - Data processing method and apparatus for unrealscript - Google Patents

Data processing method and apparatus for unrealscript Download PDF

Info

Publication number
WO2015139646A1
WO2015139646A1 PCT/CN2015/074572 CN2015074572W WO2015139646A1 WO 2015139646 A1 WO2015139646 A1 WO 2015139646A1 CN 2015074572 W CN2015074572 W CN 2015074572W WO 2015139646 A1 WO2015139646 A1 WO 2015139646A1
Authority
WO
WIPO (PCT)
Prior art keywords
script
unreal
objects
relationship
file
Prior art date
Application number
PCT/CN2015/074572
Other languages
French (fr)
Inventor
Yiqing Li
Original Assignee
Tencent Technology (Shenzhen) Company Limited
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 Tencent Technology (Shenzhen) Company Limited filed Critical Tencent Technology (Shenzhen) Company Limited
Publication of WO2015139646A1 publication Critical patent/WO2015139646A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
    • G06F9/45508Runtime interpretation or emulation, e g. emulator loops, bytecode interpretation
    • G06F9/45512Command shells
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs

Definitions

  • the present disclosure relates to the field of computer technologies, and more particularly to a data processing method and apparatus for Unreal Script.
  • Unreal Script which is generally referred to as UE script, refers to executable script files (sometimes also referred to as macros or batch files) that are compiled by program developers according to the Unreal Script syntax. These scripts are mainly for implementing predetermined logic functions, for example, allowing a player to create a room, move or shoot in a game.
  • a UE script contains UE script objects, and the UE script objects are classes, states, functions and properties in the Unreal Script script that are defined according to the Unreal Script syntax.
  • Unreal Script scripts are mainly editor tools and solutions.
  • the main function of these solutions is to support developers to compile Unreal Script scripts or further provide syntax checking. Searches in the UE script are mostly performed using a text search tool such as NotePad++.
  • the main concept is to traverse file content by means of text traversal, and the result of traversal can present all text information containing keyword content.
  • Every search and screening operation requires at least 10 seconds, leading to low search speed, and currently comparison between two UE scripts cannot be implemented. Therefore, based on current script structures, organization and separation of UE script information cannot be automatically implemented, and screening, classification and differentiated comparison of script information also cannot be automatically implemented.
  • Embodiments of the present invention provide a data processing method and apparatus for Unreal Script, which are used to provide a new data processing solution for Unreal Script, providing conditions for increasing the search speed and achieving automatic script comparison, script information screening, information separation and classification.
  • a data processing method for Unreal Script includes:
  • a data processing apparatus for Unreal Script includes:
  • a script reading unit configured to read script statements in an Unreal Script file
  • an information reading unit configured to execute the following operation for each of the script statements in sequence: determining a structure category, basic information and relationship information of the script statement according to information of the script statement, the structure category being a structure category of a predefined Unreal Script object structure; and
  • an object construction unit configured to update the Unreal Script object structure corresponding to the structure category by using the determined basic information and relationship information, to obtain an Unreal Script object set.
  • An Unreal Script object structure is predefined according to a structure category, and the following operation is executed for each script statement according to the predefined Unreal Script object structure: determining a structure category, basic information and relationship information of the script statement according to information of the script statement; and then the Unreal Script object structure corresponding to the structure category is updated by using the determined basic information and relationship information, to obtain an Unreal Script object set.
  • a structure of a new Unreal Script object is automatically constructed, and this structure not only contains basic information of the object, but also contains the category and relationship information of the structure, providing conditions for increasing the search speed and achieving the functions of automatic script comparison, script information screening, information separation and classification.
  • FIG. 1 is a schematic flowchart of a method according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a method according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a method according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a method according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of a method according to an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of a method according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
  • An embodiment of the present invention provides a data processing method for Unreal Script. As shown in FIG. 1, the method includes:
  • the Unreal Script file is an executable script file compiled according to the Unreal Script syntax, that is, the Unreal Script file consists of script statements, and in this step, a process of decoding the Unreal Script file to obtain its source code and reading the source code is executed.
  • 102 Execute the following operation for each of the script statements in sequence: determining a structure category, basic information and relationship information of the script statement according to information of the script statement, the structure category being a structure category of a predefined Unreal Script object structure.
  • the structure category of the Unreal Script object structure may be set as required.
  • the Unreal Script object structure of each category contains basic information and relationship information.
  • the basic information and the relationship information are two kinds of parameter information in the Unreal Script object.
  • the basic information is information that describes the Unreal Script object, and may include identification information, such as a key and a name, and may also include other information such as a file in which the object is located and content of the object.
  • the relationship information is information for expressing a relationship between the Unreal Script object and other Unreal Script objects, and may include, for example, a state list, a function list, a property list, a depending class list and a parent class, default property information, a depended list, and an inherited list.
  • an Unreal Script object structure is predefined according to a structure category, and the following operation is executed for each script statement according to the predefined Unreal Script object structure: determining a structure category, basic information and relationship information of the script statement according to information of the script statement; and then the Unreal Script object structure corresponding to the structure category is updated by using the determined basic information and relationship information, to obtain an Unreal Script object set.
  • a structure of a new Unreal Script object is automatically constructed, and this structure not only contains basic information of the object, but also contains the category and relationship information of the structure, providing conditions for increasing the search speed and achieving the functions of automatic script comparison, script information screening, information separation and classification.
  • an embodiment of the present invention provides a specific implementation solution for information search, as follows:
  • the method further includes:
  • this embodiment of the present invention further provides examples of the type of the Unreal Script object structure.
  • the following examples are preferred implementation solutions provided based on this application scenario of Unreal Script in this embodiment of the present invention, and a person skilled in the art may also use other types depending on different demands, which is not exclusively limited in this embodiment of the present invention.
  • the type of the predefined Unreal Script object structure includes: a class structure, a state structure, a function structure, and a property structure.
  • this embodiment of the present invention also provides examples of the basic information and the relationship information that are contained in the Unreal Script structure.
  • the basic information and the relationship information that are contained in the Unreal Script file may vary with different scenarios, and is not limited to the following examples; therefore, the following examples should not be construed as exclusively limiting this embodiment of the present invention. Specifically,
  • the basic information includes at least one of: a key of the object, a name of the object, a file in which the object is located, and content of the object; and the relationship information includes at least one of: a state list, a function list, a property list, a depending class list and a parent class, default property information, a depended list, and an inherited list;
  • the basic information includes at least one of: a key of the object, a name of the object, a file in which the object is located, content of the object, and a state type; and the relationship information includes at least one of: a function list and/or a class to which the object belongs;
  • the basic information includes at least one of: a key of the object, a name of the object, a file in which the object is located, content of the object, a function parameter, and a function type; and the relationship information includes at least one of: a calling function list, a property value list, a called function list, and a class to which the object belongs; and
  • the basic information includes at least one of: a key of the object, a name of the object, a file in which the object is located, content of the object, a property type, and a class to which the object belongs; and the relationship information includes information about use of the property.
  • the predefined Unreal Script object structure in this embodiment of the present invention contains the relationship information, if multiple Unreal Script object sets are obtained, more relationship information can be derived from these relationship information, so that information directly obtained from a script file can be further enriched and extended.
  • the relationship information includes at least one of: a dependence relationship, an inheritance relationship and a calling relationship of Unreal Script objects
  • the method further includes: deriving, by backward induction, new relationship information according to the dependence relationship, the inheritance relationship and/or the calling relationship, and updating the Unreal Script object structure by using the new relationship information.
  • Unreal Script scripts can be conveniently determined based on the Unreal Script object structure provided in this embodiment of the present invention. Specifically, after obtaining an Unreal Script object set of a first Unreal Script file and an Unreal Script object set of a second Unreal Script file, the method further includes: comparing the Unreal Script object set of the first Unreal Script file and the Unreal Script object set of the second Unreal Script file for differences in Unreal Script objects.
  • Both the first Unreal Script file and the second Unreal Script file are Unreal Script files.
  • this embodiment of the present invention further provides a preferred comparison solution for obtaining respective sets of newly added Unreal Script objects and ⁇ or sets of modified Unreal Script objects of two Unreal Script files compared with each other.
  • the specific solution is as follows: The comparing the Unreal Script object set of the first Unreal Script file and the Unreal Script object set of the second Unreal Script file for differences in Unreal Script objects includes:
  • the embodiments of the present invention mainly provide an object-based construction solution for UE scripts, which provides data sets to enable UE scripts of games using the UE engine to allow searching and screening based on object sets, making the UE scripts be object-based, and can increase the search efficiency and provide richer search information.
  • the present disclosure is applicable to solutions that demand code walk-through (code walk-through refers to a code check method that developers read code randomly for each other to check whether the compiled code is correct) and check of game scripts.
  • code walk-through refers to a code check method that developers read code randomly for each other to check whether the compiled code is correct
  • an Unreal Script object is referred to as a script object in subsequent embodiments.
  • Processing in the above steps is the core of the embodiments of the present invention, and mainly includes two aspects: object construction and object comparison.
  • UE script object sets of the two versions are constructed using the same method. As there may be differences in script code content data in the UE script files, the UE script object sets of the two versions may be different.
  • script information is read, and parsed to determine the type of the script information, and a UE script object set is constructed.
  • a differentiated comparison algorithm for the form of the UE script object set is provided; in this part, the two versions are compared for differences in script objects.
  • specifically objects are classified according to the algorithm, to respectively obtain a set of newly added objects, a set of modified objects, a set of deleted objects, and a set of unmodified objects.
  • the process of constructing UE script objects is basically performed in sequence according to the following steps, as shown in FIG. 3:
  • First step Define structures of UE script objects.
  • all UE script code can be syntactically abstracted into four types of objects.
  • the structures of the four types of UE script objects are defined according to the UE script syntax, as shown in Tables 1 to 4 below.
  • the class structure contains two parts: basic information, and relationship information of the class.
  • the basic information mainly includes: an object key indicating that the class can be uniquely identified, a name of the class and a UE script file in which the class is located, and detailed content contained in the class.
  • the detailed content of the class plays a crucial role in the subsequent comparison operation, and class objects whose content is changed can be screen out from an executable file script according to the detail content.
  • the structure stores the relationship information of the class, which can be used to organize the relationship between classes, and organize states, functions and properties of the class.
  • Information in the state structure is relatively simple. Similar to the class structure, the state structure also includes two parts: basic information, and relationship information of the class.
  • the basic information mainly includes: an object key that uniquely identifies the state, a state name and a state type, specific content of the state, and the like.
  • Content in the relationship information of the state mainly includes information about functions in the state, and information about the class to which the state belongs.
  • the basic information in the function structure is basically the same as those in the class and state, except that the basic information in the function structure further includes a function type description.
  • the type herein is mainly determined according to a keyword of the function as defined by the Unreal Script syntax.
  • the relationship information in the function mainly includes information about calling functions and information about a called function list in the function, and according to the two lists, a mutual calling relationship chain can be established between function objects.
  • monitoring of the property value of the function body class and the values of local variables is of significant importance to enrich the relationship between properties.
  • the type of the property also needs to be known.
  • Such types provide an important basis for additionally providing some function calling relationships. For example, for function calling of an instantiated objects, objects calling the function can be found according to the type of the object property, and a relational table between the objects calling and the called object is established.
  • differentiated storage of the object structures can be implemented in the UE script according to the characteristics of the Unreal Script syntax.
  • Second step The structures of UE script objects and the relationship between the objects have been defined in the first step, and subsequently a series of rules for identifying UE script objects need to be constructed.
  • These rules mainly include two parts: an object identification state set and object matching rules.
  • the state set mainly stores syntactical states of the current statement in the four types of UE script objects constructed above. These states in the state set will provide a reference for filling script object data in the third step.
  • the following operations are performed in sequence: reading a script file, initializing all states in a state set, reading the first sentence of script, and performing the following steps until the last script statement: judging whether it is the beginning of a class object, and if yes, setting a class object start flag; judging whether it is the end of a class object, and if yes, setting a class object end flag; judging whether it is the beginning of a state object, and if yes, setting a state object start flag; judging whether it is the end of a state object, and if yes, setting a state object end flag; judging whether it is the beginning of a function object, and if yes, setting a function object start flag; judging whether it is the end of a function object, and if yes, setting a function object end flag; judging whether it is the beginning of a property object, and if yes, setting a function object end flag; judging whether it is the beginning of a property object, and if yes, setting a property object start flag; judging whether it
  • the states of the state set can be updated by judging the statements.
  • object matching rules may be realized through a regular expression, for example, an obtained regular expression for the class name is as follows:
  • the main work in this step is to automatically complete classification of UE script objects, filling of object data, and storage of the object set according to the rules defined in the second step.
  • Storage of the object set mainly includes the following three key points:
  • Unreal Script script statements updating the state set according to the matching rules, and then judging whether it belongs to a class, whether it belongs to a state, whether it belongs to a function, and whether it belongs to a property, and if the judging result is yes, determining the type of the structure to which it belongs; then determining whether a new object needs to be created, and if yes, correspondingly creating a class object, creating a state object, creating a function object or creating a property object, and then adding statement information to the class object structure; or if no new object needs to be created, directly adding statement information to the class object structure; after the above operations are performed, finally determining according to a processing result state set whether all the statements have been processed, and if yes, ending the process, or otherwise, re-executing the above process.
  • Filling of basic data of objects is basically implemented according to the above process. After a statement is read, the state set is updated in the manner described in the second step, and then determining, according to judging of the statement in the state set, whether to create a new UE script object and update information of UE script objects, thus processing all statements of all UE script files.
  • the class objects are traversed to obtain a relationship between classes, and finally a relationship chain between classes is constructed; in the following function relationship where there is a parent class defined function and function call, the definition of the class object provides a reference.
  • mainly depended and inherited list information in the parent class and depending class objects is filled according to object keys of depending class objects and parent class objects in the class objects.
  • the three UE script object classes A, B, and C have been constructed above, the main work here is to:
  • the relationship information is enriched.
  • the third step in the embodiments of the present invention most of the relationship information of UE script objects has been established, but there is still part of information that cannot be established during object construction, for example, called list information of this function object, depended and inherited class list information of this class object.
  • This step is mainly to perform backward induction from the dependence relationship, the inheritance relationship, and the calling relationship of UE script objects that are already constructed, to establish the relationship information that has not been filled in the third step such as depended and called relationships of called objects.
  • the relationship information that has not been filled in the third step such as depended and called relationships of called objects.
  • the three UE script object classes A, B, and C have been constructed and the dependence and inheritance relationships have been established above, the main work here is to:
  • the object sets of UE script objects are already obtained, subsequent work in the embodiments of the present invention is to classify these object sets.
  • the comparison of two versions of UE scripts for differences in object data is basically performed according to the following process as shown in FIG. 6:
  • same objects as those in the object set of the old version are excluded from the object set of the new version to obtain a set of newly added and modified objects in the new version; similarly, same objects as those in the object set of the new version are excluded from the object set of the old version to obtain a set of deleted and modified objects in the new version.
  • the set of newly added and modified objects in the new version and the set of deleted and modified objects in the new version that are obtained in the first step are excluded from each other to obtain a set of newly added objects in the new version and a set of deleted objects in the new version.
  • the set of newly added objects is excluded from the set of newly added and modified objects in the new version to obtain a set of modified objects.
  • sets of four types of objects that is, class, state, function and property objects, in UE script objects are separately processed according to the above process shown in FIG. 6, so as to obtain a set of newly added objects, a set of deleted objects, and a set of modified objects of each of the four types of objects in the new version compared with the old version.
  • An embodiment of the present invention further provides a data processing apparatus for Unreal Script. As shown in FIG. 7, the apparatus includes:
  • a script reading unit 701 configured to read script statements in an Unreal Script file
  • an information reading unit 702 configured to execute the following operation for each of the script statements in sequence: determining a structure category, basic information and relationship information of the script statement according to information of the script statement, the structure category being a structure category of a predefined Unreal Script object structure; and
  • an object construction unit 703 configured to update the Unreal Script object structure corresponding to the structure category by using the determined basic information and relationship information, to obtain an Unreal Script object set.
  • the Unreal Script file is an executable script file compiled according to the Unreal Script syntax, that is, the Unreal Script file consists of script statements, and in this step, a process of decoding the Unreal Script file to obtain its source code and reading the source code is executed.
  • the structure category of the Unreal Script object structure may be set as required.
  • the Unreal Script object structure of each category contains basic information and relationship information.
  • the basic information and the relationship information are two kinds of parameter information in the Unreal Script object.
  • the basic information is information that describes the Unreal Script object, and may include identification information, such as a key and a name, and may also include other information such as a file in which the object is located and content of the object.
  • the relationship information is information for expressing a relationship between the Unreal Script object and other Unreal Script objects, and may include, for example, a state list, a function list, a property list, a depending class list and a parent class, default property information, a depended list, and an inherited list.
  • an Unreal Script object structure is predefined according to a structure category, and the following operation is executed for each script statement according to the predefined Unreal Script object structure: determining a structure category, basic information and relationship information of the script statement according to information of the script statement; and then the Unreal Script object structure corresponding to the structure category is updated by using the determined basic information and relationship information, to obtain an Unreal Script object set.
  • a structure of a new Unreal Script object is automatically constructed, and this structure not only contains basic information of the object, but also contains the category and relationship information of the structure, providing conditions for increasing the search speed and achieving the functions of automatic script comparison, script information screening, information separation and classification.
  • an embodiment of the present invention provides a specific implementation solution for information search, as follows: Further, as shown in FIG. 8, the apparatus further includes:
  • a relationship determining unit 801 configured to read the Unreal Script object set, and determine, according to the relationship information in the Unreal Script object structure of Unreal Script objects in the Unreal Script object set, relationship information between the Unreal Script objects;
  • an information output unit 802 configured to output the relationship information determined by the relationship determining unit 801.
  • this embodiment of the present invention further provides examples of the type of the Unreal Script object structure.
  • the following examples are preferred implementation solutions provided based on this application scenario of Unreal Script in this embodiment of the present invention, and a person skilled in the art may also use other types depending on different demands, which is not exclusively limited in this embodiment of the present invention.
  • the type of the predefined Unreal Script object structure updated by the object construction unit 703 includes: a class structure, a state structure, a function structure, and a property structure.
  • this embodiment of the present invention also provides examples of the basic information and the relationship information that are contained in the Unreal Script structure.
  • the basic information and the relationship information that are contained in the Unreal Script file may vary with different scenarios, and is not limited to the following examples; therefore, the following examples should not be construed as exclusively limiting this embodiment of the present invention. Specifically,
  • the basic information includes at least one of: a key of the object, a name of the object, a file in which the object is located, and content of the object; and the relationship information includes at least one of:a state list, a function list, a property list, a depending class list and a parent class, default property information, a depended list, and an inherited list;
  • the basic information includes at least one of: a key of the object, a name of the object, a file in which the object is located, content of the object, and a state type; and the relationship information includes at least one of: a function list and/or a class to which the object belongs;
  • the basic information includes at least one of: a key of the object, a name of the object, a file in which the object is located, content of the object, a function parameter, and a function type; and the relationship information includes at least one of: a calling function list, a property value list, a called function list, and a class to which the object belongs; and
  • the basic information includes at least one of: a key of the object, a name of the object, a file in which the object is located, content of the object, a property type, and a class to which the object belongs; and the relationship information includes information about use of the property.
  • the apparatus further includes:
  • a relationship deriving unit 901 configured to: if the relationship information includes at least one of: a dependence relationship, an inheritance relationship and a calling relationship of Unreal Script objects, derive, by backward induction, new relationship information according to the dependence relationship, the inheritance relationship and/or the calling relationship,
  • object construction unit 703 is further configured to update the Unreal Script object structure by using the new relationship information derived through backward induction by the relationship deriving unit 901.
  • the apparatus further includes:
  • a comparison unit 1001 configured to: after the object construction unit 703 obtains an Unreal Script object set of a first Unreal Script file and an Unreal Script object set of a second Unreal Script file, compare the Unreal Script object set of the first Unreal Script file and the Unreal Script object set of the second Unreal Script file for differences in Unreal Script objects.
  • Both the first Unreal Script file and the second Unreal Script file are Unreal Script files.
  • this embodiment of the present invention further provides a preferred comparison solution for obtaining respective sets of newly added Unreal Script objects and ⁇ or sets of modified Unreal Script objects of two Unreal Script files compared with each other.
  • the comparison unit 1001 is configured to compare the Unreal Script object set of the first Unreal Script file and the Unreal Script object set of the second Unreal Script file, and first, exclude same Unreal Script objects to obtain a set of newly added Unreal Script objects and a set of modified Unreal Script objects; then, exclude the obtained set of newly added Unreal Script objects and the obtained set of modified Unreal Script objects from each other to obtain a set of newly added Unreal Script objects and a set of deleted Unreal Script objects in the first Unreal Script file; and finally, exclude the set of newly added Unreal Script objects from the set of newly added Unreal Script objects and the set of deleted Unreal Script objects in the first Unreal Script file, to obtain a set of deleted Unreal Script objects in the first Unreal Script file compared with the second Unreal Script file.
  • An embodiment of the present invention further provides another data processing apparatus for Unreal Script.
  • the apparatus includes: a receiver 1101, a transmitter 1102, a processor 1103, and a memory 1104.
  • the processor 1104 is configured to read script statements in an Unreal Script file; execute the following operation for each of the script statements in sequence: determining a structure category, basic information and relationship information of the script statement according to information of the script statement, the structure category being a structure category of a predefined Unreal Script object structure; and update the Unreal Script object structure corresponding to the structure category by using the determined basic information and relationship information, to obtain an Unreal Script object set.
  • the Unreal Script file is an executable script file compiled according to the Unreal Script syntax, that is, the Unreal Script file consists of script statements, and in this step, a process of decoding the Unreal Script file to obtain its source code and reading the source code is executed.
  • the structure category of the Unreal Script object structure may be set as required.
  • the Unreal Script object structure of each category contains basic information and relationship information.
  • the basic information and the relationship information are two kinds of parameter information in the Unreal Script object.
  • the basic information is information that describes the Unreal Script object, and may include identification information, such as a key and a name, and may also include other information such as a file in which the object is located and content of the object.
  • the relationship information is information for expressing a relationship between the Unreal Script object and other Unreal Script objects, and may include, for example, a state list, a function list, a property list, a depending class list and a parent class, default property information, a depended list, and an inherited list.
  • an Unreal Script object structure is predefined according to a structure category, and the following operation is executed for each script statement according to the predefined Unreal Script object structure: determining a structure category, basic information and relationship information of the script statement according to information of the script statement; and then the Unreal Script object structure corresponding to the structure category is updated by using the determined basic information and relationship information, to obtain an Unreal Script object set.
  • a structure of a new Unreal Script object is automatically constructed, and this structure not only contains basic information of the object, but also contains the category and relationship information of the structure, providing conditions for increasing the search speed and achieving the functions of automatic script comparison, script information screening, information separation and classification.
  • an embodiment of the present invention provides a specific implementation solution for information search, as follows:
  • the processor 1104 is further configured to read the Unreal Script object set, and determine, according to the relationship information in the Unreal Script object structure of Unreal Script objects in the Unreal Script object set, relationship information between the Unreal Script objects; and output the relationship information.
  • this embodiment of the present invention further provides examples of the type of the Unreal Script object structure.
  • the following examples are preferred implementation solutions provided based on this application scenario of Unreal Script in this embodiment of the present invention, and a person skilled in the art may also use other types depending on different demands, which is not exclusively limited in this embodiment of the present invention.
  • the type of the predefined Unreal Script object structure used for processing by the processor 1104 includes: a class structure, a state structure, a function structure, and a property structure.
  • this embodiment of the present invention also provides examples of the basic information and the relationship information that are contained in the Unreal Script structure.
  • the basic information and the relationship information that are contained in the Unreal Script file may vary with different scenarios, and is not limited to the following examples; therefore, the following examples should not be construed as exclusively limiting this embodiment of the present invention.
  • the processor 1104 is configured in such a manner that: if the type of the structure of the Unreal Script object is a class structure, the basic information includes at least one of: a key of the object, a name of the object, a file in which the object is located, and content of the object; and the relationship information includes at least one of: a state list, a function list, a property list, a depending class list and a parent class, default property information, a depended list, and an inherited list;
  • the basic information includes at least one of: a key of the object, a name of the object, a file in which the object is located, content of the object, and a state type; and the relationship information includes at least one of: a function list and/or a class to which the object belongs;
  • the basic information includes at least one of: a key of the object, a name of the object, a file in which the object is located, content of the object, a function parameter, and a function type; and the relationship information includes at least one of: a calling function list, a property value list, a called function list, and a class to which the object belongs; and
  • the basic information includes at least one of: a key of the object, a name of the object, a file in which the object is located, content of the object, a property type, and a class to which the object belongs; and the relationship information includes information about use of the property.
  • the predefined Unreal Script object structure in this embodiment of the present invention contains the relationship information, if multiple Unreal Script object sets are obtained, more relationship information can be derived from these relationship information, so that information directly obtained from a script file can be further enriched and extended.
  • the relationship information includes at least one of: a dependence relationship, an inheritance relationship and a calling relationship of Unreal Script objects
  • the processor 1104 is further configured to derive, by backward induction, new relationship information according to the dependence relationship, the inheritance relationship and/or the calling relationship, and update the Unreal Script object structure by using the new relationship information.
  • the difference between Unreal Script scripts can be conveniently determined based on the Unreal Script object structure provided in this embodiment of the present invention.
  • the processor 1104 is further configured to: after obtaining an Unreal Script object set of a first Unreal Script file and an Unreal Script object set of a second Unreal Script file, compare the Unreal Script object set of the first Unreal Script file and the Unreal Script object set of the second Unreal Script file for differences in Unreal Script objects.
  • Both the first Unreal Script file and the second Unreal Script file are Unreal Script files.
  • the terms "first” and "second” are used to distinguish two different Unreal Script files that are to be compared, and are not intended to be limiting. Therefore, the Unreal Script object sets of the first Unreal Script file and the second Unreal Script file are both obtained by using the solution according to this embodiment of the present invention.
  • this embodiment of the present invention further provides a preferred comparison solution for obtaining respective sets of newly added Unreal Script objects and ⁇ or sets of modified Unreal Script objects of two Unreal Script files compared with each other.
  • the processor 1104 being configured to compare the Unreal Script object set of the first Unreal Script file and the Unreal Script object set of the second Unreal Script file for differences in Unreal Script objects includes: comparing the Unreal Script object set of the first Unreal Script file and the Unreal Script object set of the second Unreal Script file, and first, excluding same Unreal Script objects to obtain a set of newly added Unreal Script objects and a set of modified Unreal Script objects; then, excluding the obtained set of newly added Unreal Script objects and the obtained set of modified Unreal Script objects from each other to obtain a set of newly added Unreal Script objects and a set of deleted Unreal Script objects in the first Unreal Script file; and finally, excluding the set of newly added Unreal Script objects from the set of newly added Unreal Script objects and the set of deleted Unreal Script objects in the first Unreal Script file, to obtain a set of deleted Unreal Script objects in the first Unreal Script file compared
  • FIG. 12 shows a data processing apparatus for Unreal Script according to an embodiment of the present invention.
  • the apparatus may be a server, a schematic structural diagram of which is shown in FIG. 12.
  • the server 1200 may vary greatly for different configurations or performance, and may include one or more central processing units (CPU) 1222 (for example, one or more processors) , a memory 1232, and one or more storage media 1230 (for example, one or more mass storage devices) storing an application program 1242 or data 1244.
  • the memory 1232 and the storage media 1230 may be of a temporary or persistent storage type.
  • the program stored in the storage media 1230 may include one or more modules (not shown in the figure) , and each module may include a series of instructions or operations to be executed in the server.
  • the central processing unit 1222 may be configured to communicate with the storage media 1230, and execute, on the server 1200, a series of instructions or operations in the storage media 1230.
  • the server 1200 may further include one or more power supplies 1226, one or more wired or wireless network interfaces 1250, one or more input/output interfaces 1258, and/or one or more operating systems 1241, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, and FreeBSDTM.
  • steps performed by the data processing apparatus for Unreal Script may be based on the structure of the server shown in FIG. 12.
  • a person of ordinary skill in the art should understand that all or a part of the steps of the methods in the embodiments may be implemented by a program instructing relevant hardware.
  • the corresponding program may be stored in a computer readable storage medium.
  • the abovementioned storage medium may be a read-only memory, a magnetic disk, an optical disk, or the like.

Abstract

A data processing method and apparatus for Unreal Script is disclosed. The method includes: reading script statements in an Unreal Script file(101); executing the following operation for each of the script statements in sequence: determining a structure category, basic information and relationship information of the script statement according to information of the script statement, the structure category being a structure category of a predefined Unreal Script object structure(102); and updating the determined basic information and relationship information into the Unreal Script object structure corresponding to the structure category, to obtain an Unreal Script object set(103). In this way, a structure of a new Unreal Script object is automatically constructed, and this structure not only contains basic information of the object, but also contains the category and relationship information of the structure, providing conditions for increasing the search speed and achieving the functions of automatic script comparison, script information screening, information separation and classification.

Description

DATA PROCESSING METHOD AND APPARATUS FOR UNREALSCRIPT
FIELD OF THE TECHNOLOGY
The present disclosure relates to the field of computer technologies, and more particularly to a data processing method and apparatus for Unreal Script.
BACKGROUND OF THE DISCLOSURE
Unreal Script (UE) , which is generally referred to as UE script, refers to executable script files (sometimes also referred to as macros or batch files) that are compiled by program developers according to the Unreal Script syntax. These scripts are mainly for implementing predetermined logic functions, for example, allowing a player to create a room, move or shoot in a game. A UE script contains UE script objects, and the UE script objects are classes, states, functions and properties in the Unreal Script script that are defined according to the Unreal Script syntax.
Currently, tools supported by Unreal Script scripts are mainly editor tools and solutions. The main function of these solutions is to support developers to compile Unreal Script scripts or further provide syntax checking. Searches in the UE script are mostly performed using a text search tool such as NotePad++. The main concept is to traverse file content by means of text traversal, and the result of traversal can present all text information containing keyword content.
By taking a UE script of about 16 M, in current search solutions, every search and screening operation requires at least 10 seconds, leading to low search speed, and currently comparison between two UE scripts cannot be implemented. Therefore, based on current script structures, organization and separation of UE script information cannot be automatically implemented, and screening, classification and differentiated comparison of script information also cannot be automatically implemented.
SUMMARY
Embodiments of the present invention provide a data processing method and apparatus for Unreal Script, which are used to provide a new data processing solution for Unreal Script, providing conditions for increasing the search speed and achieving automatic script comparison, script information screening, information separation and classification. 
A data processing method for Unreal Script includes:
reading script statements in an Unreal Script file;
executing the following operation for each of the script statements in sequence: determining a structure category, basic information and relationship information of the script statement according to information of the script statement, the structure category being a structure category of a predefined Unreal Script object structure; and
updating the Unreal Script object structure corresponding to the structure category by using the determined basic information and relationship information, to obtain an Unreal Script object set.
A data processing apparatus for Unreal Script includes:
a script reading unit, configured to read script statements in an Unreal Script file;
an information reading unit, configured to execute the following operation for each of the script statements in sequence: determining a structure category, basic information and relationship information of the script statement according to information of the script statement, the structure category being a structure category of a predefined Unreal Script object structure; and
an object construction unit, configured to update the Unreal Script object structure corresponding to the structure category by using the determined basic information and relationship information, to obtain an Unreal Script object set.
As can be seen from the above technical solutions, the embodiments of the present invention have the following advantages: An Unreal Script object structure is predefined according to a structure category, and the following operation is executed for each script statement according to the predefined Unreal Script object structure: determining a structure category, basic information and relationship information of the script statement according to information of the script statement; and then the Unreal Script object structure corresponding to the structure category is updated by using the determined basic information and relationship information, to obtain an Unreal Script object set. In this way, a structure of a new Unreal Script object is automatically constructed, and this structure not only contains basic information of the object, but also contains the category and relationship information of the structure, providing conditions for increasing the search speed and achieving the functions of automatic script comparison, script information screening, information separation and classification. 
BRIEF DESCRIPTION OF THE DRAWINGS
To describe the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings required for describing the embodiments. Apparently, the accompanying drawings in the following description show only some embodiments of the present invention, and a person of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.
FIG. 1 is a schematic flowchart of a method according to an embodiment of the present invention;
FIG. 2 is a schematic flowchart of a method according to an embodiment of the present invention;
FIG. 3 is a schematic flowchart of a method according to an embodiment of the present invention;
FIG. 4 is a schematic flowchart of a method according to an embodiment of the present invention;
FIG. 5 is a schematic flowchart of a method according to an embodiment of the present invention;
FIG. 6 is a schematic flowchart of a method according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of an apparatus according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of an apparatus according to an embodiment of the present invention;
FIG. 9 is a schematic structural diagram of an apparatus according to an embodiment of the present invention;
FIG. 10 is a schematic structural diagram of an apparatus according to an embodiment of the present invention;
FIG. 11 is a schematic structural diagram of an apparatus according to an embodiment of the present invention; and 
FIG. 12 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
DESCRIPTION OF EMBODIMENTS
To make the objectives, technical solutions and advantages of the present disclosure clearer, implementation manners of the present disclosure are further described in detail with reference to the accompanying drawings. Apparently, the described embodiments are some of the embodiments of the present invention rather than all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present disclosure.
An embodiment of the present invention provides a data processing method for Unreal Script. As shown in FIG. 1, the method includes:
101: Read script statements in an Unreal Script file.
The Unreal Script file is an executable script file compiled according to the Unreal Script syntax, that is, the Unreal Script file consists of script statements, and in this step, a process of decoding the Unreal Script file to obtain its source code and reading the source code is executed.
102: Execute the following operation for each of the script statements in sequence: determining a structure category, basic information and relationship information of the script statement according to information of the script statement, the structure category being a structure category of a predefined Unreal Script object structure.
In this step, the structure category of the Unreal Script object structure may be set as required. The Unreal Script object structure of each category contains basic information and relationship information. The basic information and the relationship information are two kinds of parameter information in the Unreal Script object. The basic information is information that describes the Unreal Script object, and may include identification information, such as a key and a name, and may also include other information such as a file in which the object is located and content of the object. The relationship information, different from the basic information, is information for expressing a relationship between the Unreal Script object and other Unreal Script objects, and may include, for example, a state list, a function list, a property list, a depending class list and a parent class, default property information, a depended list, and an inherited list. 
103: Update the Unreal Script object structure corresponding to the structure category by using the determined basic information and relationship information, to obtain an Unreal Script object set.
In the above embodiment, an Unreal Script object structure is predefined according to a structure category, and the following operation is executed for each script statement according to the predefined Unreal Script object structure: determining a structure category, basic information and relationship information of the script statement according to information of the script statement; and then the Unreal Script object structure corresponding to the structure category is updated by using the determined basic information and relationship information, to obtain an Unreal Script object set. In this way, a structure of a new Unreal Script object is automatically constructed, and this structure not only contains basic information of the object, but also contains the category and relationship information of the structure, providing conditions for increasing the search speed and achieving the functions of automatic script comparison, script information screening, information separation and classification.
Based on the above Unreal Script object set, an embodiment of the present invention provides a specific implementation solution for information search, as follows: The method further includes:
reading the Unreal Script object set, and determining, according to the relationship information in the Unreal Script object structure of Unreal Script objects in the Unreal Script object set, relationship information between the Unreal Script objects; and outputting the relationship information.
Optionally, this embodiment of the present invention further provides examples of the type of the Unreal Script object structure. The following examples are preferred implementation solutions provided based on this application scenario of Unreal Script in this embodiment of the present invention, and a person skilled in the art may also use other types depending on different demands, which is not exclusively limited in this embodiment of the present invention. Specifically, the type of the predefined Unreal Script object structure includes: a class structure, a state structure, a function structure, and a property structure.
Optionally, based on different Unreal Script structures, this embodiment of the present invention also provides examples of the basic information and the relationship information that are contained in the Unreal Script structure. The basic information and the relationship  information that are contained in the Unreal Script file may vary with different scenarios, and is not limited to the following examples; therefore, the following examples should not be construed as exclusively limiting this embodiment of the present invention. Specifically,
if the type of the structure of the Unreal Script object is a class structure, the basic information includes at least one of: a key of the object, a name of the object, a file in which the object is located, and content of the object; and the relationship information includes at least one of: a state list, a function list, a property list, a depending class list and a parent class, default property information, a depended list, and an inherited list;
if the type of the structure of the Unreal Script object is a state structure, the basic information includes at least one of: a key of the object, a name of the object, a file in which the object is located, content of the object, and a state type; and the relationship information includes at least one of: a function list and/or a class to which the object belongs;
if the type of the structure of the Unreal Script object is a function structure, the basic information includes at least one of: a key of the object, a name of the object, a file in which the object is located, content of the object, a function parameter, and a function type; and the relationship information includes at least one of: a calling function list, a property value list, a called function list, and a class to which the object belongs; and
if the type of the structure of the Unreal Script object is a property structure, the basic information includes at least one of: a key of the object, a name of the object, a file in which the object is located, content of the object, a property type, and a class to which the object belongs; and the relationship information includes information about use of the property.
Because the predefined Unreal Script object structure in this embodiment of the present invention contains the relationship information, if multiple Unreal Script object sets are obtained, more relationship information can be derived from these relationship information, so that information directly obtained from a script file can be further enriched and extended. Specifically, if the relationship information includes at least one of: a dependence relationship, an inheritance relationship and a calling relationship of Unreal Script objects, the method further includes: deriving, by backward induction, new relationship information according to the dependence relationship, the inheritance relationship and/or the calling relationship, and updating the Unreal Script object structure by using the new relationship information. 
The difference between Unreal Script scripts can be conveniently determined based on the Unreal Script object structure provided in this embodiment of the present invention. Specifically, after obtaining an Unreal Script object set of a first Unreal Script file and an Unreal Script object set of a second Unreal Script file, the method further includes: comparing the Unreal Script object set of the first Unreal Script file and the Unreal Script object set of the second Unreal Script file for differences in Unreal Script objects.
Both the first Unreal Script file and the second Unreal Script file are Unreal Script files. The terms "first"and "second"are used to distinguish two different Unreal Script files that are to be compared, and are not intended to be limiting. Therefore, the Unreal Script object sets of the first Unreal Script file and the second Unreal Script file are both obtained by using the solution according to this embodiment of the present invention.
Based on the Unreal Script object structure provided in this embodiment of the present invention, this embodiment of the present invention further provides a preferred comparison solution for obtaining respective sets of newly added Unreal Script objects and\or sets of modified Unreal Script objects of two Unreal Script files compared with each other. The specific solution is as follows: The comparing the Unreal Script object set of the first Unreal Script file and the Unreal Script object set of the second Unreal Script file for differences in Unreal Script objects includes:
comparing the Unreal Script object set of the first Unreal Script file and the Unreal Script object set of the second Unreal Script file, and first, excluding same Unreal Script objects to obtain a set of newly added Unreal Script objects and a set of modified Unreal Script objects; then, excluding the obtained set of newly added Unreal Script objects and the obtained set of modified Unreal Script objects from each other to obtain a set of newly added Unreal Script objects and a set of deleted Unreal Script objects in the first Unreal Script file; and finally, excluding the set of newly added Unreal Script objects from the set of newly added Unreal Script objects and the set of deleted Unreal Script objects in the first Unreal Script file, to obtain a set of deleted Unreal Script objects in the first Unreal Script file compared with the second Unreal Script file.
In the following embodiments, this embodiment of the present invention will be described in detail by way of example by using a game script as an example. The embodiments of the present invention mainly provide an object-based construction solution for UE scripts, which provides data sets to enable UE scripts of games using the UE engine to allow searching and screening based on object sets, making the UE scripts be object-based, and can increase the search efficiency and provide richer search information. The present disclosure is applicable to solutions  that demand code walk-through (code walk-through refers to a code check method that developers read code randomly for each other to check whether the compiled code is correct) and check of game scripts. For ease of description, an Unreal Script object is referred to as a script object in subsequent embodiments.
The embodiments of the present invention are divided into three parts: input, processing, and output, for which the following functions are executed respectively:
input: providing a game UE script file;
processing: without human involvement, constructing script objects according to an algorithm and organizing a relationship between the script objects, and then comparing two game versions for differences in UE script objects; and
output: providing a UE script object set for a user.
Processing in the above steps is the core of the embodiments of the present invention, and mainly includes two aspects: object construction and object comparison.
Referring to FIG. 2, it is assumed that a new version of Unreal Script script and an old version of Unreal Script script are compared, which is specifically as follows:
In Part. 1, mainly two versions of UE scripts of a game are constructed based on objects to package these scripts into object sets. The UE script object sets of the two versions are constructed using the same method. As there may be differences in script code content data in the UE script files, the UE script object sets of the two versions may be different. In this step, script information is read, and parsed to determine the type of the script information, and a UE script object set is constructed.
In Part. 2, a differentiated comparison algorithm for the form of the UE script object set is provided; in this part, the two versions are compared for differences in script objects. In this step, specifically objects are classified according to the algorithm, to respectively obtain a set of newly added objects, a set of modified objects, a set of deleted objects, and a set of unmodified objects.
Specific technical details of the apparatus are described in detail below from the aspects of object construction and object comparison.
1. Object construction: 
In the embodiments of the present invention, the process of constructing UE script objects is basically performed in sequence according to the following steps, as shown in FIG. 3:
First step: Define structures of UE script objects.
In the UE script, all UE script code can be syntactically abstracted into four types of objects. In the embodiments of the present invention, the structures of the four types of UE script objects are defined according to the UE script syntax, as shown in Tables 1 to 4 below.
Table 1
Figure PCTCN2015074572-appb-000001
The class structure contains two parts: basic information, and relationship information of the class. The basic information mainly includes: an object key indicating that the class can be uniquely identified, a name of the class and a UE script file in which the class is located, and detailed content contained in the class. The detailed content of the class plays a crucial role in the subsequent comparison operation, and class objects whose content is changed can be screen out from an executable file script according to the detail content. In addition, the structure stores the relationship information of the class, which can be used to organize the relationship between classes, and organize states, functions and properties of the class.
Table 2
Figure PCTCN2015074572-appb-000002
Information in the state structure is relatively simple. Similar to the class structure, the state structure also includes two parts: basic information, and relationship information of the class. The basic information mainly includes: an object key that uniquely identifies the state, a state name and a state type, specific content of the state, and the like. Content in the relationship information of the state mainly includes information about functions in the state, and information about the class to which the state belongs. 
Table 3
Figure PCTCN2015074572-appb-000003
The basic information in the function structure is basically the same as those in the class and state, except that the basic information in the function structure further includes a function type description. The type herein is mainly determined according to a keyword of the function as defined by the Unreal Script syntax. The relationship information in the function mainly includes information about calling functions and information about a called function list in the function, and according to the two lists, a mutual calling relationship chain can be established between function objects. In addition, monitoring of the property value of the function body class and the values of local variables is of significant importance to enrich the relationship between properties.
Table 4
Figure PCTCN2015074572-appb-000004
In the property structure, besides information such as an object key and a property name, the type of the property also needs to be known. Such types provide an important basis for additionally providing some function calling relationships. For example, for function calling of an instantiated objects, objects calling the function can be found according to the type of the object property, and a relational table between the objects calling and the called object is established.
According to the above definition of object structures, differentiated storage of the object structures can be implemented in the UE script according to the characteristics of the Unreal Script syntax.
Second step: The structures of UE script objects and the relationship between the objects have been defined in the first step, and subsequently a series of rules for identifying UE script objects need to be constructed. These rules mainly include two parts: an object identification state set and object matching rules. The state set mainly stores syntactical states of the current  statement in the four types of UE script objects constructed above. These states in the state set will provide a reference for filling script object data in the third step.
Specifically, as shown in FIG. 4, the following operations are performed in sequence: reading a script file, initializing all states in a state set, reading the first sentence of script, and performing the following steps until the last script statement: judging whether it is the beginning of a class object, and if yes, setting a class object start flag; judging whether it is the end of a class object, and if yes, setting a class object end flag; judging whether it is the beginning of a state object, and if yes, setting a state object start flag; judging whether it is the end of a state object, and if yes, setting a state object end flag; judging whether it is the beginning of a function object, and if yes, setting a function object start flag; judging whether it is the end of a function object, and if yes, setting a function object end flag; judging whether it is the beginning of a property object, and if yes, setting a property object start flag; judging whether it is the end of a property object, and if yes, setting a property object end flag; and reading a next sentence of script after the above judging steps are finished. In each of the above judging steps, if the result is no, the process proceeds to a next sentence. The logical order of the above judging steps is not strictly limited, and the order of the judging steps shown in FIG. 4 should not be construed as exclusively limiting the order of the judging steps.
By means of the object matching rules, the states of the state set can be updated by judging the statements. These object matching rules may be realized through a regular expression, for example, an obtained regular expression for the class name is as follows:
@ "^\s* (interface|class) \s+ (? <search_data1> [\w_] +) \s* (extends? \s+ [\w_] + (\s+within\s+[\w_] +) ? \s* (\s+implements\ ( [\W\w_] +\) ) ? \s* (\s+placeable [\W\w_] +) ? \s* (\s+dependson\ ( [\W\w_] +\)) ? \s* (\s+config\ ( [\W\w_] +\) ) ? ) ? \s*; ? \s* [\w\W] *$"
Third step: In the embodiments of the present invention, the main work in this step is to automatically complete classification of UE script objects, filling of object data, and storage of the object set according to the rules defined in the second step. Storage of the object set mainly includes the following three key points:
1. First, the basic information of all objects is stored, which, as shown in FIG. 5, specifically includes:
reading Unreal Script script statements, updating the state set according to the matching rules, and then judging whether it belongs to a class, whether it belongs to a state, whether  it belongs to a function, and whether it belongs to a property, and if the judging result is yes, determining the type of the structure to which it belongs; then determining whether a new object needs to be created, and if yes, correspondingly creating a class object, creating a state object, creating a function object or creating a property object, and then adding statement information to the class object structure; or if no new object needs to be created, directly adding statement information to the class object structure; after the above operations are performed, finally determining according to a processing result state set whether all the statements have been processed, and if yes, ending the process, or otherwise, re-executing the above process.
Filling of basic data of objects is basically implemented according to the above process. After a statement is read, the state set is updated in the manner described in the second step, and then determining, according to judging of the statement in the state set, whether to create a new UE script object and update information of UE script objects, thus processing all statements of all UE script files.
2. The class objects are traversed to obtain a relationship between classes, and finally a relationship chain between classes is constructed; in the following function relationship where there is a parent class defined function and function call, the definition of the class object provides a reference. Here, mainly depended and inherited list information in the parent class and depending class objects is filled according to object keys of depending class objects and parent class objects in the class objects. For example, in a game, there are three UE script classes A, B, and C, where B inherits A, and B depends on C. In the embodiments of the present invention, the three UE script object classes A, B, and C have been constructed above, the main work here is to:
add an object key of C object to the depending class list property of B object; and add an object key of A object to the parent class property of B object.
3. Function objects are traversed to establish a calling relationship between the functions. The rule of the calling relationship between the functions is mainly based on the function calling manner of the Unreal Script syntax, which is mainly as shown in Table 5 below:
Table 5
Figure PCTCN2015074572-appb-000005
Figure PCTCN2015074572-appb-000006
In the above embodiment, when basic data is saved, a rule is created to save the class relationship and function relationship in UE script objects.
Fourth step: In all objects, the relationship information is enriched. In the third step in the embodiments of the present invention, most of the relationship information of UE script objects has been established, but there is still part of information that cannot be established during object construction, for example, called list information of this function object, depended and inherited class list information of this class object. This step is mainly to perform backward induction from the dependence relationship, the inheritance relationship, and the calling relationship of UE script objects that are already constructed, to establish the relationship information that has not been filled in the third step such as depended and called relationships of called objects. For example, in a game, there are three UE script classes A, B, and C, where B inherits A, and B depends on C. In the embodiments of the present invention, the three UE script object classes A, B, and C have been constructed and the dependence and inheritance relationships have been established above, the main work here is to:
adding an object key of B object to the depended list property of C object according to the depending class list property of B object; and adding the object key of B object to the inherited list of A object according to the parent class property of B object.
After the above four steps are completed, in the embodiments of the present invention, the object sets of UE script objects are already obtained, subsequent work in the embodiments of the present invention is to classify these object sets.
2. Object comparison:
In this part, object comparison and generation of a difference set are implemented.
In the embodiments of the present invention, the comparison of two versions of UE scripts for differences in object data is basically performed according to the following process as shown in FIG. 6:
reading a set of all objects of this type in the new version and a set of all objects of this type in the old version, and excluding the two sets from each other to obtain a set of newly  added and modified objects in the new version and a set of deleted and modified objects in the new version; then excluding the obtained two sets from each other to obtain a set of newly added objects in the new version and a set of deleted objects in the new version; and then excluding the set of newly added objects in the new version and the set of newly added and modified objects in the new version from each other to obtain a set of modified objects in the new version.
As can be seen from the above flowchart shown in FIG. 6, in this embodiment of the present invention, comparison is mainly divided into the following steps:
First, same objects as those in the object set of the old version are excluded from the object set of the new version to obtain a set of newly added and modified objects in the new version; similarly, same objects as those in the object set of the new version are excluded from the object set of the old version to obtain a set of deleted and modified objects in the new version.
Then, the set of newly added and modified objects in the new version and the set of deleted and modified objects in the new version that are obtained in the first step are excluded from each other to obtain a set of newly added objects in the new version and a set of deleted objects in the new version.
Finally, the set of newly added objects is excluded from the set of newly added and modified objects in the new version to obtain a set of modified objects.
In the embodiments of the present invention, sets of four types of objects, that is, class, state, function and property objects, in UE script objects are separately processed according to the above process shown in FIG. 6, so as to obtain a set of newly added objects, a set of deleted objects, and a set of modified objects of each of the four types of objects in the new version compared with the old version.
An embodiment of the present invention further provides a data processing apparatus for Unreal Script. As shown in FIG. 7, the apparatus includes:
script reading unit 701, configured to read script statements in an Unreal Script file;
an information reading unit 702, configured to execute the following operation for each of the script statements in sequence: determining a structure category, basic information and relationship information of the script statement according to information of the script statement, the structure category being a structure category of a predefined Unreal Script object structure; and 
an object construction unit 703, configured to update the Unreal Script object structure corresponding to the structure category by using the determined basic information and relationship information, to obtain an Unreal Script object set.
The Unreal Script file is an executable script file compiled according to the Unreal Script syntax, that is, the Unreal Script file consists of script statements, and in this step, a process of decoding the Unreal Script file to obtain its source code and reading the source code is executed.
The structure category of the Unreal Script object structure may be set as required. The Unreal Script object structure of each category contains basic information and relationship information. The basic information and the relationship information are two kinds of parameter information in the Unreal Script object. The basic information is information that describes the Unreal Script object, and may include identification information, such as a key and a name, and may also include other information such as a file in which the object is located and content of the object. The relationship information, different from the basic information, is information for expressing a relationship between the Unreal Script object and other Unreal Script objects, and may include, for example, a state list, a function list, a property list, a depending class list and a parent class, default property information, a depended list, and an inherited list.
In the above embodiment, an Unreal Script object structure is predefined according to a structure category, and the following operation is executed for each script statement according to the predefined Unreal Script object structure: determining a structure category, basic information and relationship information of the script statement according to information of the script statement; and then the Unreal Script object structure corresponding to the structure category is updated by using the determined basic information and relationship information, to obtain an Unreal Script object set. In this way, a structure of a new Unreal Script object is automatically constructed, and this structure not only contains basic information of the object, but also contains the category and relationship information of the structure, providing conditions for increasing the search speed and achieving the functions of automatic script comparison, script information screening, information separation and classification.
Based on the above Unreal Script object set, an embodiment of the present invention provides a specific implementation solution for information search, as follows: Further, as shown in FIG. 8, the apparatus further includes: 
relationship determining unit 801, configured to read the Unreal Script object set, and determine, according to the relationship information in the Unreal Script object structure of Unreal Script objects in the Unreal Script object set, relationship information between the Unreal Script objects; and
an information output unit 802, configured to output the relationship information determined by the relationship determining unit 801.
Optionally, this embodiment of the present invention further provides examples of the type of the Unreal Script object structure. The following examples are preferred implementation solutions provided based on this application scenario of Unreal Script in this embodiment of the present invention, and a person skilled in the art may also use other types depending on different demands, which is not exclusively limited in this embodiment of the present invention. Specifically, optionally, the type of the predefined Unreal Script object structure updated by the object construction unit 703 includes: a class structure, a state structure, a function structure, and a property structure.
Optionally, based on different Unreal Script structures, this embodiment of the present invention also provides examples of the basic information and the relationship information that are contained in the Unreal Script structure. The basic information and the relationship information that are contained in the Unreal Script file may vary with different scenarios, and is not limited to the following examples; therefore, the following examples should not be construed as exclusively limiting this embodiment of the present invention. Specifically,
optionally, in the predefined Unreal Script object structure updated by the object construction unit 703, if the type of the structure of the Unreal Script object is a class structure, the basic information includes at least one of: a key of the object, a name of the object, a file in which the object is located, and content of the object; and the relationship information includes at least one of:a state list, a function list, a property list, a depending class list and a parent class, default property information, a depended list, and an inherited list;
if the type of the structure of the Unreal Script object is a state structure, the basic information includes at least one of: a key of the object, a name of the object, a file in which the object is located, content of the object, and a state type; and the relationship information includes at least one of: a function list and/or a class to which the object belongs; 
if the type of the structure of the Unreal Script object is a function structure, the basic information includes at least one of: a key of the object, a name of the object, a file in which the object is located, content of the object, a function parameter, and a function type; and the relationship information includes at least one of: a calling function list, a property value list, a called function list, and a class to which the object belongs; and
if the type of the structure of the Unreal Script object is a property structure, the basic information includes at least one of: a key of the object, a name of the object, a file in which the object is located, content of the object, a property type, and a class to which the object belongs; and the relationship information includes information about use of the property.
Because the predefined Unreal Script object structure in this embodiment of the present invention contains the relationship information, if multiple Unreal Script object sets are obtained, more relationship information can be derived from these relationship information, so that information directly obtained from a script file can be further enriched and extended. Specifically, further, as shown in FIG. 9, the apparatus further includes:
relationship deriving unit 901, configured to: if the relationship information includes at least one of: a dependence relationship, an inheritance relationship and a calling relationship of Unreal Script objects, derive, by backward induction, new relationship information according to the dependence relationship, the inheritance relationship and/or the calling relationship,
where the object construction unit 703 is further configured to update the Unreal Script object structure by using the new relationship information derived through backward induction by the relationship deriving unit 901.
The difference between Unreal Script scripts can be conveniently determined based on the Unreal Script object structure provided in this embodiment of the present invention. Specifically, further, as shown in FIG. 10, the apparatus further includes:
comparison unit 1001, configured to: after the object construction unit 703 obtains an Unreal Script object set of a first Unreal Script file and an Unreal Script object set of a second Unreal Script file, compare the Unreal Script object set of the first Unreal Script file and the Unreal Script object set of the second Unreal Script file for differences in Unreal Script objects.
Both the first Unreal Script file and the second Unreal Script file are Unreal Script files. The terms "first"and "second"are used to distinguish two different Unreal Script files that are to be compared, and are not intended to be limiting. Therefore, the Unreal Script object sets of the  first Unreal Script file and the second Unreal Script file are both obtained by using the solution according to this embodiment of the present invention.
Based on the Unreal Script object structure provided in this embodiment of the present invention, this embodiment of the present invention further provides a preferred comparison solution for obtaining respective sets of newly added Unreal Script objects and\or sets of modified Unreal Script objects of two Unreal Script files compared with each other. The specific solution is as follows: The comparison unit 1001 is configured to compare the Unreal Script object set of the first Unreal Script file and the Unreal Script object set of the second Unreal Script file, and first, exclude same Unreal Script objects to obtain a set of newly added Unreal Script objects and a set of modified Unreal Script objects; then, exclude the obtained set of newly added Unreal Script objects and the obtained set of modified Unreal Script objects from each other to obtain a set of newly added Unreal Script objects and a set of deleted Unreal Script objects in the first Unreal Script file; and finally, exclude the set of newly added Unreal Script objects from the set of newly added Unreal Script objects and the set of deleted Unreal Script objects in the first Unreal Script file, to obtain a set of deleted Unreal Script objects in the first Unreal Script file compared with the second Unreal Script file.
An embodiment of the present invention further provides another data processing apparatus for Unreal Script. As shown in FIG. 11, the apparatus includes: a receiver 1101, a transmitter 1102, a processor 1103, and a memory 1104.
The processor 1104 is configured to read script statements in an Unreal Script file; execute the following operation for each of the script statements in sequence: determining a structure category, basic information and relationship information of the script statement according to information of the script statement, the structure category being a structure category of a predefined Unreal Script object structure; and update the Unreal Script object structure corresponding to the structure category by using the determined basic information and relationship information, to obtain an Unreal Script object set.
The Unreal Script file is an executable script file compiled according to the Unreal Script syntax, that is, the Unreal Script file consists of script statements, and in this step, a process of decoding the Unreal Script file to obtain its source code and reading the source code is executed.
In this embodiment, the structure category of the Unreal Script object structure may be set as required. The Unreal Script object structure of each category contains basic information  and relationship information. The basic information and the relationship information are two kinds of parameter information in the Unreal Script object. The basic information is information that describes the Unreal Script object, and may include identification information, such as a key and a name, and may also include other information such as a file in which the object is located and content of the object. The relationship information, different from the basic information, is information for expressing a relationship between the Unreal Script object and other Unreal Script objects, and may include, for example, a state list, a function list, a property list, a depending class list and a parent class, default property information, a depended list, and an inherited list.
In the above embodiment, an Unreal Script object structure is predefined according to a structure category, and the following operation is executed for each script statement according to the predefined Unreal Script object structure: determining a structure category, basic information and relationship information of the script statement according to information of the script statement; and then the Unreal Script object structure corresponding to the structure category is updated by using the determined basic information and relationship information, to obtain an Unreal Script object set. In this way, a structure of a new Unreal Script object is automatically constructed, and this structure not only contains basic information of the object, but also contains the category and relationship information of the structure, providing conditions for increasing the search speed and achieving the functions of automatic script comparison, script information screening, information separation and classification.
Based on the above Unreal Script object set, an embodiment of the present invention provides a specific implementation solution for information search, as follows: The processor 1104 is further configured to read the Unreal Script object set, and determine, according to the relationship information in the Unreal Script object structure of Unreal Script objects in the Unreal Script object set, relationship information between the Unreal Script objects; and output the relationship information.
Optionally, this embodiment of the present invention further provides examples of the type of the Unreal Script object structure. The following examples are preferred implementation solutions provided based on this application scenario of Unreal Script in this embodiment of the present invention, and a person skilled in the art may also use other types depending on different demands, which is not exclusively limited in this embodiment of the present invention. Specifically, the type of the predefined Unreal Script object structure used for processing by the processor 1104 includes: a class structure, a state structure, a function structure, and a property structure. 
Optionally, based on different Unreal Script structures, this embodiment of the present invention also provides examples of the basic information and the relationship information that are contained in the Unreal Script structure. The basic information and the relationship information that are contained in the Unreal Script file may vary with different scenarios, and is not limited to the following examples; therefore, the following examples should not be construed as exclusively limiting this embodiment of the present invention. Specifically, the processor 1104 is configured in such a manner that: if the type of the structure of the Unreal Script object is a class structure, the basic information includes at least one of: a key of the object, a name of the object, a file in which the object is located, and content of the object; and the relationship information includes at least one of: a state list, a function list, a property list, a depending class list and a parent class, default property information, a depended list, and an inherited list;
if the type of the structure of the Unreal Script object is a state structure, the basic information includes at least one of: a key of the object, a name of the object, a file in which the object is located, content of the object, and a state type; and the relationship information includes at least one of: a function list and/or a class to which the object belongs;
if the type of the structure of the Unreal Script object is a function structure, the basic information includes at least one of: a key of the object, a name of the object, a file in which the object is located, content of the object, a function parameter, and a function type; and the relationship information includes at least one of: a calling function list, a property value list, a called function list, and a class to which the object belongs; and
if the type of the structure of the Unreal Script object is a property structure, the basic information includes at least one of: a key of the object, a name of the object, a file in which the object is located, content of the object, a property type, and a class to which the object belongs; and the relationship information includes information about use of the property.
Because the predefined Unreal Script object structure in this embodiment of the present invention contains the relationship information, if multiple Unreal Script object sets are obtained, more relationship information can be derived from these relationship information, so that information directly obtained from a script file can be further enriched and extended. Specifically, if the relationship information includes at least one of: a dependence relationship, an inheritance relationship and a calling relationship of Unreal Script objects, the processor 1104 is further configured to derive, by backward induction, new relationship information according to the  dependence relationship, the inheritance relationship and/or the calling relationship, and update the Unreal Script object structure by using the new relationship information.
The difference between Unreal Script scripts can be conveniently determined based on the Unreal Script object structure provided in this embodiment of the present invention. Specifically, the processor 1104 is further configured to: after obtaining an Unreal Script object set of a first Unreal Script file and an Unreal Script object set of a second Unreal Script file, compare the Unreal Script object set of the first Unreal Script file and the Unreal Script object set of the second Unreal Script file for differences in Unreal Script objects.
Both the first Unreal Script file and the second Unreal Script file are Unreal Script files. The terms "first" and "second" are used to distinguish two different Unreal Script files that are to be compared, and are not intended to be limiting. Therefore, the Unreal Script object sets of the first Unreal Script file and the second Unreal Script file are both obtained by using the solution according to this embodiment of the present invention.
Based on the Unreal Script object structure provided in this embodiment of the present invention, this embodiment of the present invention further provides a preferred comparison solution for obtaining respective sets of newly added Unreal Script objects and\or sets of modified Unreal Script objects of two Unreal Script files compared with each other. The specific solution is as follows: The processor 1104 being configured to compare the Unreal Script object set of the first Unreal Script file and the Unreal Script object set of the second Unreal Script file for differences in Unreal Script objects includes: comparing the Unreal Script object set of the first Unreal Script file and the Unreal Script object set of the second Unreal Script file, and first, excluding same Unreal Script objects to obtain a set of newly added Unreal Script objects and a set of modified Unreal Script objects; then, excluding the obtained set of newly added Unreal Script objects and the obtained set of modified Unreal Script objects from each other to obtain a set of newly added Unreal Script objects and a set of deleted Unreal Script objects in the first Unreal Script file; and finally, excluding the set of newly added Unreal Script objects from the set of newly added Unreal Script objects and the set of deleted Unreal Script objects in the first Unreal Script file, to obtain a set of deleted Unreal Script objects in the first Unreal Script file compared with the second Unreal Script file.
FIG. 12 shows a data processing apparatus for Unreal Script according to an embodiment of the present invention. The apparatus may be a server, a schematic structural diagram of which is shown in FIG. 12. The server 1200 may vary greatly for different configurations or  performance, and may include one or more central processing units (CPU) 1222 (for example, one or more processors) , a memory 1232, and one or more storage media 1230 (for example, one or more mass storage devices) storing an application program 1242 or data 1244. The memory 1232 and the storage media 1230 may be of a temporary or persistent storage type. The program stored in the storage media 1230 may include one or more modules (not shown in the figure) , and each module may include a series of instructions or operations to be executed in the server. Still further, the central processing unit 1222 may be configured to communicate with the storage media 1230, and execute, on the server 1200, a series of instructions or operations in the storage media 1230.
The server 1200 may further include one or more power supplies 1226, one or more wired or wireless network interfaces 1250, one or more input/output interfaces 1258, and/or one or more operating systems 1241, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, and FreeBSDTM.
In the foregoing embodiments, steps performed by the data processing apparatus for Unreal Script may be based on the structure of the server shown in FIG. 12.
It should be noted that in the foregoing apparatus embodiments, the units included are merely classified by functional logic, but are not limited to the above classification provided that the corresponding functions can be implemented; in addition, the specific name of various functional units are intended to distinguish between the functional units but not to limit the protection scope of the present disclosure.
In addition, a person of ordinary skill in the art should understand that all or a part of the steps of the methods in the embodiments may be implemented by a program instructing relevant hardware. The corresponding program may be stored in a computer readable storage medium. The abovementioned storage medium may be a read-only memory, a magnetic disk, an optical disk, or the like.
The above descriptions are merely preferred specific embodiments of the present invention, but not intended to limit the protection scope of the present disclosure. Any variation or replacement that a person skilled in the art can easily conceive of within the technical scope disclosed by the embodiments of the present invention shall fall within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the appended claims. 

Claims (14)

  1. A data processing method for Unreal Script, comprising:
    reading script statements in an Unreal Script file;
    executing the following operation for each of the script statements in sequence: determining a structure category, basic information and relationship information of the script statement according to information of the script statement, the structure category being a structure category of a predefined Unreal Script object structure; and
    updating the determined basic information and relationship information into updating the Unreal Script object structure corresponding to the structure category by using the determined basic information and relationship information, to obtain an Unreal Script object set.
  2. The method according to claim 1, further comprising:
    reading the Unreal Script object set, and determining, according to the relationship information in the Unreal Script object structure of Unreal Script objects in the Unreal Script object set, relationship information between the Unreal Script objects; and outputting the relationship information.
  3. The method according to claim 2, wherein a type of the predefined Unreal Script object structure comprises:
    a class structure, a state structure, a function structure, and a property structure.
  4. The method according to claim 3, wherein
    if the type of the structure of the Unreal Script object is a class structure, the basic information comprises at least one of: a key of the object, a name of the object, a file in which the object is located, and content of the object; and the relationship information comprises at least one of: a state list, a function list, a property list, a depending class list and a parent class, default property information, a depended list, and an inherited list;
    if the type of the structure of the Unreal Script object is a state structure, the basic information comprises at least one of: a key of the object, a name of the object, a file in which the object is located, content of the object, and a state type; and the relationship information comprises at least one of: a function list and/or a class to which the object belongs;
    if the type of the structure of the Unreal Script object is a function structure, the basic information comprises at least one of: a key of the object, a name of the object, a file in which the object is located, content of the object, a function parameter, and a function type; and the relationship information comprises at least one of: a calling function list, a property value list, a called function list, and a class to which the object belongs; and
    if the type of the structure of the Unreal Script object is a property structure, the basic information comprises at least one of: a key of the object, a name of the object, a file in which the object is located, content of the object, a property type, and a class to which the object belongs; and the relationship information comprises information about use of the property.
  5. The method according to any one of claims 1 to 4, wherein if the relationship information comprises at least one of: a dependence relationship, an inheritance relationship and a calling relationship of Unreal Script objects, the method further comprises:
    deriving, by backward induction, new relationship information according to the dependence relationship, the inheritance relationship and/or the calling relationship, and updating the Unreal Script object structure by using the new relationship information.
  6. The method according to any one of claims 1 to 4, wherein after obtaining an Unreal Script object set of a first Unreal Script file and an Unreal Script object set of a second Unreal Script file, the method further comprises:
    comparing the Unreal Script object set of the first Unreal Script file and the Unreal Script object set of the second Unreal Script file for differences in Unreal Script objects.
  7. The method according to claim 6, wherein the comparing the Unreal Script object set of the first Unreal Script file and the Unreal Script object set of the second Unreal Script file for differences in Unreal Script objects comprises:
    comparing the Unreal Script object set of the first Unreal Script file and the Unreal Script object set of the second Unreal Script file, and first, excluding same Unreal Script objects to obtain a set of newly added Unreal Script objects and a set of modified Unreal Script objects; then, excluding the obtained set of newly added Unreal Script objects and the obtained set of modified Unreal Script objects from each other to obtain a set of newly added Unreal Script objects and a set of deleted Unreal Script objects in the first Unreal Script file; and finally, excluding the set of newly added Unreal Script objects from the set of newly added Unreal Script objects and the set of deleted Unreal Script objects in the first Unreal Script file, to obtain a set of deleted Unreal Script objects in  the first Unreal Script file compared with the second Unreal Script file.
  8. A data processing apparatus for Unreal Script, comprising:
    a script reading unit, configured to read script statements in an Unreal Script file;
    an information reading unit, configured to execute the following operation for each of the script statements in sequence: determining a structure category, basic information and relationship information of the script statement according to information of the script statement, the structure category being a structure category of a predefined Unreal Script object structure; and
    an object construction unit, configured to update the Unreal Script object structure corresponding to the structure category by using the determined basic information and relationship information, to obtain an Unreal Script object set.
  9. The apparatus according to claim 8, further comprising:
    a relationship determining unit, configured to read the Unreal Script object set, and determine, according to the relationship information in the Unreal Script object structure of Unreal Script objects in the Unreal Script object set, relationship information between the Unreal Script objects; and
    an information output unit, configured to output the relationship information determined by the relationship determining unit.
  10. The apparatus according to claim 9, wherein
    a type of the predefined Unreal Script object structure updated by the object construction unit comprises: a class structure, a state structure, a function structure, and a property structure.
  11. The apparatus according to claim 10, wherein
    in the predefined Unreal Script object structure updated by the object construction unit,
    if the type of the structure of the Unreal Script object is a class structure, the basic information comprises at least one of: a key of the object, a name of the object, a file in which the object is located, and content of the object; and the relationship information comprises at least one of: a state list, a function list, a property list, a depending class list and a parent class, default property information, a depended list, and an inherited list;
    if the type of the structure of the Unreal Script object is a state structure, the basic information comprises at least one of: a key of the object, a name of the object, a file in which the object is  located, content of the object, and a state type; and the relationship information comprises at least one of: a function list and/or a class to which the object belongs;
    if the type of the structure of the Unreal Script object is a function structure, the basic information comprises at least one of: a key of the object, a name of the object, a file in which the object is located, content of the object, a function parameter, and a function type; and the relationship information comprises at least one of: a calling function list, a property value list, a called function list, and a class to which the object belongs; and
    if the type of the structure of the Unreal Script object is a property structure, the basic information comprises at least one of: a key of the object, a name of the object, a file in which the object is located, content of the object, a property type, and a class to which the object belongs; and the relationship information comprises information about use of the property.
  12. The apparatus according to any one of claims 8 to 11, further comprising:
    a relationship deriving unit, configured to: if the relationship information comprises at least one of: a dependence relationship, an inheritance relationship and a calling relationship of Unreal Script objects, derive, by backward induction, new relationship information according to the dependence relationship, the inheritance relationship and/or the calling relationship,
    wherein the object construction unit is further configured to update the Unreal Script object structure by using the new relationship information derived through backward induction by the relationship deriving unit.
  13. The apparatus according to any one of claims 8 to 11, further comprising:
    a comparison unit, configured to: after the object construction unit obtains an Unreal Script object set of a first Unreal Script file and an Unreal Script object set of a second Unreal Script file, compare the Unreal Script object set of the first Unreal Script file and the Unreal Script object set of the second Unreal Script file for differences in Unreal Script objects.
  14. The apparatus according to claim 13, wherein
    the comparison unit is configured to compare the Unreal Script object set of the first Unreal Script file and the Unreal Script object set of the second Unreal Script file, and first, exclude same Unreal Script objects to obtain a set of newly added Unreal Script objects and a set of modified Unreal Script objects; then, exclude the obtained set of newly added Unreal Script objects and the obtained set of modified Unreal Script objects from each other to obtain a set of newly added  Unreal Script objects and a set of deleted Unreal Script objects in the first Unreal Script file; and finally, exclude the set of newly added Unreal Script objects from the set of newly added Unreal Script objects and the set of deleted Unreal Script objects in the first Unreal Script file, to obtain a set of deleted Unreal Script objects in the first Unreal Script file compared with the second Unreal Script file.
PCT/CN2015/074572 2014-03-18 2015-03-19 Data processing method and apparatus for unrealscript WO2015139646A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410100922.XA CN104932870B (en) 2014-03-18 2014-03-18 A kind of data processing method and device to illusory script
CN201410100922.X 2014-03-18

Publications (1)

Publication Number Publication Date
WO2015139646A1 true WO2015139646A1 (en) 2015-09-24

Family

ID=54120048

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/074572 WO2015139646A1 (en) 2014-03-18 2015-03-19 Data processing method and apparatus for unrealscript

Country Status (2)

Country Link
CN (1) CN104932870B (en)
WO (1) WO2015139646A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106874001A (en) * 2017-02-17 2017-06-20 济南浪潮高新科技投资发展有限公司 A kind of script method for packing and device and script operation method and device
CN108427559B (en) * 2018-03-14 2022-10-11 新华三技术有限公司 Script file generation and calling method and device
CN110851131B (en) * 2019-11-14 2023-05-23 拉扎斯网络科技(上海)有限公司 Script generation method, script generation device, electronic equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101067814A (en) * 2007-05-10 2007-11-07 浪潮集团山东通用软件有限公司 Mapping conversion method between data access level Xml format data and relational data
CN101719096A (en) * 2009-12-29 2010-06-02 北京航空航天大学 Method for improving executing speed of test script of real-time embedded system
US20120136884A1 (en) * 2010-11-25 2012-05-31 Toshiba Solutions Corporation Query expression conversion apparatus, query expression conversion method, and computer program product
CN102693396A (en) * 2012-06-11 2012-09-26 中南大学 Flash bug detection method based on virtual execution mode

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101067814A (en) * 2007-05-10 2007-11-07 浪潮集团山东通用软件有限公司 Mapping conversion method between data access level Xml format data and relational data
CN101719096A (en) * 2009-12-29 2010-06-02 北京航空航天大学 Method for improving executing speed of test script of real-time embedded system
US20120136884A1 (en) * 2010-11-25 2012-05-31 Toshiba Solutions Corporation Query expression conversion apparatus, query expression conversion method, and computer program product
CN102693396A (en) * 2012-06-11 2012-09-26 中南大学 Flash bug detection method based on virtual execution mode

Also Published As

Publication number Publication date
CN104932870B (en) 2019-05-24
CN104932870A (en) 2015-09-23

Similar Documents

Publication Publication Date Title
US10042746B2 (en) Callpath finder
US9798648B2 (en) Transitive source code violation matching and attribution
US11740876B2 (en) Method and system for arbitrary-granularity execution clone detection
CN103984582B (en) A kind of hot update method and device
US11514701B2 (en) System and method for global identification in a collection of documents
US8788471B2 (en) Matching transactions in multi-level records
US9201659B2 (en) Efficient directed acyclic graph pattern matching to enable code partitioning and execution on heterogeneous processor cores
US9229691B2 (en) Method and apparatus for programming assistance
CN109726185B (en) Log parsing method, system and computer readable medium based on syntax tree
US20150178375A1 (en) Method for searching tree using instruction of operating data having predetermined multiple bit widths
US9626164B1 (en) Test-driven development module for repository-based development
US20100185669A1 (en) Efficient incremental parsing of context sensitive programming languages
CN113672628A (en) Data blood margin analysis method, terminal device and medium
WO2015139646A1 (en) Data processing method and apparatus for unrealscript
US10719663B2 (en) Assisted free form decision definition using rules vocabulary
CN110069455B (en) File merging method and device
US11599354B2 (en) Detecting misconfiguration and/or bug(s) in large service(s) using correlated change analysis
Ghosh et al. An empirical study of a hybrid code clone detection approach on java byte code
Tukaram Design and development of software tool for code clone search, detection, and analysis
CN112883044A (en) Data processing method and device for database and computer readable medium
US20160321575A1 (en) Scoring entries in a repository of business process models to facilitate searching
CN107239395B (en) Method and equipment for searching invalid function in source code
CN114880237A (en) Data testing method, device, electronic device, storage medium, and program
CN112948395A (en) Data processing method and device for database and computer readable medium
CN115640016A (en) Code analysis method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15765308

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 27/02/17)

122 Ep: pct application non-entry in european phase

Ref document number: 15765308

Country of ref document: EP

Kind code of ref document: A1