WO2024027134A1 - Virtual keyboard presentation method and apparatus, and electronic device, storage medium and product - Google Patents

Virtual keyboard presentation method and apparatus, and electronic device, storage medium and product Download PDF

Info

Publication number
WO2024027134A1
WO2024027134A1 PCT/CN2023/076908 CN2023076908W WO2024027134A1 WO 2024027134 A1 WO2024027134 A1 WO 2024027134A1 CN 2023076908 W CN2023076908 W CN 2023076908W WO 2024027134 A1 WO2024027134 A1 WO 2024027134A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual keyboard
display mode
weather
time
mapping relationship
Prior art date
Application number
PCT/CN2023/076908
Other languages
French (fr)
Chinese (zh)
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 WO2024027134A1 publication Critical patent/WO2024027134A1/en

Links

Classifications

    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Definitions

  • the present disclosure relates to the field of computer technology, in particular to the field of virtual keyboard technology, and specifically to a virtual keyboard display method, device, electronic equipment, storage media and products.
  • the virtual keyboard input method is an intelligent virtual input device that can provide users with a more intelligent information experience during the input process.
  • the user triggers the virtual keyboard to display the keyboard interface.
  • the keyboard display interface cannot display richer information to users, and the product’s intelligent experience is poor.
  • the present disclosure provides a virtual keyboard display method, device, electronic equipment, storage media and products.
  • a virtual keyboard display method which method includes:
  • Obtain the interface display mode of the virtual keyboard obtain information corresponding to the interface display mode; and display the interface display mode on the virtual keyboard based on the information.
  • a virtual keyboard display device includes:
  • the acquisition module is used to obtain the interface display mode of the virtual keyboard; and obtain information corresponding to the interface display mode; the display module is used to display the interface display mode on the virtual keyboard based on the information.
  • an electronic device including:
  • At least one processor and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to The at least one processor is enabled to perform the method of the first aspect.
  • a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute according to the first methods described in this aspect.
  • a computer product comprising a computer program which, when executed by a processor, implements the method according to the first aspect.
  • Figure 1 is a schematic diagram of an application environment according to an embodiment of the present disclosure
  • Figure 2 shows a schematic flowchart of a virtual keyboard display method provided by an embodiment of the present disclosure
  • Figure 3 shows a schematic flowchart of a virtual keyboard weather display mode display method provided by an embodiment of the present disclosure
  • Figures 4 to 7 show schematic diagrams of a virtual keyboard displaying weather animation provided by an embodiment of the present disclosure
  • Figure 8 shows a schematic flowchart of a virtual keyboard time display mode display method provided by an embodiment of the present disclosure
  • Figure 9 shows a schematic flowchart of a method for determining a second mapping relationship provided by an embodiment of the present disclosure
  • Figures 10-13 show schematic diagrams of a virtual keyboard displaying colors provided by embodiments of the present disclosure
  • Figure 14 shows a schematic flowchart of a virtual keyboard contrast mode display method provided by an embodiment of the present disclosure
  • Figure 15 shows a schematic structural diagram of a virtual keyboard display device provided by an embodiment of the present disclosure
  • Figure 16 shows a schematic block diagram of an example electronic device 1600 that may be used to implement embodiments of the present disclosure.
  • the virtual keyboard input method is an intelligent virtual input device that can provide users with a more intelligent information experience during the input process.
  • the terminal screen uses a light sensor to automatically adjust the overall screen brightness or darkness. It will not be presented following the content in the application, and the brightness changes of the elements in the application will be adaptively adjusted, greatly reducing the input experience of the input method in extreme environments.
  • this application provides a virtual keyboard display method and device, which determines the set interface display mode of the virtual keyboard by detecting the triggering operation of the virtual keyboard.
  • information related to the interface display mode can be obtained, and the interface display mode can be displayed on the virtual keyboard in real time according to the obtained information, thereby enhancing the user's intelligent experience of the product and improving the favorability of the product.
  • the virtual keyboard display method provided by this application can be applied to the application environment as shown in Figure 1.
  • the terminal 101 communicates with the server 102 through the network.
  • the terminal 101 can be a device that applies a virtual keyboard
  • the server 102 can be a device that obtains information.
  • the terminal 101 can be, but is not limited to, various personal computers, laptops, smart phones, tablets, and portable wearable devices.
  • the server 102 can be implemented as an independent server or a server cluster composed of multiple servers.
  • Figure 2 shows a schematic flowchart of a virtual keyboard display method provided by an embodiment of the present disclosure. As shown in Figure 2, the method may include:
  • step S210 the interface display mode of the virtual keyboard is obtained.
  • the interface display mode may include one or more of a weather display mode, a time display mode, and a light adjustment mode.
  • Users can pre-set the interface display mode of the virtual keyboard based on the client.
  • step S220 information corresponding to the interface display mode is obtained.
  • the information may include at least one of current time, current ambient light brightness or contrast, and current weather.
  • the information to be obtained is determined according to the preset interface display mode of the virtual keyboard.
  • the required information is determined based on a preset interface display mode of the virtual keyboard.
  • the information that needs to be obtained includes the current weather and the current time.
  • the virtual keyboard can actively initiate a request to obtain required information through the client.
  • step S230 based on the information, the interface display mode is displayed on the virtual keyboard.
  • the mode that currently needs to be displayed is determined, so that the determined interface display mode is displayed in the virtual keyboard.
  • the virtual keyboard display method provided by the embodiment of the present disclosure can determine the interface display mode displayed on the virtual keyboard interface by obtaining information corresponding to the interface display mode. This can improve the fun of the virtual keyboard, enhance the user's intelligent experience of the product, and enhance the favorability of the product.
  • the information corresponding to the weather display mode is the current weather.
  • the weather display mode can be determined to be displayed on the virtual keyboard according to the current weather.
  • the following embodiment will describe determining to display the weather display mode on the virtual keyboard according to the current weather.
  • Figure 3 shows a virtual keyboard weather display mode display method provided by an embodiment of the present disclosure.
  • the flow diagram is shown in Figure 3.
  • the method may include:
  • step S310 the first mapping relationship included in the weather display mode is obtained.
  • the first mapping relationship is the mapping relationship between weather and weather animation
  • step S320 based on the first mapping relationship, determine the first weather animation corresponding to the current weather
  • step S330 the first weather animation is displayed suspended on the virtual keyboard.
  • weather animations corresponding to different weather conditions can be determined in advance, and the mapping relationship between different weather information and weather animations can be determined.
  • the present disclosure calls the mapping relationship between weather and weather animation a first mapping relationship.
  • the virtual keyboard is triggered, the current weather of the current geographical location is obtained, and based on the predetermined first mapping relationship, a weather animation corresponding to the current weather information of the current geographical location is determined.
  • the weather animation corresponding to the current weather information is called the first weather animation for convenience. Further, the determined first weather animation is displayed on the virtual keyboard.
  • weather animation can be raining, snowing and other weather animations.
  • the virtual keyboard can detect the user's operation on the virtual keyboard in real time. If the user's operation on the virtual keyboard is not detected within a preset time period, the determined first weather animation is displayed suspended on the virtual keyboard.
  • the preset time period can be understood as the waiting time after the user inputs text information.
  • the preset time period can be 2 seconds.
  • the virtual keyboard can actively initiate a current weather acquisition request, that is, the operation of obtaining the current weather is performed silently. And you can also adjust the frequency of connecting to the Internet to obtain the current weather. For example, you can set it to get the weather every 30 minutes, or you can get the weather every time you start the virtual keyboard.
  • the weather animation may be a predetermined video, a picture in gif format, etc.
  • the weather animation can be displayed suspended on the surface of the virtual keyboard or displayed behind the virtual keyboard.
  • the weather animation of the current weather can be displayed on the virtual keyboard in a vivid form by floating on the virtual keyboard, allowing users to intuitively obtain weather information while using the input method.
  • the weather animation provided by the present disclosure can be independently displayed in the virtual keyboard interface without conflicting with the background skin of the virtual keyboard.
  • the display of weather information can also be applied to products such as tool products and efficiency products.
  • FIGs 4 to 7 show a schematic diagram of a virtual keyboard displaying weather animation provided by an embodiment of the present disclosure.
  • the weather information includes sunny, foggy, rainy, and snowy. Based on the obtained weather information of the current geographical location, the corresponding weather animation is displayed on the virtual keyboard.
  • the present disclosure is based on a method for displaying weather animations on a virtual keyboard, which helps users quickly obtain weather information without disturbing user input, shortens the time and cost for users to obtain weather, can efficiently obtain an explicit perception experience, and improves user experience on the keyboard. Pleasure and intelligent and considerate feeling during use.
  • the display of the weather animation will be stopped.
  • the interface display mode is the time display mode
  • the information corresponding to the time display mode is the current time.
  • the time display mode is displayed on the virtual keyboard according to the current time.
  • the color matching extraction of time points in different physical worlds can be obtained by sensing time changes and using the atmosphere color, so that the interface display of the virtual keyboard can dynamically change along with the physical world.
  • an example of displaying a time display mode on a virtual keyboard according to the current time is as follows.
  • Figure 8 shows a schematic flowchart of a virtual keyboard time display mode display method provided by an embodiment of the present disclosure. As shown in Figure 8, the method may include:
  • step S810 the second mapping relationship in the time display mode is obtained.
  • the second mapping relationship is the mapping relationship between time and color style.
  • step S820 based on the second mapping relationship, the first color pattern corresponding to the current time is determined.
  • step S830 the first color pattern is displayed on the virtual keyboard.
  • the color pattern corresponding to each time point can be determined in advance to obtain a second mapping relationship between time and color pattern.
  • the second mapping relationship may be continuous or segmented.
  • a first color pattern corresponding to the current time is determined, and the determined first color pattern is displayed on the virtual keyboard.
  • the color change mode provided by the present disclosure can dynamically change following the current time, so that the color pattern of the virtual keyboard corresponds to the perception of the physical world in time, so that the visual perception of the product can be improved. Perceive a greater sense of immersion and enhance the overall page reading atmosphere of the product. Furthermore, it can also improve the user's smart experience and pleasure, and enhance the user's favorability for the virtual keyboard.
  • Figure 9 shows a schematic flowchart of a method for determining a second mapping relationship provided by an embodiment of the present disclosure. As shown in Figure 9, the method may include:
  • step S910 one day is divided into a plurality of first time periods, and a corresponding main color is determined for each first time period.
  • step S920 the first time period is divided according to specified time intervals to obtain multiple second time periods.
  • step S930 a color pattern corresponding to each second time period is determined based on the main color, and a second mapping relationship between time information and color patterns is obtained.
  • one day may be divided into a plurality of first time periods.
  • Figures 10-13 show a schematic diagram of a virtual keyboard displaying colors provided by an embodiment of the present disclosure. As shown in Figures 10-13, 7 am to 12 am is one of the times in the first time period. period, 12 o'clock to 17 o'clock is one of the time periods of the first time period, 17 o'clock to 20 o'clock is one of the time periods of the first time period, etc. Of course, this is only a distance description and does not specifically limit the present disclosure.
  • the corresponding main color can also be determined for each first time, as shown in Figures 10-13.
  • the first time period may also be divided according to specified time intervals.
  • the time interval may be 5 minutes.
  • multiple second time periods are obtained. It can be understood that in the present disclosure, the length of the second time period is shorter than the length of the first time period.
  • corresponding color patterns are determined for the plurality of second time periods corresponding to each first time period.
  • the page where the user is located at each time period will be full of surprise and immersion, enhancing the user's brand pleasure experience. Promote product reputation and conversion.
  • segment 7 o'clock to 12 o'clock to obtain multiple second time periods every 5 minutes.
  • the main color from 7 o'clock to 12 o'clock is cyan blue
  • the colors corresponding to multiple second time periods can be It follows the time, from 7 o'clock to 12 o'clock, the color of cyan blue changes from dark to light. In this way, the color of each time period in the physical world echoes the color of each time period of the virtual keyboard, improving the perception and immersion of the product's intelligent experience.
  • the interface display mode is the light adjustment mode
  • the information corresponding to the light adjustment mode is the current ambient light brightness or contrast. Then, based on the current ambient light brightness or contrast, the light adjustment mode is displayed on the virtual keyboard.
  • the light adjustment mode may be to adjust the contrast between keys, background, and characters in the virtual keyboard.
  • the brightness of each element displayed in the input virtual keyboard can be automatically adjusted by sensing the intensity of external light (i.e., brightness), so that the contrast between keys, backgrounds, characters, etc. in the virtual keyboard is improved, thereby Improve the recognition of elements in the keyboard and the accuracy of input, giving users a very comfortable experience.
  • the intensity of external light i.e., brightness
  • the light intensity can be classified in advance according to the actual situation and user experience.
  • the corresponding contrast is determined for the light intensity corresponding to each level, and the contrast between the keys, background, and characters in the virtual keyboard is adjusted according to the contrast. Or, directly adjust the contrast between keys, background, and characters in the virtual keyboard according to the determined contrast.
  • the virtual keyboard can obtain the current ambient light brightness through a light sensor, where the light sensor can also be called an ambient light sensor.
  • the light sensor is mainly composed of two components: a light emitter and a light receiver. It can focus the light in the environment and transmit it to the receiver through the emitter.
  • the photoreceiver can convert various optical signals into corresponding electrical signals based on the photoelectric effect, and then further process them into various switches and control actions to achieve precise photosensitivity adjustment.
  • the present disclosure can obtain the current ambient light brightness every once in a while through a light sensor, and determine the contrast based on the obtained current ambient light brightness, or directly obtain the contrast. Therefore, based on the determined contrast, the contrast between the keys, background, and characters in the virtual keyboard is adjusted, and the brightness of the keys, background, and characters in the virtual keyboard is further adjusted.
  • Figure 14 shows a schematic diagram of a virtual keyboard contrast mode display provided by an embodiment of the present disclosure.
  • the contrast corresponding to the low-light environment is determined, thereby adjusting the contrast between the keys, background, and characters in the virtual keyboard to make a clear contrast with the light in the indoor environment. difference.
  • the contrast corresponding to the strong light environment is determined, thereby adjusting the contrast between the keys, background, and characters in the virtual keyboard.
  • the colors of keys, background, and characters in the virtual keyboard can be adjusted to Achieve contrast adjustment. You can also adjust the contrast by adjusting the colors, drawings, and styles of the keys, background, and characters in the virtual keyboard.
  • the virtual keyboard automatically adjusts the brightness of keys, backgrounds, and characters, it can also display weather animations of the current weather on the virtual keyboard.
  • Figure 15 shows a schematic structural diagram of a virtual keyboard display device provided by an embodiment of the present disclosure.
  • the virtual keyboard display device 1500 may include:
  • the acquisition module 1501 is used to obtain the interface display mode of the virtual keyboard; and obtain information corresponding to the interface display mode; the display module 1502 is used to display the interface display mode on the virtual keyboard based on the information.
  • the interface display mode is a weather display mode, and the information corresponding to the weather display mode is the current weather;
  • the display module 1501 is configured to display the weather display mode on the virtual keyboard according to the current weather.
  • the display module 1501 is used to obtain the first mapping relationship included in the weather display mode.
  • the first mapping relationship is the mapping relationship between weather and weather animation; based on the first mapping relationship , determine the first weather animation corresponding to the current weather; and display the first weather animation suspended on the virtual keyboard.
  • the floating display of the first weather animation on the virtual keyboard includes, in response to no operation on the virtual keyboard being detected within a preset time period, displaying the first weather animation on the virtual keyboard.
  • the first weather animation is displayed in suspension.
  • the display module is further configured to stop displaying the first weather animation in response to detecting an operation on the virtual keyboard.
  • the interface display mode is a time display mode, and the information corresponding to the time display mode is the current time;
  • the presentation module 1501 is used to display the presentation on the virtual keyboard according to the current time. Time display mode.
  • the display module 1501 is used to obtain a second mapping relationship in the time display mode, where the second mapping relationship is a mapping relationship between time and color style; based on the second mapping relationship , determine the first color pattern corresponding to the current time; display the first color pattern on the virtual keyboard.
  • the second mapping relationship is determined as follows:
  • the interface display mode is a light adjustment mode
  • the information corresponding to the light adjustment mode is the current ambient light brightness or contrast
  • the display module 1501 is configured to display the light adjustment mode on the virtual keyboard according to the current ambient light brightness or contrast.
  • the contrast is the contrast between keys, background, and characters in the virtual keyboard.
  • the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.
  • FIG 16 shows a schematic block diagram of an example electronic device 1600 that may be used to implement embodiments of the present disclosure.
  • Electronic devices are intended to refer to various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers.
  • Electronic devices may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices, and other similar computing devices.
  • the components shown herein, their connections and relationships, and their functions are examples only and are not intended to limit implementations of the disclosure described and/or claimed herein.
  • the device 1600 includes a computing unit 1601 that can execute according to a computer program stored in a read-only memory (ROM) 1602 or loaded from a storage unit 1608 into a random access memory (RAM) 1603. Various appropriate actions and treatments. In the RAM 1603, various programs and data required for the operation of the device 1600 may also be stored.
  • Computing unit 1601, ROM 1602 and RAM 1603 are connected to each other via bus 1604.
  • An input/output (I/O) interface 1605 is also connected to bus 1604.
  • I/O interface 1605 Multiple components in the device 1600 are connected to the I/O interface 1605, including: input unit 1606, such as a keyboard, mouse, etc.; output unit 1607, such as various types of displays, speakers, etc.; storage unit 1608, such as a magnetic disk, optical disk, etc. ; and communication unit 1609, such as a network card, modem, wireless communication transceiver, etc.
  • the communication unit 1609 allows the device 1600 to exchange information/data with other devices through computer networks such as the Internet and/or various telecommunications networks.
  • Computing unit 1601 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing units 1601 include, but are not limited to, central processing units (CPUs), graphics processing units (GPUs), various dedicated artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, digital signal processing processor (DSP), and any appropriate processor, controller, microcontroller, etc.
  • the computing unit 1601 performs various methods and processes described above, such as the virtual keyboard display method.
  • the virtual keyboard presentation method may be implemented as a computer software program that is tangibly included in a machine-readable medium, such as the storage unit 1608.
  • part or all of the computer program may be loaded and/or installed onto device 1600 via ROM 1602 and/or communication unit 1609.
  • the computer program When the computer program is loaded into the RAM 1603 and executed by the computing unit 1601, one or more steps of the virtual keyboard presentation method described above may be performed.
  • the computing unit 1601 may be configured to perform the virtual keyboard presentation method in any other suitable manner (eg, by means of firmware).
  • Various implementations of the systems and techniques described above may be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip implemented in a system (SOC), load programmable logic device (CPLD), computer hardware, firmware, software, and/or a combination thereof.
  • FPGAs field programmable gate arrays
  • ASICs application specific integrated circuits
  • ASSPs application specific standard products
  • SOC system
  • CPLD load programmable logic device
  • computer hardware firmware, software, and/or a combination thereof.
  • These various embodiments may include implementation in one or more computer programs executable and/or interpreted on a programmable system including at least one programmable processor, the programmable processor
  • the processor which may be a special purpose or general purpose programmable processor, may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
  • An output device may be a special purpose or general purpose programmable processor, may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
  • An output device may be a special purpose or general purpose programmable processor, may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
  • Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing device, such that the program codes, when executed by the processor or controller, cause the functions specified in the flowcharts and/or block diagrams/ The operation is implemented.
  • the program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with an instruction execution system, apparatus, or device.
  • the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any suitable combination of the foregoing.
  • machine-readable storage media would include one or more wire-based electrical connections, laptop disks, hard drives, 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.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory erasable programmable read only memory
  • CD-ROM portable compact disk read-only memory
  • magnetic storage device or any suitable combination of the above.
  • the systems and techniques described herein may be implemented on a computer having a display device (eg, a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user ); and a keyboard and pointing device (eg, a mouse or a trackball) through which a user can provide input to the computer.
  • a display device eg, a CRT (cathode ray tube) or LCD (liquid crystal display) monitor
  • a keyboard and pointing device eg, a mouse or a trackball
  • Other kinds of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and may be provided in any form, including Acoustic input, voice input or tactile input) to receive input from the user.
  • the systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., A user's computer having a graphical user interface or web browser through which the user can interact with implementations of the systems and technologies described herein), or including such backend components, middleware components, or any combination of front-end components in a computing system.
  • the components of the system may be interconnected by any form or medium of digital data communication (eg, a communications network). Examples of communication networks include: local area network (LAN), wide area network (WAN), and the Internet.
  • Computer systems may include clients and servers.
  • Clients and servers are generally remote from each other and typically interact over a communications network.
  • the relationship of client and server is created by computer programs running on corresponding computers and having a client-server relationship with each other.
  • the server can be a cloud server, a distributed system server, or a server combined with a blockchain.

