Disclosure of Invention
An object of the present application is to provide a method, an apparatus, a device and a storage medium for interface conversion in a game, so as to solve the problem that the jumping process is very abrupt in the prior art.
In order to achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:
in a first aspect, an embodiment of the present application provides an interface conversion method in a game, where a graphical user interface is displayed by a terminal device, and the method includes:
providing a function interface on the graphical user interface, and displaying a preset picture corresponding to the function interface in the function interface; wherein the preset picture comprises at least one element;
responding to a first operation aiming at the functional interface, and controlling each element in the preset picture to be compressed to a preset edge side of the functional interface until the size of the preset picture is compressed to a first preset size; and controlling the function sub-interface corresponding to the first operation to be unfolded from the opposite side of the preset edge side on the function interface until the size of the function sub-interface is unfolded to a second preset size.
Optionally, the step of controlling, in response to the first operation on the functional interface, each element in the preset screen to be compressed to a preset edge side of the functional interface includes:
responding to a first operation aiming at the functional interface, and determining a target element from a preset picture displayed on the functional interface;
and determining the preset edge side from the edge sides according to the distance between the target element and the edge side of the functional interface, and controlling each element in the preset picture to compress to the preset edge side.
Optionally, the preset screen and the function sub-interface are displayed on the graphical user interface in a non-overlapping display manner.
Optionally, the step of controlling to compress each element in the preset picture to a preset edge side of the functional interface includes:
and carrying out equal-proportion compression on each element in the preset picture, and rearranging the display positions of the compressed elements in the preset picture.
Optionally, the step of performing equal-proportion compression on each element in the preset picture, and rearranging the display positions of the compressed elements in the preset picture includes:
and determining a rotation origin from the preset picture according to the position of the preset edge side, and controlling each element in the preset picture to rotate around the rotation origin and compress towards the preset edge side.
Optionally, the first operation includes a trigger operation acting on an element displayed on the functional interface, or a trigger operation acting on a control on the functional interface.
Optionally, when the first operation is a trigger operation acting on an element displayed on the functional interface, the functional sub-interface is a content introduction interface related to the element;
and when the first operation is a trigger operation acting on a control displayed on the functional interface, the functional sub-interface is a game interactive interface corresponding to the control.
Optionally, the method further comprises:
and responding to the expansion operation of the compressed preset picture, and controlling the expansion of each element in the preset picture to the size before the compression on the functional interface.
Optionally, the step of controlling the function sub-interface corresponding to the first operation to be unfolded from the opposite side of the preset edge side on the function interface includes:
and controlling the function sub-interface to be unfolded from partial display to full display on the opposite side of the preset edge side on the graphical user interface at a preset unfolding speed.
Optionally, the preset screen further includes: background map, the method further comprising:
and controlling the background base map to compress to the preset edge side at a second preset compression rate.
Optionally, the step of controlling compression of each element in the preset picture to a preset edge side of the functional interface includes:
and controlling each element in the preset picture to compress to a preset edge side on the graphical user interface at a first preset compression rate and a preset compression rule.
Optionally, the controlling of compressing each element in the preset picture to the preset edge side includes:
controlling each element in the preset picture to compress towards the preset edge side by taking the center of the target element as a rotation origin according to a preset rotation rate and a preset compression rule; and displaying each compressed element on a preset edge side of the functional interface in a first preset size.
In a second aspect, another embodiment of the present application provides an interface conversion apparatus in a game, the apparatus including: display module and control module, wherein:
the display module is used for providing a function interface on the graphical user interface and displaying a preset picture corresponding to the function interface in the function interface; wherein the preset picture comprises at least one element;
the control module is used for responding to a first operation aiming at the functional interface, and controlling each element in the preset picture to be compressed to a preset edge side of the functional interface until the size of the preset picture is compressed to a first preset size; and controlling the function sub-interface corresponding to the first operation to be unfolded from the opposite side of the preset edge side on the function interface until the size of the function sub-interface is unfolded to a second preset size.
Optionally, the apparatus further comprises: the determining module is used for responding to a first operation aiming at the functional interface and determining a target element from a preset picture displayed on the functional interface;
the control module is specifically configured to determine the preset edge side from the edge sides according to a distance between the target element and the edge side of the functional interface, and control each element in the preset picture to compress to the preset edge side.
Optionally, the preset screen and the function sub-interface are displayed on the graphical user interface in a non-overlapping display manner.
Optionally, the control module is specifically configured to perform equal-proportion compression on each element in the preset picture, and rearrange display positions of the compressed elements in the preset picture.
Optionally, the control module is specifically configured to determine a rotation origin from the preset image according to the position of the preset edge side, and control each element in the preset image to rotate around the rotation origin and compress toward the preset edge side.
Optionally, the first operation includes a trigger operation acting on an element displayed on the functional interface, or a trigger operation acting on a control on the functional interface.
Optionally, when the first operation is a trigger operation acting on an element displayed on the functional interface, the functional sub-interface is a content introduction interface related to the element;
and when the first operation is a trigger operation acting on a control displayed on the functional interface, the functional sub-interface is a game interactive interface corresponding to the control.
Optionally, the control module is specifically configured to, in response to an expansion operation for the compressed preset screen, control to expand each element in the preset screen to a size before compression on the functional interface.
Optionally, the control module is specifically configured to control the function sub-interface to be entirely displayed by partially displaying and expanding on the opposite side of the preset edge side on the graphical user interface at a preset expansion rate.
Optionally, the control module is specifically configured to control the background base map to be compressed to the preset edge side at a second preset compression rate.
Optionally, the control module is specifically configured to control each element in the preset picture to compress a preset edge side on the graphical user interface at a first preset compression rate and a preset compression rule.
Optionally, the preset frame includes a left main element, a middle main element and a right main element, and the control module is specifically configured to control each element in the preset frame to compress to the preset edge side according to a preset rotation rate and a preset compression rule with a center of a target element as a rotation origin; and displaying each compressed element on a preset edge side of the functional interface in a first preset size.
In a third aspect, another embodiment of the present application provides an interface conversion apparatus in a game, including: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, when an interface conversion device in a game runs, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to perform the steps of the method according to any one of the first aspect.
In a fourth aspect, another embodiment of the present application provides a storage medium having a computer program stored thereon, where the computer program is executed by a processor to perform the steps of the method according to any one of the above first aspects.
The beneficial effect of this application is: by adopting the interface conversion method in the game, after responding to the first operation, each element in the preset picture is compressed to the preset edge side of the function interface, and the function sub-interface corresponding to the first operation is unfolded from the opposite side of the preset edge side on the function interface, so that the function sub-interface comprising the preset picture with the first function size and the function sub-interface with the second preset size can be displayed on the final function interface at the same time, a user can smoothly enter the function sub-interface from the preset picture, the whole process is smooth, and the problem of jumping among different parts is avoided.
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 some embodiments of the present application, but not all 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.
Additionally, the flowcharts used in this application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be performed out of order, and steps without logical context may be performed in reverse order or simultaneously. One skilled in the art, under the guidance of this application, may add one or more other operations to, or remove one or more operations from, the flowchart.
The following explains an interface conversion method in a game provided by the embodiment of the present application with reference to a plurality of specific application examples. Fig. 1 is a schematic flowchart of an interface conversion method in a game according to an embodiment of the present application, in which a graphical user interface is displayed by a terminal device, as shown in fig. 1, the method includes:
s101: and providing a function interface on the graphical user interface, and displaying a preset picture corresponding to the function interface in the function interface.
Wherein the preset picture comprises at least one element; in some possible embodiments, the preset picture may be, for example, a preset animation, a preset still picture, or the like, and the content included in the specific preset picture may be flexibly adjusted according to the user requirement, which is not limited to the foregoing embodiments.
Fig. 2 is an interface schematic diagram of a graphical user interface provided in an embodiment of the present application, and as shown in fig. 2, a preset screen may include, for example, three elements, which are a left main element B, a middle main element C, and a right main element D; it should be understood that the above embodiments are only exemplary, and the number and position of the elements included in the specific graphical user interface can be flexibly adjusted according to the user's needs, and are not limited to the above embodiments.
S102: responding to a first operation aiming at the function interface, and controlling each element in the preset picture to be compressed to the preset edge side of the function interface until the size of the preset picture is compressed to be a first preset size; and controlling the function sub-interface corresponding to the first operation to be unfolded from the opposite side of the preset edge side on the function interface until the size of the function sub-interface is unfolded to a second preset size.
For example, in some possible embodiments, as still shown in fig. 2 for example, a control, which may be an entry control, may also be displayed in the functional interface, and in response to a triggering operation applied to the entry control, a first operation is triggered; when the first operation is a trigger operation acting on a control displayed on the function interface, the function sub-interface is a game interaction interface corresponding to the control.
Or, the first operation may be triggered by a trigger operation acting on an element displayed on the functional interface, that is, a click operation of a preset element in at least one element displayed on the functional interface, where when the first operation is the trigger operation acting on the element displayed on the functional interface, after different preset elements are clicked, the function sub-interfaces may be different, that is, different preset elements may correspond to different function sub-interfaces, for example, the function sub-interface corresponding to each preset element is a content introduction interface related to the current element, or a display interface for the current preset element, and the like; it should be understood that the above embodiments are only exemplary, and the specific manner of triggering the first operation, and the display manner and the display content of the different function sub-interfaces may be flexibly adjusted according to the user's needs, and are not limited to the embodiments described above.
In the embodiment of the application, the control unit is configured to control each element in the preset picture to be compressed to a preset edge side of the function interface, for example, may be configured to control each element to be compressed to a preset edge side corresponding to a first operation, for example, if the current first operation is a first operation for a left preset element, the control unit may control each preset element to be compressed to a left edge on the function interface, and control the function sub-interface corresponding to the first operation to be expanded from a right edge on the graphical user interface; or, if the first operation is a first operation for the right preset element, the preset elements may be controlled to be compressed to the right edge on the functional interface, and the functional sub-interface corresponding to the first operation is controlled to be expanded from the left edge on the graphical user interface.
Or, according to the distance between the first operation and the edge side of the function interface, it may be determined that the edge side closest to the first operation is the preset edge side, for example, when the current first operation is closest to the right edge of the function interface, it may be determined that the right edge of the function interface is the preset edge side, or when the current first operation is closest to the upper edge of the function interface, it may be determined that the upper edge of the function interface is the preset edge side, then each preset element is controlled to be expanded to the preset edge side on the function interface, and the function sub-interface corresponding to the first operation is controlled to be expanded from the opposite side of the preset edge side on the graphical user interface.
Or, if the first operation is a first operation for the entry control, the preset elements may be controlled to be deployed to a preset edge side on the function interface, where the preset edge may be, for example, a left side, a right side, or an upper side or a lower side, and the function sub-interface corresponding to the first operation is controlled to be deployed from an opposite side of the preset edge side on the graphical user interface; it should be understood that the above embodiments are only exemplary, and the correspondence between the specific preset edge and the first operation may be flexibly adjusted according to the user's needs, and is not limited to the above embodiments.
Fig. 3 is a schematic interface diagram of a graphical user interface according to another embodiment of the present application, and as shown in fig. 3, a preset screen and a function sub-interface are displayed on the graphical user interface in a non-overlapping display manner; for example, at this time, the preset edge side is the left side of the function interface, after each element in the preset screen is controlled to be compressed towards the left side of the function interface, the sub-function interface is controlled to be expanded from the right side of the function interface, finally, the compressed preset screen is displayed at the left side of the function interface in the first preset size, and the sub-function interface is displayed at the right side of the function interface in the second preset size, so that the screen conversion from the preset screen to the sub-function interface is completed.
By adopting the interface conversion method in the game, after responding to the first operation, each element in the preset picture is compressed to the preset edge side of the function interface, and the function sub-interface corresponding to the first operation is unfolded from the opposite side of the preset edge side on the function interface, so that the function sub-interface comprising the preset picture with the first function size and the function sub-interface with the second preset size can be displayed on the final function interface at the same time, a user can smoothly enter the function sub-interface from the preset picture, the whole process is smooth, and the problem of jumping among different parts is avoided.
For example, in an embodiment of the present application, the manner of controlling each element in the preset screen to compress to the preset edge of the functional interface may be, for example: responding to a first operation aiming at the functional interface, and determining a target element from a preset picture displayed on the functional interface; the determining manner may be determined according to an operation position of the first operation, for example, if the operation position of the first operation is within an element range of a certain element, the certain element is determined to be a target element; or if the operation positions of the first operation are not in the element range of each element, but the distance from one element is the shortest, determining the element with the shortest distance as a target element; it should be understood that the above manner for determining a target element according to the first operation is only an exemplary illustration, and the manner for determining the target element may be flexibly adjusted according to the user's needs, and is not limited to the above embodiment.
Then, according to the distance between the target element and the edge side of the functional interface, determining a preset edge side from the edge side; determining the edge side closest to the target element as a preset edge side according to the distance between the target element and the edge side of each functional interface; and controlling each element in the preset picture to compress towards the preset edge side.
In some possible embodiments, when determining the distance between the target element and the edge side of each functional interface, for example, only the distance between the target element and a preset comparison edge side may be determined, for example, the preset comparison edge side may be only the left edge side and the right edge side, when determining the distance, only the distance between the target element and the left edge side and the right edge side, respectively, is determined, and the preset edge side is determined between the left edge side and the right edge side; if the preset comparison edge side includes a left edge side and an upper edge side, when determining the distance, only the distance between the target element and each of the left edge side and the upper edge side is determined, and the preset edge side is determined among the left edge side and the upper edge side.
During compression, for example, each element in the preset picture may be compressed in equal proportion, and the display positions of the compressed elements in the preset picture may be rearranged.
In some possible embodiments, a rotation origin may be determined from the predetermined frame according to the position of the predetermined edge, and each element in the predetermined frame may be controlled to rotate around the rotation origin and compress toward the predetermined edge.
For example, in an embodiment of the present application, the rotation origin may be determined by: controlling each element in a preset picture to compress towards a preset edge side by taking the center of a target element as a rotation origin according to a preset rotation rate and a preset compression rule; and displaying each compressed element on a preset edge side of the functional interface in a first preset size.
For example, the elements on the functional interface including the left main element, the middle main element and the right main element are still used as an example for description; for example, after the target element is determined as the left main element, the preset edge side is determined as the left edge of the functional interface, the rotation origin is determined as the left main element, and at this time, each element in the preset screen is controlled to rotate around the left main element and compress while rotating.
Fig. 4 is a schematic interface diagram of a graphical user interface according to another embodiment of the present application, as shown in fig. 2, fig. 3, and fig. 4, fig. 2 is a schematic display diagram when the function interface does not trigger the first operation, and at this time, the coordinates of the left main element B are (B, B), the coordinates of the middle main element C are (C, C), and the coordinates of the right main element D are (D, B) for example; fig. 4 is a schematic diagram showing that the first operation is triggered by the functional interface and is performed halfway, it can be seen that the horizontal and vertical coordinates of the left main element B (B, B) are kept unchanged, the angle rotates 45 degrees counterclockwise with the point B as the center of a circle, and the area is reduced to 50% -90% with the point B as the center of a circle; the abscissa of the middle main element C (C-x, C) is moved by x to the left, the ordinate is kept unchanged (wherein x is a self-defined variable, for example, one third of the width of a functional interface can be taken as a reference), the angle is rotated by 45 degrees counterclockwise, and the area is reduced to 50% -90% by taking the point B as the center of a circle; the abscissa of the right main element D (D-x, b + x) moves x leftwards, the ordinate moves x upwards, the angle rotates 45 degrees anticlockwise, and meanwhile the area is reduced to 50% -90% by taking the point D as the center of a circle.
Fig. 3 is a schematic diagram showing a case where the first operation is triggered and the execution of the first operation is finished, and it can be seen that the horizontal and vertical coordinates of the left main element B (B, B) are kept unchanged, the angle is rotated by 90 ° counterclockwise around the point B, and the area is reduced to 50% around the point B; c: the abscissa of the middle main element C (B, C) is moved to B, the ordinate is kept unchanged, and the area is reduced to 50% by taking the point B as the center of a circle; d: the abscissa of the right main element D (b, D) is shifted to b, the ordinate is shifted to D, and the area is reduced to 50% around the point D.
In some possible embodiments, for example, each element in the preset screen may be controlled to compress to the preset edge side on the graphical user interface at the first preset compression rate and the preset compression rule, it should be understood that the above embodiments are only exemplary illustrations, and the specific compression manner, the manner of determining the rotation origin, the compression rate, and the like may be flexibly adjusted according to the user needs, and are not limited to the examples given above.
In some possible embodiments, the preset screen further includes, for example: a background base map, which is described by taking fig. 2, fig. 3, and fig. 4 as an example, in the compression process, the background base map is further controlled to be compressed to the preset edge side at a second preset compression rate, where the background base map a in fig. 2 is a base map of a normal size before compression, the background base map in fig. 4 is a display diagram when the first operation is triggered and executed by half, that is, the first operation is compressed to the preset edge side of the functional interface at the second preset compression rate, and the compression time is exceeded by half, and at this time, the width of the background base map a is reduced to 60% of the normal size; fig. 3 is a display diagram when the first operation is triggered, and the first operation is finished, that is, the first operation is compressed to the preset edge side of the functional interface at the second preset compression rate, and the compression time is finished, and at this time, the width of the background map a is reduced to 20% of the normal size; it should be understood that the foregoing embodiments are merely exemplary, and since the sizes of the elements in the preset pictures are different, and the sizes of the background maps are different, in order to ensure that the entire preset picture is compressed at a uniform preset compression rate, that is, during the process of compressing the entire preset picture to the first preset size at the same time, the compression rates of the elements in the preset picture and the background maps are not necessarily the same, that is, the second compression rate may be the same as the first compression rate, or may be different, and is specifically determined according to the ratio between the sizes of the elements, the size of the background maps, and the first preset size, and the application is not limited herein.
In some possible embodiments, the manner of controlling the functional sub-interface corresponding to the first operation to be unfolded from the opposite side of the preset edge side on the functional interface may be, for example: the control function sub-interface is unfolded from partial display to full display on the opposite side of a preset edge side on the graphical user interface at a preset unfolding rate; the preset expansion rate needs to be consistent with the preset compression rate of the preset picture, and it is ensured that the function sub-interface is expanded at the same rate in the compression process of the preset picture, so that the integrity of the content displayed on the graphical user interface in the expansion process of the function sub-interface is ensured.
Optionally, on the basis of the above embodiments, an interface conversion method in a game may also be provided in the embodiments of the present application, and an implementation process of the above method is described as follows with reference to the accompanying drawings. Fig. 5 is a schematic flowchart of an interface conversion method in a game according to another embodiment of the present application, and as shown in fig. 5, the method may further include:
s103: and in response to the expansion operation of the compressed preset picture, controlling the expansion of each element in the preset picture to the size before the compression on the functional interface.
For example, in the embodiment of the present application, while controlling each element in the preset screen to expand, the sub-function interface is controlled to be compressed to disappear on the function interface, and the expanded preset screen may still be as shown in fig. 2, for example.
In some possible embodiments, the expansion operation may be triggered in response to a click operation on any position in the compressed preset screen, or in response to a click operation on an expansion control, or in response to a trigger operation on a preset expansion shortcut key, or a preset shortcut gesture, for example, it should be understood that the above embodiments are merely illustrative, and the triggering manner of a specific expansion operation may be flexibly adjusted according to the needs of a user, and is not limited to the above embodiments.
By adopting the interface conversion method in the game, after responding to the first operation, the target element, the rotation origin and the preset edge side are determined, each element in the preset picture is controlled to be compressed to the preset edge side of the functional interface by the rotation origin, and the functional sub-interface corresponding to the first operation is controlled to be expanded from the opposite side of the preset edge side on the functional interface, wherein the expansion rate and the compression rate are the same, so that in the jumping process, the functional interface can keep displaying the preset picture comprising the first functional size and the functional sub-interface comprising the second functional size simultaneously, a user can smoothly enter the functional sub-interface from the preset picture, the whole process is smooth, and the problem of jumping is avoided.
The following explains an interface conversion device in a game provided by the present application with reference to the accompanying drawings, where the interface conversion device in the game can execute the interface conversion method in any one of the games shown in fig. 1 to 5, and specific implementation and beneficial effects of the interface conversion device in the game refer to the above descriptions, and are not described again below.
Fig. 6 is a schematic structural diagram of an interface conversion device in a game according to an embodiment of the present application, and as shown in fig. 6, the interface conversion device includes: a display module 201 and acontrol module 202, wherein:
the display module 201 is configured to provide a function interface on the graphical user interface, and display a preset picture corresponding to the function interface in the function interface; wherein the preset picture comprises at least one element;
thecontrol module 202 is configured to, in response to a first operation on the functional interface, control to compress each element in the preset picture to a preset edge side of the functional interface until the size of the preset picture is compressed to a first preset size; and controlling the function sub-interface corresponding to the first operation to be unfolded from the opposite side of the preset edge side on the function interface until the size of the function sub-interface is unfolded to a second preset size.
Optionally, on the basis of the above embodiment, an interface conversion device in a game may also be provided in the embodiment of the present application, and an implementation process of the device given in fig. 6 above is described as follows with reference to the accompanying drawings. Fig. 7 is a schematic structural diagram of an interface conversion device in a game according to another embodiment of the present application, and as shown in fig. 7, the device further includes: the determiningmodule 203 is configured to determine, in response to a first operation on the functional interface, a target element from a preset screen displayed on the functional interface;
thecontrol module 202 is specifically configured to determine a preset edge side from the edge sides according to a distance between the target element and the edge side of the functional interface, and control each element in the preset picture to compress to the preset edge side.
Optionally, the preset screen and the function sub-interface are displayed on the graphical user interface in a non-overlapping display manner.
Optionally, thecontrol module 202 is specifically configured to perform equal-ratio compression on each element in the preset picture, and rearrange display positions of the compressed elements in the preset picture.
Optionally, thecontrol module 202 is specifically configured to determine a rotation origin from the preset frame according to the position of the preset edge side, and control each element in the preset frame to rotate around the rotation origin and compress toward the preset edge side.
Optionally, the first operation includes a trigger operation acting on an element displayed on the functional interface, or a trigger operation acting on a control on the functional interface.
Optionally, when the first operation is a trigger operation acting on an element displayed on the function interface, the function sub-interface is a content introduction interface related to the element;
when the first operation is a trigger operation acting on a control displayed on the function interface, the function sub-interface is a game interaction interface corresponding to the control.
Optionally, thecontrol module 202 is specifically configured to, in response to an expansion operation for the compressed preset screen, control to expand each element in the preset screen to a size before compression on the functional interface.
Optionally, thecontrol module 202 is specifically configured to control the function sub-interface to be expanded from a partial display to a full display on the opposite side of the preset edge side on the graphical user interface at the preset expansion rate.
Optionally, thecontrol module 202 is specifically configured to control the background base map to be compressed to the preset edge side at a second preset compression rate.
Optionally, thecontrol module 202 is specifically configured to control each element in the preset picture to compress the preset edge side on the graphical user interface at a first preset compression rate and a preset compression rule.
Optionally, the preset frame includes a left main element, a middle main element and a right main element, and thecontrol module 202 is specifically configured to control each element in the preset frame to compress to a preset edge side according to a preset rotation rate and a preset compression rule with a center of the target element as a rotation origin; and displaying each compressed element on a preset edge side of the functional interface in a first preset size.
The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors, or one or more Field Programmable Gate Arrays (FPGAs), etc. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 8 is a schematic structural diagram of an interface conversion device in a game according to an embodiment of the present application, where the interface conversion device in the game may be integrated in a terminal device or a chip of the terminal device.
As shown in fig. 8, the interface converting apparatus in the game includes: aprocessor 501, astorage medium 502, and abus 503.
Theprocessor 501 is used for storing a program, and theprocessor 501 calls the program stored in thestorage medium 502 to execute the method embodiment corresponding to fig. 1-5. The specific implementation and technical effects are similar, and are not described herein again.
Optionally, the present application also provides a program product, such as a storage medium, on which a computer program is stored, including a program, which, when executed by a processor, performs embodiments corresponding to the above-described method.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, 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 through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
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 of 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 integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods 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.