WO2023134568A1 - 显示方法、装置、电子设备及存储介质 - Google Patents

显示方法、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2023134568A1
WO2023134568A1 PCT/CN2023/070951 CN2023070951W WO2023134568A1 WO 2023134568 A1 WO2023134568 A1 WO 2023134568A1 CN 2023070951 W CN2023070951 W CN 2023070951W WO 2023134568 A1 WO2023134568 A1 WO 2023134568A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
target image
page
display
target object
Prior art date
Application number
PCT/CN2023/070951
Other languages
English (en)
French (fr)
Inventor
贺子桐
Original Assignee
北京字跳网络技术有限公司
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 北京字跳网络技术有限公司 filed Critical 北京字跳网络技术有限公司
Publication of WO2023134568A1 publication Critical patent/WO2023134568A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Definitions

  • the present disclosure relates to the field of computer technology, and in particular to a display method, device, electronic equipment and storage medium.
  • a first aspect of the present disclosure provides a display method, including:
  • a second aspect of the present disclosure provides a display device, including:
  • a display module configured to: display an object identifier and an object control corresponding to at least one object
  • a processing module configured to: generate a target image corresponding to the target object in response to a trigger operation on a target object control corresponding to the target object, wherein the at least one object includes the target object;
  • the display module is further configured to: display a personal homepage corresponding to the target user and display the target image on the personal homepage.
  • a third aspect of the present disclosure provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable by the processor, and the processor implements the following when executing the computer program: The method described in the first aspect.
  • a fourth aspect of the present disclosure provides a non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to cause a computer to execute the method described in the first aspect method.
  • Fig. 1 shows a schematic diagram of a hardware structure of an exemplary electronic device provided by an embodiment of the present disclosure.
  • Fig. 2 shows a schematic flowchart of an exemplary method provided by an embodiment of the present disclosure.
  • Fig. 3A shows a schematic diagram of an exemplary page according to an embodiment of the present disclosure.
  • Fig. 3B shows a schematic diagram of an exemplary image according to an embodiment of the present disclosure.
  • Fig. 3C shows a schematic diagram of an exemplary page according to an embodiment of the present disclosure.
  • Fig. 3D shows a schematic diagram of an exemplary page according to an embodiment of the present disclosure.
  • Fig. 3E shows a schematic diagram of an exemplary page according to an embodiment of the present disclosure.
  • Fig. 3F shows a schematic diagram of an exemplary page according to an embodiment of the present disclosure.
  • FIG. 3G shows a schematic diagram of an exemplary page according to an embodiment of the present disclosure.
  • FIG. 3H shows a schematic diagram of an exemplary page according to an embodiment of the present disclosure.
  • FIG. 3I shows a schematic diagram of an exemplary page according to an embodiment of the present disclosure.
  • Fig. 3J shows a schematic diagram of an exemplary page according to an embodiment of the present disclosure.
  • FIG. 3K shows a schematic diagram of an exemplary page according to an embodiment of the present disclosure.
  • FIG. 3L shows a schematic diagram of an exemplary page according to an embodiment of the present disclosure.
  • FIG. 3M shows a schematic diagram of an exemplary page according to an embodiment of the present disclosure.
  • Fig. 4 shows a schematic structural diagram of an exemplary device provided by an embodiment of the present disclosure.
  • the present disclosure proposes a display method, device, electronic equipment and storage medium.
  • an embodiment of the present disclosure provides a display method to display a corresponding target image on a target user's personal homepage based on an object identifier, thereby using the target image to provide a sense of atmosphere for the target user and improve user experience.
  • FIG. 1 shows a schematic diagram of an exemplary electronic device 100 provided by an embodiment of the present disclosure.
  • the electronic device 100 may include: a processor 102 , a memory 104 , a network interface 106 , a peripheral interface 108 and a bus 110 .
  • the processor 102 , the memory 104 , the network interface 106 and the peripheral interface 108 realize communication connection among each other within the device through the bus 110 .
  • the processor 102 can be a central processing unit (Central Processing Unit, CPU), an image processor, a neural network processor (NPU), a microcontroller (MCU), a programmable logic device, a digital signal processor (DSP), an application-specific Integrated Circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits.
  • processor 102 may be configured to perform functions related to the techniques described in this disclosure.
  • processor 102 may also include multiple processors integrated into a single logical component. As shown in FIG. 1, the processor 102 may include a plurality of processors 102a, 102b, and 102c.
  • Memory 104 may be configured to store data (eg, instructions, computer code, etc.). As shown in FIG. 1 , the data stored in the memory may include program instructions (for example, program instructions for implementing the display method of the present disclosure) and data to be processed. Processor 102 can access memory stored program instructions and data, and execute the program instructions to operate on the data to be processed. Memory 104 may include volatile storage or non-volatile storage. In some embodiments, memory 104 may include random access memory (RAM), read only memory (ROM), optical disks, magnetic disks, hard disks, solid state disks (SSD), flash memory, memory sticks, and the like.
  • RAM random access memory
  • ROM read only memory
  • SSD solid state disks
  • flash memory memory sticks, and the like.
  • the network interface 106 may be configured to provide the electronic device 100 with communication with other external devices via a network.
  • the network can be any wired or wireless network capable of transmitting and receiving data.
  • the network may be a wired network, a local wireless network (eg, Bluetooth, WiFi, Near Field Communication (NFC), etc.), a cellular network, the Internet, or a combination thereof. It can be understood that the type of the network is not limited to the above specific examples.
  • network interface 106 may include any combination of any number of network interface controllers (NICs), radio frequency modules, transceivers, modems, routers, gateways, adapters, cellular network chips, and the like.
  • NICs network interface controllers
  • the peripheral interface 108 can be configured to connect the electronic device 100 with one or more peripheral devices to realize information input and output.
  • peripheral devices may include input devices such as keyboards, mice, touchpads, touch screens, microphones, and various sensors, and output devices such as displays, speakers, vibrators, and indicator lights.
  • the bus 110 such as an internal bus (eg, processor-memory bus), an external bus (USB port, PCI-E bus), etc. interface 106 and peripheral interface 108).
  • the device architecture may also include other components.
  • the above-mentioned device architecture may only include components necessary to implement the solutions of the embodiments of the present disclosure, and does not necessarily include all the components shown in the figure.
  • FIG. 2 shows a schematic flowchart of an exemplary method 200 provided by an embodiment of the present disclosure.
  • the method 200 can be implemented by the electronic device 100 in FIG. 1 .
  • the method 200 may include the following steps 202 to 204 .
  • the device 100 may first display a first page 300 .
  • FIG. 3A shows a schematic diagram of an exemplary page 300 according to an embodiment of the disclosure.
  • the way for the device 100 to enter the first page 300 may be arbitrary.
  • the first page 300 is entered by opening a certain application program (APP).
  • APP application program
  • the first page 300 can be entered by clicking a certain entry (for example, a link) in a certain APP.
  • the first page 300 for example, may be an H5 page.
  • the first page 300 may be an event page provided based on a festival event. As shown in FIG. 3A , the first page 300 may be a page of Spring Festival couplets (or couplets) activities. It can be understood that the Spring Festival couplets activity page is only exemplary, and the activity scene corresponding to the activity page may also be other situations. For example, activity scenes such as poems, words, and songs. In these activity scenarios, the way to participate in activities, for example, can be to give the first sentence of couplets, poems, words, and songs on the activity page, and let the user give the next sentence of couplets, poems, words, and songs. Certainly, there may be other modes of activities, which are only schematically illustrated here.
  • an object identifier 302a corresponding to at least one object may be displayed on the first page 300 .
  • the object identifier 302a may be the text of Spring Festival couplets (for example, "one, two, three, four, five, go up the mountain to fight tigers") or its serial number, the outer frame of the text, etc., the object The object corresponding to the logo 302a is the Spring Festival couplet itself.
  • an object may include multiple sub-objects.
  • the object identification of each object (Spring Festival couplets) on the first page 300 may be preset, or generated based on the user's interaction with the device 100, and some sub-objects of each object may be preset It is assumed that some sub-objects are obtained based on user input and displayed on the first page after generation.
  • the object corresponding to the object identifier 302a is a Spring Festival couplet
  • the Spring Festival couplet may include a first sub-object (eg, upper couplet) and a second sub-object (eg, lower couplet).
  • the Spring Festival couplets may also include a third sub-object (for example, horizontal batch).
  • the device 100 may display the first sub-object on the first page 300 (for example, the upper line "one two three four five"). Then, the device 100 may receive the second sub-object input by the user (for example, the second line "go up the mountain to fight a tiger"). Next, the device 100 may generate a corresponding object identifier in the first page 300 based on the first sub-object and the second sub-object, for example, the object identifier 302a in FIG. 3A .
  • the device 100 may further determine a matching degree between the first sub-object and the second sub-object. For example, text analysis is performed according to the text of the first sub-object and the text of the second sub-object to determine the matching degree.
  • the implementation manner of determining the matching degree may be, for example, by comparing the number of words, parts of speech, phonemes, and the like.
  • the degree of matching between the first sub-object and the second sub-object may also be determined based on a pre-trained matching model.
  • the matching model for example, can be obtained by training based on models such as neural network models and Bayesian network models.
  • the device 100 may display the corresponding object identifier on the first page 300 .
  • the device 100 may not display the corresponding object identifier on the first page 300 .
  • the device 100 may also generate a prompt message on the first page 300 to remind the user of the input second sub-object. The sub-object does not match the first sub-object so that the user can re-enter the second sub-object.
  • the object identifier 302a displayed on the first page 300 may be information associated with the content of the first page 300, for example, Spring Festival couplets provided by all users participating in the activity in the Spring Festival couplets activity.
  • the object identifier 302a displayed on the first page 300 may also be information associated with the current user (ie, the target user), for example, the Spring Festival couplets provided by the current user when participating in the Spring Festival couplets activity.
  • Spring Festival couplets provided by users when participating in activities may be collected by sending barrage or comments.
  • the first page 300 can be displayed by default with the current user (that is, the target user, for example, user A in FIG. 3A ). ) associated information.
  • the first page 300 may include object identifiers 302a-302d.
  • these object identifiers 302a-302d can be sorted. For example, as shown in FIG. 3A , according to the number of likes of object identifiers, they are arranged in descending order.
  • a predetermined number (for example, 4 in FIG. words) may not be displayed.
  • object controls may also be set on the first page 300 .
  • object controls 304a-304d may be correspondingly set beside the object identifiers 302a-302d in the first page 300, and the user clicks the target object control (for example, object identifier 302a) corresponding to the target object identifier ( For example, the object control 304a) can generate a corresponding trigger operation.
  • target object control for example, object identifier 302a
  • the object control 304a can generate a corresponding trigger operation.
  • the user may select a target object identifier among the object identifiers 302 a - 302 d on the first page 300 to perform a trigger operation. For example, when the user clicks the object control 304a corresponding to the object identifier 302a in FIG. 3A , the device 100 may generate a target image corresponding to the target object (eg, the object corresponding to the object identifier 302a).
  • FIG. 3B shows a schematic diagram of an exemplary image 310 according to an embodiment of the disclosure.
  • the target image 310 may be generated based on a preset template.
  • the target image 310 in addition to generating corresponding target object images (eg, left and right couplets in FIG. 3B ) based on the object identifier 302a, the target image 310 can also generate other content based on a preset template. For example, a horizontal batch of Spring Festival couplets is generated on the top of the target image 310 , and the character " ⁇ " can be generated at the center of the target image 310 , and the four characters "Happy New Year" can be generated at the bottom of the target image 310 .
  • Generating the target image 310 based on the preset template can save the trouble of manually arranging and designing the target objects, and at the same time, the processing speed of the device 100 will be faster. It can be understood that the target images generated according to different preset templates may be different, and the style of the target image is exemplified here.
  • the font of the text in the target image 310 can also be adjusted so that the target image 310 is more in line with the font habits in the actual scene.
  • the text font in the target image 310 is Chinese Xingkai, so that the target image 310 is closer to the Spring Festival couplets in the real life scene.
  • the triggering operation is not limited to the way of triggering the control, and other triggering ways can also be used to generate the triggering operation.
  • the object identifier 302a by double-clicking the object identifier 302a to generate a corresponding trigger operation (at this time, the object identifier itself can also be used as an object control), or through a touch gesture (for example, by sliding from left to right on the corresponding object identifier 302a, this , the object identifier itself can also be used as an object control) to generate a corresponding trigger operation, and so on.
  • the page of the device 100 may jump. For example, in step 206 shown in FIG. 2 , after generating the target image 310 , the device 100 may continue to display the second page 320 corresponding to the target user (eg, user A in FIG. 3A ).
  • FIG. 3C shows a schematic diagram of an exemplary page 320 according to an embodiment of the disclosure.
  • the second page 320 may include the target image 310 .
  • the second page 320 associated with the target user may be a personal homepage of an APP of the target user, as shown in FIG. 3C .
  • the first page 300 may be an activity page of the APP (for example, an activity page for posting Spring Festival couplets).
  • FIG. 3D shows a schematic diagram of an exemplary page 330 according to an embodiment of the disclosure.
  • the intermediate page 330 may display the target image 310 generated by the device 100 .
  • the target image 310 generated on the intermediate page 330 may also be generated according to a predetermined template, so that the user can see the actual effect of the target image 310 more intuitively.
  • a confirmation instruction can be generated by clicking the confirmation button 332 in the middle page 330, and then the device 100 can display the target user (for example, user A) based on the confirmation instruction.
  • the associated second page 320 is shown in FIG. 3C .
  • the switching operation can be performed by clicking the switching button 334 on the intermediate page 330 .
  • the device 100 may generate a switched target image corresponding to the switched target object based on a preset template.
  • the switched target image may include a switched target object image.
  • a new target object for example, the object corresponding to the object identifier 302b
  • the middle page In 330 the reacquired target object is generated as a new target image 310 .
  • FIG. 3E shows a schematic diagram of an exemplary page 330 according to an embodiment of the disclosure.
  • the object identifier corresponding to the target image 310 is the object identifier 302 b in FIG. 3A .
  • a confirmation instruction can be generated by clicking the confirmation button 332 in the middle page 330, and then the device 100 can be based on the target image 310 in the middle page of FIG. 3E.
  • a second page 320 is generated, as shown in FIG. 3F.
  • the switching operation is realized by clicking the switching button 334 . It can be understood that the switching operation of the switching target image 310 may also be implemented in other manners. For example, by sliding from right to left on the middle page 330 , the switching operation is realized based on the touch gesture.
  • FIG. 3G shows a schematic diagram of an exemplary page 340 according to an embodiment of the disclosure.
  • the device 100 may display a capture page 340 .
  • the device 100 may acquire a picture 342 captured by its camera (for example, a rear camera) and display the picture 342 on the capture page 340, and at the same time, may identify the corresponding object based on the target object (for example, the object identification 302a in FIG. 3A ) generated target object image 344 is suspended and displayed on the screen 342, thereby forming an augmented reality (AR) effect.
  • AR augmented reality
  • the device 100 may generate a target image 310 corresponding to the target object based on a shooting frame 342 obtained by shooting, as shown in FIG. 3H .
  • a camera button 346 can be displayed on the camera page 340. After the user clicks the camera button 346, a camera command can be generated, and the device 100 can compare the image 342 currently captured by the camera with the target image according to the camera command. The object image 344 is fused into the target image 310 , and an updated photographed page 340 is obtained.
  • FIG. 3H shows a schematic diagram of an exemplary page 340 according to an embodiment of the disclosure. As shown in FIG. 3H , after the photographing is completed, the photographing page 340 is updated and displayed, wherein the frame 342 and the target object image 344 are merged and displayed as the target image 310 .
  • FIG. 3I shows a schematic diagram of an exemplary page 320 according to an embodiment of the disclosure.
  • the second page 320 may include a background 322
  • the target image 310 may be displayed on the second page 320 as a background image in the background 322 .
  • the background 322 may only be located on the upper part of the second page 320 , so the target image 310 may be partially displayed in the second page 320 .
  • a save button 348 can also be set, and the user can save the currently generated target image 310 to the device 100 by clicking the save button 348, for example, to the album folder of the device 100 middle. In this way, by saving the target image 310 locally, the user can use the target image 310 by calling it from the local in other scenes.
  • the device 100 may jump to the second page 320 in addition to saving the target image 310 locally. If a corresponding background image already exists on the second page 320 , in some embodiments, the device 100 may use the target image 310 to directly replace the existing background image on the second page 320 .
  • the shooting page 340 can also include a reshoot button 352. By clicking the reshoot button 352, the shooting page 340 can be switched and displayed as the shooting page 340 in FIG. The current scene or re-select a new scene to take pictures.
  • the photographing page 340 may also include a switching button 354 similar to that in FIG. 3D , and the user sends a switching instruction for switching the target object image 344 to the device 100 by clicking the switching button 354 .
  • the device 100 may re-determine a new target object (for example, the object corresponding to the object identifier 302b) from the objects corresponding to the multiple object identifiers 302b-302d, and then, according to the preset template, select a new target object on the shooting page.
  • a new target image 310 is generated based on the re-determined target object, as shown in FIG. 3J .
  • the embodiment of the present disclosure can use the preset template to generate the target image (including the image of the target object and the additional image corresponding to the preset template) including the image of the target object (that is, the image of the target object, such as a couplet image), which is easy to operate and meets the needs of users.
  • the target image can also be synthesized by taking images or locally stored images and target object images, which meets the needs of users to generate target images in a variety of ways.
  • the target image 310 is in a collapsed state on the second page 320 .
  • the upper part of the second page 320 includes a background (background image area, also called header image area) 322, and the target image 310 is partially displayed in the background 322 so as to A collapsed state is presented (that is, the Spring Festival couplets are displayed in a scrolled state), so that the target image 310 is used in the background 322 of the second page 320 to provide a festive atmosphere.
  • the partially displayed target image 310 may show its upper part (or head), as shown in FIG. 3F and FIG. 3I .
  • the user can also switch the target image 310 in the collapsed state to the expanded state on the second page 320.
  • the target image 310 is switched from the collapsed state to the expanded state, thereby improving the flexibility of displaying the target object and enriching the interaction methods.
  • the user issues a trigger instruction for expanding the target image 310 to the device 100 , so that the device 100 expands and hovers the target image 310 on the second page 320 based on the trigger instruction, as shown in FIG. 3K .
  • the way of issuing the trigger instruction can be arbitrary.
  • the user can issue the trigger instruction by clicking or double-clicking the location of the target image 310 .
  • the process of expanding the target image 310 may also add corresponding special effects.
  • the target image 310 may be expanded on the second page 320 by using the special effect of expanding the scroll.
  • FIG. 3L shows a schematic diagram of an exemplary page 320 according to an embodiment of the disclosure. As shown in FIG. 3L , when the target image 310 is expanded on the second page 320 , a special effect of expanding a scroll can be added to the target image 310 , so that the user has a more realistic feeling of posting Spring Festival couplets.
  • the expanded target image 310 may be as shown in FIG. 3K .
  • a share button 324 may be provided on the side of the target image 310 on the second page 320, and the user may send a message to the device 100 by clicking the share button 324.
  • a sharing instruction for sharing the target image 310 so that the device 100 can generate a sharing message based on the target image 310 and send it to a designated user, thereby further enriching the interaction mode.
  • the specified user may be a user set as a default contact by the user.
  • the device 100 can generate a new page (not shown in the figure) based on the sharing instruction, which provides some user identifiers to be shared for the user to choose, and the user can select the corresponding identifier to share .
  • the format of the shared message can be arbitrary.
  • the shared message may include a link to open the page corresponding to Figure 3D or Figure 3G, and the user who receives the shared message can jump to the page corresponding to Figure 3D or Figure 3G by clicking the shared message, and then Some processing operations in the foregoing corresponding embodiments may be performed, for example, switching textures, taking pictures of real scenes to generate target pictures, and the like.
  • the sharing message may include a request to open a second page (for example, a personal homepage) corresponding to the specified user and generate a target image 310 on the second page, and the user who receives the sharing message clicks on the share
  • the message can jump to its own second page and display the target image 310 on the second page, so that the designated user can generate the target image 310 on his second page with one click by clicking on the shared message.
  • the target image 310 can be displayed on the target user's personal homepage, and the target user's personal homepage may originally have a background image, in order not to affect the original background display of the personal homepage, when the target image 310 is based on the preset
  • the background of the target image 310 may be transparent.
  • the transparent background of the target image 310 may be The underlying background image is displayed, as shown in Figure 3M.
  • the display method provided by the embodiment of the present disclosure generates a target image based on the target object selected by the user on the first page, and then displays the target image on the personal homepage corresponding to the target user, thereby utilizing the The target image is used to provide the target users with a sense of atmosphere in the personal homepage, which improves the user experience.
  • the target object may be Spring Festival couplets
  • the target image may be a sticker-style Spring Festival couplet picture
  • the page associated with the target user may be the user's personal homepage.
  • the methods in the embodiments of the present disclosure may be executed by a single device, such as a computer or a server.
  • the method of this embodiment can also be applied in a distributed scenario, and is completed by cooperation of multiple devices.
  • one of the multiple devices may only perform one or more steps in the method of the embodiment of the present disclosure, and the multiple devices will interact with each other to complete all described method.
  • Fig. 4 shows a schematic structural diagram of an exemplary device 400 provided by an embodiment of the present disclosure.
  • the display device 400 may include a display module 402 and a processing module 404 .
  • the display module 402 is configured to: display an object identifier and an object control corresponding to at least one object.
  • the processing module 404 is configured to: generate a target image corresponding to the target object in response to a trigger operation on a target object control corresponding to the target object, wherein the at least one object includes the target object.
  • the display module 402 is further configured to: display a personal homepage corresponding to the target user and display the target image on the personal homepage.
  • the processing module 404 is configured to: generate a target image corresponding to the target object based on a preset template in response to a trigger operation on a target object control corresponding to the target object.
  • the processing module 404 is configured to: display a shooting page in response to a trigger operation of the target object control corresponding to the target object; target image.
  • the target image includes the shooting screen and a target object image displayed on the shooting screen.
  • the processing module 404 is configured to: receive a switching operation on the target image; and in response to the switching operation, generate a switched target image corresponding to the switched target object based on a preset template.
  • the display module 402 is further configured to: display the target image in the background of the personal homepage.
  • the target image is in a collapsed state on the personal homepage.
  • the display module 402 is further configured to: switch the target image from a collapsed state to an expanded state in response to a trigger operation on the personal homepage.
  • the display module 402 is further configured to: expand the target image in the personal homepage according to a predetermined special effect.
  • the processing module 404 is configured to: receive a sharing instruction for sharing the target image; and generate a sharing message based on the target image and send it to a designated user.
  • the present disclosure also provides a non-transitory computer-readable storage medium corresponding to the method in any of the above-mentioned embodiments, the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions use To make the computer execute the method 200 described in any one of the above embodiments.
  • the computer-readable medium in this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology.
  • Information may be computer readable instructions, data structures, modules of a program, or other data.
  • Examples of computer storage media 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 Disc (DVD) or other optical storage, Magnetic tape cartridge, tape magnetic disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
  • PRAM phase change memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • RAM random access memory
  • ROM read only memory
  • EEPROM Electrically Erasable Programmable
  • the computer instructions stored in the storage medium of the above embodiments are used to cause the computer to execute the method 200 described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
  • the display method, device, electronic device, and storage medium provided by the present disclosure generate a target image based on the target object selected by the user on the first page, and then display the target image on the personal homepage corresponding to the target user.
  • the target image is used to provide the target user with a sense of atmosphere in the personal homepage, which enriches the interaction mode, satisfies the diverse needs of the user, and improves the user experience.
  • DRAM dynamic RAM

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种显示方法、装置、电子设备及存储介质。方法包括:显示至少一个对象对应的对象标识及对象控件;响应于针对目标对象对应的目标对象控件的触发操作,生成与目标对象对应的目标图像,其中,至少一个对象包括目标对象;显示目标用户对应的个人主页并在个人主页上显示目标图像。