Abstract

The present disclosure relates to the technical field of computers, and in particular to the technical field of virtual keyboards. Provided are a virtual keyboard presentation method and apparatus, and a storage medium, an electronic device and a product. The specific implementation solution involves: acquiring an interface display mode of a virtual keyboard; acquiring information corresponding to the interface display mode; and presenting the interface display mode on the virtual keyboard on the basis of the information. By means of the present disclosure, the display of a virtual keyboard can be more intelligent, and the experience and feeling of intelligence of a user with respect to the virtual keyboard can be enhanced.

Description

虚拟键盘展示方法、装置、电子设备、存储介质及产品Virtual keyboard display method, device, electronic equipment, storage medium and product 技术领域Technical field
本公开涉及计算机技术领域,尤其涉及虚拟键盘技术领域,具体涉及一种虚拟键盘展示方法、装置、电子设备、存储介质及产品。The present disclosure relates to the field of computer technology, in particular to the field of virtual keyboard technology, and specifically to a virtual keyboard display method, device, electronic equipment, storage media and products.
背景技术Background technique
虚拟键盘输入法是一种智能化虚拟输入装置,可以为用户在输入过程中提供感受到更加智能的信息体验感知。The virtual keyboard input method is an intelligent virtual input device that can provide users with a more intelligent information experience during the input process.
相关技术中,用户触发启动虚拟键盘,显示键盘界面。但是在键盘的显示界面中,无法为用户展示更丰富的信息,产品的智能体验感受差。In the related technology, the user triggers the virtual keyboard to display the keyboard interface. However, the keyboard display interface cannot display richer information to users, and the product’s intelligent experience is poor.
发明内容Contents of the invention
本公开提供了一种虚拟键盘展示方法、装置、电子设备、存储介质及产品。The present disclosure provides a virtual keyboard display method, device, electronic equipment, storage media and products.
根据本公开的第一方面,提供了一种虚拟键盘展示方法,所述方法包括:According to a first aspect of the present disclosure, a virtual keyboard display method is provided, which method includes:
获取虚拟键盘的界面显示模式;获取与所述界面显示模式对应的信息;基于所述信息,在虚拟键盘上展示所述界面显示模式。Obtain the interface display mode of the virtual keyboard; obtain information corresponding to the interface display mode; and display the interface display mode on the virtual keyboard based on the information.
根据本公开的第二方面,提供了一种虚拟键盘展示装置,所述装置包括:According to a second aspect of the present disclosure, a virtual keyboard display device is provided, and the device includes:
获取模块,用于获取虚拟键盘的界面显示模式;并获取与所述界面显示模式对应的信息;展示模块,用于基于所述信息,在虚拟键盘上展示所述界面显示模式。The acquisition module is used to obtain the interface display mode of the virtual keyboard; and obtain information corresponding to the interface display mode; the display module is used to display the interface display mode on the virtual keyboard based on the information.
根据本公开的第三方面,提供了一种电子设备,包括:According to a third aspect of the present disclosure, an electronic device is provided, including:
至少一个处理器;以及与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行第一方面所述的方法。at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to The at least one processor is enabled to perform the method of the first aspect.
根据本公开的第四方面,提供了一种存储有计算机指令的非瞬时计算机可读存储介质,其中,所述计算机指令用于使所述计算机执行根据第一 方面所述的方法。According to a fourth aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute according to the first methods described in this aspect.
根据本公开的第五方面,提供了一种计算机产品,包括计算机程序,所述计算机程序在被处理器执行时实现根据第一方面所述的方法。According to a fifth aspect of the present disclosure, there is provided a computer product comprising a computer program which, when executed by a processor, implements the method according to the first aspect.
应当理解,本部分所描述的内容并非旨在标识本公开的实施例的关键或重要特征,也不用于限制本公开的范围。本公开的其它特征将通过以下的说明书而变得容易理解。It should be understood that what is described in this section is not intended to identify key or important features of the embodiments of the disclosure, nor is it intended to limit the scope of the disclosure. Other features of the present disclosure will become readily understood from the following description.
附图说明Description of drawings
附图用于更好地理解本方案,不构成对本公开的限定。其中:The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure. in:
图1是根据本公开实施例的应用环境示意图;Figure 1 is a schematic diagram of an application environment according to an embodiment of the present disclosure;
图2示出了本公开实施例提供的一种虚拟键盘展示方法的流程示意图;Figure 2 shows a schematic flowchart of a virtual keyboard display method provided by an embodiment of the present disclosure;
图3示出了本公开实施例提供的一种虚拟键盘天气显示模式展示方法的流程示意图;Figure 3 shows a schematic flowchart of a virtual keyboard weather display mode display method provided by an embodiment of the present disclosure;
图4-图7示出了本公开实施例提供的一种虚拟键盘展示天气动画的示意图;Figures 4 to 7 show schematic diagrams of a virtual keyboard displaying weather animation provided by an embodiment of the present disclosure;
图8示出了本公开实施例提供的一种虚拟键盘时间显示模式展示方法的流程示意图;Figure 8 shows a schematic flowchart of a virtual keyboard time display mode display method provided by an embodiment of the present disclosure;
图9示出了本公开实施例提供的一种确定第二映射关系的方法的流程示意图;Figure 9 shows a schematic flowchart of a method for determining a second mapping relationship provided by an embodiment of the present disclosure;
图10-图13示出了本公开实施例提供的一种虚拟键盘展示色彩的示意图;Figures 10-13 show schematic diagrams of a virtual keyboard displaying colors provided by embodiments of the present disclosure;
图14示出了本公开实施例提供的一种虚拟键盘对比度模式展示方法的流程示意图;Figure 14 shows a schematic flowchart of a virtual keyboard contrast mode display method provided by an embodiment of the present disclosure;
图15示出了本公开实施例提供的一种虚拟键盘展示装置的结构示意图;Figure 15 shows a schematic structural diagram of a virtual keyboard display device provided by an embodiment of the present disclosure;
图16示出了可以用来实施本公开的实施例的示例电子设备1600的示意性框图。Figure 16 shows a schematic block diagram of an example electronic device 1600 that may be used to implement embodiments of the present disclosure.
具体实施方式Detailed ways
以下结合附图对本公开的示范性实施例做出说明,其中包括本公开实 施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本公开的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, including Various details of the embodiments are provided to facilitate understanding and should be considered as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the disclosure. Also, descriptions of well-known functions and constructions are omitted from the following description for clarity and conciseness.
虚拟键盘输入法是一种智能化虚拟输入装置,可以为用户在输入过程中提供感受到更加智能的信息体验感知。The virtual keyboard input method is an intelligent virtual input device that can provide users with a more intelligent information experience during the input process.
相关技术中,可以提供个性化的换肤操作,在视觉呈现中画面的氛围感知不明确,页面体验的沉浸感略差。In related technologies, personalized skin-changing operations can be provided. In the visual presentation, the atmosphere of the picture is not clear, and the immersion of the page experience is slightly poor.
但是不能对自身的亮度进行调节,只能跟随应用虚拟键盘的系统进行亮度的统一调节。例如,终端屏幕利用光线传感器,自动调节针对整体屏幕亮度或者暗度的调整。不会跟随应用内的内容进行呈现,自适应调整应用内元素的亮度变化,极大的降低输入法在极限环境下的输入体验。However, it cannot adjust its own brightness, and can only follow the system that uses the virtual keyboard to adjust the brightness uniformly. For example, the terminal screen uses a light sensor to automatically adjust the overall screen brightness or darkness. It will not be presented following the content in the application, and the brightness changes of the elements in the application will be adaptively adjusted, greatly reducing the input experience of the input method in extreme environments.
并且相关技术中,获取天气的信息,需要点击键盘搜索按钮进行天气查询,然后再进行输入,键盘与天气查询需要来回切换,操作不便。And in related technologies, to obtain weather information, you need to click the keyboard search button to query the weather, and then perform input. The keyboard and weather query need to be switched back and forth, which is inconvenient to operate.
针对上述问题,本申请提供一种虚拟键盘展示方法和装置,通过检测对虚拟键盘的触发操作,确定设置的虚拟键盘的界面显示模式。从而可以获取到与界面显示模式相关的信息,根据获取的信息实时在虚拟键盘上展示所述界面显示模式,增强用户针对产品的智能体验感受,提升产品的好感度。In response to the above problems, this application provides a virtual keyboard display method and device, which determines the set interface display mode of the virtual keyboard by detecting the triggering operation of the virtual keyboard. Thus, information related to the interface display mode can be obtained, and the interface display mode can be displayed on the virtual keyboard in real time according to the obtained information, thereby enhancing the user's intelligent experience of the product and improving the favorability of the product.
本申请提供的虚拟键盘展示方法,可以应用于如图1所示的应用环境中。其中,终端101通过网络与服务器102通过网络进行通信。终端101可以是应用虚拟键盘的设备,服务器102可以是获取信息的装置。其中,终端101可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备,服务器102可以用独立的服务器或者是多个服务器组成的服务器集群来实现。The virtual keyboard display method provided by this application can be applied to the application environment as shown in Figure 1. Among them, the terminal 101 communicates with the server 102 through the network. The terminal 101 can be a device that applies a virtual keyboard, and the server 102 can be a device that obtains information. The terminal 101 can be, but is not limited to, various personal computers, laptops, smart phones, tablets, and portable wearable devices. The server 102 can be implemented as an independent server or a server cluster composed of multiple servers.
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开的实施例能够以除了在这里图示或描述的那些以外的顺序实施。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方 面相一致的装置和方法的例子。It should be noted that the terms "first", "second", etc. in the description and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the disclosure described herein can be practiced in sequences other than those illustrated or described herein. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present disclosure. Rather, they are merely related to aspects of the disclosure as detailed in the appended claims. Examples of consistent devices and methods.
图2示出了本公开实施例提供的一种虚拟键盘展示方法的流程示意图,如图2中所示,该方法可以包括:Figure 2 shows a schematic flowchart of a virtual keyboard display method provided by an embodiment of the present disclosure. As shown in Figure 2, the method may include:
在步骤S210中,获取虚拟键盘的界面显示模式。In step S210, the interface display mode of the virtual keyboard is obtained.
在本公开实施例中,界面显示模式可以包括天气显示模式、时间显示模式、光线调节模式中的一种或多种。In embodiments of the present disclosure, the interface display mode may include one or more of a weather display mode, a time display mode, and a light adjustment mode.
用户可以基于客户端,预先设置虚拟键盘的界面显示模式。Users can pre-set the interface display mode of the virtual keyboard based on the client.
在步骤S220中,获取与界面显示模式对应的信息。In step S220, information corresponding to the interface display mode is obtained.
其中,信息可以包括当前时间、当前环境光线亮度或对比度、当前天气中的至少一种信息。The information may include at least one of current time, current ambient light brightness or contrast, and current weather.
在本公开实施例中,检测到对虚拟键盘的触发操作,则根据预先设置的虚拟键盘的界面显示模式,确定待获取的信息。In the embodiment of the present disclosure, when a trigger operation on the virtual keyboard is detected, the information to be obtained is determined according to the preset interface display mode of the virtual keyboard.
在本公开中,所需的信息基于预设的虚拟键盘的界面显示模式确定。In the present disclosure, the required information is determined based on a preset interface display mode of the virtual keyboard.
例如,虚拟键盘预设的界面显示模式包括天气显示模式和时间显示模式,则需要获取的信息包括当前天气和当前时间。For example, if the preset interface display mode of the virtual keyboard includes a weather display mode and a time display mode, the information that needs to be obtained includes the current weather and the current time.
在本公开中,虚拟键盘可以主动发起请求,以通过客户端获取所需的信息。In the present disclosure, the virtual keyboard can actively initiate a request to obtain required information through the client.
在步骤S230中,基于信息,在虚拟键盘上展示界面显示模式。In step S230, based on the information, the interface display mode is displayed on the virtual keyboard.
在本公开实施例中,基于获取的信息,在预设的界面显示模式中,确定当前需要展示的模式,从而在虚拟键盘中展示确定的界面显示模式。In the embodiment of the present disclosure, based on the obtained information, in the preset interface display mode, the mode that currently needs to be displayed is determined, so that the determined interface display mode is displayed in the virtual keyboard.
本公开实施例提供的虚拟键盘展示方法,可以通过获取与界面显示模式相应的信息,来确定展示在虚拟键盘界面的界面显示模式。从而可以提高虚拟键盘的趣味性,增强用户针对产品的智能体验感受,提升产品的好感度。The virtual keyboard display method provided by the embodiment of the present disclosure can determine the interface display mode displayed on the virtual keyboard interface by obtaining information corresponding to the interface display mode. This can improve the fun of the virtual keyboard, enhance the user's intelligent experience of the product, and enhance the favorability of the product.
在本公开一示例性实施例中,若界面显示模式是天气显示模式,则与天气显示模式对应的信息是当前天气。In an exemplary embodiment of the present disclosure, if the interface display mode is the weather display mode, the information corresponding to the weather display mode is the current weather.
可以根据当前天气,确定在虚拟键盘上展示天气显示模式。The weather display mode can be determined to be displayed on the virtual keyboard according to the current weather.
下述实施例将对根据当前天气,确定在虚拟键盘上展示天气显示模式进行说明。The following embodiment will describe determining to display the weather display mode on the virtual keyboard according to the current weather.
图3示出了本公开实施例提供的一种虚拟键盘天气显示模式展示方法 的流程示意图,如图3中所示,该方法可以包括:Figure 3 shows a virtual keyboard weather display mode display method provided by an embodiment of the present disclosure. The flow diagram is shown in Figure 3. The method may include:
在步骤S310中,获取天气显示模式包括的第一映射关系。In step S310, the first mapping relationship included in the weather display mode is obtained.
其中,第一映射关系为天气与天气动画的映射关系;Among them, the first mapping relationship is the mapping relationship between weather and weather animation;
在步骤S320中,基于第一映射关系,确定与当前天气对应的第一天气动画;In step S320, based on the first mapping relationship, determine the first weather animation corresponding to the current weather;
在步骤S330中,在虚拟键盘上悬浮展示第一天气动画。In step S330, the first weather animation is displayed suspended on the virtual keyboard.
在本公开中,可以预先确定不同天气对应的天气动画,并确定不同天气信息与天气动画的映射关系。本公开为便于描述,将天气与天气动画之间的映射关系称为第一映射关系。In the present disclosure, weather animations corresponding to different weather conditions can be determined in advance, and the mapping relationship between different weather information and weather animations can be determined. For convenience of description, the present disclosure calls the mapping relationship between weather and weather animation a first mapping relationship.
检测到虚拟键盘被触发,获取当前地理位置的当前天气,并基于预先确定的第一映射关系,确定与当前地理位置的当前天气信息对应的天气动画。本公开为便于区分与当前天气信息对应的天气动画称为第一天气动画。进一步,在虚拟键盘上展示确定的第一天气动画。It is detected that the virtual keyboard is triggered, the current weather of the current geographical location is obtained, and based on the predetermined first mapping relationship, a weather animation corresponding to the current weather information of the current geographical location is determined. In this disclosure, the weather animation corresponding to the current weather information is called the first weather animation for convenience. Further, the determined first weather animation is displayed on the virtual keyboard.
其中,天气动画化可以是下雨,下雪等天气动画。Among them, weather animation can be raining, snowing and other weather animations.
在本公开中,虚拟键盘可以实时检测用户对虚拟键盘的操作,若在预设时间段内,未检测到用户对虚拟键盘的操作,则在虚拟键盘上悬浮展示确定的第一天气动画。预设时间段可以理解为是用户输入文本信息后的等待时间,例如,预设时间段可以是2s。In the present disclosure, the virtual keyboard can detect the user's operation on the virtual keyboard in real time. If the user's operation on the virtual keyboard is not detected within a preset time period, the determined first weather animation is displayed suspended on the virtual keyboard. The preset time period can be understood as the waiting time after the user inputs text information. For example, the preset time period can be 2 seconds.
在本公开实施例中,虚拟键盘可以主动发起当前天气获取请求,即,获取当前天气的操作是静默进行的。并且还可以调整联网获取当前天气的频率。比如,可以设置每30分钟获取一次天气,也可以每次启动虚拟键盘,则获取一次天气。In the embodiment of the present disclosure, the virtual keyboard can actively initiate a current weather acquisition request, that is, the operation of obtaining the current weather is performed silently. And you can also adjust the frequency of connecting to the Internet to obtain the current weather. For example, you can set it to get the weather every 30 minutes, or you can get the weather every time you start the virtual keyboard.
在本公开中,天气动画可以是预先确定的视频,gif格式的图片等。该天气动画可以悬浮展示于虚拟键盘的表面,也可以展示于虚拟键盘的后面。In the present disclosure, the weather animation may be a predetermined video, a picture in gif format, etc. The weather animation can be displayed suspended on the surface of the virtual keyboard or displayed behind the virtual keyboard.
通过在虚拟键盘中展示当前地理位置的当前天气,可以减少用户获取天气的操作。悬浮展示于虚拟键盘上,可以生动的形式将当前天气的天气动画展示在虚拟键盘上,使得用户在使用输入法的同时直观获取了天气信息。并且本公开提供的天气动画可以独立悬浮显示于虚拟键盘的界面中,不与虚拟键盘的背景皮肤相悖。By displaying the current weather of the current geographical location in the virtual keyboard, the user's operations to obtain the weather can be reduced. The weather animation of the current weather can be displayed on the virtual keyboard in a vivid form by floating on the virtual keyboard, allowing users to intuitively obtain weather information while using the input method. Moreover, the weather animation provided by the present disclosure can be independently displayed in the virtual keyboard interface without conflicting with the background skin of the virtual keyboard.
需要说明的是,天气信息的展示,还可以应用于工具产品,效率产品等产品中。 It should be noted that the display of weather information can also be applied to products such as tool products and efficiency products.
图4-图7示出了本公开实施例提供的一种虚拟键盘展示天气动画的示意图,如图4-图7中所示,天气信息包括晴、雾、雨、雪。根据获取的当前地理位置的天气信息,在虚拟键盘上展示对应的天气动画。Figures 4 to 7 show a schematic diagram of a virtual keyboard displaying weather animation provided by an embodiment of the present disclosure. As shown in Figures 4 to 7, the weather information includes sunny, foggy, rainy, and snowy. Based on the obtained weather information of the current geographical location, the corresponding weather animation is displayed on the virtual keyboard.
本公开基于虚拟键盘展示天气动画的方法,在不打扰用户输入的情况下,帮助用户快速获取天气信息,缩短用户获取天气的时间成本,能够效率地获取显性化的感知体验,提升用户在键盘使用中的愉悦感与智能贴心感受。The present disclosure is based on a method for displaying weather animations on a virtual keyboard, which helps users quickly obtain weather information without disturbing user input, shortens the time and cost for users to obtain weather, can efficiently obtain an explicit perception experience, and improves user experience on the keyboard. Pleasure and intelligent and considerate feeling during use.
在本公开实施例中,在虚拟键盘展示天气动画过程中,检测到用户对虚拟键盘的操作,则停止展示天气动画。In the embodiment of the present disclosure, during the process of displaying the weather animation on the virtual keyboard, if the user's operation on the virtual keyboard is detected, the display of the weather animation will be stopped.
本公开另一示例性实施例中,若界面显示模式为时间显示模式,与时间显示模式对应的信息为当前时间。从而根据当前时间,在虚拟键盘上展示时间显示模式。In another exemplary embodiment of the present disclosure, if the interface display mode is the time display mode, the information corresponding to the time display mode is the current time. Thus, the time display mode is displayed on the virtual keyboard according to the current time.
在本公开中,可以通过感知时间变化,利用氛围颜色获取不同物理世界中的时间点色彩配色提取,使得虚拟键盘的界面显示可以跟随物理世界一起发生动态变化。In the present disclosure, the color matching extraction of time points in different physical worlds can be obtained by sensing time changes and using the atmosphere color, so that the interface display of the virtual keyboard can dynamically change along with the physical world.
在本公开实施例中,根据当前时间,在虚拟键盘上展示时间显示模式的实施例如下。In an embodiment of the present disclosure, an example of displaying a time display mode on a virtual keyboard according to the current time is as follows.
图8示出了本公开实施例提供的一种虚拟键盘时间显示模式展示方法的流程示意图,如图8中所示,该方法可以包括:Figure 8 shows a schematic flowchart of a virtual keyboard time display mode display method provided by an embodiment of the present disclosure. As shown in Figure 8, the method may include:
在步骤S810中,获取时间显示模式中的第二映射关系。In step S810, the second mapping relationship in the time display mode is obtained.
其中,第二映射关系为时间与色彩样式的映射关系。Wherein, the second mapping relationship is the mapping relationship between time and color style.
在步骤S820中,基于第二映射关系,确定与当前时间对应的第一色彩样式。In step S820, based on the second mapping relationship, the first color pattern corresponding to the current time is determined.
在步骤S830中,在虚拟键盘上展示第一色彩样式。In step S830, the first color pattern is displayed on the virtual keyboard.
在本公开实施例中,可以预先确定各个时间点对应的色彩样式,得到时间与色彩样式的第二映射关系。其中,第二映射关系可以是连续式的,也可以式分段式的。In the embodiment of the present disclosure, the color pattern corresponding to each time point can be determined in advance to obtain a second mapping relationship between time and color pattern. The second mapping relationship may be continuous or segmented.
根据确定的第二映射关系,确定出与当前时间对应的第一色彩样式,将确定的第一色彩样式,展示在虚拟键盘上。According to the determined second mapping relationship, a first color pattern corresponding to the current time is determined, and the determined first color pattern is displayed on the virtual keyboard.
本公开提供的色彩变化模式,可以跟随当前的时间发生动态变化,使得虚拟键盘的色彩样式与物理世界的感知进行时间的对应,让产品的视觉 感知更具的沉浸感,提升产品整体的页面阅读氛围。进一步还可以提升用户的智能体验感受与愉悦感,增强用户对于虚拟键盘的好感度。The color change mode provided by the present disclosure can dynamically change following the current time, so that the color pattern of the virtual keyboard corresponds to the perception of the physical world in time, so that the visual perception of the product can be improved. Perceive a greater sense of immersion and enhance the overall page reading atmosphere of the product. Furthermore, it can also improve the user's smart experience and pleasure, and enhance the user's favorability for the virtual keyboard.
可以理解的是,该色彩变化模式还可以应用于虚拟键盘应用等其他应用的背景中。It is understood that this color change mode can also be applied to the background of other applications such as virtual keyboard applications.
在本公开实施例中,对于第二映射关系的确定,可以采用下述实施方式。In this embodiment of the present disclosure, for determining the second mapping relationship, the following implementation manner may be adopted.
图9示出了本公开实施例提供的一种确定第二映射关系的方法的流程示意图,如图9中所示,该方法可以包括:Figure 9 shows a schematic flowchart of a method for determining a second mapping relationship provided by an embodiment of the present disclosure. As shown in Figure 9, the method may include:
在步骤S910中,将一天划分为多个第一时间段,并为每个第一时间段确定对应的主色彩颜色。In step S910, one day is divided into a plurality of first time periods, and a corresponding main color is determined for each first time period.
在步骤S920中,将第一时间段按照指定的时间间隔进行划分,得到多个第二时间段。In step S920, the first time period is divided according to specified time intervals to obtain multiple second time periods.
在步骤S930中,基于主色彩颜色,确定与每个第二时间段对应的色彩样式,得到时间信息与色彩样式的第二映射关系。In step S930, a color pattern corresponding to each second time period is determined based on the main color, and a second mapping relationship between time information and color patterns is obtained.
在本公开实施例中,可以将一天划分为多个第一时间段。例如,图10-图13示出了本公开实施例提供的一种虚拟键盘展示色彩的示意图,如图10-图13中所示,早上7点到12点为第一时间段的其中一个时间段,12点到17点为第一时间段的其中一个时间段,17点到20点为第一时间段的其中一个时间段等。当然这仅仅是距离说明,并不是对本公开的具体限定。In the embodiment of the present disclosure, one day may be divided into a plurality of first time periods. For example, Figures 10-13 show a schematic diagram of a virtual keyboard displaying colors provided by an embodiment of the present disclosure. As shown in Figures 10-13, 7 am to 12 am is one of the times in the first time period. period, 12 o'clock to 17 o'clock is one of the time periods of the first time period, 17 o'clock to 20 o'clock is one of the time periods of the first time period, etc. Of course, this is only a distance description and does not specifically limit the present disclosure.
在本公开中,还可以为每个第一时间确定对应的主色彩颜色,如图10-图13中所示。In the present disclosure, the corresponding main color can also be determined for each first time, as shown in Figures 10-13.
在本公开中,还可以为第一时间段按照指定的时间间隔进行划分,例如,时间间隔可以是5分钟。划分第一时间段后,得到多个第二时间段。可以理解的是,本公开中,第二时间段的长度小于第一时间段的长度。In the present disclosure, the first time period may also be divided according to specified time intervals. For example, the time interval may be 5 minutes. After dividing the first time period, multiple second time periods are obtained. It can be understood that in the present disclosure, the length of the second time period is shorter than the length of the first time period.
根据第一时间段对于的主色彩颜色,为与每个第一时间段对应的多个第二时间段确定对应的色彩样式。提升用户在页面浏览与使用中的沉浸体验感受,通过物理世界的色彩与线上产品的色彩对应,让每个时间段用户所在的页面都会充满惊喜感与沉浸感,增强用户品牌愉悦度体验,促进产品口碑与转化。According to the main color of the first time period, corresponding color patterns are determined for the plurality of second time periods corresponding to each first time period. Improve the user's immersive experience when browsing and using the page. By matching the colors of the physical world with the colors of online products, the page where the user is located at each time period will be full of surprise and immersion, enhancing the user's brand pleasure experience. Promote product reputation and conversion.
例如,对7点到12点进行分割,得到每隔5分钟的多个第二时间段。若7点到12点的主色彩颜色为青蓝色,则多个第二时间段对应的颜色可以 是跟随时间,从7点到12点色彩青蓝色由深到浅色的变化。从而通过物理世界的每个时间段的色彩与虚拟键盘的每个时间段的色彩进行呼应,提升产品智能化体验感知与沉浸体验。For example, segment 7 o'clock to 12 o'clock to obtain multiple second time periods every 5 minutes. If the main color from 7 o'clock to 12 o'clock is cyan blue, the colors corresponding to multiple second time periods can be It follows the time, from 7 o'clock to 12 o'clock, the color of cyan blue changes from dark to light. In this way, the color of each time period in the physical world echoes the color of each time period of the virtual keyboard, improving the perception and immersion of the product's intelligent experience.
本公开又一些实施例中,若界面显示模式是光线调节模式,则与光线调节模式对应的信息是当前环境光线亮度或对比度。进而根据当前环境光线亮度或对比度,在虚拟键盘上展示光线调节模式。其中,光线调节模式可以是调节虚拟键盘中按键、背景、字符之间的对比度。In some embodiments of the present disclosure, if the interface display mode is the light adjustment mode, the information corresponding to the light adjustment mode is the current ambient light brightness or contrast. Then, based on the current ambient light brightness or contrast, the light adjustment mode is displayed on the virtual keyboard. The light adjustment mode may be to adjust the contrast between keys, background, and characters in the virtual keyboard.
在本公开中,可以通过感知外部光线的强弱(即,亮度),自动调节输入虚拟键盘内的各元素显示的亮度,使得虚拟键盘内的按键、背景、字符等之间对比度得到提升,从而提升键盘内元素的识别性及输入的精准性,给用户带来非常舒适的体验。In the present disclosure, the brightness of each element displayed in the input virtual keyboard can be automatically adjusted by sensing the intensity of external light (i.e., brightness), so that the contrast between keys, backgrounds, characters, etc. in the virtual keyboard is improved, thereby Improve the recognition of elements in the keyboard and the accuracy of input, giving users a very comfortable experience.
在本公开实施例中,可以根据实际情况以及用于的体验感,预先对光线强度进行分档。为每个档对应的光线强度确定对应的对比度,从而根据对比度调节虚拟键盘中按键、背景、字符之间的对比度。或者,直接根据确定的对比度调节虚拟键盘中按键、背景、字符之间的对比度。In the embodiment of the present disclosure, the light intensity can be classified in advance according to the actual situation and user experience. The corresponding contrast is determined for the light intensity corresponding to each level, and the contrast between the keys, background, and characters in the virtual keyboard is adjusted according to the contrast. Or, directly adjust the contrast between keys, background, and characters in the virtual keyboard according to the determined contrast.
虚拟键盘可以通过光线传感器获取当前环境光线亮度,其中,光线传感器也可以称为环境光传感器。光线传感器主要由投光器和受光器两个部件构成。能够将环境中的光线聚焦,并经由投光器传送到受光器之上。受光器根据光电效应,能够把各种光信号转换为相应的电信号,再进一步处理成各种开关及控制动作,以实现的感光调节。The virtual keyboard can obtain the current ambient light brightness through a light sensor, where the light sensor can also be called an ambient light sensor. The light sensor is mainly composed of two components: a light emitter and a light receiver. It can focus the light in the environment and transmit it to the receiver through the emitter. The photoreceiver can convert various optical signals into corresponding electrical signals based on the photoelectric effect, and then further process them into various switches and control actions to achieve precise photosensitivity adjustment.
本公开可以通过光线传感器,每隔一段时间获取一次当前环境光线亮度,基于获取的当前环境光线亮度确定对比度,或者直接获取对比度。从而基于确定的对比度,调节虚拟键盘中的按键、背景、字符之间的对比度,进一步调节虚拟键盘中按键、背景、字符的亮度。The present disclosure can obtain the current ambient light brightness every once in a while through a light sensor, and determine the contrast based on the obtained current ambient light brightness, or directly obtain the contrast. Therefore, based on the determined contrast, the contrast between the keys, background, and characters in the virtual keyboard is adjusted, and the brightness of the keys, background, and characters in the virtual keyboard is further adjusted.
图14示出了本公开实施例提供的一种虚拟键盘对比度模式展示的示意图。如图14中所示,感知室内光线强度为弱光环境,则确定与弱光环境对应的对比度,从而调节虚拟键盘中的按键、背景、字符之间的对比度,使得与室内环境的光线形成明显的差异。感知室外的光线环境为强光环境,则确定与强光环境对应的对比度,从而调节虚拟键盘中的按键、背景、字符之间的对比度。Figure 14 shows a schematic diagram of a virtual keyboard contrast mode display provided by an embodiment of the present disclosure. As shown in Figure 14, when the indoor light intensity is perceived to be a low-light environment, the contrast corresponding to the low-light environment is determined, thereby adjusting the contrast between the keys, background, and characters in the virtual keyboard to make a clear contrast with the light in the indoor environment. difference. If the outdoor light environment is perceived to be a strong light environment, the contrast corresponding to the strong light environment is determined, thereby adjusting the contrast between the keys, background, and characters in the virtual keyboard.
在本公开中,可以通过调节虚拟键盘中按键、背景、字符的颜色,以 实现对比度的调节。还可以通过调节虚拟键盘中的按键、背景、字符的色彩、绘图、样式以实现对比度的调节。In the present disclosure, the colors of keys, background, and characters in the virtual keyboard can be adjusted to Achieve contrast adjustment. You can also adjust the contrast by adjusting the colors, drawings, and styles of the keys, background, and characters in the virtual keyboard.
通过调节虚拟键盘中按键、背景、字符的对比度,能够提升用户在不同环境下针对键盘输入的识别效率,通过不同环境光线的感知,给予用于最佳的使用体验,保证用户输入效率。By adjusting the contrast of the keys, background, and characters in the virtual keyboard, it is possible to improve the user's recognition efficiency of keyboard input in different environments. Through the perception of different ambient light, it provides the best user experience and ensures user input efficiency.
在本公开中,上述实施例可以单独被实施,也可以组合一起被实施,在此不做具体限定。In the present disclosure, the above-mentioned embodiments can be implemented individually or in combination, and are not specifically limited here.
例如,虚拟键盘在自动调节按键、背景、字符的亮度同时,也可以在虚拟键盘上展示当前天气的天气动画。For example, while the virtual keyboard automatically adjusts the brightness of keys, backgrounds, and characters, it can also display weather animations of the current weather on the virtual keyboard.
基于与图2中所示的方法相同的原理,图15示出了本公开实施例提供的一种虚拟键盘展示装置的结构示意图,如图15所示,该虚拟键盘展示装置1500可以包括:Based on the same principle as the method shown in Figure 2, Figure 15 shows a schematic structural diagram of a virtual keyboard display device provided by an embodiment of the present disclosure. As shown in Figure 15, the virtual keyboard display device 1500 may include:
获取模块1501,用于获取虚拟键盘的界面显示模式;并获取与所述界面显示模式对应的信息;展示模块1502,用于基于所述信息,在虚拟键盘上展示所述界面显示模式。The acquisition module 1501 is used to obtain the interface display mode of the virtual keyboard; and obtain information corresponding to the interface display mode; the display module 1502 is used to display the interface display mode on the virtual keyboard based on the information.
在本公开实施例中,所述界面显示模式是天气显示模式,与所述天气显示模式对应的信息是当前天气;In this embodiment of the present disclosure, the interface display mode is a weather display mode, and the information corresponding to the weather display mode is the current weather;
所述展示模块1501,用于根据所述当前天气,在虚拟键盘上展示所述天气显示模式。The display module 1501 is configured to display the weather display mode on the virtual keyboard according to the current weather.
在本公开实施例中,所述展示模块1501,用于获取所述天气显示模式包括的第一映射关系,所述第一映射关系为天气与天气动画的映射关系;基于所述第一映射关系,确定与当前天气对应的第一天气动画;在所述虚拟键盘上悬浮展示所述第一天气动画。In this embodiment of the present disclosure, the display module 1501 is used to obtain the first mapping relationship included in the weather display mode. The first mapping relationship is the mapping relationship between weather and weather animation; based on the first mapping relationship , determine the first weather animation corresponding to the current weather; and display the first weather animation suspended on the virtual keyboard.
在本公开实施例中,所述在所述虚拟键盘上悬浮展示所述第一天气动画,包括响应于在预设时间段内未检测到对所述虚拟键盘的操作,在所述虚拟键盘上悬浮展示所述第一天气动画。In an embodiment of the present disclosure, the floating display of the first weather animation on the virtual keyboard includes, in response to no operation on the virtual keyboard being detected within a preset time period, displaying the first weather animation on the virtual keyboard. The first weather animation is displayed in suspension.
在本公开实施例中,所述展示模块,还用于响应于检测到对所述虚拟键盘的操作,停止展示所述第一天气动画。在本公开实施例中,所述界面显示模式为时间显示模式,与所述时间显示模式对应的信息为当前时间;In an embodiment of the present disclosure, the display module is further configured to stop displaying the first weather animation in response to detecting an operation on the virtual keyboard. In this embodiment of the present disclosure, the interface display mode is a time display mode, and the information corresponding to the time display mode is the current time;
所述展示模块1501,用于根据所述当前时间,在虚拟键盘上展示所述 时间显示模式。The presentation module 1501 is used to display the presentation on the virtual keyboard according to the current time. Time display mode.
在本公开实施例中,所述展示模块1501,用于获取所述时间显示模式中的第二映射关系,所述第二映射关系为时间与色彩样式的映射关系;基于所述第二映射关系,确定与所述当前时间对应的第一色彩样式;在所述虚拟键盘上展示所述第一色彩样式。In this embodiment of the present disclosure, the display module 1501 is used to obtain a second mapping relationship in the time display mode, where the second mapping relationship is a mapping relationship between time and color style; based on the second mapping relationship , determine the first color pattern corresponding to the current time; display the first color pattern on the virtual keyboard.
在本公开实施例中,所述第二映射关系的确定方式如下:In this embodiment of the present disclosure, the second mapping relationship is determined as follows:
将一天划分为多个第一时间段,并为每个所述第一时间段确定对应的主色彩颜色;将所述第一时间段按照指定的时间间隔进行划分,得到多个第二时间段;基于所述主色彩颜色,确定与每个所述第二时间段对应的色彩样式,得到时间与色彩样式的第二映射关系。Divide one day into multiple first time periods, and determine the corresponding main color for each first time period; divide the first time period according to specified time intervals to obtain multiple second time periods ; Based on the main color, determine the color pattern corresponding to each of the second time periods, and obtain a second mapping relationship between time and color pattern.
在本公开实施例中,所述界面显示模式是光线调节模式,与所述光线调节模式对应的信息是当前环境光线亮度或对比度;In this embodiment of the present disclosure, the interface display mode is a light adjustment mode, and the information corresponding to the light adjustment mode is the current ambient light brightness or contrast;
所述展示模块1501,用于根据所述当前环境光线亮度或对比度,在虚拟键盘上展示所述光线调节模式。The display module 1501 is configured to display the light adjustment mode on the virtual keyboard according to the current ambient light brightness or contrast.
在本公开实施例中,所述对比度为所述虚拟键盘中按键、背景、字符之间的对比度。In the embodiment of the present disclosure, the contrast is the contrast between keys, background, and characters in the virtual keyboard.
本公开的技术方案中,所涉及的用户个人信息的获取,存储和应用等,均符合相关法律法规的规定,且不违背公序良俗。In the technical solution of this disclosure, the acquisition, storage and application of user personal information involved are in compliance with relevant laws and regulations and do not violate public order and good customs.
根据本公开的实施例,本公开还提供了一种电子设备、一种可读存储介质和一种计算机程序产品。According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.
图16示出了可以用来实施本公开的实施例的示例电子设备1600的示意性框图。电子设备旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本公开的实现。Figure 16 shows a schematic block diagram of an example electronic device 1600 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to refer to various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are examples only and are not intended to limit implementations of the disclosure described and/or claimed herein.
如图16所示,设备1600包括计算单元1601,其可以根据存储在只读存储器(ROM)1602中的计算机程序或者从存储单元1608加载到随机访问存储器(RAM)1603中的计算机程序,来执行各种适当的动作和处理。 在RAM 1603中,还可存储设备1600操作所需的各种程序和数据。计算单元1601、ROM 1602以及RAM 1603通过总线1604彼此相连。输入/输出(I/O)接口1605也连接至总线1604。As shown in Figure 16, the device 1600 includes a computing unit 1601 that can execute according to a computer program stored in a read-only memory (ROM) 1602 or loaded from a storage unit 1608 into a random access memory (RAM) 1603. Various appropriate actions and treatments. In the RAM 1603, various programs and data required for the operation of the device 1600 may also be stored. Computing unit 1601, ROM 1602 and RAM 1603 are connected to each other via bus 1604. An input/output (I/O) interface 1605 is also connected to bus 1604.
设备1600中的多个部件连接至I/O接口1605,包括:输入单元1606,例如键盘、鼠标等;输出单元1607,例如各种类型的显示器、扬声器等;存储单元1608,例如磁盘、光盘等;以及通信单元1609,例如网卡、调制解调器、无线通信收发机等。通信单元1609允许设备1600通过诸如因特网的计算机网络和/或各种电信网络与其他设备交换信息/数据。Multiple components in the device 1600 are connected to the I/O interface 1605, including: input unit 1606, such as a keyboard, mouse, etc.; output unit 1607, such as various types of displays, speakers, etc.; storage unit 1608, such as a magnetic disk, optical disk, etc. ; and communication unit 1609, such as a network card, modem, wireless communication transceiver, etc. The communication unit 1609 allows the device 1600 to exchange information/data with other devices through computer networks such as the Internet and/or various telecommunications networks.
计算单元1601可以是各种具有处理和计算能力的通用和/或专用处理组件。计算单元1601的一些示例包括但不限于中央处理单元(CPU)、图形处理单元(GPU)、各种专用的人工智能(AI)计算芯片、各种运行机器学习模型算法的计算单元、数字信号处理器(DSP)、以及任何适当的处理器、控制器、微控制器等。计算单元1601执行上文所描述的各个方法和处理,例如虚拟键盘展示方法。例如,在一些实施例中,虚拟键盘展示方法可被实现为计算机软件程序,其被有形地包含于机器可读介质,例如存储单元1608。在一些实施例中,计算机程序的部分或者全部可以经由ROM 1602和/或通信单元1609而被载入和/或安装到设备1600上。当计算机程序加载到RAM 1603并由计算单元1601执行时,可以执行上文描述的虚拟键盘展示方法的一个或多个步骤。备选地,在其他实施例中,计算单元1601可以通过其他任何适当的方式(例如,借助于固件)而被配置为执行虚拟键盘展示方法。Computing unit 1601 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing units 1601 include, but are not limited to, central processing units (CPUs), graphics processing units (GPUs), various dedicated artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, digital signal processing processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 1601 performs various methods and processes described above, such as the virtual keyboard display method. For example, in some embodiments, the virtual keyboard presentation method may be implemented as a computer software program that is tangibly included in a machine-readable medium, such as the storage unit 1608. In some embodiments, part or all of the computer program may be loaded and/or installed onto device 1600 via ROM 1602 and/or communication unit 1609. When the computer program is loaded into the RAM 1603 and executed by the computing unit 1601, one or more steps of the virtual keyboard presentation method described above may be performed. Alternatively, in other embodiments, the computing unit 1601 may be configured to perform the virtual keyboard presentation method in any other suitable manner (eg, by means of firmware).
本文中以上描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、芯片上系统的系统(SOC)、负载可编程逻辑设备(CPLD)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。 Various implementations of the systems and techniques described above may be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip implemented in a system (SOC), load programmable logic device (CPLD), computer hardware, firmware, software, and/or a combination thereof. These various embodiments may include implementation in one or more computer programs executable and/or interpreted on a programmable system including at least one programmable processor, the programmable processor The processor, which may be a special purpose or general purpose programmable processor, may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device. An output device.
用于实施本公开的方法的程序代码可以采用一个或多个编程语言的任何组合来编写。这些程序代码可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器或控制器,使得程序代码当由处理器或控制器执行时使流程图和/或框图中所规定的功能/操作被实施。程序代码可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或服务器上执行。Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing device, such that the program codes, when executed by the processor or controller, cause the functions specified in the flowcharts and/or block diagrams/ The operation is implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of this disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, laptop disks, hard drives, 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.
为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide interaction with a user, the systems and techniques described herein may be implemented on a computer having a display device (eg, a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user ); and a keyboard and pointing device (eg, a mouse or a trackball) through which a user can provide input to the computer. Other kinds of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and may be provided in any form, including Acoustic input, voice input or tactile input) to receive input from the user.
可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。 通信网络的示例包括:局域网(LAN)、广域网(WAN)和互联网。The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., A user's computer having a graphical user interface or web browser through which the user can interact with implementations of the systems and technologies described herein), or including such backend components, middleware components, or any combination of front-end components in a computing system. The components of the system may be interconnected by any form or medium of digital data communication (eg, a communications network). Examples of communication networks include: local area network (LAN), wide area network (WAN), and the Internet.
计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。服务器可以是云服务器,也可以为分布式系统的服务器,或者是结合了区块链的服务器。Computer systems may include clients and servers. Clients and servers are generally remote from each other and typically interact over a communications network. The relationship of client and server is created by computer programs running on corresponding computers and having a client-server relationship with each other. The server can be a cloud server, a distributed system server, or a server combined with a blockchain.
应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本公开中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本公开公开的技术方案所期望的结果,本文在此不进行限制。It should be understood that various forms of the process shown above may be used, with steps reordered, added or deleted. For example, each step described in the present disclosure can be executed in parallel, sequentially, or in a different order. As long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, there is no limitation here.
上述具体实施方式,并不构成对本公开保护范围的限制。本领域技术人员应该明白的是,根据设计要求和其他因素,可以进行各种修改、组合、子组合和替代。任何在本公开的精神和原则之内所作的修改、等同替换和改进等,均应包含在本公开保护范围之内。 The above-mentioned specific embodiments do not constitute a limitation on the scope of the present disclosure. It will be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions are possible depending on design requirements and other factors. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this disclosure shall be included in the protection scope of this disclosure.

Claims (19)

  1. 一种虚拟键盘展示方法,所述方法包括:A virtual keyboard display method, the method includes:
    获取虚拟键盘的界面显示模式;Get the interface display mode of the virtual keyboard;
    获取与所述界面显示模式对应的信息;Obtain information corresponding to the interface display mode;
    基于所述信息,在虚拟键盘上展示所述界面显示模式。Based on the information, the interface display mode is displayed on the virtual keyboard.
  2. 根据权利要求1所述的方法,其中,所述界面显示模式是天气显示模式,与所述天气显示模式对应的信息是当前天气;The method according to claim 1, wherein the interface display mode is a weather display mode, and the information corresponding to the weather display mode is the current weather;
    所述基于所述信息,在虚拟键盘上展示所述界面显示模式,包括:The step of displaying the interface display mode on the virtual keyboard based on the information includes:
    根据所述当前天气,在虚拟键盘上展示所述天气显示模式。The weather display mode is displayed on the virtual keyboard according to the current weather.
  3. 根据权利要求2所述的方法,其中,所述根据所述当前天气,在虚拟键盘上展示所述天气显示模式,包括:The method of claim 2, wherein displaying the weather display mode on a virtual keyboard according to the current weather includes:
    获取所述天气显示模式包括的第一映射关系,所述第一映射关系为天气与天气动画的映射关系;Obtain a first mapping relationship included in the weather display mode, where the first mapping relationship is a mapping relationship between weather and weather animation;
    基于所述第一映射关系,确定与当前天气对应的第一天气动画;Based on the first mapping relationship, determine a first weather animation corresponding to the current weather;
    在所述虚拟键盘上悬浮展示所述第一天气动画。The first weather animation is displayed suspended on the virtual keyboard.
  4. 根据权利要求3所述的方法,其中,所述在所述虚拟键盘上悬浮展示所述第一天气动画,包括:The method according to claim 3, wherein the floating display of the first weather animation on the virtual keyboard includes:
    响应于在预设时间段内未检测到对所述虚拟键盘的操作,在所述虚拟键盘上悬浮展示所述第一天气动画。In response to no operation on the virtual keyboard being detected within a preset time period, the first weather animation is displayed suspended on the virtual keyboard.
  5. 根据权利要求4所述的方法,其中,所述在所述虚拟键盘上悬浮展示所述第一天气动画之后,所述方法还包括:The method according to claim 4, wherein after the first weather animation is displayed suspended on the virtual keyboard, the method further includes:
    响应于检测到对所述虚拟键盘的操作,停止展示所述第一天气动画。In response to detecting an operation on the virtual keyboard, displaying the first weather animation is stopped.
  6. 根据权利要求1所述的方法,其中,所述界面显示模式为时间显示模式,与所述时间显示模式对应的信息为当前时间;The method according to claim 1, wherein the interface display mode is a time display mode, and the information corresponding to the time display mode is the current time;
    所述基于所述信息,在虚拟键盘上展示所述界面显示模式,包括:The step of displaying the interface display mode on the virtual keyboard based on the information includes:
    根据所述当前时间,在虚拟键盘上展示所述时间显示模式。 The time display mode is displayed on the virtual keyboard according to the current time.
  7. 根据权利要求6所述的方法,其中,所述根据所述当前时间,在虚拟键盘上展示所述时间显示模式,包括:The method according to claim 6, wherein the displaying the time display mode on the virtual keyboard according to the current time includes:
    获取所述时间显示模式中的第二映射关系,所述第二映射关系为时间与色彩样式的映射关系;Obtain a second mapping relationship in the time display mode, where the second mapping relationship is a mapping relationship between time and color style;
    基于所述第二映射关系,确定与所述当前时间对应的第一色彩样式;Based on the second mapping relationship, determine a first color pattern corresponding to the current time;
    在所述虚拟键盘上展示所述第一色彩样式。The first color pattern is displayed on the virtual keyboard.
  8. 根据权利要求7所述的方法,其中,所述第二映射关系的确定方式如下:The method according to claim 7, wherein the second mapping relationship is determined as follows:
    将一天划分为多个第一时间段,并为每个所述第一时间段确定对应的主色彩颜色;Divide one day into a plurality of first time periods, and determine a corresponding main color for each first time period;
    将所述第一时间段按照指定的时间间隔进行划分,得到多个第二时间段;Divide the first time period according to specified time intervals to obtain multiple second time periods;
    基于所述主色彩颜色,确定与每个所述第二时间段对应的色彩样式,得到时间与色彩样式的第二映射关系。Based on the main color, a color pattern corresponding to each second time period is determined, and a second mapping relationship between time and color pattern is obtained.
  9. 根据权利要求1所述的方法,其中,所述界面显示模式是光线调节模式,与所述光线调节模式对应的信息是当前环境光线亮度或对比度;The method according to claim 1, wherein the interface display mode is a light adjustment mode, and the information corresponding to the light adjustment mode is the current ambient light brightness or contrast;
    所述基于所述信息,在虚拟键盘上展示所述界面显示模式,包括:The step of displaying the interface display mode on the virtual keyboard based on the information includes:
    根据所述当前环境光线亮度或对比度,在虚拟键盘上展示所述光线调节模式。The light adjustment mode is displayed on the virtual keyboard according to the current ambient light brightness or contrast.
  10. 根据权利要求1所述的方法,其中,所述对比度为所述虚拟键盘中按键、背景、字符之间的对比度。The method according to claim 1, wherein the contrast is the contrast between keys, background, and characters in the virtual keyboard.
  11. 一种虚拟键盘展示装置,所述装置包括:A virtual keyboard display device, the device includes:
    获取模块,用于获取虚拟键盘的界面显示模式;并获取与所述界面显示模式对应的信息;An acquisition module, used to acquire the interface display mode of the virtual keyboard; and acquire information corresponding to the interface display mode;
    展示模块,用于基于所述信息,在虚拟键盘上展示所述界面显示模式。A display module, configured to display the interface display mode on the virtual keyboard based on the information.
  12. 根据权利要求11所述的装置,其中,所述界面显示模式是天气显示模式,与所述天气显示模式对应的信息是当前天气;The device according to claim 11, wherein the interface display mode is a weather display mode, and the information corresponding to the weather display mode is current weather;
    所述展示模块,用于: The display module is used for:
    根据所述当前天气,在虚拟键盘上展示所述天气显示模式。The weather display mode is displayed on the virtual keyboard according to the current weather.
  13. 根据权利要求12所述的装置,其中,所述展示模块,用于:The device according to claim 12, wherein the display module is used for:
    获取所述天气显示模式包括的第一映射关系,所述第一映射关系为天气与天气动画的映射关系;Obtain a first mapping relationship included in the weather display mode, where the first mapping relationship is a mapping relationship between weather and weather animation;
    基于所述第一映射关系,确定与当前天气对应的第一天气动画;Based on the first mapping relationship, determine a first weather animation corresponding to the current weather;
    在所述虚拟键盘上悬浮展示所述第一天气动画。The first weather animation is displayed suspended on the virtual keyboard.
  14. 根据权利要求11所述的装置,其中,所述界面显示模式为时间显示模式,与所述时间显示模式对应的信息为当前时间;The device according to claim 11, wherein the interface display mode is a time display mode, and the information corresponding to the time display mode is the current time;
    所述展示模块,用于:The display module is used for:
    根据所述当前时间,在虚拟键盘上展示所述时间显示模式。The time display mode is displayed on the virtual keyboard according to the current time.
  15. 根据权利要求14所述的装置,其中,所述展示模块,用于:The device according to claim 14, wherein the display module is used for:
    获取所述时间显示模式中的第二映射关系,所述第二映射关系为时间与色彩样式的映射关系;Obtain a second mapping relationship in the time display mode, where the second mapping relationship is a mapping relationship between time and color style;
    基于所述第二映射关系,确定与所述当前时间对应的第一色彩样式;Based on the second mapping relationship, determine a first color pattern corresponding to the current time;
    在所述虚拟键盘上展示所述第一色彩样式。The first color pattern is displayed on the virtual keyboard.
  16. 根据权利要求11所述的装置,其中,所述界面显示模式是光线调节模式,与所述光线调节模式对应的信息是当前环境光线亮度或对比度;The device according to claim 11, wherein the interface display mode is a light adjustment mode, and the information corresponding to the light adjustment mode is the current ambient light brightness or contrast;
    所述展示模块,用于:The display module is used for:
    根据所述当前环境光线亮度或对比度,在虚拟键盘上展示所述光线调节模式。The light adjustment mode is displayed on the virtual keyboard according to the current ambient light brightness or contrast.
  17. 一种电子设备,包括:An electronic device including:
    至少一个处理器;以及at least one processor; and
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively connected to the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-10中任一项所述的方法。The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform any one of claims 1-10. Methods.
  18. 一种存储有计算机指令的非瞬时计算机可读存储介质,其中,所述 计算机指令用于使所述计算机执行根据权利要求1-10中任一项所述的方法。A non-transitory computer-readable storage medium storing computer instructions, wherein the Computer instructions for causing the computer to perform the method according to any one of claims 1-10.
  19. 一种计算机产品,所述计算机程序在被处理器执行时实现根据权利要求1-10中任一项所述的方法。 A computer product, said computer program implementing the method according to any one of claims 1-10 when executed by a processor.
PCT/CN2023/076908 2022-08-05 2023-02-17 Virtual keyboard presentation method and apparatus, and electronic device, storage medium and product WO2024027134A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210947801.3A CN115328385A (en) 2022-08-05 2022-08-05 Virtual keyboard display method and device, electronic equipment, storage medium and product
CN202210947801.3 2022-08-05

Publications (1)

Publication Number Publication Date
WO2024027134A1 true WO2024027134A1 (en) 2024-02-08

Family

ID=83921229

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/076908 WO2024027134A1 (en) 2022-08-05 2023-02-17 Virtual keyboard presentation method and apparatus, and electronic device, storage medium and product

Country Status (2)

Country Link
CN (1) CN115328385A (en)
WO (1) WO2024027134A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115328385A (en) * 2022-08-05 2022-11-11 北京百度网讯科技有限公司 Virtual keyboard display method and device, electronic equipment, storage medium and product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677640A (en) * 2013-12-16 2014-03-26 安徽科大讯飞信息科技股份有限公司 Virtual keyboard self-adaptation application theme method and system
CN107145274A (en) * 2017-05-05 2017-09-08 北京百度网讯科技有限公司 Weather information methods of exhibiting and device for terminal device
CN111090384A (en) * 2019-12-20 2020-05-01 京东方科技集团股份有限公司 Soft keyboard display method and device
CN111708476A (en) * 2020-05-25 2020-09-25 北京百度网讯科技有限公司 Virtual keyboard display method, virtual keyboard and display device
CN115328385A (en) * 2022-08-05 2022-11-11 北京百度网讯科技有限公司 Virtual keyboard display method and device, electronic equipment, storage medium and product

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677640A (en) * 2013-12-16 2014-03-26 安徽科大讯飞信息科技股份有限公司 Virtual keyboard self-adaptation application theme method and system
CN107145274A (en) * 2017-05-05 2017-09-08 北京百度网讯科技有限公司 Weather information methods of exhibiting and device for terminal device
CN111090384A (en) * 2019-12-20 2020-05-01 京东方科技集团股份有限公司 Soft keyboard display method and device
CN111708476A (en) * 2020-05-25 2020-09-25 北京百度网讯科技有限公司 Virtual keyboard display method, virtual keyboard and display device
CN115328385A (en) * 2022-08-05 2022-11-11 北京百度网讯科技有限公司 Virtual keyboard display method and device, electronic equipment, storage medium and product

Also Published As

Publication number Publication date
CN115328385A (en) 2022-11-11

Similar Documents

Publication Publication Date Title
US11367234B2 (en) Conditional modification of augmented reality object
WO2020038167A1 (en) Video image recognition method and apparatus, terminal and storage medium
CN111610847B (en) Page display method and device of third-party application program and electronic equipment
US20210203859A1 (en) Method and Apparatus for Processing Video
CN112836072B (en) Information display method and device, electronic equipment and medium
WO2024027134A1 (en) Virtual keyboard presentation method and apparatus, and electronic device, storage medium and product
US20190005156A1 (en) Data flow visualization system
CN114402356A (en) Network model training method, image processing method and device and electronic equipment
CN109302523B (en) Mobile phone performance evaluation method for mobile phone side and server side
CN111638787B (en) Method and device for displaying information
CN116245998B (en) Rendering map generation method and device, and model training method and device
CN115482325B (en) Picture rendering method, device, system, equipment and medium
EP4152138A1 (en) Method and apparatus for adjusting virtual face model, electronic device and storage medium
US20240095141A1 (en) Displaying information flow
CN116030185A (en) Three-dimensional hairline generating method and model training method
CN113436604B (en) Method and device for broadcasting content, electronic equipment and storage medium
CN115631251A (en) Method, apparatus, electronic device, and medium for generating image based on text
CN112148409A (en) Window image effect realization method and device and storage medium
WO2020011066A1 (en) Terminal display method and device, terminal and readable medium
CN111652344A (en) Method and apparatus for presenting information
CN113126859A (en) Contextual model control method, contextual model control device, storage medium and terminal
CN111352685A (en) Input method keyboard display method, device, equipment and storage medium
CN116071422B (en) Method and device for adjusting brightness of virtual equipment facing meta-universe scene
CN115423827B (en) Image processing method, image processing device, electronic equipment and storage medium
CN113378001B (en) Video playing progress adjusting method and device, electronic equipment and medium

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: 23848849

Country of ref document: EP

Kind code of ref document: A1