WO2023071970A1 - 一种勋章显示方法、装置及设备 - Google Patents

一种勋章显示方法、装置及设备 Download PDF

Info

Publication number
WO2023071970A1
WO2023071970A1 PCT/CN2022/126944 CN2022126944W WO2023071970A1 WO 2023071970 A1 WO2023071970 A1 WO 2023071970A1 CN 2022126944 W CN2022126944 W CN 2022126944W WO 2023071970 A1 WO2023071970 A1 WO 2023071970A1
Authority
WO
WIPO (PCT)
Prior art keywords
medal
user
medals
display mode
display
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.)
Ceased
Application number
PCT/CN2022/126944
Other languages
English (en)
French (fr)
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.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to US18/574,648 priority Critical patent/US20240143895A1/en
Publication of WO2023071970A1 publication Critical patent/WO2023071970A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/105Human resources
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor

Definitions

  • the present application relates to the field of computer technology, in particular to a medal display method, device and equipment.
  • each enterprise in order to facilitate communication among employees, each enterprise is usually equipped with enterprise collaborative work software, and users can conduct real-time communication between two or more people by installing the client of the collaborative work software.
  • Communicate and collaborate refers to suite software that integrates any number of functions in address book, instant messaging tool, meeting, cloud document, approval, cloud disk, email, calendar, etc.
  • the embodiments of the present application provide a medal display method, device, and equipment, so as to adjust the display mode according to the number of medals, so that the display effect is more coordinated and beautiful.
  • a method for displaying medals is provided, and the method may include:
  • the display mode is determined according to the number of medals, and different numbers of medals correspond to different display modes;
  • a medal display device is provided, and the device may include:
  • the first determining unit is configured to determine the number M of medals awarded to the first user, where the M medals refer to medals that are still valid;
  • the second determining unit is configured to determine a display mode according to the number of medals, and different numbers of medals correspond to different display modes;
  • a display unit configured to display the badge information of the first user on the personal homepage of the first user according to the determined display mode.
  • an electronic device in the third aspect of the embodiment of the present application, includes: a processor and a memory;
  • said memory for storing instructions or computer programs
  • the processor is configured to execute the instructions or computer programs in the memory, so that the electronic device executes the medal display method.
  • a computer-readable storage medium is provided, and instructions are stored in the computer-readable storage medium, and when the instructions are run on a device, the device executes the first The medal display method described in the aspect.
  • a computer program product is provided, and when the computer program product runs on a device, the device executes the medal display method described in the first aspect.
  • the number M of medals obtained by the first user is determined first. Then determine the corresponding display mode according to the number of medals. That is, different display modes are determined according to different medal numbers. After the display mode is determined, the badge information of the first user is displayed on the personal homepage of the first user according to the display mode. It can be seen that, through the solution provided by the embodiment of the present application, the display mode of the medals on the personal homepage can be adjusted according to the number of medals, so that the display effect is more stable, coordinated and beautiful, and the user experience is improved.
  • Fig. 1 is a flow chart of a medal display method provided by the embodiment of the present application.
  • Figure 2a is an effect diagram of a medal display mode provided by the embodiment of the present application.
  • Figure 2b is an effect diagram of another medal display mode provided by the embodiment of the present application.
  • Fig. 2c is an effect diagram of another medal display mode provided by the embodiment of the present application.
  • Figure 2d is an effect diagram of another medal display mode provided by the embodiment of the present application.
  • Fig. 3a is a page display effect diagram of a medal wall provided by the embodiment of the present application.
  • Fig. 3b is another page display effect diagram of the medal wall provided by the embodiment of the present application.
  • Fig. 3c is a display effect diagram of a medal detail page provided by the embodiment of the present application.
  • Fig. 3d is a schematic diagram of an entry badge details page provided by the embodiment of the present application.
  • Fig. 3e is a schematic diagram of wearing a selection medal provided by the embodiment of the present application.
  • FIG. 4 is a structural diagram of a medal display device provided by the embodiment of the present application.
  • FIG. 5 is a structural diagram of an electronic device provided by an embodiment of the present application.
  • the embodiment of this application provides a method of displaying medals, which will adjust the way of displaying the medals on the personal homepage according to the number of different medals. In this way, the stability, coordination and aesthetics of the medal display effect on the personal homepage are guaranteed, and the user experience is improved.
  • this figure is a flow chart of a method for displaying medals provided by the embodiment of the present application. As shown in Fig. 1, the method may include:
  • S101 Determine the number M of medals awarded to the first user.
  • the enterprise can issue medals to the first user through the collaborative work software.
  • the collaborative work software will first determine that the first user is awarded The number of medals M. M is a natural number.
  • the awarded medal has its corresponding validity period.
  • the medal belongs to the user, and after the validity period, it does not belong to the user. Therefore, the M medals awarded to the first user in this embodiment refer to the medals that are still valid. At the same time, the medals that are in the validity period are displayed on the personal homepage.
  • S102 Determine the display mode according to the number of medals, and different numbers of medals correspond to different display modes.
  • the display mode After the number M of medals awarded to the first user is determined, the display mode will be determined according to the number M of medals.
  • the corresponding relationship between different numbers of medals and display modes may be preset, and after the number M of medals of the first user is determined, the display mode is determined according to the number M of medals and the above-mentioned corresponding relationship.
  • the first display mode is used to indicate that the medal information displayed on the personal homepage includes: a first preset threshold number of medals and a remaining number, the remaining number refers to the number M of first user medals minus the number of the first preset threshold , so that the user can intuitively know the total number of medals obtained.
  • the display of the first preset threshold number of medals on the personal homepage may be determined according to actual conditions, for example, which medals the first preset threshold number of medals may be set by the first user.
  • the first preset threshold can be set according to actual application conditions. For example, if the first preset threshold is 3, and the number M of medals obtained by the first user is 6, the latest 3 medals awarded and the display value of 3 will be displayed on the personal homepage of the first user.
  • the personal home page includes a medal wall entry component, and the medal information of the first user can be displayed on the medal wall entry component: the icons of the first preset threshold medals and the remaining number.
  • the personal homepage includes a user avatar 201, a user nickname 202, and a medal wall entry component 203, and three icons of medals are displayed in the component 203 And the number of medals remaining is 3.
  • the trigger component 203 the medal wall of the first user can be entered to view all medals.
  • the personal homepage may also include a sending message component 204, a voice component 205, a video component 206, and basic information of the first user, such as the department, contact information, email address, and the like.
  • the layout of the personal homepage shown in FIG. 2a is only an example, and is not intended to limit the content to be protected in this application.
  • the second display mode is used to indicate that the medal information displayed on the personal homepage includes: M medals. That is, when the number of medals M obtained by the first user is less than or equal to the first preset threshold and greater than zero, all the medals obtained by the first user can be displayed, so that the first user or other users can intuitively see the All medals earned by a user.
  • the medal information of the first user may be displayed on the medal wall entry component of the personal homepage. Referring to FIG.
  • the first preset threshold is 3, and the first user obtains 2 medals, and the icons of the 2 medals are displayed on the medal wall entry component.
  • the medal wall entry component is used to enter the medal wall page, and all the medals obtained by the first user can be displayed on the medal wall page.
  • this embodiment will divide the following display modes.
  • the second display mode is used to indicate that the medal information displayed on the personal home page includes: the icon of the medal and the name of the medal. That is, when the number of medals currently obtained by the first user is 1, the icon of the medal and the name of the medal may be displayed on the entrance component of the medal wall. For example, as shown in FIG. 2 c , if the name of the medal obtained by the first user is "Practical and Dare to Do", then the name and the corresponding medal icon are displayed on the medal entry component.
  • the second display mode is used to indicate that the medal information displayed on the personal homepage includes: icons of M medals. That is, icons of all medals acquired by the first user are displayed on the personal homepage of the first user. Specifically, M medal icons are displayed on the medal entry component.
  • the third display mode is used to indicate that when the first user views the personal
  • the medal information displayed on the homepage includes: preset information, and no medal information is displayed on the personal homepage when other users view the first user's personal homepage.
  • the preset information may be set according to actual application conditions, which is not limited in this embodiment.
  • the badge information will not be displayed on the personal homepage.
  • the schematic diagram of the first user viewing his own personal homepage when the first user views his own personal homepage, the content displayed on the personal homepage and the content displayed by other users viewing the first user's personal homepage may exist different.
  • S103 Display the medal information of the first user on the personal homepage of the first user according to the determined display mode.
  • the first user's medal information After the display mode of the medal is determined, the first user's medal information will be displayed on the first user's personal homepage according to the display mode, so that the display effect of the medal on the personal homepage is stable, coordinated and beautiful.
  • displaying the first user's medal information on the first user's personal homepage may include: displaying the first user's medal information on a medal wall entry component on the first user's personal homepage.
  • the display mode of the medals on the personal homepage can be adjusted according to the number of medals, so that the display effect is more stable, coordinated and beautiful, and the user experience is improved.
  • the first user or other users may enter the first user's medal wall page through the medal wall entry component on the first user's personal homepage to view all medals obtained by the first user.
  • the page of the medal wall is entered, and the page of the medal wall is used to display the M medals obtained by the first user.
  • all medals can be displayed on the medal wall page, including medals for being pragmatic and diverse, medals for openness and humility, and medals for pursuit.
  • the accumulative number of medals obtained by the first user may also be displayed under the corresponding medals.
  • the avatar of the first user is displayed in the center.
  • the background can also be blurred.
  • the user's avatar is displayed in the center, and the background above the avatar is blurred, so that the user can focus more on each medal in the medal wall page.
  • each medal may correspond to a details page, and in response to a trigger operation for any medal on the medal wall page, the details page corresponding to the medal is entered.
  • the basic information about the medal can be displayed on the details page.
  • an icon of the medal, a name of the medal, a description of the medal, and a validity period of the medal may be displayed.
  • historical information may also be included, and the historical information is used to indicate the time when the first user obtained the medal and the time when the medal was obtained each time.
  • the description of the medal is a brief description of the medal. For example, as shown in Figure 3c, in response to the trigger operation of the Pragmatic Dare Medal, the medal details page of the medal is entered.
  • the medal is described as "Pragmatic Dare is the style of the company and the style of each employee.” ; The validity period is 2020.12.25-2021.12.24; a total of 3 coins have been obtained; historical information: the first coin is valid for 2018.6.25-2018.10.24, and the second coin is valid for 2019.1.2-2019.12.1.
  • the medal detail component and the avatar viewing component are displayed.
  • the first medal is any medal among the medals obtained by the first user.
  • the avatar of the first user is displayed, such as personal homepages, conversations, contacts, documents, etc.
  • the cancellation component can also be displayed. For example, as shown in Fig.
  • the left figure is a schematic diagram of display after the second user triggers the first user's personal homepage to wear the first medal portrait, including the medal details component 301, viewing profile picture component 302 and cancel component 303; the right figure is the first medal portrait
  • the second user triggers the display schematic diagram of the avatar wearing the first medal in the conversation with the first user.
  • the details page corresponding to the first medal is entered, and the details page may include the icon of the first medal, the name of the medal, the description of the medal, the validity period of the medal, and historical information.
  • the medal detail page can be entered by triggering the medal on the medal wall, or the medal detail page can be entered by triggering the avatar wearing the medal.
  • the selected second medal is worn on the avatar of the first user. That is, the first user can choose the second medal to be worn on the avatar by himself. Specifically, when each medal is displayed on the medal wall, if a certain medal has not been worn on the avatar, the medal will correspond to a wearing component, and the first user can wear the medal on the avatar by triggering the wearing component; If a certain medal is worn on the avatar, the medal will correspond to a removal component, and the first user can remove the medal from the avatar by triggering the removal component.
  • the first user checks his own medal wall, all the medals currently obtained are displayed on the medal wall, and "wearing" is displayed on the icon of the open and favorite medal worn on the avatar, and at the same time
  • a take-off component 305 is displayed under the icon of , and the first user can click on the take-off component 305 to take off the medal of openness and humility worn on the avatar.
  • the wearing component 304 is displayed under the medal not worn on the avatar, and the first user can click the wearing component 304 to wear the medal on the avatar.
  • an embodiment of the present application provides a medal display device, which will be described below with reference to the accompanying drawings.
  • the device 400 may include: a first determination unit 401 , a second determination unit 402 and a display unit 403 .
  • the first determining unit 401 is configured to determine the number M of medals awarded to the first user, where the M medals refer to medals that are still valid;
  • the second determining unit 402 is configured to determine a display mode according to the number of medals, and different numbers of medals correspond to different display modes;
  • the display unit 403 is configured to display the medal information of the first user on the personal homepage of the first user according to the determined display mode.
  • the second determining unit 402 is specifically configured to determine the first display mode in response to M being greater than a first preset threshold, and the first display mode is used to indicate that the personal
  • the medal information displayed on the homepage includes: the first preset threshold number of medals and the remaining number, the remaining number refers to the number of medals M minus the number of the first preset threshold; and/or, in response to M is less than or equal to the first preset threshold and greater than zero, determined as the second display mode, and the second display mode is used to indicate that the medal information displayed on the personal homepage includes: the M medals; and/ Or, when M is 0, it is determined to be a third display mode, and the third display mode is used to indicate that the badge information displayed on the personal homepage when the first user views his own personal homepage includes: preset information, and When other users view the personal homepage of the first user, the personal homepage does not display the medal information.
  • the first preset threshold is greater than or equal to 1
  • the second determining unit 402 is specifically configured to determine the second display mode in response to when M is 1, and the second display mode
  • the pattern is used to indicate that the medal information displayed on the personal homepage includes: a medal icon and a medal name.
  • the first preset threshold is greater than 1
  • the second determining unit 402 is specifically configured to determine that the second In a display mode, the second display mode is used to indicate that the medal information displayed on the personal homepage includes: icons of the M medals.
  • the first preset threshold medals are preset by the first user, or the first preset threshold medals are the latest medals awarded to the first user, Or the first preset threshold medals are medals corresponding to the first user that are about to expire.
  • the displaying the medal information of the first user on the personal homepage of the first user includes: displaying the medal information on the medal wall entry component on the personal homepage of the first user. Describe the badge information of the first user.
  • the device further includes: a first jumping unit;
  • the first jumping unit is configured to enter a medal wall page in response to a trigger operation on the medal wall entry component, and the medal wall page is used to display the M medals.
  • the device further includes: a second jumping unit;
  • the second jumping unit is configured to enter a detail page corresponding to the medal in response to a trigger operation for any medal on the medal wall page, and the detail page is used to display basic information of the medal.
  • the basic information of the medal includes at least one of the following: an icon of the medal, a name of the medal, a description of the medal, and a validity period of the medal.
  • the basic information of the medal further includes historical information, and the historical information is used to indicate the number of times the first user has obtained the medal and the time when the medal was obtained each time.
  • the display unit 403 is further configured to centrally display the avatar of the first user in response to entering the medal wall page.
  • the device further includes a processing unit, configured to blur the background in response to entering the medal wall page.
  • the display unit 403 is further configured to display the medal details component and view the avatar in response to the first user's avatar wearing the first medal and the second user triggering the first user's avatar.
  • the first medal is any medal in the medals obtained by the first user.
  • the device further includes: a third jumping unit;
  • the third jumping unit is configured to enter a detail page corresponding to the first medal in response to the second user's trigger operation on the medal detail component.
  • the device further includes: a wearing unit;
  • the wearing unit is configured to wear the selected second medal on the first user's avatar in response to the first user's selection operation on the corresponding medal wall page.
  • FIG. 5 it shows a schematic structural diagram of an electronic device 500 suitable for implementing the embodiment of the present application.
  • the terminal equipment in the embodiment of the present application may include but not limited to mobile phones, notebook computers, digital broadcast receivers, PDA (Personal Digital Assistant, personal digital assistant), PAD (portable android device, tablet computer), PMP (Portable Media Player, portable multimedia player), mobile terminals such as vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and fixed terminals such as digital TVs (television, television sets), desktop computers, and the like.
  • the electronic device shown in FIG. 5 is only an example, and should not limit the functions and scope of use of this embodiment of the present application.
  • an electronic device 500 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 501, which may be randomly accessed according to a program stored in a read-only memory (ROM) 502 or loaded from a storage device 508.
  • ROM read-only memory
  • RAM random access memory
  • various appropriate actions and processes are executed by programs in the memory (RAM) 503 .
  • RAM random access memory
  • various programs and data necessary for the operation of the electronic device 500 are also stored.
  • the processing device 501, ROM 502, and RAM 503 are connected to each other through a bus 504.
  • An input/output (I/O) interface 505 is also connected to the bus 504 .
  • the following devices can be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speaker, vibration an output device 507 such as a computer; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509.
  • the communication means 509 may allow the electronic device 500 to perform wireless or wired communication with other devices to exchange data. While FIG. 5 shows electronic device 500 having various means, it is to be understood that implementing or having all of the means shown is not a requirement. More or fewer means may alternatively be implemented or provided.
  • the processes described above with reference to the flowcharts can be implemented as computer software programs.
  • the embodiments of the present application include a computer program product, which includes a computer program carried on a non-transitory computer readable medium, where the computer program includes program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from a network via communication means 509 , or from storage means 508 , or from ROM 502 .
  • the processing device 501 the above-mentioned functions defined in the method of the embodiment of the present application are executed.
  • the electronic device provided by the embodiment of the present application and the personal homepage display method provided by the above-mentioned embodiment belong to the same inventive concept.
  • the technical details not described in this embodiment can be referred to the above-mentioned embodiment, and this embodiment has the same features as the above-mentioned embodiment. beneficial effect.
  • An embodiment of the present application provides a computer-readable medium on which a computer program is stored, wherein when the program is executed by a processor, the medal display method as described in any of the above-mentioned embodiments is implemented.
  • the computer-readable medium mentioned above in this application may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
  • a computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device .
  • Program code embodied on a computer readable medium may be transmitted by any appropriate medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
  • the client and the server can communicate using any currently known or future network protocols such as HTTP (HyperText Transfer Protocol, Hypertext Transfer Protocol), and can communicate with digital data in any form or medium
  • HTTP HyperText Transfer Protocol
  • the communication eg, communication network
  • Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network of.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device, or may exist independently without being incorporated into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device is made to execute the above-mentioned medal display method.
  • Computer program code for carrying out the operations of this application may be written in one or more programming languages, or combinations thereof, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and Includes conventional procedural programming languages - such as the "C" language or similar programming languages.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).
  • LAN local area network
  • WAN wide area network
  • Internet service provider such as AT&T, MCI, Sprint, EarthLink, MSN, GTE, etc.
  • each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments described in the present application may be implemented by means of software or by means of hardware.
  • the name of the unit/module does not constitute a limitation on the unit itself under certain circumstances, for example, the voice data collection module can also be described as a "data collection module”.
  • FPGAs Field Programmable Gate Arrays
  • ASICs Application Specific Integrated Circuits
  • ASSPs Application Specific Standard Products
  • SOCs System on Chips
  • CPLD Complex Programmable Logical device
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device.
  • a machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • a machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing.
  • machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory erasable programmable read only memory
  • CD-ROM compact disk read only memory
  • magnetic storage or any suitable combination of the foregoing.
  • each embodiment in this specification is described in a progressive manner, each embodiment focuses on the differences from other embodiments, and the same and similar parts of each embodiment can be referred to each other.
  • the system or device disclosed in the embodiment since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and for relevant details, please refer to the description of the method part.
  • At least one (item) means one or more, and “multiple” means two or more.
  • “And/or” is used to describe the association relationship of associated objects, indicating that there can be three types of relationships, for example, “A and/or B” can mean: only A exists, only B exists, and A and B exist at the same time , where A and B can be singular or plural.
  • the character “/” generally indicates that the contextual objects are an “or” relationship.
  • At least one of the following” or similar expressions refer to any combination of these items, including any combination of single or plural items.
  • At least one item (piece) of a, b or c can mean: a, b, c, "a and b", “a and c", “b and c", or "a and b and c ", where a, b, c can be single or multiple.
  • RAM random access memory
  • ROM read-only memory
  • EEPROM electrically programmable ROM
  • EEPROM electrically erasable programmable ROM
  • registers hard disk, removable disk, CD-ROM, or any other Any other known storage medium.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本申请实施例公开了一种勋章显示方法,在对第一用户所获得的勋章进行展示时,先确定该第一用户所获得的勋章数量。然后根据勋章数量确定对应的显示模式。即根据不同的勋章数量确定出不同的显示模式。在确定出显示模式后,根据该显示模式在第一用户的个人主页上展示第一用户的勋章信息。