Description

显示方法、装置、电子设备及存储介质
相关申请的交叉引用
本申请是以中国申请号为202210043476.8,申请日为2022年1月14日、题目为“显示方法、装置、电子设备及存储介质”的申请为基础,并主张其优先权,该中国申请的公开内容在此作为整体引入本申请中。
技术领域
本公开涉及计算机技术领域,尤其涉及一种显示方法、装置、电子设备及存储介质。
背景技术
随着计算机科学技术的发展,出现了各种各样的应用。这些应用给人们提供生活中方方面面的便利,有的也为人们休闲娱乐提供了丰富的选择。但是,相关的应用显示及交互较为单一。
发明内容
本公开的第一方面,提供了一种显示方法,包括:
显示至少一个对象对应的对象标识及对象控件;
响应于针对目标对象对应的目标对象控件的触发操作,生成与所述目标对象对应的目标图像,其中,所述至少一个对象包括所述目标对象;
显示目标用户对应的个人主页并在所述个人主页上显示所述目标图像。
本公开的第二方面,提供了一种显示装置,包括:
显示模块,被配置为:显示至少一个对象对应的对象标识及对象控件;
处理模块,被配置为:响应于针对目标对象对应的目标对象控件的触发操作,生成与所述目标对象对应的目标图像,其中,所述至少一个对象包括所述目标对象;
所述显示模块,还被配置为:显示目标用户对应的个人主页并在所述个人主页上显示所述目标图像。
本公开的第三方面,提供了一种电子设备,包括存储器、处理器及存储在所述存储器上并可由所述处理器执行的计算机程序,所述处理器在执行所述计算机程序时实现如第一方面所述的方法。
本公开的第四方面,提供了一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使计算机执行如第一方面所述的方法。
附图说明
为了更清楚地说明本公开或相关技术中的技术方案,下面将对实施例或相关技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1示出了本公开实施例所提供的示例性电子设备的硬件结构示意图。
图2示出了本公开实施例所提供的示例性方法的流程示意图。
图3A示出了根据本公开实施例的一种示例性页面的示意图。
图3B示出了根据本公开实施例的一种示例性图像的示意图。
图3C示出了根据本公开实施例的一种示例性页面的示意图。
图3D示出了根据本公开实施例的一种示例性页面的示意图。
图3E示出了根据本公开实施例的一种示例性页面的示意图。
图3F示出了根据本公开实施例的一种示例性页面的示意图。
图3G示出了根据本公开实施例的一种示例性页面的示意图。
图3H示出了根据本公开实施例的一种示例性页面的示意图。
图3I示出了根据本公开实施例的一种示例性页面的示意图。
图3J示出了根据本公开实施例的一种示例性页面的示意图。
图3K示出了根据本公开实施例的一种示例性页面的示意图。
图3L示出了根据本公开实施例的一种示例性页面的示意图。
图3M示出了根据本公开实施例的一种示例性页面的示意图。
图4示出了本公开实施例所提供的示例性装置的结构示意图。
具体实施方式
为使本公开的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本公开进一步详细说明。
需要说明的是,除非另外定义,本公开实施例使用的技术术语或者科学术语应当为本公开所属领域内具有一般技能的人士所理解的通常意义。本公开实施例中使用的“第一”、 “第二”以及类似的词语并不表示任何顺序、数量或者重要性,而只是用来区分不同的组成部分。“包括”或者“包含”等类似的词语意指出现该词前面的元件或者物件涵盖出现在该词后面列举的元件或者物件及其等同,而不排除其他元件或者物件。“连接”或者“相连”等类似的词语并非限定于物理的或者机械的连接,而是可以包括电性的连接,不管是直接的还是间接的。“上”、“下”、“左”、“右”等仅用于表示相对位置关系,当被描述对象的绝对位置改变后,则该相对位置关系也可能相应地改变。
单一的应用显示及交互无法满足用户的多样化需求。有鉴于此,本公开提出一种显示方法、装置、电子设备及存储介质。
随着人们的生活日益改善,对节日的庆祝方式也更加多元化。在计算机技术领域,也需要在应用中烘托出节日氛围,以提升用户体验。但是,相关的应用,在用户的个人主页中,缺乏针对节日的氛围感配置,难以为用户提供一个较好的节日氛围。在一些场景下,也无法与大型活动形成很好的承接。
鉴于此,本公开实施例提供了一种显示方法,基于对象标识在目标用户的个人主页中展示相应的目标图像,从而利用该目标图像来为目标用户提供一种氛围感,提升了用户体验。
图1示出了本公开实施例所提供的示例性电子设备100的示意图。如图1所示,电子设备100可以包括:处理器102、存储器104、网络接口106、外围接口108和总线110。其中,处理器102、存储器104、网络接口106和外围接口108通过总线110实现彼此之间在设备内部的通信连接。
处理器102可以是中央处理器(Central Processing Unit,CPU)、图像处理器、神经网络处理器(NPU)、微控制器(MCU)、可编程逻辑器件、数字信号处理器(DSP)、应用专用集成电路(Application Specific Integrated Circuit,ASIC)、或者一个或多个集成电路。处理器102可以用于执行与本公开描述的技术相关的功能。在一些实施例中,处理器102还可以包括集成为单一逻辑组件的多个处理器。如图1所示,处理器102可以包括多个处理器102a、102b和102c。
存储器104可以配置为存储数据(例如,指令、计算机代码等)。如图1所示,存储器存储的数据可以包括程序指令(例如,用于实现本公开的显示方法的程序指令)以及要处理的数据。处理器102可以访问存储器存储的程序指令和数据,并且执行程序指令以对要处理的数据进行操作。存储器104可以包括易失性存储装置或非易失性存储装置。在一些 实施例中,存储器104可以包括随机访问存储器(RAM)、只读存储器(ROM)、光盘、磁盘、硬盘、固态硬盘(SSD)、闪存、存储棒等。
网络接口106可以配置为经由网络向电子设备100提供与其他外部设备的通信。该网络可以是能够传输和接收数据的任何有线或无线的网络。例如,该网络可以是有线网络、本地无线网络(例如,蓝牙、WiFi、近场通信(NFC)等)、蜂窝网络、因特网、或上述的组合。可以理解的是,网络的类型不限于上述具体示例。在一些实施例中,网络接口106可以包括任意数量的网络接口控制器(NIC)、射频模块、接收发器、调制解调器、路由器、网关、适配器、蜂窝网络芯片等的任意组合。
外围接口108可以配置为将电子设备100与一个或多个外围装置连接,以实现信息输入及输出。例如,外围装置可以包括键盘、鼠标、触摸板、触摸屏、麦克风、各类传感器等输入设备以及显示器、扬声器、振动器、指示灯等输出设备。
总线110,诸如内部总线(例如,处理器-存储器总线)、外部总线(USB端口、PCI-E总线)等,可以被配置为在电子设备100的各个组件(例如处理器102、存储器104、网络接口106和外围接口108)之间传输信息。
需要说明的是,尽管上述设备架构仅示出了处理器102、存储器104、网络接口106、外围接口108和总线110,但是在具体实施过程中,该设备架构还可以包括实现正常运行所必需的其他组件。此外,本领域的技术人员可以理解的是,上述设备架构中也可以仅包含实现本公开实施例方案所必需的组件,而不必包含图中所示的全部组件。
图2示出了本公开实施例所提供的示例性方法200的流程示意图。该方法200可以由图1的电子设备100来实施。参考图2所示,该方法200可以包括以下步骤202至步骤204。
在初始状态下,设备100可以先显示一个第一页面300。图3A示出了根据本公开实施例的示例性页面300的示意图。设备100进入该第一页面300的方式可以是任意的。例如,通过打开某个应用程序(APP)而进入该第一页面300。在一些实施例中,可以通过在某个APP中点击某个入口(例如,一个链接)而进入到该第一页面300。该第一页面300,例如,可以是H5页面。
在一些实施例中,该第一页面300可以是基于某个节日活动而提供的活动页面。如图3A所示,该第一页面300可以是春联(或对联)活动的页面。可以理解的是,春联活动页面仅是示例性的,活动页面对应的活动场景还可以是其他情况。例如,对诗、对词、对歌等活动场景。在这些活动场景中,参与活动的方式,例如,可以是在活动页面中给出对联、 诗、词、歌的上句,让用户来给出对联、诗、词、歌的下句。当然,活动方式还可以有其他方式,这里仅是示意性地进行了说明。
在图2示出的步骤202,如图3A所示,该第一页面300中可以展示与至少一个对象对应的对象标识302a。例如,在春联活动场景下,如图3A所示,该对象标识302a可以是春联文案(例如,“一二三四五,上山打老虎”)或其序号、文案的外边框等等,该对象标识302a对应的对象即为春联本身。
在一些实施例中,对象可以包括多个子对象。相应的,第一页面300上的每个对象(春联)的对象标识可以是预设的,也可以是基于用户与设备100的交互操作而生成,还可以为每个对象的部分子对象是预设的,部分子对象是基于用户输入得到的,并在生成之后显示在第一页面上。例如,参考图3A所示,对象标识302a对应的对象是一副春联,该春联可以包括第一子对象(例如,上联)、第二子对象(例如,下联)。在一些实施例中,该春联还可以包括第三子对象(例如,横批)。
在展示对象标识之前,设备100可以在第一页面300中先展示第一子对象(例如,上联“一二三四五”)。然后,设备100可以接收用户输入的第二子对象(例如,下联“上山打老虎”)。接着,设备100可以基于第一子对象和第二子对象而在第一页面300中生成相应的对象标识,例如,图3A的对象标识302a。
在一些实施例中,基于第一子对象和第二子对象生成相应的对象标识之前,设备100还可以确定第一子对象和第二子对象的匹配度。例如,根据第一子对象和第二子对象的文本进行文本分析确定匹配度。确定匹配度的实现方式,例如,可以是通过比对字数、词性、音素等方式。在一些实施例中,还可以基于预先训练的匹配模型来确定第一子对象和第二子对象的匹配度。该匹配模型,例如,可以基于神经网络模型、贝叶斯网络模型等模型来训练得到。
当第一子对象和第二子对象的匹配度达到预设阈值时,设备100可以在第一页面300中显示相应的对象标识。在一些实施例中,若第一子对象和第二子对象的匹配度未达到预设阈值,设备100则可以不在第一页面300中显示相应的对象标识。进一步地,在一些实施例中,当第一子对象和第二子对象的匹配度未达到预设阈值,设备100还可以在第一页面300中生成提示消息来提醒用户其所输入的第二子对象与第一子对象不匹配,以使用户可以重新进行第二子对象的输入。
该第一页面300中展示的对象标识302a可以是与该第一页面300的内容相关联的信 息,例如,春联活动中所有参与该活动的用户所提供的春联。在一些实施例中,该第一页面300中展示的对象标识302a也可以是与当前用户(亦即目标用户)相关联的信息,例如,当前用户在参与春联活动时所提供的春联。在一些实施例中,用户参与活动时所提供的春联,可以是通过发送弹幕或评论等方式而被收集的。在一些实施例中,考虑到用户更希望用自己所创作的春联来装点自己的页面,在第一页面300中可以默认先展示与当前用户(亦即目标用户,例如,图3A中的用户A)相关联的信息。
在一些实施例中,对象标识的数量可以有多个。例如,如图3A所示,第一页面300中可以包括对象标识302a~302d。当第一页面300中展示多个对象标识302a~302d时,可以为这些对象标识302a~302d进行排序。例如,如图3A所示,根据对象标识的点赞数,按照从多到少的顺序进行排列。
在一些实施例中,考虑到第一页面300的展示空间有限,可以将排列在前的预定数量(例如,图3A中的4个)的对象标识302a~302d进行展示,其余的(如果有的话)则可以不进行展示。
在一些实施例中,该第一页面300中还可以设置对象控件。例如,如图3A所示,第一页面300中的对象标识302a~302d的旁边可以对应设置有对象控件304a~304d,用户通过点击目标对象标识(例如,对象标识302a)对应的目标对象控件(例如,对象控件304a),就可以产生相应的触发操作。
接着,在图2示出的步骤204,用户可以选择第一页面300的对象标识302a~302d中的目标对象标识来进行触发操作。例如,当用户点击图3A中对象标识302a对应的对象控件304a时,设备100可以生成与目标对象(例如,对象标识302a对应的对象)对应的目标图像。
图3B示出了根据本公开实施例的示例性图像310的示意图。在一些实施例中,如图3B所示,目标图像310可以是基于预设模板生成的。以图3B为例,目标图像310除了基于对象标识302a生成了相应的目标对象图像(例如,图3B中左右两侧的对联)之外,还可以基于预设模版生成其他内容。例如,在目标图像310顶部生成春联的横批,并且可以在目标图像310中心生成“福”字,在目标图像310底部生成“新年快乐”四个字。基于预设模版来生成目标图像310,可以省去人工对目标对象进行排列、设计的麻烦,同时,设备100的处理速度也会更快。可以理解的,根据预设模版的不同生成的目标图像可以是不同的,这里进行示例性地说明目标图像的样式。
在一些实施例中,该目标图像310中的文字还可以调整字体,以使该目标图像310更符合实际场景下的字体习惯。如图3C所示,目标图像310中的文字字体选择了华文行楷,使得该目标图像310更贴近于现实生活场景中的春联。
可以理解的是,该触发操作并不局限于触发控件的方式,其他的触发方式也可以用于产生该触发操作。例如,通过双击对象标识302a来产生对应的触发操作(此时,对象标识本身也可以作为对象控件),或者通过触控手势(例如,通过在对应的对象标识302a上从左向右滑动,此时,对象标识本身也可以作为对象控件)来产生对应的触发操作,等等。
在一些实施例中,响应于针对目标对象对应的目标对象控件的触发操作,设备100的页面可以发生跳转。例如,在图2示出的步骤206,设备100可以在生成目标图像310之后,继续显示与目标用户(例如,图3A中的用户A)对应的第二页面320。图3C示出了根据本公开实施例的示例性页面320的示意图。该第二页面320可以包括所述目标图像310。在一些实施例中,为了使第二页面320能够彰显用户的个性,与目标用户关联的第二页面320可以是该目标用户的某个APP的个人主页,如图3C所示。该第一页面300则可以是该APP的某个活动页面(例如,贴春联活动页面)。
在一些实施例中,在生成与所述目标对象对应的目标图像之后,可以不是直接显示第二页面320,而是在生成第二页面320之前先提供一个中间页面330。图3D示出了根据本公开实施例的示例性页面330的示意图。如图3D所示,该中间页面330中可以显示设备100所生成的目标图像310。这样,用户可以先在中间页面330中预览该目标图像310,以提前观看目标对象生成为目标图像310之后的效果。在一些实施例中,中间页面330中生成的目标图像310也可以是按照预定模版生成的,进而使用户可以更直观地看到目标图像310的实际效果。
若用户对该目标图像310及其显示效果比较满意,则可以通过点击中间页面330中的确认按钮332来生成确认指令,进而设备100可以基于该确认指令,显示与目标用户(例如,用户A)关联的第二页面320,参考图3C所示。
若用户对该目标图像310或其显示效果不满意,则可以通过点击中间页面330中的切换按钮334来进行切换操作。设备100响应于该切换操作,可以基于预设模板生成与切换后的目标对象对应的切换后的目标图像。切换后的目标图像可以包括切换后的目标对象图像。例如,在接收到该切换操作之后,可以从多个对象标识302b~302d对应的对象中重新获取一个新的目标对象(例如,对象标识302b对应的对象),然后,按照预设模板在中间 页面330中将重新获取的目标对象生成为新的目标图像310。这样,通过提供切换功能,丰富了用户的选择空间。图3E示出了根据本公开实施例的示例性页面330的示意图。
如图3E所示,切换目标图像310后的中间页面330中,该目标图像310对应的对象标识是图3A中的对象标识302b。此时,若用户对该目标图像310及其显示效果比较满意,则可以通过点击中间页面330中的确认按钮332来生成确认指令,进而设备100可以基于图3E的中间页面中的目标图像310来生成第二页面320,如图3F所示。
前述实施例中,切换操作是通过点击切换按钮334来实现,可以理解的是,切换目标图像310的切换操作也可以是其他实现方式。例如,通过在中间页面330中从右向左滑动,进而基于该触控手势来实现切换操作。
在一些实施例中,中间页面展示的目标图像可以不仅仅是基于预设模版生成的图像,而是可以有更丰富的功能。图3G示出了根据本公开实施例的示例性页面340的示意图。如图3G所示,设备100可以显示拍摄页340。例如,设备100可以获取其相机(例如,后置摄像头)采集的画面342并将该画面342显示在拍摄页340中,同时,可以将基于目标对象(例如,图3A的对象标识302a对应的对象)生成的目标对象图像344悬浮显示在该画面342之上,从而形成增强现实(AR)效果。
在一些实施例中,设备100响应于拍摄完成,可以基于拍摄得到的拍摄画面342生成与所述目标对象对应的目标图像310,如图3H所示。
回到图3G,在一些实施例中,拍摄页340中可以显示拍照按钮346,用户点击该拍照按钮346之后,可以产生拍照指令,设备100可以根据该拍照指令将相机当前采集的画面342与目标对象图像344融合为目标图像310,然后得到更新的拍摄页340。图3H示出了根据本公开实施例的示例性页面340的示意图。如图3H所示,在拍照完成之后,拍摄页340进行更新显示,其中,画面342与目标对象图像344融合显示为目标图像310。可以看到,在本实施例提供的AR效果下,例如,在春联活动的场景中,用户可以选择自己想要贴上春联的场景(例如,自己家的大门)来进行拍照,然后生成一些带有春联的图片。这样,在一些场景中去使用这样的图片,可以提升节日的氛围感,丰富了交互功能。
假设用户希望基于目标图像310来生成第二页面320,可以通过点击相应的触发按钮350来生成触发指令,进而设备100可以基于目标图像310生成相应的第二页面320,从而将页面从拍摄页340跳转到第二页面320。在一些实施例中,该目标图像310可以作为背景显示在第二页面320中。图3I示出了根据本公开实施例的示例性页面320的示意图。如 图3I所示,第二页面320可以包括背景322,该目标图像310可以作为该背景322中的背景图像而显示在第二页面320中。在一些实施例中,背景322可以仅位于第二页面320的上部,因此,该目标图像310可以部分显示在第二页面320中。
回到图3H,在拍摄页340中,还可以设置保存按钮348,用户通过点击该保存按钮348,可以将当前产生的目标图像310保存到设备100中,例如,保存到设备100的相册文件夹中。这样,用户通过将目标图像310保存在本地,从而可以在其他场景中通过从本地调取来使用该目标图像310。在一些实施例中,用户点击保存按钮348之后,设备100除了将目标图像310保持至本地外,还可以将页面跳转到第二页面320。若第二页面320已经存在了相应的背景图片,在一些实施例中,设备100还可以利用该目标图像310来直接替换第二页面320已有的背景图片。
在一些实施例中,如图3H所示,拍摄页340还可以包括重拍按钮352,通过点击该重拍按钮352,拍摄页340可以切换显示为图3G的拍摄页340,从而用户可以重新拍摄当前场景或者重新选择新的场景来进行拍照。
类似地,如图3H所示,拍摄页340也可以包括与图3D类似的切换按钮354,用户通过点击该切换按钮354而向设备100发出用于切换该目标对象图像344的切换指令。设备100在接收到该切换指令之后,可以从多个对象标识302b~302d对应的对象中重新确定一个新的目标对象(例如,对象标识302b对应的对象),然后,按照预设模版在拍摄页340中基于重新确定的目标对象生成为新的目标图像310,如图3J所示。本公开实施例可以采用预设模板生成包括目标对象图像(即目标对象的图像,例如对联图像)的目标图像(包括目标对象的图像及预设模板对应的附加图像),操作简单,满足用户快捷生成目标图像的需求,也可以通过拍摄图像或者本地存储的图像与目标对象图像合成目标图像,满足了用户多样化生成目标图像的需求。
在一些实施例中,目标图像310在第二页面320上为收起状态。回到图3F和图3I,可以看出,作为一些实施例,第二页面320的上部包括背景(背景图区域,也称头图区域)322,目标图像310通过部分显示在该背景322中从而呈现一种收起状态(即春联成卷轴卷起状态展示),从而在第二页面320的背景322中利用目标图像310来提供一种节日氛围。在一些实施例中,被部分展示的目标图像310可以是展示其上部(或头部),如图3F和图3I所示。
进一步地,在一些实施例中,用户还可以在第二页面320中将收起状态的目标图像 310切换为展开状态。例如,响应于针对第二页面320的触发操作,将所述目标图像310由收起状态切换为展开状态,由此提高了目标对象展示的灵活性,丰富了交互方式。例如,用户通过向设备100发出用于展开目标图像310的触发指令来使设备100基于该触发指令将目标图像310展开并悬浮显示在第二页面320中,如图3K所示。可以理解的是,发出该触发指令的方式可以是任意的。在一些实施例中,用户可以通过单击或双击目标图像310的所在位置,来发出该触发指令。
在一些实施例中,展开目标图像310的过程还可以增加相应的特效。例如,在目标图像310是春联的场景下,可以采用展开卷轴的特效来在第二页面320中展开目标图像310。图3L示出了根据本公开实施例的示例性页面320的示意图。如图3L所示,在第二页面320中展开目标图像310时,可以为目标图像310增加一个展开卷轴的特效,从而让用户有一种较为真实的张贴春联的感觉。展开后的目标图像310可以如图3K所示。
回到图3K,在一些实施例中,在展开目标图像310之后,第二页面320中还可以在目标图像310的一侧提供分享按钮324,用户通过点击该分享按钮324,可以向设备100发出用于分享该目标图像310的分享指令,从而设备100可以基于该目标图像310生成分享消息并发送给指定用户,从而进一步丰富了交互方式。该指定用户可以是用户设置为默认联系人的用户。在一些实施例中,设备100可以基于该分享指令生成新的页面(图中未示出),该页面中提供一些供用户选择的待被分享的用户标识,用户可以选择相应的标识来进行分享。
该分享消息的格式可以是任意的。例如,在一些实施例中,该分享消息可以包括打开图3D或图3G对应的页面的链接,接收分享消息的用户通过点击该分享消息即可跳转到图3D或图3G对应的页面,然后可以进行前述相应实施例的一些处理操作,例如,切换贴图、对现实场景拍照来生成目标图片等。
在另一些实施例中,该分享消息可以包括打开该指定用户对应的第二页面(例如,个人主页)并在该第二页面中生成目标图像310的请求,接收分享消息的用户通过点击该分享消息即可跳转到其自身的第二页面并在第二页面中显示该目标图像310,从而指定用户可以通过点击该分享消息而在自己的第二页面一键生成该目标图像310。
可以理解的是,上述示例仅示意性地解释分享消息的实现方式,其他可以想到的替换方式也可以应用到本公开的分享消息中并作为本公开的实施例。
可以理解的是,上述示例中目标图像310的实现方式还可以有更多变化。例如,基于 该目标图像310可以显示在目标用户的个人主页上,而目标用户的个人主页可以本来是具有背景图像的,为了不影响个人主页原有的背景展示,当目标图像310是基于预设模版生成的时(如图3B所示),该目标图像310的背景可以是透明的,这样,当设备100将目标图像310显示在第二页面320上时,目标图像310的透明背景处可以将下层的背景图像显示出来,如图3M所示。
从上述所述可以看出,本公开实施例提供的显示方法,基于用户在第一页面中选择的目标对象生成目标图像,然后在与目标用户对应的个人主页中展示该目标图像,从而利用该目标图像来为目标用户提供一种个人主页中的氛围感,提升了用户体验。在一些实施例中,该目标对象可以是春联,该目标图像可以是贴纸样式的春联图片,与目标用户关联的页面可以是用户的个人主页,这样,采用本公开实施例提供的显示方法,用户可以在个人主页挂上在春节期间生产的对联,拓展了应用的功能,提升了用户体验。
需要说明的是,本公开实施例的方法可以由单个设备执行,例如一台计算机或服务器等。本实施例的方法也可以应用于分布式场景下,由多台设备相互配合来完成。在这种分布式场景的情况下,这多台设备中的一台设备可以只执行本公开实施例的方法中的某一个或多个步骤,这多台设备相互之间会进行交互以完成所述的方法。
需要说明的是,上述对本公开的一些实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于上述实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。
基于同一发明构思,与上述任意实施例方法相对应的,本公开还提供了一种物体检测装置。图4示出了本公开实施例所提供的示例性装置400的结构示意图。
参考图4,所述显示装置400,可以包括显示模块402和处理模块404。
显示模块402被配置为:显示至少一个对象对应的对象标识及对象控件。
处理模块404被配置为:响应于针对目标对象对应的目标对象控件的触发操作,生成与所述目标对象对应的目标图像,其中,所述至少一个对象包括所述目标对象。
所述显示模块402还被配置为:显示目标用户对应的个人主页并在所述个人主页上显示所述目标图像。
在一些实施例中,处理模块404被配置为:响应于针对目标对象对应的目标对象控件 的触发操作,基于预设模板生成与所述目标对象对应的目标图像。
在一些实施例中,处理模块404被配置为:响应于针对目标对象对应的目标对象控件的触发操作,显示拍摄页;并响应于拍摄完成,基于拍摄得到的拍摄画面生成与所述目标对象对应的目标图像。所述目标图像包括所述拍摄画面及显示在所述拍摄画面上的目标对象图像。
在一些实施例中,处理模块404被配置为:接收针对所述目标图像的切换操作;并响应于所述切换操作,基于预设模板生成与切换后的目标对象对应的切换后的目标图像。
在一些实施例中,显示模块402还被配置为:在所述个人主页的背景中显示所述目标图像。
在一些实施例中,所述目标图像在所述个人主页上为收起状态。这种情况下,显示模块402还被配置为:响应于针对所述个人主页的触发操作,将所述目标图像由收起状态切换为展开状态。
在一些实施例中,显示模块402还被配置为:按照预定特效在所述个人主页中展开所述目标图像。
在一些实施例中,处理模块404被配置为:接收用于分享所述目标图像的分享指令;以及基于所述目标图像生成分享消息并发送给指定用户。
为了描述的方便,描述以上装置时以功能分为各种模块分别描述。当然,在实施本公开时可以把各模块的功能在同一个或多个软件和/或硬件中实现。
上述实施例的装置用于实现前述任一实施例中相应的方法200,并且具有相应的方法实施例的有益效果,在此不再赘述。
基于同一发明构思,与上述任意实施例方法相对应的,本公开还提供了一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行如上任一实施例所述的方法200。
本实施例的计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁 盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。
上述实施例的存储介质存储的计算机指令用于使所述计算机执行如上任一实施例所述的方法200,并且具有相应的方法实施例的有益效果,在此不再赘述。
从上面所述可以看出,本公开提供的显示方法、装置、电子设备及存储介质,基于用户在第一页面中选择的目标对象生成目标图像,然后在与目标用户对应的个人主页中展示该目标图像,从而利用该目标图像来为目标用户提供一种个人主页中的氛围感,丰富了交互方式,满足了用户多样化需求,提升了用户体验。
所属领域的普通技术人员应当理解:以上任何实施例的讨论仅为示例性的,并非旨在暗示本公开的范围(包括权利要求)被限于这些例子;在本公开的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本公开实施例的不同方面的许多其它变化,为了简明它们没有在细节中提供。
另外,为简化说明和讨论,并且为了不会使本公开实施例难以理解,在所提供的附图中可以示出或可以不示出与集成电路(IC)芯片和其它部件的公知的电源/接地连接。此外,可以以框图的形式示出装置,以便避免使本公开实施例难以理解,并且这也考虑了以下事实,即关于这些框图装置的实施方式的细节是高度取决于将要实施本公开实施例的平台的(即,这些细节应当完全处于本领域技术人员的理解范围内)。在阐述了具体细节(例如,电路)以描述本公开的示例性实施例的情况下,对本领域技术人员来说显而易见的是,可以在没有这些具体细节的情况下或者这些具体细节有变化的情况下实施本公开实施例。因此,这些描述应被认为是说明性的而不是限制性的。
尽管已经结合了本公开的具体实施例对本公开进行了描述,但是根据前面的描述,这些实施例的很多替换、修改和变型对本领域普通技术人员来说将是显而易见的。例如,其它存储器架构(例如,动态RAM(DRAM))可以使用所讨论的实施例。
本公开实施例旨在涵盖落入所附权利要求的宽泛范围之内的所有这样的替换、修改和变型。因此,凡在本公开实施例的精神和原则之内,所做的任何省略、修改、等同替换、改进等,均应包含在本公开的保护范围之内。

