CN110941464B - Light exposure method, device, system and storage medium - Google Patents

Light exposure method, device, system and storage medium Download PDF

Info

Publication number
CN110941464B
CN110941464B CN201811108796.7A CN201811108796A CN110941464B CN 110941464 B CN110941464 B CN 110941464B CN 201811108796 A CN201811108796 A CN 201811108796A CN 110941464 B CN110941464 B CN 110941464B
Authority
CN
China
Prior art keywords
content
transition
scene
exposed
request
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
CN201811108796.7A
Other languages
Chinese (zh)
Other versions
CN110941464A (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201811108796.7A priority Critical patent/CN110941464B/en
Publication of CN110941464A publication Critical patent/CN110941464A/en
Application granted granted Critical
Publication of CN110941464B publication Critical patent/CN110941464B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application provides a light exposure method, device, system and storage medium. Wherein the method comprises the following steps: receiving a transition request for switching from a first scene to a second scene; acquiring content to be exposed according to the transition request; displaying the content to be exposed in the transition process from the first scene to the second scene; and after the transition is finished, displaying the content of the second scene. In the embodiment of the application, the content to be exposed is fused into the transition process, and the content to be exposed is displayed in the transition process. The method ensures that the content to be exposed can be subjected to light exposure before the new scene is displayed, and can effectively avoid the influence of the exposure process of the content to be exposed on the display of the scene content and the interaction of users.

Description

Light exposure method, device, system and storage medium
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a light exposure method, apparatus, system, and storage medium.
Background
During the scene showing process, some contents need to be exposed for a short time.
In the prior art, the exposure mode is to expose the content in a popup window mode in the scene. However, the popup will be overlaid over the scene, which may hinder the display of the scene content and the interaction between the user and the scene content. Only if the user manually closes the popup window, normal interaction with scene content can be performed, which brings great inconvenience to the use process of the user.
Disclosure of Invention
Aspects of the present application provide a light exposure method, apparatus, system, and storage medium, which are used to solve the technical problems that the display of scene content is abnormal and the interaction between a user and the scene content cannot be normal due to the existing exposure method.
The embodiment of the application provides a light exposure method, which comprises the following steps:
receiving a transition request for switching from a first scene to a second scene;
acquiring content to be exposed according to the transition request;
displaying the content to be exposed in the transition process from the first scene to the second scene; and
and after the transition is finished, displaying the content of the second scene.
The embodiment of the application also provides a light exposure method, which comprises the following steps:
receiving a content acquisition request to be exposed sent by a client when switching from a first scene to a second scene, wherein the content acquisition request to be exposed carries a content address to be exposed;
and sending the content to be exposed to the client according to the address of the content to be exposed, so that the client can display the content to be exposed in the transition process from the first scene to the second scene.
The embodiment of the application also provides a client, which comprises a memory and a processor;
The memory is used for storing a computer program;
the processor, coupled to the memory, is configured to execute the computer program in the memory to:
receiving a transition request for switching from a first scene to a second scene;
acquiring content to be exposed according to the transition request;
displaying the content to be exposed in the transition process from the first scene to the second scene; the method comprises the steps of,
and after the transition is finished, displaying the content of the second scene.
The embodiment of the application also provides a server, which comprises a memory, a processor and a communication component;
the memory is used for storing a computer program;
the processor, coupled with the memory and the communication component, is configured to execute the computer program in the memory to:
receiving a content acquisition request to be exposed sent by a client when switching from a first scene to a second scene through the communication component, wherein the content acquisition request to be exposed carries a content address to be exposed;
and according to the content address to be exposed, sending the content to be exposed in the storage space corresponding to the content address to be exposed to the client through the communication component, so that the client can display the content to be exposed in the transition process from the first scene to the second scene.
The embodiment of the application also provides a light exposure system, which comprises a client and a server;
the client is used for receiving a transition request for switching from a first scene to a second scene; according to the transition request, sending an acquisition request of the content to be exposed corresponding to the transition request to the server, wherein the acquisition request of the content to be exposed carries a content address to be exposed; receiving the content to be exposed sent by the server; displaying the content to be exposed in the transition process from the first scene to the second scene; after the transition is finished, displaying the content of the second scene;
the server is used for receiving the content acquisition request to be exposed sent by the client; and according to the content address to be exposed, sending the content to be exposed in the storage space corresponding to the content address to be exposed to the client.
Embodiments also provide a computer-readable storage medium storing computer instructions that, when executed by one or more processors, cause the one or more processors to perform the foregoing light exposure method performed by the client.
Embodiments also provide a computer-readable storage medium storing computer instructions that, when executed by one or more processors, cause the one or more processors to perform the foregoing light exposure method performed by the server.
In the embodiment of the application, the content to be exposed is fused into the transition process, and the content to be exposed is displayed in the transition process. The method ensures that the content to be exposed can be subjected to light exposure before the new scene is displayed, and can effectively avoid the influence of the exposure process of the content to be exposed on the display of the scene content and the interaction of users.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
FIG. 1 is a schematic diagram of a light exposure system according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart of a light exposure method according to another embodiment of the present disclosure;
FIG. 3 is a flow chart of another light exposure method according to another embodiment of the present disclosure;
FIG. 4 is a schematic flow chart of a light exposure method according to another embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a client according to another embodiment of the present application;
fig. 6 is a schematic structural diagram of a server according to another embodiment of the present application.
Detailed Description
For the purposes, technical solutions and advantages of the present application, the technical solutions of the present application will be clearly and completely described below with reference to specific embodiments of the present application and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
In the prior art, content exposure is usually performed in a scene in the form of a popup window, however, the popup window is covered on the scene, which can obstruct the display of scene content and the interaction between a user and the scene content, and the user can normally interact with the scene content only by manually closing the popup window, so that great inconvenience is brought to the use process of the user. Aiming at the problems existing in the prior art, in some embodiments of the application, the content to be exposed is fused into the transition process, and the content to be exposed is displayed in the transition process. The method ensures that the content to be exposed can be subjected to light exposure before the new scene is displayed, and can effectively avoid the influence of the exposure process of the content to be exposed on the display of the scene content and the interaction of users.
The following describes in detail the technical solutions provided by the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of a light exposure system according to an embodiment of the present application. As shown in fig. 1, the light exposure system includes: a client 11 and a server 12.
The client 11 and the server 12 are communicatively connected to each other. The client 11 and the server 12 may be connected by a wireless or wired network. In this embodiment, if the two are connected through mobile network communication, the network system of the mobile network may be any one of 2G (GSM), 2.5G (GPRS), 3G (WCDMA, TD-SCDMA, CDMA2000, UTMS), 4G (LTE), 4g+ (lte+), wiMax, or even new network systems that will be forthcoming in the future.
In a physical implementation, the client 11 may be a terminal device such as a personal computer, a smart phone, a tablet computer, and the server 12 may be a conventional server, a cloud host, a virtual center, and the like. The server device mainly comprises a processor, a hard disk, a memory, a system bus and the like, and is similar to a general computer architecture.
In this embodiment, light exposure refers to a short-time exposure of integrating the content to be exposed into the visual effect of the view. Wherein, whether the exposure process corresponds to the light exposure in the present embodiment can be defined according to the exposure time required by the content to be exposed. For example, the content to be exposed whose required exposure time is smaller than a preset time period may be determined as the light exposure object of the present embodiment. In addition, considering the time limit of the transition process, the time corresponding to the transition process during scene transition can be used as the preset time.
When a transition request triggering event occurs, the client 11 may receive a transition request 13 to switch from the first scenario to the second scenario. The first scene is a scene before switching, and the second scene is a scene after switching. The transition request triggering event may vary from one light exposure scene to another. For example, the transition request triggering event may be a click operation on a link on a WEB page during WEB page browsing. For another example, the transition request triggering event may be a launch operation performed on an application. Of course, the transition request triggering event may also be other events, and this embodiment is not exhaustive. In addition, the identification of the scene before the switching and the identification of the scene after the switching can be combined as the identification of the transition request, and the identification can be used to distinguish the plurality of transition requests 13 received on the client 11. For example, for WEB pages, the transition request 13 may use addresses of two WEB pages before and after switching as identities. Of course, for different application scenarios, the identity of the transition request 13 may also be in other forms, which is not limited in this embodiment.
Based on the transition request 13, the client 11 may obtain the content 15 to be exposed. The content 15 to be exposed may be different according to different light exposure scenes, and the content 15 to be exposed may be any content outside the scene where light exposure is required. For example, the content 15 to be exposed may be content such as brand elements related to a scene, a theme of the scene, a content summary of the scene, and the like, and the content 15 to be exposed may also be content such as a prompt light, help information, and the like, which are not related to the scene. The content to be exposed may be a single item of content as described above, or may be a combination of a plurality of items of content as described above. In addition, the content format of the content 15 to be exposed may be various, for example, the content 15 to be exposed may be text, picture, video, or the like. The present embodiment is not limited in this regard.
In some application scenarios, the content 15 to be exposed may be cached in the local storage space of the client 11. The client 11 can read the content 15 to be exposed corresponding to the transition request 13 from the local storage space according to the transition request 13. There are various technical means used to store the content 15 to be exposed in the local storage space. For example, the update data packet of the content 15 to be exposed may be periodically acquired, and the content 15 to be exposed in the local storage space may be periodically updated according to the update data packet of the content 15 to be exposed. For another example, when the application program is started, the content 15 to be exposed corresponding to the application program may be partially or fully downloaded to the local storage space. Of course, other technical means may be adopted, and will not be described herein. By caching the content 15 to be exposed in the local storage space, the acquisition speed of the content 15 to be exposed can be increased, so that the display effect of the content 15 to be exposed is ensured.
In other application scenarios, the content to be exposed 15 may be stored in the server 12, and the client 11 may send, according to the transition request 13, a content to be exposed acquisition request corresponding to the transition request 13 to the server 12. When the server 12 receives the content to be exposed acquisition request sent by the client 11, the content to be exposed 15 corresponding to the transition request 13 of the client 11 may be sent to the client 11. Thus, the client 11 can acquire the content 15 to be exposed corresponding to the transition request 13. By acquiring the content 15 to be exposed stored on the server 12 in real time, the freshness of the acquired content 15 to be exposed can be ensured, and particularly, for application scenes where the content 15 to be exposed is updated more frequently, the mode can obtain better effects.
Of course, the content 15 to be exposed may also be stored in other storage locations according to the application scenario, and accordingly, the client 11 may also acquire the content 15 to be exposed in other manners, which is not limited in this embodiment.
The content 15 to be exposed to which the light exposure process occurs may be plural for the client 11, and accordingly, the transition request 13 received by the client 11 may be plural. In order to determine the content 15 to be exposed corresponding to the current transition request 13, the client 11 may obtain the content 15 to be exposed corresponding to the transition request 13 according to the association relationship between the transition request 13 and the content 15 to be exposed. Alternatively, the association relationship between the transition request 13 and the content 15 to be exposed may be preconfigured by the server 12. The client 11 may obtain the association relationship between the transition request 13 and the content 15 to be exposed from the server 12 periodically or when the application is started, however, the association relationship between the transition request 13 and the content 15 to be exposed may also be obtained from the server 12 at other occasions, which is not limited in this implementation.
For the server 12, the association relationship between the transition request 13 and the content 15 to be exposed can be established according to a plurality of transition requests 13 related to the client 11 and a plurality of content 15 to be exposed related to the light exposure process occurring on the client 11. In one implementation, the association of the transition request 13 with the transition model 14 may be written into a transition profile 16 on the server 12. Alternatively, when the content to be exposed 15 is stored on the server 12, the server 12 may establish an association between the transition request 13 and the address of the content to be exposed, for example, the server 12 may establish an association between the identity of the transition request 13 and the address of the content to be exposed. In this way, when the client 11 receives the transition request 13, the storage address of the content 15 to be exposed corresponding to the transition request 13 in the server 12 can be determined according to the association relationship between the transition request 13 and the content address to be exposed. When the content 15 to be exposed needs to be called, the client 11 may generate a content obtaining request to be exposed according to the content address to be exposed and send the content obtaining request to the server 12, and the server 12 may send the content 15 to be exposed in the storage space corresponding to the content address to be exposed to the client 11 according to the content address to be exposed sent by the client. In addition, the server 12 can update the content 15 to be exposed according to the requirement in the storage address of the content 15 to be exposed, and the client 11 obtains the content 15 to be exposed according to the address of the content to be exposed, so that even if the content 15 to be exposed is updated, the association configuration on the client 11 does not need to be changed.
After the acquired content 15 to be exposed, the client 11 may display the content 15 to be exposed in a transition process from the first scene to the second scene. Alternatively, the content 15 to be exposed may be displayed according to a preset transition effect. For example, a segment of animation may be shown during the transition that includes the content 15 to be exposed. In addition, according to the requirements of the application scenario, there may be a plurality of to-be-exposed contents 15 corresponding to the transition request 13, and when the to-be-exposed contents 15 corresponding to the transition request 13 are a plurality of to-be-exposed contents, the client 11 may sort and regenerate the plurality of to-be-exposed contents 15, and use the regenerated contents as new to-be-exposed contents. For example, the client 11 may generate a picture as the new content 15 to be exposed based on a plurality of contents to be exposed such as brand elements and scene subjects obtained from the server 12.
In this embodiment, the content 15 to be exposed will be incorporated into the transition process for presentation. After the transition is over, the client 11 will continue to present the content of the second scene. Alternatively, after the transition is completed, the client 11 may stop running the transition model 14 and destroy the transition content in the transition model 14 for the subsequent transition process to reuse the transition model 14.
Wherein the client 11 determines whether the transition is ended or not, at least the following two implementations can be adopted.
In an alternative implementation manner, the client 11 may determine that the current duration of the transition process reaches the preset duration according to the preset duration of the transition process, and may determine that the transition is ended when the duration of the transition process reaches the preset duration.
In another alternative implementation, the client 11 may monitor the loading progress of the second scenario, and determine that the transition is finished when the loading of the second scenario is completed. In order to avoid too short or too long a duration of the transition process, a minimum duration or a maximum duration of the transition process may also be set. In the implementation manner, the duration of the transition process is flexibly adjusted according to the loading progress of the second scene, especially when the loading speed of the second scene is relatively low, the monotone interface effect can be improved through the content to be exposed in the transition process, the interface effect such as a white screen is prevented from being displayed when the second scene is not loaded, the perception of empty scenes or waiting and the like can be prevented from being brought to a user, and the user experience is effectively improved.
In this embodiment, before the transition occurs, a first scene is displayed; when the transition occurs, displaying the content 15 to be exposed in the transition process; when the transition is completed, the content 15 to be exposed is not displayed, and the transition is to display the second scene. In this way, the content 15 to be exposed can be lightly exposed in the transition process, and before the second scene is displayed, the content 15 to be exposed is displayed completely, so that the display of the content 15 to be exposed will not affect the normal display of the second scene and the interaction between the user and the second scene will not be affected.
In the above or the following embodiments, the client 11 may load the content 15 to be exposed into the transition model 14 corresponding to the transition request 13; and runs the transition model 14 to present the content 15 to be exposed during the transition from the first scene to the second scene. Alternatively, the transition model 14 may be set with transition animation parameters corresponding to the content 15 to be exposed, so that the content 14 to be exposed may be displayed in an animated manner during transition from the first scene to the second scene when the transition model 14 is operated.
In this embodiment, the client 11 needs to acquire the transition model 14 corresponding to the transition request 13 before loading the content 15 to be exposed into the transition model 14 corresponding to the transition request 13.
In some application scenarios, the transition model 14 may be cached within the local storage space of the client 11. The client 11 may read the transition model 14 corresponding to the transition request 13 from its local storage space according to the transition request 13. There are a number of techniques used to store the transition model 14 in local storage space. For example, update data packets for the transition model 14 may be periodically acquired and the transition model 14 in the local storage space may be periodically updated based on the update data packets for the transition model 14. For another example, the transition model 14 corresponding to the application may be downloaded to the local storage space at the time of application startup. Of course, other technical means may be adopted, and will not be described herein. By caching the transition model 14 in a local storage space, the acquisition speed of the transition model 14 can be increased, thereby ensuring the display smoothness of the transition model 14.
In other application scenarios, the transition model 14 may be stored on the server 12. The client 11 may send a transition model acquisition request corresponding to the transition request 13 to the server 12 according to the transition request 13. When the server 12 receives the transition model acquisition request sent by the client 11, the transition model 14 corresponding to the transition request 13 of the client 11 may be sent to the client 11. Thus, the client 11 may obtain the transition model 14 corresponding to the transition request 13. By acquiring the transition model 14 stored on the server 12 in real time, the freshness of the acquired transition model 14 can be ensured, and particularly, for application scenes where the transition model 14 is updated more frequently, the mode can obtain better effects.
Of course, the transition model 14 may also be stored in other storage locations according to the application scenario, and accordingly, the client 11 may also acquire the transition model 14 in other manners, which is not limited in this embodiment.
The number of transition models 14 involved in the light exposure process that occurs on the client 11 may be plural, and accordingly, the number of transition requests 13 received by the client 11 may be plural. In order to determine the transition model 14 corresponding to the current transition request 13, the client 11 may obtain the transition model 14 corresponding to the transition request 13 according to the association relationship between the transition request 13 and the transition model 14. Alternatively, the association between the transition request 13 and the transition model 14 may be preconfigured by the server 12. The client 11 may obtain the association relationship between the transition request 13 and the transition model 14 from the server 12 periodically or when the application is started, and of course, may also obtain the association relationship between the transition request 13 and the transition model 14 from the server 12 at other occasions, which is not limited in this implementation.
For the server 12, the association relationship between the transition request 13 and the transition model 14 may be established according to a plurality of transition requests 13 related to the client 11 and a plurality of transition models 14 related to the light exposure process occurring on the client 11. In one implementation, the association of the transition request 13 with the transition model 14 may be written into a transition profile 16 on the server 12. Alternatively, when the transition model 14 is stored on the server 12, the server 12 may establish an association between the transition request 13 and the transition model address. Thus, when the client 11 receives the transition request 13, the storage address of the transition model 14 corresponding to the transition request 13 in the server 12 can be determined according to the association relationship between the transition request 13 and the transition model address. When the transition model 14 needs to be called, the client 11 may generate a transition model acquisition request according to the transition model address and send the transition model acquisition request to the server 12, and the server 12 may send the transition model 14 in the storage space corresponding to the transition model address to the client 11 according to the transition model address sent by the client. In addition, the server 12 can update the transition model 14 as required in the storage address of the transition model 14, and the client 11 obtains the transition model 14 according to the transition model address, so that even if the transition model 14 is updated, the association configuration on the client 11 does not need to be changed.
In this embodiment, creation of the transition model 14 may be performed by the server 12 according to different light exposure requirements. Of course, the creation of the transition model 14 may also be performed by other devices, which is not limited in this embodiment. The creation process of the transition model 14 will be described below taking the creation of the transition model 14 by the server 12 as an example.
Server 12 may create a content loading structure to be exposed for loading content 15 to be exposed and set transition animation parameters to generate transition model 14. The content loading structure to be exposed refers to a model object created according to the style of the carrier of the content 15 to be exposed. For example, in one implementation, the content loading structure to be exposed may be a hammer structure in the transition model 14 or a display structure.
To enhance the association of the transition process with the first scene and/or the second scene, underlying transition content associated with the first scene and/or the second scene may be presented in a transition effect. Optionally, the server 12 may create a first plane for loading the base transition content corresponding to the first scene and/or a second plane for loading the base transition content corresponding to the second scene in the 3D world; creating a content loading structure to be exposed for loading the content to be exposed 15 based on the first plane and/or the second plane; setting transition animation parameters based on the first plane and/or the second plane and the loading structure of the content to be exposed; a transition model 14 is generated based on the first plane and/or the second plane, the content loading structure to be exposed, and the transition animation parameters.
Accordingly, the transition model 14 includes the first plane and/or the second plane, the loading structure of the content 15 to be exposed, and the transition animation parameters. When the transition model 14 is run in the client 11, a transition effect formed by the basic transition content and the content to be exposed 15 according to the transition animation parameters can be obtained. The transition animation parameters comprise: the motion trajectory and motion speed of the content loading structure to be exposed, the switching animation and switching speed between the first plane and the second plane, and the like control animation parameters of each model object in the transition model 14 to generate an animation effect.
Further, in order to ensure that the basic transition content corresponding to the first scene and/or the basic transition content corresponding to the second scene is displayed completely in the transition process, the server 12 may set the loading position corresponding to the basic transition content corresponding to the first scene to be aligned with the center of the first plane; and/or setting the loading position corresponding to the basic transition content corresponding to the second scene to be aligned with the second plane center. When the transition model 14 is run in the client 11, it can be ensured that the basic transition content corresponding to the first scene is completely displayed at the center position of the first plane, and/or that the basic transition content corresponding to the second scene is completely displayed at the center position of the second plane, so that a better transition effect can be obtained.
In this embodiment, after acquiring the transition model 14 corresponding to the transition request 13, the client 11 may load the content 15 to be exposed into the transition model 14. By running the transfer model 14 during the transfer process, it is achieved that the content 15 to be exposed is presented during the transfer process.
In some light exposure scenes, the client 11 may load the content 15 to be exposed into the content loading structure to be exposed in the transition model 14. For example, the content to be exposed 15 may be added as a texture to the content loading structure to be exposed. Accordingly, in the transition process, the content 15 to be exposed will be used as the texture of the loading structure of the content to be exposed, and the content 15 to be exposed is displayed according to the transition animation parameters in the transition model 14. For example, a section of a transition animation of a hammer striking the screen may be designed, wherein the content 15 to be exposed is presented as a texture of the hammer.
In other light exposure scenes, the client 11 can load the content 15 to be exposed into the transition model 14, acquire basic transition content according to a transition request, and load the basic transition content into the transition model; wherein the basic transition content is content related to the first scene and/or the second scene; and the client runs the transition model and displays the basic transition content and the content to be exposed in a linkage manner in an animation effect mode. The basic transition content can be content such as an interface screenshot, an interface theme or an interface element corresponding to the first scene and/or the second scene.
Alternatively, the content to be exposed 15 may be loaded as a texture into the content loading structure to be exposed, the interface screen shots of the first scene may be loaded as a texture into the first plane, and the interface screen shots of the second scene may be loaded as a texture into the second plane. Accordingly, in the transition process, the content 15 to be exposed is taken as the texture of the loading structure of the content to be exposed, the screenshot of the first scene is taken as the texture of the first plane, the screenshot of the second scene is taken as the texture of the second plane, and the screenshot of the first scene, the screenshot of the second scene and the display of the content 15 to be exposed can be performed according to the transition animation parameters in the transition model 14. This allows a preset transition effect to be presented based on the linked presentation of the content to be exposed 15 and the underlying transition content when the transition model 14 is run in the client 11. Thus, light exposure of the content 15 to be exposed can be achieved. For example, a segment of a transition animation may be designed in which the content 15 to be exposed is taken as the texture of the hammer, the screenshot of the first scene is taken as the texture before the mirror breaks, and the screenshot of the second scene is taken as the texture after the mirror breaks.
In order to load the basic transition content into the transition model 14, the client 11 may acquire the basic transition content corresponding to the first scene and/or the basic transition content corresponding to the second scene by adopting an interface screenshot manner for the first scene and/or the second scene. Of course, the client 11 may acquire the basic transition content in other manners, which is not limited in this embodiment.
When the client 11 obtains the basic transition content in the manner of the interface screenshot, the first scene is already completely loaded when the transition occurs, so that the client 11 can intercept the interface screenshot of the first scene as the basic transition content corresponding to the first scene when the transition occurs and load the basic transition content corresponding to the first scene into the transition model 14. When the transition occurs, the second scenario is not yet loaded, and the loading process of the second scenario may continuously occur in the transition process, so, in order to embody the loading process of the second scenario in the transition process, the client 11 may perform an interface screenshot on the loading process of the second scenario according to a preset frequency in the operation process of the transition model 14 for the second scenario, and update the basic transition content corresponding to the second scenario in the transition model 14 by using the interface screenshot. The preset frequency may be set by the client 11 according to a screen frame rate based on the device performance, for example, the preset frequency may be set to be once at intervals of X frame screen shots.
Of course, the client 11 may perform the interface screenshot only on the interface after the loading of the first scene and/or the second scene is completed, or perform the interface screenshot on the second scene according to other rules, which is not limited in this embodiment.
In the above or the following embodiments, the client 11 may further determine, according to the history of the transition request, whether the transition request is a first transition request for switching from the first scene to the second scene; when the transition request is a first transition request for switching from the first scene to the second scene, the operation of acquiring the content to be exposed according to the transition request is executed. The history of the transition request refers to an information record of at least one transition request 13 that has occurred in the client 11. In practical applications, the history of the transition request may include information such as an identity of the transition request 13, an occurrence time of the transition request 13, whether the transition is successful, an occurrence number of the transition request 13, and the like.
In this embodiment, when the transition request 13 is a first transition request for switching from the first scene to the second scene, the client 11 will execute a subsequent operation procedure for displaying the content 15 to be exposed in the transition process according to the transition request 13; and when the transition request 13 is not the first transition request to switch from the first scene to the second scene, the client 11 will not lightly expose the content 15 to be exposed. That is, the client 11 may perform the light exposure of the content 15 to be exposed only for the first transition request 13, and thereafter, when the transition request 13 occurs again, the light exposure of the content 15 to be exposed will not be performed any more.
It is to be noted that, in the present embodiment, although the judgment condition as to whether or not light exposure of the content 15 to be exposed needs to be performed is increased, this should not be construed as a limitation as to whether or not to perform the transition process. In this embodiment, when the transition request 13 is not the first request, the client 11 may still perform the transition process that does not include the content 15 to be exposed. In one implementation, a different transition model may be employed for such transition requests 13 than the transition model 14 that exposes the content 15 to be exposed, e.g., a transition model that exposes only the underlying transition content may be employed.
In the above or the following embodiments, the client 11 may further determine, according to the identifier of the second scene carried in the transition request 13, whether the second scene is a scene that needs light exposure; when the second scene is a scene requiring light exposure, an operation of acquiring the content to be exposed 15 according to the transition request 13 is performed.
The second scene is a switched scene, that is, a scene that the user desires to browse next, so that the second scene can reflect information such as interests of the user, content desired to be acquired, and the like to a certain extent. Based on this, in this embodiment, it may be determined whether the second scene is a scene requiring light exposure according to the identification of the second scene. For example, for a shopping application, the second scenario may be a homepage of a store that the user wants to access, the client 11 may determine, according to the homepage identifier of the store, whether the homepage of the store is a page that needs light exposure, and if so, may light expose brand element waiting exposure content 15 associated with the homepage of the store; if the judgment result is negative, the homepage of the store can be directly displayed without executing the light exposure process.
In the present embodiment, a scene requiring light exposure may be preset based on the identification of the scene. Alternatively, a scene requiring light exposure may be set by the server 12 according to actual needs. In one implementation, server 12 may build an identification list of scenes that require light exposure.
By setting the scenes needing light exposure, the light exposure authority of each scene can be flexibly adjusted. For example, the server 12 can set the light exposure authority of each store according to the wish of each store in the shopping application program, and can update the light exposure authority of each store at any time, thereby effectively improving the management efficiency of the light exposure authority.
Fig. 2 is a flow chart of a light exposure method according to another embodiment of the present application. The light exposure method is suitable for use in a light exposure system. As shown in fig. 2, the method includes:
200. receiving a transition request for switching from a first scene to a second scene;
201. acquiring content to be exposed according to the transition request;
202. displaying the content to be exposed in the transition process from the first scene to the second scene;
203. and after the transition is finished, displaying the content of the second scene.
In this embodiment, when a transition request trigger event occurs, a transition request to switch from a first scene to a second scene may be received. The first scene is a scene before switching, and the second scene is a scene after switching. The transition request triggering event may vary from one light exposure scene to another. For example, the transition request triggering event may be a click operation on a link on a WEB page during WEB page browsing. For another example, the transition request triggering event may be a launch operation performed on an application. Of course, the transition request triggering event may also be other events, and this embodiment is not exhaustive. In addition, the transition request may combine the identification of the scene before the switch and the scene after the switch as an identification, and the identification may be used to distinguish the plurality of transition requests received above. For example, for WEB pages, the transition request may use addresses of two WEB pages before and after switching as the identity. Of course, for different application scenarios, the identity of the transition request may also be in other forms, which is not limited in this embodiment.
In some application scenarios, the content to be exposed corresponding to the transition request can be read from the local storage space according to the transition request. The technical means used to store the content to be exposed in the local storage space may be varied. For example, the update data packet of the content to be exposed can be obtained periodically, and the content to be exposed in the local storage space is updated periodically according to the update data packet of the content to be exposed. For another example, when the application program is started, the content to be exposed corresponding to the application program can be partially or fully downloaded to the local storage space. Of course, other technical means may be adopted, and will not be described herein. By caching the content to be exposed in the local storage space, the acquisition speed of the content to be exposed can be increased, so that the display effect of the content to be exposed is ensured.
In other application scenarios, according to the transition request, an acquisition request of the content to be exposed corresponding to the transition request may be sent to the server, and the content to be exposed corresponding to the transition request returned by the server may be acquired. The method and the device can ensure the freshness of the acquired content to be exposed by acquiring the content to be exposed stored on the server in real time, and particularly obtain better effect for application scenes with frequent updating of the content to be exposed.
Of course, according to the application scene, the content to be exposed may be stored in other storage locations, and correspondingly, the content to be exposed may be obtained in other manners, which is not limited in this embodiment.
After the acquired content to be exposed, the content to be exposed can be displayed in the transition process from the first scene to the second scene. Optionally, the content to be exposed can be displayed according to a preset transition effect. For example, a segment of animation containing the content to be exposed may be shown during the transition.
In this embodiment, the content to be exposed is to be displayed in the transition process. After the transition is completed, the content of the second scene will continue to be presented. Optionally, after the transition is finished, the operation of the transition model can be stopped, and the transition content in the transition model can be destroyed, so that the transition model can be reused in the subsequent transition process.
Wherein, determining whether the transition is ended may take at least the following two implementations.
In an alternative implementation manner, the current duration of the transition process may be determined to reach the preset duration according to the preset duration of the transition process, and when the duration of the transition process reaches the preset duration, the transition may be determined to end.
In another alternative implementation manner, the loading progress of the second scene can be monitored, and when the loading of the second scene is completed, the transition is determined to be finished. In order to avoid too short or too long a duration of the transition process, a minimum duration or a maximum duration of the transition process may also be set. In the implementation manner, the duration of the transition process is flexibly adjusted according to the loading progress of the second scene, especially when the loading speed of the second scene is relatively low, the monotone interface effect can be improved through the content to be exposed in the transition process, the interface effect such as a white screen is prevented from being displayed when the second scene is not loaded, the perception of empty scenes or waiting and the like can be prevented from being brought to a user, and the user experience is effectively improved.
In the embodiment, the content to be exposed is fused into a transition process, and the content to be exposed is displayed according to a preset transition effect in the transition process. The method ensures that the content to be exposed can be subjected to light exposure before the new scene is displayed, and can effectively avoid the influence of the exposure process of the content to be exposed on the display of the scene content and the interaction of users.
Fig. 3 is a flow chart of another light exposure method according to another embodiment of the present application. As shown in fig. 3, the method includes:
300. Receiving a transition request for switching from a first scene to a second scene;
301. acquiring content to be exposed according to the transition request;
302. loading the content to be exposed into a transition model corresponding to the transition request;
303. operating a transition model to display the content to be exposed in the transition process from the first scene to the second scene;
304. and after the transition is finished, displaying the content of the second scene.
Steps 300-301 and 304 may refer to the descriptions in the foregoing embodiments, and are not repeated here.
Based on steps 302 and 303, a light exposure of the content to be exposed can be achieved by running the transition model during the transition.
In this embodiment, before loading the content to be exposed into the transition model corresponding to the transition request, the transition model corresponding to the transition request needs to be acquired.
In some application scenarios, a transition model corresponding to a transition request may be read from a local storage space according to the transition request. The technical means employed to store the transition model in the local storage space may be varied. For example, update data packets of the transition model may be periodically acquired, and the transition model in the local storage space may be periodically updated according to the update data packets of the transition model. For another example, when an application is started, a transition model corresponding to the application may be downloaded to the local storage space. Of course, other technical means may be adopted, and will not be described herein. By caching the transition model in a local storage space, the acquisition speed of the transition model can be improved, so that the display fluency of the transition model is ensured.
In other application scenarios, a transition model acquisition request can be sent to a server, wherein the transition model acquisition request carries a transition model address corresponding to the transition request; and receiving a transition model which is transmitted by the server and is acquired from a storage space corresponding to the transition model address. Thus, a transition model corresponding to the transition request can be obtained. The freshness of the acquired transition model can be ensured by acquiring the transition model stored on the server in real time, and particularly, the realization mode can obtain better effect on application scenes with frequent updating of the transition model.
In an alternative embodiment, the association between the transition request and the transition model address may be obtained from a server.
In an alternative embodiment, the method may include, prior to running the transition model:
according to the transition request, acquiring basic transition content, and loading the basic transition content into a transition model; wherein the basic transition content is content related to the first scene and/or the second scene. Based on this, step 302 may include: and running the transition model, and displaying the basic transition content and the content to be exposed in a linkage way in an animation effect mode.
In this embodiment, the basic transition content may be content such as an interface screenshot, an interface theme, or an interface element corresponding to the first scene and/or the second scene.
Alternatively, the content to be exposed may be loaded as a texture into the content loading structure to be exposed, the interface screen shots of the first scene may be loaded as a texture into the first plane, and the interface screen shots of the second scene may be loaded as a texture into the second plane. Accordingly, in the transition process, the content to be exposed is taken as the texture of the content loading structure to be exposed, the screenshot of the first scene is taken as the texture of the first plane, the screenshot of the second scene is taken as the texture of the second plane, and the screenshot of the first scene, the screenshot of the second scene and the display of the content to be exposed can be performed according to the transition animation parameters in the transition model. The method can display the preset transition effect based on linkage display of the content to be exposed and the basic transition content when the transition model is operated. Thus, light exposure of the content to be exposed can be achieved.
In order to load the basic transition content into the transition model, the basic transition content corresponding to the first scene and/or the basic transition content corresponding to the second scene can be obtained by adopting a mode of carrying out interface screenshot on the first scene and/or the second scene. Of course, other manners of obtaining the basic transition content may be used, which is not limited in this embodiment.
When basic transition content is acquired by adopting an interface screenshot mode, the first scene is completely loaded when transition occurs, so that the interface screenshot of the first scene can be intercepted as the basic transition content corresponding to the first scene when transition occurs, and the basic transition content corresponding to the first scene is loaded into a transition model. When the transition occurs, the second scene is not loaded yet, and the loading process of the second scene may continuously occur in the transition process, so that in order to embody the loading process of the second scene in the transition process, for the second scene, the loading process of the second scene may be subjected to interface screenshot according to a preset frequency in the operation process of the transition model, and the basic transition content corresponding to the second scene in the transition model is updated by using the interface screenshot. The preset frequency may be set according to a screen frame rate based on the device performance, for example, the preset frequency may be set to be at an interval of X frame screen shots once.
Of course, the interface screenshot may be performed only on the interface after the loading of the first scene and/or the second scene is completed, or the interface screenshot may be performed on the second scene according to other rules, which is not limited in this embodiment.
In the above or below embodiments, before step 201, the method further includes:
judging whether the transition request is a first transition request for switching from a first scene to a second scene according to the transition request history record; when the transition request is a first transition request to switch from the first scene to the second scene, step 201 is performed.
Wherein the history of the transition request refers to an information record of at least one transition request that has occurred therein. In practical applications, the history of the transition request may include information such as an identity of the transition request, an occurrence time of the transition request, whether the transition is successful, an occurrence number of the transition request, and the like.
In this embodiment, when the transition request is a first transition request for switching from the first scene to the second scene, a subsequent operation process for displaying the content to be exposed in the transition process is performed according to the transition request; and when the transition request is not the first transition request for switching from the first scene to the second scene, the light exposure of the content to be exposed is no longer performed. That is, the light exposure of the content to be exposed may be performed only for the first transition request, and thereafter, when the transition request occurs again, the light exposure of the content to be exposed will not be performed.
It should be noted that, in the present embodiment, although the judgment condition as to whether or not light exposure of the content to be exposed needs to be performed is increased, this should not be construed as a limitation as to whether or not to perform the transition process. In this embodiment, when the transition request does not meet the preset requirement, the transition process that does not include the content to be exposed may still be performed. In one implementation, a different transition model may be employed for such transition requests than the one that exposes the content to be exposed, e.g., a transition model that exposes only the underlying transition content may be employed.
In the above or below embodiments, before step 201, the method further includes:
judging whether the second scene is a scene requiring light exposure or not according to the identification of the second scene carried in the transition request;
when the second scene is a scene requiring light exposure, executing the operation of acquiring the content to be exposed according to the transition request.
The second scene is a switched scene, that is, a scene that the user desires to browse next, so that the second scene can reflect information such as interests of the user, content desired to be acquired, and the like to a certain extent. Based on this, in this embodiment, it may be determined whether the second scene is a scene requiring light exposure according to the identification of the second scene. For example, for a shopping application, the second scene may be a homepage of a store that the user wants to visit, whether the homepage of the store is a page that needs light exposure may be determined according to the homepage identifier of the store, and if yes, the brand element associated with the homepage of the store may be subjected to light exposure; if the judgment result is negative, the homepage of the store can be directly displayed without executing the light exposure process.
In the above or below embodiments, step 203 includes:
stopping running the transition model after the transition is finished, and destroying the content in the transition model;
and displaying the content of the second scene.
Fig. 4 is a flow chart of a light exposure method according to another embodiment of the present application. The light exposure method is suitable for servers in a light exposure system. As shown in fig. 4, the method includes:
400. receiving a content acquisition request to be exposed sent by a client when switching from a first scene to a second scene, wherein the content acquisition request to be exposed carries a content address to be exposed;
401. and sending the content to be exposed in the storage space corresponding to the content address to be exposed to the client according to the content address to be exposed, so that the client can display the content to be exposed in the transition process from the first scene to the second scene.
In an alternative embodiment, the method further comprises:
receiving a transition model acquisition request sent by a client when switching from a first scene to a second scene, wherein the transition model acquisition request carries a transition model address;
according to the transition model address, a transition model in a storage space corresponding to the transition model address is sent to the client so that the client can load the content to be exposed into the transition model corresponding to the transition request; and running the transition model in the transition process from the first scene to the second scene.
In an alternative embodiment, before sending the transition model to the client, the method further comprises the process of creating the transition model: and creating a content loading structure to be exposed for loading the content to be exposed, and setting transition animation parameters to generate a transition model.
In an alternative embodiment, the process of creating the transition model may include: in the 3D world, creating a first plane for loading basic transition content corresponding to a first scene and/or a second plane for loading basic transition content corresponding to a second scene; creating a content loading structure to be exposed for loading content to be exposed based on the first plane and/or the second plane; setting transition animation parameters based on the first plane and/or the second plane and the loading structure of the content to be exposed; and generating a transition model according to the first plane and/or the second plane, the content loading structure to be exposed and the transition animation parameters.
In an alternative embodiment, creating a first plane for loading the basic transition content corresponding to the first scene and/or a second plane for loading the basic transition content corresponding to the second scene includes:
creating a first plane and/or a second plane;
setting a loading position corresponding to basic transition content corresponding to a first scene to be aligned with the center of a first plane; and/or
And setting the loading position corresponding to the basic transition content corresponding to the second scene to be aligned with the center of the second plane.
In an alternative embodiment, prior to step 400, the method further comprises:
establishing an association relation between a transition request and content to be exposed; and/or the number of the groups of groups,
and establishing an association relation between the transition request and the transition model.
Fig. 5 is a schematic structural diagram of a client according to another embodiment of the present application. As shown in fig. 5, the client includes: a memory 50 and a processor 51.
Memory 50 is used to store computer programs and may be configured to store various other data to support operations on the master node. Examples of such data include instructions for any application or method operating at the host node, contact data, phonebook data, messages, pictures, video, and the like.
The memory 50 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
A processor 51 coupled to the memory 50 for executing the computer program in the memory 50 for:
receiving a transition request for switching from a first scene to a second scene;
acquiring content to be exposed according to the transition request;
displaying the content to be exposed in the transition process from the first scene to the second scene; and
and after the transition is finished, displaying the content of the second scene.
In an alternative embodiment, the processor 51 is configured to, during transition from the first scene to the second scene, display the content to be exposed:
loading the content to be exposed into a transition model corresponding to the transition request;
and running the transition model to display the content to be exposed in the transition process from the first scene to the second scene.
In an alternative embodiment, the processor 51 is further configured to, prior to running the transition model:
according to the transition request, acquiring basic transition content, and loading the basic transition content into a transition model; wherein the basic transition content is content related to the first scene and/or the second scene;
the processor 51 is configured to, when executing the transition model to present the content to be exposed during transition from the first scene to the second scene:
and running the transition model, and displaying the basic transition content and the content to be exposed in a linkage way in an animation effect mode.
In an alternative embodiment, the processor 51 is further configured to, during execution of the transition model:
and carrying out interface screenshot on the loading process of the second scene according to the preset frequency, and updating the basic transition content corresponding to the second scene in the transition model by utilizing the interface screenshot.
In an alternative embodiment, the client further comprises a communication component 52, the processor 51 being further configured to, prior to loading the exposure content into the transition model corresponding to the transition request:
sending a transition model acquisition request to a server through a communication component 52, wherein the transition model acquisition request carries a transition model address corresponding to the transition request;
the server-transmitted transition models obtained from the storage space corresponding to the transition model address are received through the communication component 52.
In an alternative embodiment, the processor 51 is configured to, when acquiring the content to be exposed according to the transition request:
sending a content acquisition request to be exposed to a server through a communication component 52, wherein the content acquisition request to be exposed carries a content address to be exposed corresponding to the transition request;
the content to be exposed read from the storage space corresponding to the address of the content to be exposed, which is sent by the server, is received through the communication component 52.
In an alternative embodiment, the content to be exposed is content related to the first scene and/or the second scene; alternatively, the content to be exposed is content that is not related to the first scene and the second scene.
In an alternative embodiment, the processor 51 is further configured to, before acquiring the content to be exposed according to the transition request:
judging whether the transition request is a first transition request for switching from a first scene to a second scene according to the transition request history record;
when the transition request is a first transition request for switching from the first scene to the second scene, the operation of acquiring the content to be exposed according to the transition request is executed.
In an alternative embodiment, the processor 51 is further configured to, before acquiring the content to be exposed according to the transition request:
judging whether the second scene is a scene requiring light exposure or not according to the identification of the second scene carried in the transition request;
when the second scene is a scene requiring light exposure, executing the operation of acquiring the content to be exposed according to the transition request.
In an alternative embodiment, the processor 51 is configured to, after the transition, when displaying the second scene:
stopping running the transition model after the transition is finished, and destroying the content in the transition model;
And displaying the content of the second scene.
Further, as shown in fig. 5, the client may further include: a display 53, a power supply component 54, an audio component 55, and other components. Only some of the components are schematically shown in fig. 5, which does not mean that the client only comprises the components shown in fig. 5.
Wherein the communication component 52 of fig. 5 may be configured to facilitate communication between the device in which the communication component is located and other devices, either wired or wireless. The device in which the communication component is located may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
Among them, the display 53 in fig. 5 includes a screen, which may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or sliding action, but also the duration and pressure associated with the touch or sliding operation.
Wherein the power supply assembly 54 of fig. 5 provides power to the various components of the device in which the power supply assembly is located. The power components may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the devices in which the power components are located.
Wherein the audio component 55 in fig. 5 may be configured to output and/or input audio signals. For example, the audio component includes a Microphone (MIC) configured to receive external audio signals when the device in which the audio component is located is in an operational mode, such as a call mode, a recording mode, and a speech recognition mode. The received audio signal may be further stored in a memory or transmitted via a communication component. In some embodiments, the audio assembly further comprises a speaker for outputting audio signals.
Accordingly, the embodiments of the present application also provide a computer readable storage medium storing a computer program, where the computer program can implement the steps executable by the client in the above method embodiments when executed.
Fig. 6 is a schematic structural diagram of a server according to another embodiment of the present application. As shown in fig. 6, the server includes: a memory 60, a processor 61 and a communication component 62.
Memory 60 is used to store computer programs and may be configured to store various other data to support operations on the master node. Examples of such data include instructions for any application or method operating at the host node, contact data, phonebook data, messages, pictures, video, and the like.
The memory 60 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
A processor 62 coupled with the memory 60 and the communication component 62 for executing the computer program in the memory 60 for:
receiving a content acquisition request to be exposed sent by a client when switching from a first scene to a second scene through a communication component 62, wherein the content acquisition request to be exposed carries a content address to be exposed;
according to the content address to be exposed, the content to be exposed in the storage space corresponding to the content address to be exposed is sent to the client through the communication component 62, so that the client can display the content to be exposed in the transition process from the first scene to the second scene.
In an alternative embodiment, processor 61 is further configured to:
receiving a transition model acquisition request sent by a client when switching from a first scene to a second scene through a communication component 62, wherein the transition model acquisition request carries a transition model address;
according to the transition model address, the transition model in the storage space corresponding to the transition model address is sent to the client through the communication component 62, so that the client loads the content to be exposed into the transition model corresponding to the transition request; and running the transition model in the transition process from the first scene to the second scene.
In an alternative embodiment, the processor 61 is further configured to, before sending the transition model corresponding to the transition request to the client according to the data acquisition request:
and creating a content loading structure to be exposed for loading the content to be exposed, and setting transition animation parameters to generate a transition model.
In an alternative embodiment, processor 61, when creating a content loading structure to be exposed for loading content to be exposed and setting transition animation parameters to generate a transition model, is configured to:
in the 3D world, creating a first plane for loading basic transition content corresponding to a first scene and/or a second plane for loading basic transition content corresponding to a second scene;
Creating a content loading structure to be exposed for loading content to be exposed based on the first plane and/or the second plane;
setting transition animation parameters based on the first plane and/or the second plane and the loading structure of the content to be exposed;
generating a transition model according to the first plane and/or the second plane, the content loading structure to be exposed and the transition animation parameters
In an alternative embodiment, processor 61, when creating a first plane for loading base transition content corresponding to a first scene and/or a second plane for loading base transition content corresponding to a second scene, is configured to:
creating a first plane and/or a second plane;
setting a loading position corresponding to basic transition content corresponding to a first scene to be aligned with the center of a first plane; and/or
And setting the loading position corresponding to the basic transition content corresponding to the second scene to be aligned with the center of the second plane.
In an alternative embodiment, the processor 61, before receiving the content acquisition request to be exposed sent by the client when switching from the first scene to the second scene, is further configured to:
establishing an association relation between a transition request and content to be exposed; and/or the number of the groups of groups,
and establishing an association relation between the transition request and the transition model.
Further, as shown in fig. 6, the server may further include: power supply assembly 63, and the like. Only some of the components are schematically shown in fig. 6, which does not mean that the client only comprises the components shown in fig. 6.
Wherein the communication component 62 of fig. 6 may be configured to facilitate wired or wireless communication between the device in which the communication component is located and other devices. The device in which the communication component is located may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
The power supply 63 in fig. 6 provides power for various components of the device where the power supply is located. The power components may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the devices in which the power components are located.
Accordingly, the present application further provides a computer readable storage medium storing a computer program, where the computer program is executed to implement the steps executable by the server in the above method embodiments.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.

Claims (16)

1. A light exposure method, comprising:
receiving a transition request for switching from a first scene to a second scene;
according to the transition request, basic transition content and content to be exposed are obtained, wherein the basic transition content is content related to the first scene and/or the second scene;
loading the basic transition content and the content to be exposed into a transition model corresponding to the transition request, wherein the transition model comprises a first plane for loading the basic transition content corresponding to the first scene and/or a second plane for loading the basic transition content corresponding to the second scene, a content loading structure to be exposed for loading the content to be exposed and transition animation parameters;
before the content of the second scene is displayed, the transition model is operated, and the basic transition content and the content to be exposed are displayed in a linkage mode in an animation effect mode; and
And after the basic transition content and the content to be exposed are displayed in a linkage way for a period of time, switching to display the content of the second scene.
2. The method of claim 1, further comprising, during running the transition model:
and carrying out interface screenshot on the loading process of the second scene according to a preset frequency, and updating basic transition content corresponding to the second scene in the transition model by utilizing the interface screenshot.
3. The method of claim 1, wherein before loading the exposure content into the transition model corresponding to the transition request, further comprising:
a transition model acquisition request is sent to a server, wherein the transition model acquisition request carries a transition model address corresponding to the transition request;
and receiving a transition model which is transmitted by the server and is acquired from a storage space corresponding to the transition model address.
4. The method of claim 1, wherein obtaining content to be exposed according to the transition request comprises:
sending a content acquisition request to be exposed to a server, wherein the content acquisition request to be exposed carries a content address to be exposed corresponding to the transition request;
And receiving the content to be exposed, which is sent by the server and read from the storage space corresponding to the content address to be exposed.
5. The method according to claim 1, wherein the content to be exposed is content related to the first scene and/or the second scene; or,
the content to be exposed is content unrelated to the first scene and the second scene.
6. The method according to claim 1, wherein before the obtaining the content to be exposed according to the transition request, further comprises:
judging whether the transition request is a first transition request switched from the first scene to the second scene according to a transition request history record;
and when the transition request is a first transition request for switching from the first scene to the second scene, executing an operation for acquiring the content to be exposed according to the transition request.
7. The method of claim 1, further comprising, prior to obtaining the content to be exposed in accordance with the transition request:
judging whether the second scene is a scene requiring light exposure or not according to the identification of the second scene carried in the transition request;
And when the second scene is a scene requiring light exposure, executing the operation of acquiring the content to be exposed according to the transition request.
8. The method of claim 1, wherein the switching to showing the content of the second scene comprises:
stopping running the transition model, and destroying transition contents in the transition model;
and displaying the content of the second scene.
9. A light exposure method, comprising:
receiving a content acquisition request to be exposed sent by a client when switching from a first scene to a second scene, wherein the content acquisition request to be exposed carries a content address to be exposed;
according to the content address to be exposed, sending the content to be exposed in a storage space corresponding to the content address to be exposed to the client so that the client can load basic transition content and the content to be exposed into a transition model corresponding to a transition request, wherein the basic transition content is related to the first scene and/or the second scene, the basic transition content and the content to be exposed are loaded into a transition model corresponding to the transition request, and before the content of the second scene is displayed, the transition model is operated, and the basic transition content and the content to be exposed are displayed in a linkage manner in an animation effect manner; and after the basic transition content and the content to be exposed are displayed for a period of time in a linkage way, switching to display the content of the second scene, wherein the transition model comprises a first plane for loading the basic transition content corresponding to the first scene and/or a second plane for loading the basic transition content corresponding to the second scene, a loading structure of the content to be exposed for loading the content to be exposed and transition animation parameters.
10. The method as recited in claim 9, further comprising:
receiving a transition model acquisition request sent by the client when the client is switched from the first scene to the second scene, wherein the transition model acquisition request carries a transition model address;
and according to the transition model address, transmitting a transition model in a storage space corresponding to the transition model address to the client.
11. The method according to claim 9, wherein the method further comprises:
in the 3D world, the first plane and/or the second plane are/is created, the content loading structure to be exposed is created based on the first plane and/or the second plane, and the transition animation parameters are set based on the first plane and/or the second plane and the content loading structure to be exposed so as to generate the transition model.
12. The method according to claim 11, wherein said creating said first plane and/or said second plane comprises:
creating the first plane and/or the second plane;
setting a loading position corresponding to basic transition content corresponding to the first scene to be aligned with the center of the first plane; and/or
And setting a loading position corresponding to the basic transition content corresponding to the second scene to be aligned with the second plane center.
13. The method of claim 9, wherein the receiving client, prior to the content acquisition request to be exposed sent when switching from the first scene to the second scene, further comprises:
and establishing an association relation between the transition request and the content address to be exposed.
14. A client comprising a memory and a processor;
the memory is used for storing a computer program;
the processor, coupled to the memory, is configured to execute the computer program in the memory to:
receiving a transition request for switching from a first scene to a second scene;
according to the transition request, basic transition content and content to be exposed are obtained, wherein the basic transition content is content related to the first scene and/or the second scene;
loading the basic transition content and the content to be exposed into a transition model corresponding to the transition request, wherein the transition model comprises a first plane for loading the basic transition content corresponding to the first scene and/or a second plane for loading the basic transition content corresponding to the second scene, a content loading structure to be exposed for loading the content to be exposed and transition animation parameters;
Before the content of the second scene is displayed, the transition model is operated, and the basic transition content and the content to be exposed are displayed in a linkage mode in an animation effect mode; and
and after the basic transition content and the content to be exposed are displayed in a linkage way for a period of time, switching to display the content of the second scene.
15. A server comprising a memory, a processor, and a communication component;
the memory is used for storing a computer program;
the processor, coupled with the memory and the communication component, is configured to execute the computer program in the memory to:
receiving a content acquisition request to be exposed sent by a client when switching from a first scene to a second scene through the communication component, wherein the content acquisition request to be exposed carries a content address to be exposed;
according to the content address to be exposed, sending the content to be exposed in a storage space corresponding to the content address to be exposed to the client through the communication component, so that the client can load basic transition content and the content to be exposed into a transition model corresponding to a transition request, wherein the basic transition content is related to the first scene and/or the second scene, the basic transition content and the content to be exposed are loaded into the transition model corresponding to the transition request, and before the content of the second scene is displayed, the transition model is operated, and the basic transition content and the content to be exposed are displayed in a linkage manner in an animation effect manner; and after the basic transition content and the content to be exposed are displayed for a period of time in a linkage way, switching to display the content of the second scene, wherein the transition model comprises a first plane for loading the basic transition content corresponding to the first scene and/or a second plane for loading the basic transition content corresponding to the second scene, a loading structure of the content to be exposed for loading the content to be exposed and transition animation parameters.
16. A light exposure system, comprising a client and a server;
the client is used for receiving a transition request for switching from a first scene to a second scene; according to the transition request, sending an acquisition request of the content to be exposed corresponding to the transition request to the server, wherein the acquisition request of the content to be exposed carries a content address to be exposed; receiving the content to be exposed sent by the server; loading basic transition content and the content to be exposed into a transition model corresponding to the transition request, wherein the basic transition content is related to the first scene and/or the second scene, before the content of the second scene is displayed, the transition model is operated, the basic transition content and the content to be exposed are displayed in a linkage mode in an animation effect mode, after the basic transition content and the content to be exposed are displayed for a period of time in a linkage mode, the content to be exposed is switched to the content of the second scene, and the transition model comprises a first plane for loading the basic transition content corresponding to the first scene and/or a second plane for loading the basic transition content corresponding to the second scene, a content loading structure to be exposed for loading the content to be exposed and transition animation parameters;
The server is used for receiving the content acquisition request to be exposed sent by the client; and according to the content address to be exposed, sending the content to be exposed in the storage space corresponding to the content address to be exposed to the client.
CN201811108796.7A 2018-09-21 2018-09-21 Light exposure method, device, system and storage medium Active CN110941464B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811108796.7A CN110941464B (en) 2018-09-21 2018-09-21 Light exposure method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811108796.7A CN110941464B (en) 2018-09-21 2018-09-21 Light exposure method, device, system and storage medium

Publications (2)

Publication Number Publication Date
CN110941464A CN110941464A (en) 2020-03-31
CN110941464B true CN110941464B (en) 2024-04-16

Family

ID=69904405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811108796.7A Active CN110941464B (en) 2018-09-21 2018-09-21 Light exposure method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN110941464B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114816622B (en) * 2022-03-31 2024-04-30 北京达佳互联信息技术有限公司 Scene picture display method and device, electronic equipment and storage medium
CN115272060A (en) * 2022-08-12 2022-11-01 北京字跳网络技术有限公司 Transition special effect diagram generation method, device, equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101308570A (en) * 2008-07-11 2008-11-19 北京中星微电子有限公司 Regional effect steering method and apparatus
CN101533350A (en) * 2009-04-03 2009-09-16 深圳市宝捷信科技有限公司 Quick switching method for pages
CN103645844A (en) * 2013-11-14 2014-03-19 乐视致新电子科技(天津)有限公司 Page displaying method and device
CN103970446A (en) * 2014-05-28 2014-08-06 浪潮电子信息产业股份有限公司 Method for helping exhibiting of information on software user interface
CN105373291A (en) * 2015-11-11 2016-03-02 北京麒麟合盛网络技术有限公司 Interface switching method and device
CN106156066A (en) * 2015-03-30 2016-11-23 阿里巴巴集团控股有限公司 A kind of page switching method, device and client
CN106250122A (en) * 2016-07-22 2016-12-21 腾讯科技(深圳)有限公司 A kind of information cuing method and device
CN106528163A (en) * 2016-11-23 2017-03-22 武汉斗鱼网络科技有限公司 Page switching method and device
CN107463367A (en) * 2017-06-22 2017-12-12 北京小度信息科技有限公司 Transition cartoon implementing method and device
CN108304234A (en) * 2017-01-11 2018-07-20 阿里巴巴集团控股有限公司 A kind of page display method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8311585B2 (en) * 2007-09-28 2012-11-13 Hewlett-Packard Development Company, L.P. Synchronized helper system using paired computing device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101308570A (en) * 2008-07-11 2008-11-19 北京中星微电子有限公司 Regional effect steering method and apparatus
CN101533350A (en) * 2009-04-03 2009-09-16 深圳市宝捷信科技有限公司 Quick switching method for pages
CN103645844A (en) * 2013-11-14 2014-03-19 乐视致新电子科技(天津)有限公司 Page displaying method and device
CN103970446A (en) * 2014-05-28 2014-08-06 浪潮电子信息产业股份有限公司 Method for helping exhibiting of information on software user interface
CN106156066A (en) * 2015-03-30 2016-11-23 阿里巴巴集团控股有限公司 A kind of page switching method, device and client
CN105373291A (en) * 2015-11-11 2016-03-02 北京麒麟合盛网络技术有限公司 Interface switching method and device
CN106250122A (en) * 2016-07-22 2016-12-21 腾讯科技(深圳)有限公司 A kind of information cuing method and device
CN106528163A (en) * 2016-11-23 2017-03-22 武汉斗鱼网络科技有限公司 Page switching method and device
CN108304234A (en) * 2017-01-11 2018-07-20 阿里巴巴集团控股有限公司 A kind of page display method and device
CN107463367A (en) * 2017-06-22 2017-12-12 北京小度信息科技有限公司 Transition cartoon implementing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李安寿 ; 张东来 ; 王超 ; .基于Windows CE的混合动力汽车动画界面显示***设计.液晶与显示.2009,(第06期),全文. *

Also Published As

Publication number Publication date
CN110941464A (en) 2020-03-31

Similar Documents

Publication Publication Date Title
AU2019233201B2 (en) Resource configuration method and apparatus, terminal, and storage medium
US11681548B2 (en) Application processing method and apparatus for jumping between child applications and storage medium
JP6377263B2 (en) Method, apparatus, storage medium, and device for providing screenshot service in terminal device
US20230004620A1 (en) Page display method
CN111090533B (en) Bulletin information sending method, bulletin information sending device, electronic equipment and storage medium
EP4171006A1 (en) Previewing method and apparatus for effect application, and device and storage medium
CN110941464B (en) Light exposure method, device, system and storage medium
CN112367554A (en) Message interaction method and device, electronic equipment and storage medium
CN113268212A (en) Screen projection method and device, storage medium and electronic equipment
CN110968362B (en) Application running method, device and storage medium
CN111865630B (en) Topological information acquisition method, device, terminal and storage medium
CN110971974A (en) Configuration parameter creating method, device, terminal and storage medium
CN105094576B (en) Application scenarios switching method and apparatus
CN113163255A (en) Video playing method, device, terminal and storage medium
CN107368562B (en) Page display method and device and terminal
CN115688102A (en) Window processing method and device, processor and electronic equipment
CN111901667B (en) Screen recording method and related device
CN110688282B (en) Webpage performance data monitoring and monitoring task distribution method and device
CN112632184A (en) Data processing method and device, electronic equipment and storage medium
CN107391128B (en) Method and device for monitoring virtual file object model vdom
CN114168878B (en) Dynamic effect playing method, device, equipment, storage medium and program product
CN112306566A (en) Data processing method and device
WO2023245368A1 (en) Application control method and apparatus, electronic device, and storage medium
CN112770185B (en) Method and device for processing Sprite map, electronic equipment and storage medium
CN116244029A (en) Control processing method, device, system and storage medium

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