Description

一种勋章显示方法、装置及设备
本申请要求于2021年10月26日提交中国专利局、申请号为202111250309.2、申请名称为“一种勋章显示方法、装置及设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机技术领域,具体涉及一种勋章显示方法、装置及设备。
背景技术
在企业或团体组织中,为方便员工之间的沟通,通常情况下每个企业均配置有企业协同工作软件,使用者可以通过安装协同工作软件的客户端进行两人或多人之间的实时沟通和协作。协同工作软件是指集成了通讯录、即时通信工具、会议、云文档、审批、云盘、邮件、日历等中的任意多种功能的套件软件。
企业为激励员工,可以通过向员工授予电子勋章的方式来激励员工更好的工作。如何通过协同工作软件向员工授予电子勋章并进行展示是急需解决的技术问题。
发明内容
有鉴于此,本申请实施例提供一种勋章显示方法、装置及设备,以实现根据勋章的数量调整显示方式,使得显示效果更佳协调、美观。
为实现上述目的,本申请实施例提供的技术方案如下:
在本申请实施例第一方面,提供了一种勋章显示方法,该方法可以包括:
确定第一用户被授予的勋章数量M,该M个勋章是指尚处于有效期的勋章;
根据所述勋章数量确定显示模式,不同数量的勋章对应不同的显示模式;
根据所确定的显示模式在所述第一用户的个人主页上展示所述第一用户的勋章信息。
在本申请实施例第二方面,提供了一种勋章显示装置,该装置可以包括:
第一确定单元,用于确定第一用户被授予的勋章数量M,该M个勋章是指尚处于有效期的勋章;
第二确定单元,用于根据所述勋章数量确定显示模式,不同数量的勋章对应不同的显示模式;
显示单元,用于根据所确定的显示模式在所述第一用户的个人主页上展示所述第一用户的勋章信息。
在本申请实施例第三方面,提供了一种电子设备,所述设备包括:处理器和存储器;
所述存储器,用于存储指令或计算机程序;
所述处理器,用于执行所述存储器中的所述指令或计算机程序,以使得所述电子设备执行所述的勋章显示方法。
在本申请实施例第四方面,提供了一种计算机可读存储介质,所述机算机可读存储介 质中存储有指令,当所述指令在设备上运行时,使得所述设备执行第一方面所述的勋章显示方法。
在本申请实施例第五方面,提供了一种计算机程序产品,所述计算机程序产品在设备上运行时,使得所述设备执行第一方面所述的勋章显示方法。
由此可见,本申请实施例具有如下有益效果:
本申请实施例在对第一用户所获得的勋章进行展示时,先确定该第一用户所获得的勋章数量M。然后根据勋章数量确定对应的显示模式。即根据不同的勋章数量确定出不同的显示模式。在确定出显示模式后,根据该显示模式在第一用户的个人主页上展示第一用户的勋章信息。可见,通过本申请实施例提供的方案,可以根据勋章的数量来调整勋章在个人主页上的显示方式,从而使得显示效果更加稳定、协调和美观,提升用户使用体验。
附图说明
图1为本申请实施例提供的一种勋章显示方法流程图;
图2a为本申请实施例提供的一种勋章显示模式效果图;
图2b为本申请实施例提供的另一种勋章显示模式效果图;
图2c为本申请实施例提供的又一种勋章显示模式效果图;
图2d为本申请实施例提供的又一种勋章显示模式效果图;
图3a为本申请实施例提供的一种勋章墙页面显示效果图;
图3b为本申请实施例提供的另一种勋章墙页面显示效果图;
图3c为本申请实施例提供的一种勋章详情页显示效果图;
图3d为本申请实施例提供的一种进入勋章详情页示意图;
图3e为本申请实施例提供的一种选择勋章佩戴的示意图;
图4为本申请实施例提供的一种勋章显示装置结构图;
图5为本申请实施例提供的一种电子设备结构图。
具体实施方式
为使本申请的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本申请实施例作进一步详细的说明。
在实际应用中,企业为激励员工,欲通过协同工作软件为员工授予电子勋章,以激励员工更好地工作。如何向员工展示被授予的电子勋章是急需解决的技术问题。
考虑到不同用户所获得的勋章数量不同,为保证不同数量下的勋章展示效果,本申请实施例提供了一种勋章显示方法,将根据不同的勋章数量来调整勋章在个人主页上的展示方式,从而保证在个人主页上的勋章展示效果的稳定性、协调性和美观性,提高用户使用体验。
为便于理解本申请实施例提供的技术方案,下面将结合附图对本申请实施例提供的技术方案进行说明。
参见图1,该图为本申请实施例提供的一种勋章显示方法流程图,如图1所示,该方 法可以包括:
S101:确定第一用户被授予的勋章数量M。
本实施例中,企业可以通过协同工作软件向第一用户颁发勋章,该协同工作软件为实现根据不同的勋章数量来调整勋章在个人主页上的展示方式的功能,将先确定第一用户被授予的勋章数量M。M为自然数。
需要说明的是,通常情况下,被授予的勋章有其对应的有效期,在有效期内,该勋章属于用户,超过有效期则不属于用户。因此,本实施例中第一用户被授予的M个勋章是指还处于有效期的勋章。同时,在个人主页上展示的是处于有效期的勋章。
S102:根据勋章数量确定显示模式,不同数量的勋章对应不同的显示模式。
在确定出第一用户被授予的勋章数量M后,将根据勋章数量M确定显示模式。其中,可以预先设置不同数量的勋章与显示模式之间的对应关系,在确定出第一用户的勋章数量M后,根据勋章数量M以及上述对应关系确定显示模式。
在一种具体的实现方式中,响应于M大于第一预设阈值,确定为第一显示模式。其中,第一显示模式用于指示在个人主页上展示的勋章信息包括:第一预设阈值个勋章以及剩余数量,该剩余数量是指第一用户勋章数量M减去第一预设阈值的数量,从而使得用户可以直观地获知所获取的勋章的总数量。其中,在个人主页上展示第一预设阈值个勋章可以根据实际情况进行确定,例如,第一预设阈值个勋章可以由第一用户自行设置是哪些勋章。或者,预先定义展示最新被授予的第一预设阈值个勋章,或者展示将要到期的第一预设阈值个勋章。其中,第一预设阈值可以根据实际应用情况进行设置。例如,第一预设阈值为3,第一用户获得勋章数量M为6,则在第一用户的个人主页上展示最新被授予的3个勋章以及显示数值3。具体地,个人主页上包括勋章墙入口组件,可以在该勋章墙入口组件上展示第一用户的勋章信息:第一预设阈值个勋章的图标和剩余数量。
参见图2a所示,为本公开一个具体实施例中的第一用户的个人主页,该个人主页上包括用户头像201、用户昵称202、勋章墙入口组件203,在组件203展示3个勋章的图标以及剩余的勋章数量3。通过触发组件203可以进入第一用户的勋章墙,以查看全部的勋章。另外,个人主页上还可以包括发送消息组件204、语音组件205、视频组件206以及第一用户的基本信息,例如所属部门、联系方式、邮箱等。需要说明的是,图2a所示的个人主页的布局仅作为示例,不作为对本申请要保护的内容的限制。
在一种具体的实现方式中,当勋章数量M小于等于第一预设阈值且大于零时,确定为第二显示模式,该第二显示模式用于指示在个人主页上展示的勋章信息包括:M个勋章。即,在第一用户所获取的勋章数量M小于等于第一预设阈值且大于零时,则可以展示第一用户所获取的所有勋章,从而使得第一用户或者其他用户可以直观地看到第一用户所获取的所有勋章。具体地,可以在个人主页的勋章墙入口组件上显示第一用户的勋章信息。参见图2b,第一预设阈值为3,第一用户获取2个勋章,则在勋章墙入口组件上展示该2个勋章的图标。其中,勋章墙入口组件用于进入勋章墙页面,该勋章墙页面中可以展示第一用户所获得的所有勋章。
进一步地,针对于勋章数量M小于等于第一预设阈值且大于零的情况,本实施例将划分以下显示模式。一种是,在勋章数量M为1时,第二显示模式用于指示在个人主页上展 示的勋章信息包括:勋章的图标以及勋章的名称。即,在第一用户当前所获得的勋章数量为1时,则可以在勋章墙入口组件上显示该勋章的图标以及该勋章的名称。例如图2c所示,第一用户所获得的勋章名称为“务实敢为”,则在勋章入口组件上显示该名称以及对应的勋章图标。另一种是,当勋章数量M大于1且小于等于第一预设阈值时,第二显示模式用于指示在个人主页上展示的勋章信息包括:M个勋章的图标。即,在第一用户的个人主页上展示第一用户所获取的所有勋章的图标。具体地,在勋章入口组件上显示M个勋章的图标。
在实际应用中,可能存在用户未被授予勋章的情况,在该情况下,响应于勋章数量M为0时,确定为第三显示模式,该第三显示模式用于指示在第一用户查看个人主页展示的勋章信息包括:预设信息,以及在其他用户查看第一用户的个人主页时该个人主页上不展示勋章信息。其中,预设信息可以根据实际应用情况进行设置,本实施例在此不再限定。例如,在第一用户的勋章数量为0时,在第一用户查看自己的个人主页时,勋章墙入口组件上不展示任何勋章图标,仅显示文字“我的勋章”;在其他用户浏览第一用户的个人主页时,将个人主页上将不展示勋章信息。例如图2d所示,第一用户查看自己个人主页的示意图,在第一用户查看自己的个人主页时,该个人主页所显示的内容与其他用户查看第一用户的个人主页所显示的内容可以存在不同。
S103:根据所确定的显示模式在第一用户的个人主页上展示第一用户的勋章信息。
在确定出勋章的显示模式后,将根据该显示模式在第一用户的个人主页上展示第一用户的勋章信息,从而使得个人主页上的勋章展示效果稳定、协调且美观。其中,在第一用户的个人主页上展示第一用户的勋章信息可以包括:在第一用户的个人主页上的勋章墙入口组件上展示所述第一用户的勋章信息。
可见,在对第一用户所获得的勋章进行展示时,先确定该第一用户所获得的勋章数量。然后根据勋章数量确定对应的显示模式。即根据不同的勋章数量确定出不同的显示模式。在确定出显示模式后,根据该显示模式在第一用户的个人主页上展示第一用户的勋章信息。可见,通过本申请实施例提供的方案,可以根据勋章的数量来调整勋章在个人主页上的显示方式,从而使得显示效果更加稳定、协调和美观,提升用户使用体验。
在一种具体的实现方式中,第一用户或者其他用户可以通过第一用户的个人主页上的勋章墙入口组件进入第一用户的勋章墙页面,以查看第一用户的所获得的所有勋章。具体地,响应于对于勋章墙入口组件的触发操作,进入勋章墙页面,该勋章墙页面用于展示该第一用户所获得的M个勋章。例如图3a所示,通过触发个人主页上的勋章墙入口组件203进入第一用户的勋章墙页面,该勋章墙页面上可以展示所有勋章,分别为务实敢为的勋章、开放谦逊的勋章、追求极致的勋章、多元兼容的勋章、坦诚清晰的勋章以及始终创业的勋章。同时,在对应的勋章下面还可以显示第一用户累计获得的枚数。
在一种具体的实现方式中,响应于进入勋章墙页面,对第一用户的头像进行居中显示。进一步地,还可以对背景进行虚化处理。例如图3b所示,用户头像居中显示,且头像上方的背景被虚化处理,以使得用户更聚焦于勋章墙页面中的各个勋章。
在一种具体的实现方式中,每个勋章均可以对应一个详情页,响应于对于勋章墙页面上任一勋章的触发操作,进入该勋章对应的详情页。其中,该详情页上可以展示关于该勋 章的基本信息。例如,可以展示勋章的图标、勋章的名称、勋章描述以及勋章的有效期。进一步地,还可以包括历史信息,还历史信息用于指示第一用户获得过该勋章的此时以及每次获取该勋章的时间。其中,勋章描述为对勋章的简要说明。例如图3c所示,响应于对务实敢为勋章的触发操作,进入该勋章的勋章详情页,在该详情页中,勋章描述为“务实敢为是公司的style,也是每位员工的style”;有效期为2020.12.25-2021.12.24;累计获得3枚;历史信息:第一枚有效期为2018.6.25-2018.10.24、第二枚有效期为2019.1.2-2019.12.1。
在一种具体的实现方式中,响应于第一用户的头像佩戴有第一勋章且第二用户触发该第一用户的头像,显示勋章详情组件和查看头像组件。其中,第一勋章为第一用户所获得的勋章中的任一勋章。具体地,在显示有第一用户头像的场景中,例如个人主页、会话、联系人、文档等场景,第二用户在点击第一用户佩戴了勋章的头像后,响应于第二用户的点击操作,显示两个选项,即勋章详情组件和查看头像组件,第二用户可以根据自身的需求进行选择。进一步地,还可以显示取消组件。例如图3d所示,左图为第二用户触发第一用户的个人主页中佩戴了第一勋章头像后的显示示意图,包括勋章详情组件301、查看头像组件302和取消组件303;右图为第二用户触发与第一用户会话里的佩戴了第一勋章头像后的显示示意图。
响应于第二用户选择勋章详情组件,进入第一勋章对应的详情页,该详情页可以包括第一勋章的图标、勋章名称、勋章描述、勋章的有效期以及历史信息等。
通过前述可知,本实施例可以通过触发勋章墙上的勋章方式进入勋章详情页,也可以通过触发佩戴勋章的头像方式进入勋章详情页。
在一种具体的实现方式中,响应于第一用户在自身对应的勋章墙页面中的选择操作,将所选择的第二勋章佩戴在第一用户的头像上。即,第一用户可以自己选择佩戴在头像上的第二勋章。具体地,勋章墙上在显示每个勋章时,如果某一勋章尚未被佩戴在头像上,则该勋章将对应一个佩戴组件,第一用户可以通过触发该佩戴组件将该勋章佩戴在头像上;如果某一勋章以被佩戴在头像上,则该勋章将对应一个摘下组件,第一用户可以通过触发该摘下组件将该勋章从头像上摘下。例如图3e所示,第一用户查看自身的勋章墙,在该勋章墙上显示目前所获得的所有勋章,对于佩戴在头像的开放谦逊的勋章的图标上显示“佩戴中”,同时在该勋章的图标下显示摘下组件305,第一用户可以点击该摘下组件305将摘下佩戴在头像上的开放谦逊勋章。对于未佩戴在头像的勋章下显示佩戴组件304,第一用户可以点击该佩戴组件304将该勋章佩戴在头像上。
基于上述方法实施例,本申请实施例提供了一种勋章显示装置,下面将结合附图进行说明。
参见图4,该图为本申请实施例提供的一种勋章显示装置结构图,如图4所示,该装置400可以包括:第一确定单元401、第二确定单元402和显示单元403。
第一确定单元401,用于确定第一用户被授予的勋章数量M,该M个勋章是指尚处于有效期的勋章;
第二确定单元402,用于根据所述勋章数量确定显示模式,不同数量的勋章对应不同的显示模式;
显示单元403,用于根据所确定的显示模式在所述第一用户的个人主页上显示第一用 户的勋章信息。
在一种具体的实现方式中,所述第二确定单元402,具体用于响应于M大于第一预设阈值,确定为第一显示模式,所述第一显示模式用于指示在所述个人主页上展示的勋章信息包括:所述第一预设阈值个勋章以及剩余数量,所述剩余数量是指所述勋章数量M减去所述第一预设阈值的数量;和/或,响应于M小于等于所述第一预设阈值且大于零,确定为第二显示模式,所述第二显示模式用于指示在所述个人主页上展示的勋章信息包括:所述M个勋章;和/或,响应于M为0时,确定为第三显示模式,该第三显示模式用于指示在所述第一用户查看自己的个人主页时个人主页上展示的勋章信息包括:预设信息,以及在其他用户查看第一用户的个人主页时所述个人主页不展示所勋章信息。
在一种具体的实现方式中,所述第一预设阈值大于等于1,所述第二确定单元402,具体用于响应于M为1时,确定为第二显示模式,所述第二显示模式用于指示在所述个人主页上展示的勋章信息包括:勋章的图标以及勋章的名称。
在一种具体的实现方式中,所述第一预设阈值大于1,所述第二确定单元402,具体用于响应于M大于1且小于等于所述第一预设阈值,确定为第二显示模式,所述第二显示模式用于指示在所述个人主页上展示的勋章信息包括:所述M个勋章的图标。
在一种具体的实现方式中,所述第一预设阈值个勋章由所述第一用户预先设置的,或所述第一预设阈值个勋章为所述第一用户最新被授予的勋章,或所述第一预设阈值个勋章为所述第一用户对应的即将失效的勋章。
在一种具体的实现方式中,所述在所述第一用户的个人主页上展示所述第一用户的勋章信息包括:在所述第一用户的个人主页上的勋章墙入口组件上展示所述第一用户的勋章信息。
在一种具体的实现方式中,所述装置还包括:第一跳转单元;
所述第一跳转单元,用于响应于对于所述勋章墙入口组件的触发操作,进入勋章墙页面,所述勋章墙页面用于展示所述M个勋章。
在一种具体的实现方式中,所述装置还包括:第二跳转单元;
所述第二跳转单元,用于响应于对于所述勋章墙页面上任一勋章的触发操作,进入所述勋章对应的详情页,所述详情页用于展示所述勋章的基本信息。
在一种具体的实现方式中,所述勋章的基本信息包括至少以下一种:所述勋章的图标、勋章名称、勋章描述以及勋章的有效期。
在一种具体的实现方式中,所述勋章的基本信息还包括历史信息,所述历史信息用于指示所述第一用户获得过所述勋章的次数以及每次获得所述勋章的时间。
在一种具体的实现方式中,所述显示单元403,还用于响应于进入所述勋章墙页面,对所述第一用户的头像进行居中展示。
在一种具体的实现方式中,所述装置还包括处理单元,用于响应于进入所述勋章墙页面,对背景进行虚化处理。
在一种具体的实现方式中,所述显示单元403,还用于响应于第一用户的头像佩戴有第一勋章且第二用户触发所述第一用户的头像,显示勋章详情组件和查看头像组件,所述第一勋章为所述第一用户所获得的勋章中的任一勋章。
在一种具体的实现方式中,所述装置还包括:第三跳转单元;
所述第三跳转单元,用于响应于所述第二用户对于所述勋章详情组件的触发操作,进入所述第一勋章对应的详情页。
在一种具体的实现方式中,所述装置还包括:佩戴单元;
所述佩戴单元,用于响应于所述第一用户在自身对应的勋章墙页面中的选择操作,将所选择的第二勋章佩戴在所述第一用户的头像上。
需要说明的是,本实施例中各个单元的实现可以参见上述方法实施例的相关描述,本实施例在此不再赘述。
下面参考图5,其示出了适于用来实现本申请实施例的电子设备500的结构示意图。本申请实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(Personal Digital Assistant,个人数字助理)、PAD(portable android device,平板电脑)、PMP(Portable Media Player,便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV(television,电视机)、台式计算机等等的固定终端。图5示出的电子设备仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。
如图5所示,电子设备500可以包括处理装置(例如中央处理器、图形处理器等)501,其可以根据存储在只读存储器(ROM)502中的程序或者从存储装置508加载到随机访问存储器(RAM)503中的程序而执行各种适当的动作和处理。在RAM503中,还存储有电子设备500操作所需的各种程序和数据。处理装置501、ROM 502以及RAM 503通过总线504彼此相连。输入/输出(I/O)接口505也连接至总线504。
通常,以下装置可以连接至I/O接口505:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置506;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置507;包括例如磁带、硬盘等的存储装置508;以及通信装置509。通信装置509可以允许电子设备500与其他设备进行无线或有线通信以交换数据。虽然图5示出了具有各种装置的电子设备500,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本申请的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本申请的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置509从网络上被下载和安装,或者从存储装置508被安装,或者从ROM502被安装。在该计算机程序被处理装置501执行时,执行本申请实施例的方法中限定的上述功能。
本申请实施例提供的电子设备与上述实施例提供的个人主页展示方法属于同一发明构思,未在本实施例中详尽描述的技术细节可参见上述实施例,并且本实施例与上述实施例具有相同的有益效果。
本申请实施例提供一种计算机可读介质,其上存储有计算机程序,其中,所述程序被处理器执行时实现如上述任一实施例所述的勋章显示方法。
需要说明的是,本申请上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备执行上述的勋章显示方法。
可以以一种或多种程序设计语言或其组合来编写用于执行本申请的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。 也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元/模块的名称在某种情况下并不构成对该单元本身的限定,例如,语音数据采集模块还可以被描述为“数据采集模块”。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本申请的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
需要说明的是,本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的系统或装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。
应当理解,在本申请中,“至少一个(项)”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,用于描述关联对象的关联关系,表示可以存在三种关系,例如,“A和/或B”可以表示:只存在A,只存在B以及同时存在A和B三种情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a,b,c,“a和b”,“a和c”,“b和c”,或“a和b和c”,其中a,b,c可以是单个,也可以是多个。
还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读 存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本申请。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。

Claims (20)

  1. 一种勋章显示方法,其特征在于,所述方法包括:
    确定第一用户被授予的勋章数量M;
    根据所述勋章数量确定显示模式,不同数量的勋章对应不同的显示模式;
    根据所确定的显示模式在所述第一用户的个人主页上展示所述第一用户的勋章信息。
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述勋章数量确定显示模式,包括如下中的任一项或多项:
    响应于M大于第一预设阈值,确定为第一显示模式,所述第一显示模式用于指示在所述个人主页上展示的勋章信息包括:所述第一预设阈值个勋章的勋章信息以及剩余数量,所述剩余数量是指所述勋章数量M减去所述第一预设阈值的数量;
    响应于M小于等于所述第一预设阈值且大于零,确定为第二显示模式,所述第二显示模式用于指示在所述个人主页上展示的勋章信息包括:所述M个勋章的勋章信息;
    响应于M为0时,确定为第三显示模式,所述第三显示模式用于指示在所述第一用户查看自己的个人主页时个人主页上展示的勋章信息包括:预设信息,以及在其他用户查看所述第一用户的个人主页时所述个人主页上不展示勋章信息。
  3. 根据权利要求2所述的方法,其特征在于,所述第一预设阈值大于等于1,所述响应于所述勋章数量小于等于所述第一预设阈值且大于零,确定为第二显示模式,包括:
    响应于M为1时,确定为第二显示模式,所述第二显示模式用于指示在所述个人主页上展示的勋章信息包括:勋章的图标以及勋章的名称。
  4. 根据权利要求2所述的方法,其特征在于,所述第一预设阈值大于1,所述响应于所述勋章数量小于等于所述第一预设阈值且大于零,确定为第二显示模式,包括:
    响应于M大于1且小于等于所述第一预设阈值,确定为第二显示模式,所述第二显示模式用于指示在所述个人主页上展示的勋章信息包括:所述M个勋章的图标。
  5. 根据权利要求2-4任一项所述的方法,其特征在于,所述第一预设阈值个勋章由所述第一用户预先设置,或所述第一预设阈值个勋章为所述第一用户最新被授予的勋章,或所述第一预设阈值个勋章为所述第一用户对应的即将失效的勋章。
  6. 根据权利要求1所述的方法,其特征在于,所述在所述第一用户的个人主页上展示所述第一用户的勋章信息包括:在所述第一用户的个人主页上的勋章墙入口组件上展示所述第一用户的勋章信息。
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:
    响应于对于所述勋章墙入口组件的触发操作,进入勋章墙页面,所述勋章墙页面用于展示所述M个勋章。
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括:
    响应于对于所述勋章墙页面上任一勋章的触发操作,进入所述勋章对应的详情页,所述详情页用于展示所述勋章的基本信息。
  9. 根据权利要求8所述的方法,其特征在于,所述勋章的基本信息包括至少以下一种:所述勋章的图标、勋章名称、勋章描述以及勋章的有效期。
  10. 根据权利要求9所述的方法,其特征在于,所述勋章的基本信息还包括历史信息, 所述历史信息用于指示所述第一用户获得过所述勋章的次数以及每次获得所述勋章的时间。
  11. 根据权利要求7-9任一项所述的方法,其特征在于,所述方法还包括:
    响应于进入所述勋章墙页面,对所述第一用户的头像进行居中显示。
  12. 根据权利与去7-9任一项所述的方法,其特征在于,所述方法还包括:
    响应于进入所述勋章墙页面,对背景进行虚化处理。
  13. 根据权利要求1-12任一项所述的方法,其特征在于,所述方法还包括:
    响应于所述第一用户的头像佩戴有第一勋章且第二用户触发所述第一用户的头像,显示勋章详情组件和查看头像组件,所述第一勋章为所述第一用户所获得的勋章中的任一勋章。
  14. 根据权利要求13所述的方法,其特征在于,所述方法还包括:
    响应于所述第二用户对于所述勋章详情组件的触发操作,进入所述第一勋章对应的详情页。
  15. 根据权利要求13或14所述的方法,其特征在于,所述方法还包括:
    响应于所述第一用户在自身对应的勋章墙页面中的选择操作,将所选择的第二勋章佩戴在所述第一用户的头像上。
  16. 根据权利要求1所述的方法,其特征在于,所述M个勋章是指尚处于有效期的勋章。
  17. 一种勋章显示装置,其特征在于,所述装置包括:
    第一确定单元,用于确定第一用户被授予的勋章数量M,该M个勋章是指尚处于有效期的勋章;
    第二确定单元,用于根据所述勋章数量确定显示模式,不同数量的勋章对应不同的显示模式;
    显示单元,用于根据所确定的显示模式在所述第一用户的个人主页上展示所述第一用户的勋章信息。
  18. 一种电子设备,所述设备包括:处理器和存储器;
    所述存储器,用于存储指令或计算机程序;
    所述处理器,用于执行所述存储器中的所述指令或计算机程序,以使得所述电子设备执行权利要求1-16任一项所述的勋章显示方法。
  19. 一种计算机可读存储介质,其特征在于,所述机算机可读存储介质中存储有指令,当所述指令在设备上运行时,使得所述设备执行权利要求1-16任一项所述的勋章显示方法。
  20. 一种计算机程序产品,其特征在于,所述计算机程序产品在设备上运行时,使得所述设备执行权利要求1-16任一项所述的勋章显示方法。
PCT/CN2022/126944 2021-10-26 2022-10-24 一种勋章显示方法、装置及设备 Ceased WO2023071970A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US18/574,648 US20240143895A1 (en) 2021-10-26 2022-10-24 Medal display method and apparatus, and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111250309.2A CN113900759A (zh) 2021-10-26 2021-10-26 一种勋章显示方法、装置及设备
CN202111250309.2 2021-10-26

Publications (1)

Publication Number Publication Date
WO2023071970A1 true WO2023071970A1 (zh) 2023-05-04

Family

ID=79027178

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/126944 Ceased WO2023071970A1 (zh) 2021-10-26 2022-10-24 一种勋章显示方法、装置及设备

Country Status (3)

Country Link
US (1) US20240143895A1 (zh)
CN (1) CN113900759A (zh)
WO (1) WO2023071970A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113900759A (zh) * 2021-10-26 2022-01-07 北京字跳网络技术有限公司 一种勋章显示方法、装置及设备
CN120547393A (zh) * 2025-05-07 2025-08-26 北京达佳互联信息技术有限公司 资源显示方法、装置、设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101241413A (zh) * 2007-02-07 2008-08-13 Lg电子株式会社 终端和菜单显示方法
CN103810188A (zh) * 2012-11-08 2014-05-21 腾讯科技(深圳)有限公司 一种微博用户行为评估方法和装置
CN112860148A (zh) * 2021-03-09 2021-05-28 腾讯科技(深圳)有限公司 勋章图标的编辑方法、装置、设备及计算机可读存储介质
CN113126851A (zh) * 2021-05-18 2021-07-16 维沃移动通信(杭州)有限公司 通知消息的展示方法和电子设备
CN113452932A (zh) * 2021-07-26 2021-09-28 青岛海信医疗设备股份有限公司 一种显示设备及显示方法
CN113900759A (zh) * 2021-10-26 2022-01-07 北京字跳网络技术有限公司 一种勋章显示方法、装置及设备

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111680231B (zh) * 2020-06-01 2024-09-06 广州方硅信息技术有限公司 用户荣誉信息展示方法、装置、客户端、服务器和介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101241413A (zh) * 2007-02-07 2008-08-13 Lg电子株式会社 终端和菜单显示方法
CN103810188A (zh) * 2012-11-08 2014-05-21 腾讯科技(深圳)有限公司 一种微博用户行为评估方法和装置
CN112860148A (zh) * 2021-03-09 2021-05-28 腾讯科技(深圳)有限公司 勋章图标的编辑方法、装置、设备及计算机可读存储介质
CN113126851A (zh) * 2021-05-18 2021-07-16 维沃移动通信(杭州)有限公司 通知消息的展示方法和电子设备
CN113452932A (zh) * 2021-07-26 2021-09-28 青岛海信医疗设备股份有限公司 一种显示设备及显示方法
CN113900759A (zh) * 2021-10-26 2022-01-07 北京字跳网络技术有限公司 一种勋章显示方法、装置及设备

Also Published As

Publication number Publication date
CN113900759A (zh) 2022-01-07
US20240143895A1 (en) 2024-05-02

Similar Documents

Publication Publication Date Title
JP6419993B2 (ja) 関連コンテンツを先見的に特定し、タッチ感知デバイス上に表面化させるためのシステム及び方法
CN112312225B (zh) 信息展示方法、装置、电子设备和可读介质
WO2022268177A1 (zh) 信息显示方法、装置和电子设备
CN110658961B (zh) 信息显示方法、装置和电子设备
WO2022267902A1 (zh) 一种日程分享方法、装置及设备
WO2025113305A1 (zh) 信息展示方法、装置、设备及存储介质
WO2023124906A1 (zh) 一种消息处理方法、装置、设备及介质
CN114363686A (zh) 多媒体内容的发布方法、装置、设备、介质和程序产品
US20230403413A1 (en) Method and apparatus for displaying online interaction, electronic device and computer readable medium
WO2023071970A1 (zh) 一种勋章显示方法、装置及设备
CN113220752A (zh) 展示方法、装置和电子设备
CN114064593A (zh) 一种文档共享方法、装置、设备及介质
CN111596995B (zh) 展示方法、装置和电子设备
CN114461114A (zh) 一种个人主页展示方法、装置及设备
CN114697285A (zh) 信息展示和信息发送方法、装置、设备、介质和产品
CN112307393A (zh) 信息发布方法、装置和电子设备
CN113032172A (zh) 异常检测方法、装置和电子设备
CN110633950B (zh) 一种任务信息处理方法、装置、电子设备及存储介质
CN112395022A (zh) 信息显示方法、装置、电子设备及计算机可读存储介质
WO2023155822A1 (zh) 会话的方法、装置、电子设备和存储介质
CN112214665A (zh) 内容展示方法、装置、电子设备及计算机可读存储介质
WO2026045525A1 (zh) 回复消息的显示方法、装置、电子设备、存储介质和程序产品
JP7788562B2 (ja) 群メンバー追加方法、装置、デバイス、及び媒体
CN112256221A (zh) 信息显示方法、装置和电子设备
WO2023284674A1 (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: 22885847

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 18574648

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

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

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

122 Ep: pct application non-entry in european phase

Ref document number: 22885847

Country of ref document: EP

Kind code of ref document: A1