Claims (14)

  1. 一种显示方法,包括:
    显示至少一个对象对应的对象标识及对象控件;
    响应于针对目标对象对应的目标对象控件的触发操作,生成与所述目标对象对应的目标图像,其中,所述至少一个对象包括所述目标对象;
    显示目标用户的个人主页并在所述个人主页上显示所述目标图像。
  2. 如权利要求1所述的显示方法,其中,响应于针对目标对象对应的目标对象控件的触发操作,生成与所述目标对象对应的目标图像,包括:
    响应于针对目标对象对应的目标对象控件的触发操作,基于预设模板生成与所述目标对象对应的目标图像。
  3. 如权利要求1所述的显示方法,其中,响应于针对目标对象对应的目标对象控件的触发操作,生成与所述目标对象对应的目标图像,包括:
    响应于针对目标对象对应的目标对象控件的触发操作,显示拍摄页;
    响应于拍摄完成,基于拍摄得到的拍摄画面生成与所述目标对象对应的目标图像,其中所述目标图像包括所述拍摄画面及显示在所述拍摄画面上的目标对象图像。
  4. 如权利要求1所述的显示方法,还包括:
    生成与所述目标对象对应的目标图像之后,接收针对所述目标图像的切换操作;
    响应于所述切换操作,基于预设模板生成与切换后的目标对象对应的切换后的目标图像。
  5. 如权利要求1所述的显示方法,其中,在所述个人主页上显示所述目标图像,包括:
    在所述个人主页的背景中显示所述目标图像。
  6. 如权利要求1所述的显示方法,其中,所述目标图像在所述个人主页上为收起状态,所述显示方法还包括:
    响应于针对所述个人主页的触发操作,将所述目标图像由收起状态切换为展开状态。
  7. 如权利要求6所述的显示方法,其中,将所述目标图像由收起状态切换为展开状态,包括:
    按照预定特效在所述个人主页中展开所述目标图像。
  8. 如权利要求1所述的显示方法,还包括:
    接收用于分享所述目标图像的分享指令;以及
    基于所述目标图像生成分享消息并发送给指定用户。
  9. 如权利要求1-8任一项所述的显示方法,还包括:
    对于每个对象,在所述每个对象包括多个子对象的情况下,确定所述多个子对象的匹配度;
    根据所确定的匹配度,判断是否显示所述每个对象对应的对象表示及对象控件。
  10. 如权利要求9所述的显示方法,其中,根据所确定的匹配度,判断是否显示所述每个对象对应的对象表示及对象控件包括:
    在所述多个子对象的匹配度达到预设阈值的情况下,显示所述每个对象对应的对象标识及对象控件;
    在所述多个子对象的匹配度未达到预设阈值的情况下,不显示所述每个对象对应的对象标识及对象控件,并提示所述多个子对象不匹配。
  11. 一种显示装置,包括:
    显示模块,被配置为:显示至少一个对象对应的对象标识及对象控件;
    处理模块,被配置为:响应于针对目标对象对应的目标对象控件的触发操作,生成与所述目标对象对应的目标图像,其中,所述至少一个对象包括所述目标对象;
    所述显示模块,还被配置为:显示目标用户对应的个人主页并在所述个人主页上显示所述目标图像。
  12. 一种电子设备,其特征在于,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如权利要求1至10任一项所述的显示方法。
  13. 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使计算机执行权利要求1至10任一项所述的显示方法。
  14. 一种计算机程序,包括:指令,所述指令当由处理器执行时使所述处理器执行根据权利要求1至10任一项所述的显示方法。
PCT/CN2023/070951 2022-01-14 2023-01-06 显示方法、装置、电子设备及存储介质 WO2023134568A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210043476.8A CN114398133B (zh) 2022-01-14 2022-01-14 显示方法、装置、电子设备及存储介质
CN202210043476.8 2022-01-14

Publications (1)

Publication Number Publication Date
WO2023134568A1 true WO2023134568A1 (zh) 2023-07-20

Family

ID=81231980

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/070951 WO2023134568A1 (zh) 2022-01-14 2023-01-06 显示方法、装置、电子设备及存储介质

Country Status (2)

Country Link
CN (1) CN114398133B (zh)
WO (1) WO2023134568A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114398133B (zh) * 2022-01-14 2024-08-20 北京字跳网络技术有限公司 显示方法、装置、电子设备及存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190340419A1 (en) * 2018-05-03 2019-11-07 Adobe Inc. Generation of Parameterized Avatars
CN111898058A (zh) * 2019-05-06 2020-11-06 阿里巴巴集团控股有限公司 个人主页信息处理方法、装置及电子设备
US20200402304A1 (en) * 2018-02-23 2020-12-24 Samsung Electronics Co., Ltd. Electronic device and method for managing custom object on basis of avatar
CN112330477A (zh) * 2019-08-01 2021-02-05 脸谱公司 为社交媒体内容生成定制的个性化反应
US11017609B1 (en) * 2020-11-24 2021-05-25 Horizon Group USA, INC System and method for generating augmented reality objects
CN113592983A (zh) * 2020-04-30 2021-11-02 腾讯科技(深圳)有限公司 一种图像处理方法、装置及计算机可读存储介质
CN114398133A (zh) * 2022-01-14 2022-04-26 北京字跳网络技术有限公司 显示方法、装置、电子设备及存储介质

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104885444A (zh) * 2013-09-09 2015-09-02 宇龙计算机通信科技(深圳)有限公司 图像处理方法和终端
CN107784002A (zh) * 2016-08-26 2018-03-09 阿里巴巴集团控股有限公司 一种网页的页面元素生成方法及装置
CN111292227A (zh) * 2018-12-07 2020-06-16 北京字节跳动网络技术有限公司 图像处理方法和装置
CN111580788B (zh) * 2019-02-15 2024-04-09 阿里巴巴集团控股有限公司 模板搭配信息推荐方法、装置及电子设备
CN112561631A (zh) * 2020-12-08 2021-03-26 北京达佳互联信息技术有限公司 一种信息显示方法、装置、电子设备及存储介质
CN113225572B (zh) * 2021-03-31 2023-08-08 北京达佳互联信息技术有限公司 直播间的页面元素展示方法、装置及系统
CN113225483B (zh) * 2021-05-10 2023-04-07 北京字跳网络技术有限公司 图像融合方法、装置、电子设备和存储介质
CN113240702A (zh) * 2021-06-25 2021-08-10 北京市商汤科技开发有限公司 图像处理方法及装置、电子设备和存储介质
CN113721804A (zh) * 2021-08-20 2021-11-30 北京市商汤科技开发有限公司 一种显示方法、装置、电子设备及计算机可读存储介质

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200402304A1 (en) * 2018-02-23 2020-12-24 Samsung Electronics Co., Ltd. Electronic device and method for managing custom object on basis of avatar
US20190340419A1 (en) * 2018-05-03 2019-11-07 Adobe Inc. Generation of Parameterized Avatars
CN111898058A (zh) * 2019-05-06 2020-11-06 阿里巴巴集团控股有限公司 个人主页信息处理方法、装置及电子设备
CN112330477A (zh) * 2019-08-01 2021-02-05 脸谱公司 为社交媒体内容生成定制的个性化反应
CN113592983A (zh) * 2020-04-30 2021-11-02 腾讯科技(深圳)有限公司 一种图像处理方法、装置及计算机可读存储介质
US11017609B1 (en) * 2020-11-24 2021-05-25 Horizon Group USA, INC System and method for generating augmented reality objects
CN114398133A (zh) * 2022-01-14 2022-04-26 北京字跳网络技术有限公司 显示方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN114398133B (zh) 2024-08-20
CN114398133A (zh) 2022-04-26

Similar Documents

Publication Publication Date Title
CN109716264B (zh) 显示自定义的电子消息图形
WO2022121626A1 (zh) 视频显示及处理方法、装置、系统、设备、介质
US20180275841A1 (en) Terminal device and method for designing network application product
EP4002107B1 (en) Data binding method, apparatus, and device of mini program, and storage medium
CN112396679B (zh) 虚拟对象显示方法及装置、电子设备、介质
US11394888B2 (en) Personalized videos
CN105279203B (zh) 一种生成拼图的方法、装置和系统
JP7240505B2 (ja) 音声パケット推薦方法、装置、電子機器およびプログラム
CN111970571B (zh) 视频制作方法、装置、设备及存储介质
US12026362B2 (en) Video editing application for mobile devices
WO2023227031A1 (zh) 在直播间赠送礼物和展示礼物的方法及相关设备
WO2023231568A1 (zh) 视频编辑方法、装置、计算机设备、存储介质及产品
WO2023134568A1 (zh) 显示方法、装置、电子设备及存储介质
CN111708959A (zh) 页面显示方法、装置、存储介质及电子设备
JP2024529251A (ja) メディアファイル処理方法、装置、デバイス、可読記憶媒体および製品
CN114936000A (zh) 基于图片构架的车机交互方法、系统、介质及设备
WO2024183434A1 (zh) 基于文本生成图片的方法及模型训练方法、装置、设备及存储介质
WO2024061274A1 (zh) 拍摄与生成视频的方法及相关设备
WO2024022473A1 (zh) 在直播间发送评论和接收评论的方法及相关设备
KR20230023804A (ko) 텍스트-비디오 생성 방법, 장치, 설비 및 매체
CN113450762A (zh) 文字朗读方法、装置、终端及存储介质
WO2022262560A1 (zh) 图像显示方法、装置、设备及存储介质
WO2023241719A1 (zh) 基于虚拟礼物的交互方法及相关设备
JP2016009262A (ja) 動画処理装置、動画処理プログラム及び動画処理方法
CN117931021A (zh) 文件处理方法、装置、电子设备及存储介质

Legal Events

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

Ref document number: 23739911

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE