CN111625379B - Information processing method and device, electronic equipment and readable storage medium - Google Patents

Information processing method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN111625379B
CN111625379B CN202010491293.3A CN202010491293A CN111625379B CN 111625379 B CN111625379 B CN 111625379B CN 202010491293 A CN202010491293 A CN 202010491293A CN 111625379 B CN111625379 B CN 111625379B
Authority
CN
China
Prior art keywords
software
function control
display interface
original object
resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010491293.3A
Other languages
Chinese (zh)
Other versions
CN111625379A (en
Inventor
王凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202010491293.3A priority Critical patent/CN111625379B/en
Publication of CN111625379A publication Critical patent/CN111625379A/en
Application granted granted Critical
Publication of CN111625379B publication Critical patent/CN111625379B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • 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/451Execution arrangements for user interfaces

Abstract

The application provides an information processing method, an information processing device, an electronic device and a readable storage medium, wherein the method comprises the following steps: responding to the first trigger operation, and displaying a second display interface containing a function control, wherein the function control is used for calling resource information from second software, and the second display interface is generated according to a user interface framework of the first software; responding to a second trigger operation of the function control acting on the second display interface, and determining an original object corresponding to the function control acting on the second trigger operation; sending a resource calling instruction to an application interface corresponding to the function control in the second software according to the original object; and receiving the resource information returned by the second software, and realizing the target function according to the resource information, wherein the resource information is generated by the second software according to the resource calling instruction.

Description

Information processing method and device, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to an information processing method and apparatus, an electronic device, and a readable storage medium.
Background
With the animation production process becoming more and more complex, project management in the animation production process becomes more and more important. In the prior art, in order to realize project management in the animation production process, animation project management software is introduced, and projects in the animation production process are managed through the animation project management software.
After the animation project management software is introduced, if resource information in the action making process is required to be obtained, the method can be realized only after the animation project management software is opened, for example: the animation project management software needs to be found first, then the animation project management software is opened, and after an operation interface of the animation project management software is entered, functions of the animation project management software can be used, such as browsing related resource information, developing progress or downloading corresponding resources.
Disclosure of Invention
In view of this, embodiments of the present application provide an information processing method, an information processing apparatus, an electronic device, and a readable storage medium, so as to improve work processing efficiency.
In a first aspect, an embodiment of the present application provides an information processing method, including:
responding to a first trigger operation of a target control acting on a first display interface of first software, and displaying a second display interface containing a function control, wherein the function control is used for calling resource information from second software, and the second display interface is generated according to a user interface framework of the first software;
responding to a second trigger operation of the function control acting on the second display interface, and determining an original object corresponding to the function control acting on the second trigger operation;
sending a resource calling instruction to an application interface corresponding to the function control in the second software according to the original object;
and receiving resource information returned by the second software, and realizing a target function according to the resource information, wherein the resource information is generated by the second software according to the resource calling instruction.
Optionally, the sending, according to the original object, a resource calling instruction to an application interface corresponding to the function control in the second software includes:
determining a reflection object corresponding to the original object, wherein the class of the reflection object is a class supported by the second software, and the attribute and the method of the reflection object have corresponding descriptions respectively;
and generating a resource calling instruction according to the reflection object, and sending the resource calling instruction to an application interface corresponding to the function control in the second software.
Optionally, the description is an attribute name and a method name corresponding to the attribute and the method of the reflection object, respectively.
Optionally, the receiving resource information returned by the second software includes:
and receiving resource information returned by the second software through an application interface corresponding to the function control in the second software.
Optionally, before determining the original object corresponding to the function control acted by the second trigger operation in response to the second trigger operation acted on the function control of the second display interface, the method further includes:
determining an original object corresponding to the function control in the first software;
converting the class of the original object into a class supported by the second software through a reflection function, and adding corresponding descriptions for the attribute and the method of the original object respectively to generate a reflection object corresponding to the original object.
Optionally, the adding corresponding descriptions to the attributes and methods of the original object, respectively, to generate a reflection object corresponding to the original object includes:
and adding an attribute name and a method name to the attribute and the method of the original object respectively, wherein the description comprises the attribute name and the method name, and generating a reflection object corresponding to the original object.
Optionally, the first software is animation software, and the second software is animation project management software.
Optionally, the first software comprises a game engine.
In a second aspect, an embodiment of the present application provides an information processing apparatus, including:
the display unit is used for responding to a first trigger operation of a target control acting on a first display interface of first software and displaying a second display interface containing a function control, wherein the function control is used for calling resource information from second software, and the second display interface is generated according to a user interface framework of the first software;
the first determining unit is used for responding to a second trigger operation acting on the function control of the second display interface and determining an original object corresponding to the function control acted by the second trigger operation;
a sending unit, configured to send a resource calling instruction to an application interface, corresponding to the function control, in the second software according to the original object;
and the receiving unit is used for receiving the resource information returned by the second software and realizing a target function according to the resource information, and the resource information is generated by the second software according to the resource calling instruction.
Optionally, when the configuration of the sending unit is configured to send a resource calling instruction to an application interface corresponding to the function control in the second software according to the original object, the configuration of the sending unit includes:
determining a reflection object corresponding to the original object, wherein the class of the reflection object is a class supported by the second software, and the attribute and the method of the reflection object have corresponding descriptions respectively;
and generating a resource calling instruction according to the reflection object, and sending the resource calling instruction to an application interface corresponding to the function control in the second software.
Optionally, the description is an attribute name and a method name corresponding to the attribute and the method of the reflection object, respectively.
Optionally, when the receiving unit is configured to receive the resource information returned by the second software, the configuration of the receiving unit includes:
and receiving resource information returned by the second software through an application interface corresponding to the function control in the second software.
Optionally, the apparatus further comprises:
a second determining unit, configured to determine, in response to a second trigger operation that acts on a function control of the second display interface, an original object corresponding to the function control in the first software before determining an original object corresponding to the function control that acts on the second trigger operation;
and the reflection unit is used for converting the class of the original object into a class supported by the second software through a reflection function, and respectively adding corresponding descriptions to the attribute and the method of the original object to generate a reflection object corresponding to the original object.
Optionally, when the configuration of the reflection unit is used to add corresponding descriptions to the attribute and the method of the original object, respectively, and generate a reflection object corresponding to the original object, the configuration of the reflection unit includes:
and adding an attribute name and a method name to the attribute and the method of the original object respectively, wherein the description comprises the attribute name and the method name, and generating a reflection object corresponding to the original object.
Optionally, the first software is animation software, and the second software is animation project management software.
Optionally, the first software comprises a game engine.
In a third aspect, an embodiment of the present application provides an electronic device, including: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of the method of information processing according to any one of the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the method for processing information according to any one of the first aspect.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
in the application, a target control capable of calling resources in second software is set in first software in advance, when a first display interface of the first software is displayed, if the resources in the second software need to be called, a first trigger operation can be performed on the target control on the first display interface, a second display interface containing a function control is displayed at the moment, then a second trigger operation is performed on the corresponding function control according to the specific called resources, an original object corresponding to the function control acted by the second trigger operation is determined, a resource calling instruction is sent to an application interface corresponding to the function control in the second software according to the original object, the second software can call corresponding resource information according to the resource calling instruction, then the resource information is sent to the first software, and at the moment, the first software can realize a target function by using the obtained resource information, according to the method, the resource information in the second software can be called through the target control arranged on the first software, so that the first software can acquire the resource information without opening the second software by a user, the operation complexity in the resource information acquisition process is reduced, the work processing efficiency is improved, the second display interface for calling the resource information is generated according to the user interface framework of the first software, the operation habit of the user using the first software is met, and the user experience is improved.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic flowchart of an information processing method according to an embodiment of the present application;
fig. 2 is a schematic diagram of a floating display of a second display interface according to an embodiment of the present disclosure;
FIG. 3 is a schematic illustration of a second display interface docking display provided by an embodiment of the present application;
fig. 4 is a schematic diagram of an object relationship in a second display interface according to an embodiment of the present application;
fig. 5 is a flowchart illustrating an information processing method according to another embodiment of the present application;
fig. 6 is a flowchart illustrating an information processing method according to another embodiment of the present application;
fig. 7 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an information processing apparatus according to another embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
The animation production comprises the following steps: after an animation node is completed, the completed data stream needs to be transferred to the next animation node so as to complete the animation of the next node, in addition, in the animation process, the animation production progress needs to be checked so as to grasp the animation production completion condition, and meanwhile, after some animation production nodes are completed, whether the display effect of the animation meets the requirements needs also need to be checked, so the project management in the animation production process is particularly important along with the increasingly complex animation production process.
In view of the above situation, in order to implement the project management in the animation process, currently, animation project management software is introduced, and the projects in the animation process are managed by the animation project management software, so as to improve the automation degree in the animation process by using animation project information on the animation project management software, for example: after the animation lens is manufactured, the animation lens can be uploaded to a server corresponding to the animation project management software, and when the animation lens needs to be rendered, a rendering sequence can be automatically created in the animation manufacturing software by using the animation lens stored in the server corresponding to the animation project management software. Taking CG (computer graphics, computer animation) animation as an example, nreal software (a game engine, which has a very high-quality real-time rendering function, is an open-source software and provides a development environment with rich functions) is animation software for making CG animation, Ftrack software (an animation project management software which provides a client operating platform in a Web, global Wide area network or World Wide Web form and provides a set of strong Python API (Application Programming Interface) development Interface) is animation project management software, and Ftrack software is introduced for project management of an animation process when CG animation is made by nreal software, and provides multiple functions for an nreal user, for example: the animation lens is led into the Unreal, rendering sequences are automatically created by Unreal software, workload of a user can be reduced through Ftrack software, and errors in manual operation among different process handover are avoided.
However, after the animation project management software is introduced, if resource information in the action production process is required to be obtained, the animation project management software needs to be opened to be implemented, for example: the animation project management software needs to be found first, then the animation project management software is opened, and after the animation project management software enters an operation interface of the animation project management software, the corresponding resource information can be imported into the animation production software by using the function of the animation project management software.
Fig. 1 is a schematic flowchart of an information processing method according to an embodiment of the present application, and as shown in fig. 1, the information processing method includes the following steps:
step 101, responding to a first trigger operation of a target control acting on a first display interface of first software, and displaying a second display interface containing a function control, wherein the function control is used for calling resource information from the second software, and the second display interface is generated according to a user interface framework of the first software.
And 102, responding to a second trigger operation of the function control acting on the second display interface, and determining an original object corresponding to the function control acting on the second trigger operation.
And 103, sending a resource calling instruction to an application interface corresponding to the function control in the second software according to the original object.
And 104, receiving resource information returned by the second software, and realizing a target function according to the resource information, wherein the resource information is generated by the second software according to the resource calling instruction.
Specifically, a plug-in capable of calling functions in second software is made in advance, the plug-in is installed in the first software, a target control capable of starting the plug-in is arranged on a display interface of the first software, in order to enable the style of the display interface corresponding to the started plug-in to be uniform with that of the display interface of the first software, the second display interface containing the target control is generated according to a user interface frame of the first software, and the style of the display interface made in the mode is uniform with that of the display interface of the first software, so that the display interface corresponding to the target control conforms to the use habits of users.
When a user uses the first software, a first display interface of the first software is displayed on a current graphical user interface, and a target control is displayed on the first display interface, wherein the target control can be displayed on the first display interface in a floating manner, or the target control can be displayed as a menu item in a menu bar. Namely: on the basis of the display of the original first display interface, a function key for calling out a plug-in is added, the function key is the target control, when a user wants to use certain resource information, the user can perform a first trigger operation on the target control in the currently displayed first display interface (taking a common computer as an example, the user can click the target control through a mouse, namely, the first trigger operation is the click operation of the mouse, taking a touch screen as an example, the user can click the target control through touch operation, namely, the first trigger operation is the touch click operation), after the first trigger operation on the target control is completed, the plug-in is started, a second display interface containing the function control is displayed on the first display interface, the second display interface contains the function control for calling resources from second software, and different resources correspond to different functions, further, after responding to the first trigger operation, a second display interface is newly displayed on the basis of the first display interface displayed by the graphical user interface, and at the moment, the first display interface and the second display interface are displayed on the graphical user interface in a layered mode, wherein the first display interface is displayed on the lower layer, the second display interface is displayed on the upper layer, the display area of the second display interface is smaller than that of the first display interface, and a user can see both the first display interface and the second display interface through the graphical user interface.
The second display interface includes a function control for calling the resource from the second software, so that after the second display interface is displayed, the user can perform a second trigger operation on the function control in the second display interface according to the current requirement, for example: performing a checking operation or a clicking operation on a target function control to acquire corresponding resource information, wherein when the resource information is called, the second software needs to acquire a called object and corresponding attributes and methods, so that after performing a second triggering operation on the function control, an original object corresponding to the function control acted by the second triggering operation, namely an object bound by the function control, needs to be determined, then a resource calling instruction is sent to an application interface corresponding to the function control in the second software according to the original object, after receiving the resource calling instruction, the second software can call resources in a server according to the attributes and methods in the resource calling instruction, so that the second software acquires the corresponding resources, then the second software returns the acquired resources to the first software, and the first software can realize the target function according to the acquired resource information, such as: a rendering sequence of the animated shots is automatically created.
For example, the following steps are carried out: the first software can be Unreal software, the second software is Ftrack software, a plug-in is arranged in the Unreal software, after the Unreal software is started, a first display interface corresponding to the Unreal software is displayed on a current interface, a target control corresponding to the plug-in is displayed on the first display interface, after a user clicks the target control, a second display interface containing a function control is displayed, if the user wants to import an animation lens, the function control used for importing the animation lens can be clicked at the moment, then an original object corresponding to the function control used for importing the animation lens is determined, then a calling instruction of the animation lens is sent to an application interface corresponding to the function control used for importing the animation lens in the Ftrack software according to the original object, the Ftrack software acquires the animation lens from a server according to attributes and methods in the calling instruction, and then the acquired animation lens is returned to the Unreal software, and the Unreal software automatically generates a rendering sequence according to the received animation shots. The target control is generated by using a Slate framework of the Unreal software, so that the second display interface can be seamlessly fused with the operation interface of the Unreal software, the layout mode and the visual effect of the second display interface and the operation interface of the Unreal software are basically consistent, and the operation habit of a user using the Unreal software is met.
When the second software is animation project management software, the method can call the resource information in the second software through the target control arranged on the first software, so that a user can acquire the resource information by the first software without opening the second software, the operation complexity in the resource information acquisition process is reduced, and the work processing efficiency is improved.
It should be noted that, the function control specifically included in the second display interface may be set according to actual needs, and is not specifically limited herein.
In a possible implementation, fig. 2 is a schematic diagram of a second display interface floating display provided in an embodiment of the present application, and fig. 3 is a schematic diagram of a second display interface parking display provided in an embodiment of the present application, as shown in fig. 2, where the second display interface is displayed on the first display interface in a window floating display manner; or, as shown in fig. 3, the second display interface is displayed on the first display interface in a window-parking display manner, wherein when the second display interface is displayed on the first display interface in a window-floating display manner, the second display interface may be dragged by a user, and when the second display interface is displayed on the first display interface in a window-parking display manner, the second display interface is inlaid on the first display interface as a part of the first display interface.
Specifically, as shown in fig. 2 and fig. 3, when the second display interface is displayed, the second display interface may be displayed on the first display interface in a display manner that a window is suspended (specifically, as shown in fig. 2), or the second display interface may also be displayed on the first display interface in a display manner that a window is parked (specifically, as shown in fig. 3), and after any of the above display manners is adopted, a user may perform a second trigger operation on the second display interface.
It should be noted that, the user may switch the display mode of the second display interface on the first display interface, for example: after the second display interface is displayed on the first display interface in a window-floating display mode, the user can drag the second display interface, and when the second display interface is dragged to a specified position of the first display interface, the second display interface is switched to a window-parking display mode to be displayed on the first display interface, that is: the display mode of fig. 2 is switched to the display mode of fig. 3, for example: after the second display interface is displayed on the first display interface in a window-parking display mode, the user can drag the second display interface, and after the position of the second display interface moves on the first display interface, the second display interface is switched to a floating-parking display mode to be displayed on the first display interface, that is: the display mode of fig. 3 is switched to the display mode of fig. 2.
In one possible embodiment, the functionality control included in the second display interface includes: the functional control corresponding to the toolbar object, the functional control corresponding to the project browser object and/or the functional control corresponding to the project information display object.
Specifically, different function controls in the second display interface correspond to different objects, when a plug-in corresponding to the second display interface is manufactured, an object for displaying the main interface is manufactured in advance, a toolbar object, an item browser object and/or an item information display object are/is set under the object, where the object includes attributes (also referred to as variables) and methods (also referred to as functions), for example, when the first software is unregeal software, plug-ins added in unregeal software include: the object "SFTrackBridgeTab" of the main interface, which is used as a main panel, further comprises the following steps under the main interface: fig. 4 is a schematic diagram of an object relationship in a second display interface provided in an embodiment of the present application, where the relationship between the four objects may be as shown in fig. 4. After the object is set, a target control for starting the main interface (a second display interface) may be displayed on the first display interface, and after the main interface is displayed, a function control corresponding to a toolbar object, a project browser object, and/or a project information display object is displayed on the main interface, and after a certain function control is clicked, an object corresponding to the clicked function control may be determined, for example, after the function control corresponding to the toolbar object is clicked, the toolbar object is used as an original object.
In a possible implementation, fig. 5 is a schematic flowchart of a method for processing information according to another embodiment of the present application, and as shown in fig. 5, when step 103 is executed, the following steps may be implemented:
step 501, determining a reflection object corresponding to the original object, wherein the class of the reflection object is a class supported by the second software, and the attribute and the method of the reflection object have corresponding descriptions respectively.
And 502, generating a resource calling instruction according to the reflection object, and sending the resource calling instruction to an application interface corresponding to the functional control in the second software.
Specifically, the first software and the second software are edited by using different programming languages, so that the types of data that can be recognized by the first software and the second software are different, in order to enable the second software to recognize data in the resource calling instruction, after an original object is determined, a reflection object corresponding to the original object is determined, wherein the class of the reflection object is a class supported by the second software, and since the class of the reflection object is a class supported by the second software, the resource calling instruction generated according to the reflection object can be recognized by the second software, thereby achieving the purpose of calling the corresponding resource information. Moreover, the second software can share the data in the first software by the method, so that the programming voice used by the first software can be more diversified, and meanwhile, the data format used by the first software is more flexible, thereby providing a foundation for the function expansion of the first software in the future.
For example, when the first software is the Unreal software, the second software is the Ftrack software, when the target control is made, a user interface frame of Unreal software is used for generating, a second display interface corresponding to the target control comprises a function control for calling the animation lens, when the second trigger operation is acted on the function control for calling the animation shot, the original object corresponding to the function control for calling the animation shot is determined, then determining the reflection object corresponding to the original object, wherein the class of the reflection object corresponding to the original object is a class supported by Ftrack software, after the reflection object corresponding to the original object is determined, a resource calling instruction is generated according to the reflection object, and sending the generated resource calling instruction to an application interface corresponding to a function control for calling the animation lens in Ftrack software, thereby achieving the purpose of calling the animation lens.
For another example, when the class corresponding to the function control acting on the second trigger operation is "UFTrackProxy", because "UFTrackProxy" is a C + + class, an object instantiated by the "UFTrackProxy" class cannot directly call an API interface in Ftrack software, so that "UFTrackProxy" implements, by using a reflection function, an "fttrackproxy" class for this class in Python, which is a derivative type inherited from "UFTrackProxy", and can directly call an API interface in Ftrack software, and when the nreal software is started, the object of this "fttrackproxy" class is automatically instantiated. Thus, the business logic of the Unreal software can use C + + to directly look up the Python inheritance class object to complete the predetermined operation. Finally, the Python object will forward all requests to the corresponding API interface in the Ftrack software to complete. This implements a C + + to Python interface call.
In one possible embodiment, the description is an attribute name and a method name corresponding to the attribute and the method of the reflection object, respectively.
Specifically, after the attribute name corresponding to the attribute of the reflection object is used for describing the attribute of the reflection object and the method name corresponding to the method of the reflection object is used for describing the method of the reflection object, the second software can correctly recognize the resource calling instruction. For example, when the first software is the Unreal software, the second software is the Ftrack software, when the target control is made, a user interface frame of Unreal software is used for generating, a second display interface corresponding to the target control comprises a function control for calling the animation lens, when the second trigger operation is acted on the function control for calling the animation shot, the original object corresponding to the function control for calling the animation shot is determined, then determining a reflection object corresponding to the original object, describing the attribute of the reflection object corresponding to the original object by using the attribute name of the reflection object corresponding to the original object, describing the method of the reflection object corresponding to the original object by using the method name of the reflection object corresponding to the original object, by the method, the Ftrack software can accurately identify the received resource calling instruction.
In a possible embodiment, when the resource information returned by the second software is received, the resource information returned by the second software is received through an application interface corresponding to the function control in the second software.
Specifically, the application interface corresponding to the function control is an application interface used when the first software and the second software communicate, in order to ensure the accuracy of data interaction, when the second software returns resource information to the first software, the second software sends the resource information by using the application interface corresponding to the function control, for example, when the first software is Unreal software and the second software is Ftrack software, the second display interface corresponding to the target control comprises a function control for calling the animation lens, and the second trigger operation acts on the function control for calling the animation lens, an application interface (hereinafter referred to as an animation shot application interface) corresponding to a function control for calling an animation shot in the Ftrack software is used when a resource calling instruction is sent to the Ftrack software, then when the Ftrack software returns an animation shot to the urea software, the animation shot application interface is also used to return resource information.
In a possible implementation, fig. 6 is a schematic flowchart of a method for processing information according to another embodiment of the present application, and as shown in fig. 6, before performing step 102, the method for processing information further includes:
step 601, determining an original object corresponding to the function control in the first software.
Step 602, converting the class of the original object into a class supported by the second software through a reflection function, and adding corresponding descriptions to the attribute and the method of the original object respectively to generate a reflection object corresponding to the original object.
Specifically, the original objects corresponding to the function controls in the first software are determined, then the classes of the original objects corresponding to the function controls are converted into the types supported by the second software through the reflection function, so that corresponding descriptions are added to the attributes and methods of the original objects corresponding to the function controls respectively, and the reflection objects corresponding to the original objects corresponding to the function controls are generated.
For example, when the first software is unregeal software and the second software is Ftrack software, the second display interface corresponding to the target control includes a function control for invoking an animation shot, after a plug-in corresponding to the target control is set in unregeal software, when the unregeal software is started, an original object corresponding to the function control for invoking the animation shot is determined, then a type of the original object corresponding to the function control for invoking the animation shot is converted into a type supported by the Ftrack software through a reflection function of the unregeal software, and corresponding descriptions are respectively added to a property and a method of the original object corresponding to the function control for invoking the animation shot, such as: and after corresponding second trigger operation, the reflection object corresponding to the original object corresponding to the function control for calling the animation lens can be directly acquired, so that the resource calling speed is favorably accelerated.
In one possible embodiment, the first software is animation software and the second software is animation project management software.
It should be noted that, the specific animation software and the animation project management software may be set according to actual needs, and are not limited in particular herein.
In one possible embodiment, the first software comprises a game engine, such as: unreal software, the animation project management software may be Ftrack software.
Fig. 7 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present application, and as shown in fig. 7, the information processing apparatus includes:
the display unit 71 is configured to respond to a first trigger operation of a target control acting on a first display interface of first software, and display a second display interface including a function control, where the function control is used to invoke resource information from second software, and the second display interface is generated according to a user interface framework of the first software;
a first determining unit 72, configured to determine, in response to a second trigger operation that acts on a function control of the second display interface, an original object corresponding to the function control acted by the second trigger operation;
a sending unit 73, configured to send a resource calling instruction to an application interface, corresponding to the function control, in the second software according to the original object;
and a receiving unit 74, configured to receive resource information returned by the second software, and implement a target function according to the resource information, where the resource information is generated by the second software according to the resource calling instruction.
In a possible embodiment, when the sending unit 73 is configured to send the resource calling instruction to the application interface corresponding to the function control in the second software according to the original object, the sending unit includes:
determining a reflection object corresponding to the original object, wherein the class of the reflection object is a class supported by the second software, and the attribute and the method of the reflection object have corresponding descriptions respectively;
and generating a resource calling instruction according to the reflection object, and sending the resource calling instruction to an application interface corresponding to the function control in the second software.
In one possible embodiment, the description is an attribute name and a method name corresponding to the attribute and the method of the reflection object, respectively.
In a possible embodiment, the configuration of the receiving unit 74, when configured to receive the resource information returned by the second software, includes:
and receiving resource information returned by the second software through an application interface corresponding to the function control in the second software.
In a possible implementation, fig. 8 is a schematic structural diagram of an information processing apparatus according to another embodiment of the present application, and as shown in fig. 8, the information processing apparatus further includes:
a second determining unit 75, configured to determine, in response to a second trigger operation that acts on a function control of the second display interface, an original object corresponding to the function control in the first software before determining an original object corresponding to the function control that acts on the second trigger operation;
and a reflection unit 76, configured to convert the class of the original object into a class supported by the second software through a reflection function, and add corresponding descriptions to the attribute and the method of the original object, respectively, to generate a reflection object corresponding to the original object.
In a possible embodiment, the configuration of the reflection unit 76, when adding corresponding descriptions to the attributes and methods of the original object respectively to generate a reflection object corresponding to the original object, includes:
and adding an attribute name and a method name to the attribute and the method of the original object respectively, wherein the description comprises the attribute name and the method name, and generating a reflection object corresponding to the original object.
In one possible embodiment, the first software is animation software and the second software is animation project management software.
In one possible implementation, the first software comprises a game engine.
Regarding the related principles of the second embodiment, reference may be made to the related description of the first embodiment, and the detailed description thereof is omitted here.
In the application, a target control capable of calling resources in second software is set in first software in advance, when a first display interface of the first software is displayed, if the resources in the second software need to be called, a first trigger operation can be performed on the target control on the first display interface, a second display interface containing a function control is displayed at the moment, then a second trigger operation is performed on the corresponding function control according to the specific called resources, an original object corresponding to the function control acted by the second trigger operation is determined, a resource calling instruction is sent to an application interface corresponding to the function control in the second software according to the original object, the second software can call corresponding resource information according to the resource calling instruction, then the resource information is sent to the first software, and at the moment, the first software can realize a target function by using the obtained resource information, according to the method, the resource information in the second software can be called through the target control arranged on the first software, so that the first software can acquire the resource information without opening the second software by a user, the operation complexity in the resource information acquisition process is reduced, the work processing efficiency is improved, the second display interface for calling the resource information is generated according to the user interface framework of the first software, the operation habit of the user using the first software is met, and the user experience is improved.
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application, including: a processor 901, a storage medium 902 and a bus 903, where the storage medium 902 stores machine-readable instructions executable by the processor 901, when the electronic device executes the method of information processing described above, the processor 901 and the storage medium 902 communicate with each other through the bus 903, and the processor 901 executes the machine-readable instructions to perform the following steps:
responding to a first trigger operation of a target control acting on a first display interface of first software, and displaying a second display interface containing a function control, wherein the function control is used for calling resource information from second software, and the second display interface is generated according to a user interface framework of the first software;
responding to a second trigger operation of the function control acting on the second display interface, and determining an original object corresponding to the function control acting on the second trigger operation;
sending a resource calling instruction to an application interface corresponding to the function control in the second software according to the original object;
and receiving resource information returned by the second software, and realizing a target function according to the resource information, wherein the resource information is generated by the second software according to the resource calling instruction.
In the embodiment of the present application, the storage medium 902 may further execute other machine-readable instructions to perform other methods described in the present application, and for specific implementation steps and principles, refer to the foregoing description, which is not repeated herein.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program performs the following steps:
responding to a first trigger operation of a target control acting on a first display interface of first software, and displaying a second display interface containing a function control, wherein the function control is used for calling resource information from second software, and the second display interface is generated according to a user interface framework of the first software;
responding to a second trigger operation of the function control acting on the second display interface, and determining an original object corresponding to the function control acting on the second trigger operation;
sending a resource calling instruction to an application interface corresponding to the function control in the second software according to the original object;
and receiving resource information returned by the second software, and realizing a target function according to the resource information, wherein the resource information is generated by the second software according to the resource calling instruction.
In the embodiments of the present application, when being executed by a processor, the computer program may further execute other machine-readable instructions to perform other methods described in the present application, and for specific implementation steps and principles, reference is made to the above description, which is not repeated herein in detail.
The information processing apparatus provided in the embodiments of the present application may be specific hardware on a device, or software or firmware installed on a device, or the like. The device provided by the embodiment of the present application has the same implementation principle and technical effect as the foregoing method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the foregoing method embodiments where no part of the device embodiments is mentioned. It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the foregoing systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus once an item is defined in one figure, it need not be further defined and explained in subsequent figures, and moreover, the terms "first", "second", "third", etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the present disclosure, which should be construed in light of the above teachings. Are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method of information processing, comprising:
responding to a first trigger operation of a target control acting on a first display interface of first software, and displaying a second display interface containing a function control, wherein the function control is used for calling resource information from second software, and the second display interface is generated according to a user interface framework of the first software;
responding to a second trigger operation of the function control acting on the second display interface, and determining an original object corresponding to the function control acting on the second trigger operation;
sending a resource calling instruction to an application interface corresponding to the function control in the second software according to the original object;
receiving resource information returned by the second software, and realizing a target function according to the resource information, wherein the resource information is generated by the second software according to the resource calling instruction;
the sending a resource calling instruction to an application interface corresponding to the function control in the second software according to the original object includes:
determining a reflection object corresponding to the original object, wherein the class of the reflection object is a class supported by the second software, and the attribute and the method of the reflection object have corresponding descriptions respectively;
and generating a resource calling instruction according to the reflection object, and sending the resource calling instruction to an application interface corresponding to the function control in the second software.
2. The method according to claim 1, wherein the description is an attribute name and a method name corresponding to an attribute and a method of the reflective object, respectively.
3. The method of claim 1, wherein the receiving resource information returned by the second software comprises:
and receiving resource information returned by the second software through an application interface corresponding to the function control in the second software.
4. The method according to claim 1, wherein, in response to a second trigger operation acting on the functionality control of the second display interface, before determining an original object corresponding to the functionality control acted on by the second trigger operation, further comprising:
determining an original object corresponding to the function control in the first software;
converting the class of the original object into a class supported by the second software through a reflection function, and adding corresponding descriptions for the attribute and the method of the original object respectively to generate a reflection object corresponding to the original object.
5. The method according to claim 4, wherein the adding respective descriptions to the attributes and methods of the original object to generate the reflection object corresponding to the original object comprises:
and adding an attribute name and a method name to the attribute and the method of the original object respectively, wherein the description comprises the attribute name and the method name, and generating a reflection object corresponding to the original object.
6. The method of claim 1, wherein the first software is animation software and the second software is animation project management software.
7. The method of claim 6, wherein the first software comprises a game engine.
8. An information processing apparatus, comprising:
the display unit is used for responding to a first trigger operation of a target control acting on a first display interface of first software and displaying a second display interface containing a function control, wherein the function control is used for calling resource information from second software, and the second display interface is generated according to a user interface framework of the first software;
the first determining unit is used for responding to a second trigger operation acting on the function control of the second display interface and determining an original object corresponding to the function control acted by the second trigger operation;
a sending unit, configured to send a resource calling instruction to an application interface, corresponding to the function control, in the second software according to the original object;
a receiving unit, configured to receive resource information returned by the second software, and implement a target function according to the resource information, where the resource information is generated by the second software according to the resource calling instruction;
when the sending unit is configured to send a resource calling instruction to the application interface corresponding to the function control in the second software according to the original object, the sending unit includes:
determining a reflection object corresponding to the original object, wherein the class of the reflection object is a class supported by the second software, and the attribute and the method of the reflection object have corresponding descriptions respectively;
and generating a resource calling instruction according to the reflection object, and sending the resource calling instruction to an application interface corresponding to the function control in the second software.
9. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of the method of information processing according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of information processing according to any one of claims 1 to 7.
CN202010491293.3A 2020-06-02 2020-06-02 Information processing method and device, electronic equipment and readable storage medium Active CN111625379B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010491293.3A CN111625379B (en) 2020-06-02 2020-06-02 Information processing method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010491293.3A CN111625379B (en) 2020-06-02 2020-06-02 Information processing method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN111625379A CN111625379A (en) 2020-09-04
CN111625379B true CN111625379B (en) 2021-06-04

Family

ID=72271991

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010491293.3A Active CN111625379B (en) 2020-06-02 2020-06-02 Information processing method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111625379B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112925572B (en) * 2021-03-01 2023-05-23 联想(北京)有限公司 Control method and device and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130219341A1 (en) * 2012-02-22 2013-08-22 Pantech Co., Ltd. Apparatus and method for creating a shortcut menu
CN104049849A (en) * 2013-03-11 2014-09-17 联想(北京)有限公司 Information processing method and corresponding electronic equipment
CN106792196A (en) * 2016-12-26 2017-05-31 深圳Tcl新技术有限公司 Television set main interface display methods and device
CN106855772A (en) * 2015-12-09 2017-06-16 阿里巴巴集团控股有限公司 A kind of information displaying method and device
CN107368042A (en) * 2016-05-13 2017-11-21 上海澜腾智能科技有限公司 Intelligent home control system and its control device and control method
CN108446140A (en) * 2017-02-15 2018-08-24 阿里巴巴集团控股有限公司 Interface display method, device, the device and operating system
CN109101158A (en) * 2018-08-30 2018-12-28 广州酷狗计算机科技有限公司 Import the method, apparatus and storage medium of list of songs
CN110519461A (en) * 2019-08-30 2019-11-29 Oppo广东移动通信有限公司 Document sending method, device, computer equipment and storage medium
CN110941472A (en) * 2019-11-26 2020-03-31 天津网之易创新科技有限公司 Function switching method, medium, device and computing equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101763258B (en) * 2009-12-31 2013-09-11 深圳联友科技有限公司 Software multiplexing method and system
CN104090654B (en) * 2014-06-25 2017-06-06 飞天诚信科技股份有限公司 A kind of method and apparatus for realizing being interacted with ancillary equipment by method call
CN108255545B (en) * 2016-12-28 2022-09-02 阿里巴巴集团控股有限公司 Function calling method and device between components and modular architecture system
CN108920218B (en) * 2018-05-23 2023-03-03 北京五八信息技术有限公司 Reflection calling method, device, terminal and computer readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130219341A1 (en) * 2012-02-22 2013-08-22 Pantech Co., Ltd. Apparatus and method for creating a shortcut menu
CN104049849A (en) * 2013-03-11 2014-09-17 联想(北京)有限公司 Information processing method and corresponding electronic equipment
CN106855772A (en) * 2015-12-09 2017-06-16 阿里巴巴集团控股有限公司 A kind of information displaying method and device
CN107368042A (en) * 2016-05-13 2017-11-21 上海澜腾智能科技有限公司 Intelligent home control system and its control device and control method
CN106792196A (en) * 2016-12-26 2017-05-31 深圳Tcl新技术有限公司 Television set main interface display methods and device
CN108446140A (en) * 2017-02-15 2018-08-24 阿里巴巴集团控股有限公司 Interface display method, device, the device and operating system
CN109101158A (en) * 2018-08-30 2018-12-28 广州酷狗计算机科技有限公司 Import the method, apparatus and storage medium of list of songs
CN110519461A (en) * 2019-08-30 2019-11-29 Oppo广东移动通信有限公司 Document sending method, device, computer equipment and storage medium
CN110941472A (en) * 2019-11-26 2020-03-31 天津网之易创新科技有限公司 Function switching method, medium, device and computing equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
[Phonegap+Sencha Touch] 移动开发61 使用 URL Schemes实现一个App启动另一个App的功能;神秘_博士;《https://blog.csdn.net/lovelyelfpop/article/details/48368923?utm_source=blogxgwz9》;20150911;第1-4页 *
Creating an App Extension;Apple Inc;《https://web.archive.org/web/20191130145542/https://developer.apple.com/library/archive/documentation/General/Conceptual/ExtensibilityPG/ExtensionCreation.html》;20191130;第1-7页 *

Also Published As

Publication number Publication date
CN111625379A (en) 2020-09-04

Similar Documents

Publication Publication Date Title
EP3623942B1 (en) Message processing method and apparatus, storage medium, and computer device
CN102939583B (en) Creation task session
TW202113586A (en) Method and device for generating applet
US20130073994A1 (en) Web-based workflow service visualization and navigation
WO2020143159A1 (en) User interface processing method and device
US10956131B2 (en) Separation of user interface logic from user interface presentation by using a protocol
WO2015057593A1 (en) Integrated environment for base model generation, customization and model visualisation
CN114064024A (en) Method, apparatus, device, storage medium, and program product for developing micro-application
CN113741965A (en) Method, device and equipment for arranging flow chart and storage medium
CN113393553A (en) Method and device for generating flow chart and electronic equipment
WO2023108974A1 (en) Display method and apparatus, electronic device, storage medium, and computer program product
CN111782181A (en) Code generation method and device, electronic equipment and storage medium
CN111625379B (en) Information processing method and device, electronic equipment and readable storage medium
CN115080016A (en) Extended function implementation method, device, equipment and medium based on UE editor
CN114741071A (en) Application construction method and device
US20170039037A1 (en) Live mobile application visual editor demo
EP4214600A1 (en) Interactive graphic design system to enable creation and use of variant component sets for interactive objects
CN111399811A (en) Method, device and equipment for developing visual page and storage medium
CN110702346A (en) Vibration testing method and device, storage medium and terminal
CN114090002A (en) Front-end interface construction method and device, electronic equipment and storage medium
CN115390720A (en) Robotic Process Automation (RPA) including automatic document scrolling
CN105531661A (en) Full screen content viewing interface entry
Ladry et al. Formal description techniques to support the design, construction and evaluation of fusion engines for sure (safe, usable, reliable and evolvable) multimodal interfaces
Cimitile et al. Automatic Generation of Multi Platform Web Map Mobile Applications.
CN112948245B (en) Element debugging method, device, equipment, storage medium and program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant