Toolbar setting method, device and device for setting toolbar
By implementing the toolbar setting method and device on the terminal device, the user can directly access the mini program in the toolbar, which solves the problem of low efficiency in obtaining mini program services in the existing technology and improves the convenience and efficiency of use.
Patent Information
- Application Number
- CN201910867424.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-09-12
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-04-30
AI Technical Summary
Since the operating system of the terminal device cannot perform multi-process operations, users need to frequently exit the current process when using mini programs, resulting in low efficiency in obtaining mini program services.
Provide a toolbar setting method and device. When the user triggers the toolbar setting function, the toolbar setting interface is displayed, the user's trigger operation on the mini program option is detected, and the icon of the target mini program is added to the toolbar to facilitate the user. Use applets directly from the toolbar.
It reduces the complexity of operations when obtaining mini program services and improves the efficiency of obtaining mini program services. Users can use the selected mini program without frequently switching interfaces.
Smart Images

Figure CN112486604B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the field of computer technology, and in particular to a method and device for setting a toolbar, and a device for setting a toolbar. Background Art
[0002] With the development of computer technology, mini programs, as an application that can be used without downloading and installing, are being used in more and more scenarios. For example, in instant messaging (IM) applications, a variety of mini programs (such as ordering mini programs, consulting mini programs, etc.) can be provided to enrich the functions of instant messaging applications.
[0003] Since some operating systems of terminal devices (such as Android, iOS, etc.) cannot perform multi-process operations, if you need to use the functions of a mini-program, you usually need to exit the current process. For example, when a user needs to use the functions of a mini-program, he usually needs to exit the current interface of the application, and then search for the required mini-program from the mini-program center interface, so as to load the mini-program and use the services provided by the mini-program. As a result, when users use the services provided by the mini-program, they need to perform more cumbersome operations, resulting in low efficiency in obtaining mini-program services. Summary of the invention
[0004] The embodiments of the present application propose a toolbar setting method, device, and device for setting a toolbar to improve the efficiency of obtaining mini-program services.
[0005] In a first aspect, an embodiment of the present application provides a toolbar setting method, the method comprising: when it is detected that a user triggers a toolbar setting function, displaying a toolbar setting interface, the toolbar setting interface including at least one mini-program option; detecting a user's triggering operation on a mini-program option in the toolbar setting interface; taking the mini-program indicated by the triggering operation as a target mini-program, and adding the icon of the target mini-program to the toolbar.
[0006] In the second aspect, an embodiment of the present application provides a toolbar setting device, which includes: a first display unit, configured to display a toolbar setting interface when it is detected that a user triggers the toolbar setting function, and the toolbar setting interface includes at least one mini-program option; a first detection unit, configured to detect the user's triggering operation on the mini-program option in the toolbar setting interface; an adding unit, configured to take the mini-program indicated by the triggering operation as the target mini-program, and add the icon of the target mini-program to the toolbar.
[0007] In a third aspect, an embodiment of the present application provides a device for setting a toolbar, comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors. The one or more programs include instructions for performing the following operations: when it is detected that a user triggers a toolbar setting function, a toolbar setting interface is displayed, and the toolbar setting interface includes at least one mini-program option; the user's triggering operation on the mini-program option in the toolbar setting interface is detected; the mini-program indicated by the triggering operation is used as the target mini-program, and the icon of the target mini-program is added to the toolbar.
[0008] In a fourth aspect, an embodiment of the present application provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect above.
[0009] The toolbar setting method, device and device for setting the toolbar provided by the embodiment of the present application, when it is detected that the user triggers the toolbar setting function, the toolbar setting interface is displayed, and the toolbar setting interface includes at least one applet option; after detecting the user's triggering operation on the applet option in the toolbar setting interface, the applet indicated by the triggering operation is used as the target applet, and the icon of the target applet is added to the toolbar. Thus, the applet options are presented in the toolbar, and the user can use the selected applet conveniently and quickly without switching interfaces, which reduces the complexity of the operation when obtaining the applet service and improves the efficiency of obtaining the applet service. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
[0011] Figure 1 is a flowchart of an embodiment of a toolbar setting method according to the present application;
[0012] Figure 2 is a schematic diagram of the presentation process of the toolbar setting interface according to the present application;
[0013] Figure 3 is a schematic diagram of a process of adding an icon to a target applet according to the present application;
[0014] Figure 4 A schematic diagram showing a process of presenting the interface of a target applet according to the present application;
[0015] Figure 5 is a flowchart of another embodiment of a toolbar setting method according to the present application;
[0016] Figure 6is a structural schematic diagram of an embodiment of a toolbar setting device according to the present application;
[0017] Figure 7 is a structural schematic diagram of a device for setting a toolbar according to the present application;
[0018] Figure 8 It is a schematic diagram of the structure of the server in some embodiments of the present application. DETAILED DESCRIPTION
[0019] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It should also be noted that, for ease of description, only the parts related to the relevant invention are shown in the accompanying drawings.
[0020] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0021] Please refer to Figure 1 , which shows a process 100 of an embodiment of a toolbar setting method according to the present application. The above toolbar setting method can be run on various electronic devices, including but not limited to: servers, smart phones, tablet computers, e-book readers, MP3 (Moving Picture Experts Group Audio Layer III) players, MP4 (Moving Picture Experts Group Audio Layer IV) players, laptop computers, car computers, desktop computers, set-top boxes, smart TVs, wearable devices, etc.
[0022] The input method application mentioned in the embodiment of the present application can support multiple input methods. Among them, the input method can be a coding method used to input various symbols into electronic devices such as computers and mobile phones. Users can use the input method application to conveniently input the required characters or strings into electronic devices. It should be noted that in the embodiment of the present application, in addition to supporting common Chinese input methods (such as pinyin input method, Wubi input method, Zhuyin input method, voice input method, handwriting input method, etc.), the input method can also support input methods of other languages (such as Japanese Hiragana input method, Korean input method, etc.), and no limitation is made on the input method and the language type of the input method.
[0023] The toolbar setting method in this embodiment may include the following steps:
[0024] Step 101, when it is detected that the user triggers the toolbar setting function, the toolbar setting interface is displayed.
[0025] In this embodiment, the execution subject of the toolbar setting method (such as the above-mentioned electronic device) may be installed with various types of client applications, such as input method applications, browser applications, etc. In some client applications, a toolbar may be presented. The user may customize the toolbar to present his commonly used function options in the toolbar for subsequent calls.
[0026] In this embodiment, when it is detected that the user triggers the toolbar setting function, the execution subject may display the toolbar setting interface. The toolbar setting interface may include at least one mini-program option. Each mini-program option corresponds to a mini-program. In practice, a mini-program is an application that can be used without downloading and installing.
[0027] It should be noted that, in addition to the at least one mini-program option mentioned above, the toolbar setting interface may also include other function options, such as at least one preset function option. Taking the input method application as an example, the functions corresponding to the preset function options may include but are not limited to voice input function options, emoticon function options, keyboard switching function options, search function options, mini-program platform entry options, etc.
[0028] In addition, the embodiment of the present application does not limit the specific display position of the toolbar setting interface. Optionally, the at least one preset function option and the at least one mini-program option can be displayed in different areas. Thus, it is convenient for users to browse and select.
[0029] In addition, the embodiment of the present application does not limit the mini-programs involved in the toolbar setting interface. Optionally, the mini-programs involved in the toolbar setting interface may include but are not limited to at least one of the following: the user's commonly used mini-programs, and the mini-programs pre-selected by the user.
[0030] Take the input method application as an example. Figure 2 FIG. 1 is a schematic diagram showing the presentation process of the toolbar setting interface. Figure 2 As shown, the interface of the input method application may include a toolbar (for example, it may be set above the keyboard area, as shown by reference numeral 201). The input method application may be configured with a toolbar setting function. The toolbar setting function supports users to customize commonly used function options in the toolbar (such as voice input function, emoticon input function, search function, mini-program function, keyboard switching function, search function, etc.). When the user triggers the toolbar setting icon in the input method interface (such as Figure 2When the position indicated by the finger in the input method is indicated, the toolbar setting function can be triggered, so that the toolbar setting interface (as shown by label 202) is presented in the input method interface. Among them, the above-mentioned toolbar setting interface can include at least one mini-program option. For example, each mini-program option can be one or more mini-programs that the user has used. In addition, other function options can also be included, such as traditional Chinese function, flowery character function, etc., which will not be repeated here.
[0031] Step 102, detecting a user's triggering operation on a mini-program option in a toolbar setting interface.
[0032] In this embodiment, after the toolbar setting interface is presented, the execution subject can detect the user's triggering operation (such as a click operation, a double-click operation, etc.) on the mini-program options in the toolbar setting interface. After detecting that the user has triggered one or more mini-program options, the following step 103 can be performed.
[0033] Step 103: The mini-program that triggers the operation instruction is used as the target mini-program, and the icon of the target mini-program is added to the toolbar.
[0034] In this embodiment, the execution subject may take the mini-program that triggers the operation instruction as the target mini-program and add the icon of the target mini-program to the toolbar.
[0035] As an example, Figure 3 FIG. 1 is a schematic diagram showing the process of adding an icon of a target applet. Figure 3 As shown in FIG. 3 , the user clicks the garbage classification applet option in the toolbar setting interface. At this time, the icon of the target applet can be added to the toolbar (as shown by reference numeral 301). In the toolbar at this time, a sign for deleting icons can be presented next to the icons of each function, so that the user can delete the icons in the toolbar. When the user completes the toolbar setting operation and "completes" the icon, a toolbar as shown by reference numeral 302 can be presented. At this time, the toolbar contains the icon of the garbage classification applet.
[0036] In some optional implementations of the present embodiment, the toolbar may include a default area for presenting mini-program icons. After the user selects a target mini-program, the icon of the target mini-program may be added to the above-mentioned default area in the toolbar. It should be noted that the embodiment of the present application does not limit the number of mini-program icons added to the toolbar. Thus, the toolbar may include multiple default areas for presenting mini-program icons. If the user selects multiple target mini-programs, the icons of the target mini-programs selected by the user in turn may be added to each default area in turn (such as adding in order from left to right in the default area).
[0037] In some optional implementations of this embodiment, the user can select the location of the mini-program icon to be added in the toolbar. After the mini-program that triggers the operation instruction is used as the target mini-program, the execution entity can detect the target location selected by the user in the toolbar and add the icon of the target mini-program to the target location in the toolbar. If the user selects multiple target mini-programs, in the process of selecting target mini-programs, each time a target mini-program is selected, a target location of the target mini-program in the toolbar can be selected and the target mini-program can be added to the target location.
[0038] In some optional implementations of this embodiment, before the user triggers the toolbar setting function, the toolbar may contain icons of the mini-programs that have been set. After the user triggers the toolbar setting function and displays the toolbar setting interface, the above-mentioned execution entity may detect the user's removal operation on the icon of the mini-program that has been added to the toolbar. Then, the mini-program indicated by the above-mentioned removal operation may be used as the designated mini-program, and the icon of the above-mentioned designated mini-program may be removed from the toolbar. While deleting the icon of the designated mini-program, the mini-program options of the mini-program corresponding to the deleted icon may be presented in the toolbar setting interface, so as to facilitate the user to add the mini-program again in the event of accidental deletion or the like.
[0039] In addition, after detecting the user's removal operation on the icon of the applet that has been added to the toolbar, and taking the applet indicated by the removal operation as the designated applet, the execution subject may also remove the icon of the designated applet from the toolbar and delete the data of the designated applet in the input method application. Thus, the data of the applet may be directly deleted to reduce the data volume of the input method application.
[0040] It should be noted that, during the process of adding a target applet, or after adding the target applet, the user may also perform an operation of deleting the icon in the toolbar.
[0041] In some optional implementations of this embodiment, the toolbar may be a toolbar of an input method application. After the icon of the target applet is added to the toolbar, when the execution subject detects that a user triggers the icon of the target applet in the toolbar, the target applet may be loaded and the interface of the target applet may be displayed in the input method interface.
[0042] As an example, Figure 4 A schematic diagram showing the process of presenting the interface of the target applet is shown. Figure 4As shown, after the user clicks the icon of the garbage classification applet in the toolbar (as shown by reference numeral 401) of the input method application, the interface of the garbage classification applet (as shown by reference numeral 402) can be presented in the input method interface. The user uses the service provided by the garbage classification applet to perform operations such as querying the category of a certain garbage.
[0043] In one scenario, the input method application may have multiple mini-program data packages built in. After the user clicks a target mini-program in the toolbar, if the target mini-program data package has been pre-stored locally, the data package may be directly extracted from the local computer to load the target mini-program.
[0044] In another scenario, after the user clicks on a target applet in the toolbar, the execution entity may send a data acquisition request for the target applet to the input method server, and then receive the data of the target applet returned by the input method server and load the data.
[0045] In practice, the target mini-program interface can be displayed in the keyboard area of the input method interface, or the mini-program platform interface can be switched to the target mini-program interface, that is, the target mini-program interface can be displayed within the boundary of the input method interface. The specific display location of the target mini-program interface is not limited here.
[0046] In some optional implementations of the present embodiment, the interface of the target applet includes a return button. After the interface of the target applet is displayed in the input method interface, when it is detected that the user triggers the return button, the interface of the target applet is switched to the applet platform interface. In practice, a applet platform for managing applet programs may be built in the input method server. In the applet platform interface, any applet maintained by the applet platform can be queried. The applet platform interface may include multiple applet options, and the applet involved in the applet platform interface may include but is not limited to at least one of the following: applet used by the user, applet used by the user within a certain time range (such as the past 7 days), popular applet in the applet platform (i.e., applet that is used more frequently), applet associated with the user's current input intention, the latest applet, etc.
[0047] The method provided by the above embodiment of the present application, when it is detected that the user triggers the toolbar setting function, displays the toolbar setting interface, and the above toolbar setting interface includes at least one applet option; after detecting the user's triggering operation on the applet option in the above toolbar setting interface, the applet indicated by the above triggering operation is used as the target applet, and the icon of the above target applet is added to the toolbar. Thus, the applet options are presented in the toolbar, and the user can use the selected applet conveniently and quickly without switching interfaces, which reduces the complexity of the operation when obtaining the applet service and improves the efficiency of obtaining the applet service.
[0048] Further references Figure 5 , which shows a process 500 of another embodiment of a toolbar setting method. The process 500 of the toolbar setting method includes the following steps:
[0049] Step 501: When it is detected that the user triggers the toolbar setting function, the toolbar setting interface is displayed.
[0050] Step 502: Detect the user's triggering operation on the mini-program option in the toolbar setting interface.
[0051] Step 503: The mini-program that triggers the operation instruction is used as the target mini-program, and the icon of the target mini-program is added to the toolbar.
[0052] Steps 501 to 503 in this embodiment can be found in Figure 1 Steps 101 to 103 in the illustrated embodiment will not be described in detail here.
[0053] Step 504: Detect whether the user has logged in to the input method application.
[0054] In this embodiment, the toolbar may be a toolbar of an input method application. After the user sets the toolbar, the execution subject may detect whether the user has logged in to the input method application.
[0055] Step 505: If the user has logged in, the configuration information of the toolbar and the user's account information in the input method application are sent to the input method server, so that the input method server stores the account information and the configuration information in correspondence.
[0056] In this embodiment, if the user has logged in, the execution subject may send the configuration information of the toolbar and the account information of the user in the input method application to the input method server, so that the input method server stores the account information and the configuration information in correspondence.
[0057] Here, the configuration information may include but is not limited to: icons of various function entrances set by the user in the toolbar (including the target applet and other function entrances set), icons of default function entrances in the toolbar, location information of each icon, etc.
[0058] Step 506: When it is detected that the user logs in to the input method application again, a configuration information acquisition request including account information is sent to the input method server.
[0059] In this embodiment, when the execution subject detects that the user logs in to the input method application again, it can send a configuration information acquisition request including account information to the input method server, so as to acquire the configuration information of the toolbar corresponding to the logged-in account information.
[0060] Step 507: receiving configuration information corresponding to the account information returned by the input method server, and displaying a toolbar of the input method application based on the configuration information.
[0061] In this embodiment, the execution subject may receive the configuration information corresponding to the account information returned by the input method server, and display the toolbar of the input method application based on the configuration information. Since the configuration information may include icons of various function entrances (including the target mini-program entrance) customized by the user, the user can directly trigger the target mini-program in the toolbar to use the services provided by the target mini-program, which reduces the complexity of the operation when obtaining the mini-program service and improves the efficiency of obtaining the mini-program service.
[0062] from Figure 5 It can be seen that Figure 1 Compared with the corresponding embodiment, the process 500 of the toolbar setting method in this embodiment involves the step of associating and storing the configuration information of the toolbar with the account information. Therefore, when the user logs out, upgrades the device, or changes the device, the mini-program that was once customized and presented on the toolbar can be obtained based on the account information, further improving the convenience of obtaining the mini-program service.
[0063] Further references Figure 6 As an implementation of the methods shown in the above figures, the present application provides an embodiment of a toolbar setting device, which is similar to Figure 1 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0064] like Figure 6As shown, the toolbar setting device 600 described in this embodiment includes: a first display unit 601, configured to display a toolbar setting interface when it is detected that a user triggers the toolbar setting function, and the above-mentioned toolbar setting interface includes at least one mini-program option; a first detection unit 602, configured to detect the above-mentioned user's triggering operation on the mini-program option in the above-mentioned toolbar setting interface; an adding unit 603, configured to take the mini-program indicated by the above-mentioned triggering operation as the target mini-program, and add the icon of the above-mentioned target mini-program to the toolbar.
[0065] In some optional implementations of this embodiment, the adding unit 603 is further configured to: detect a target position selected by a user in the toolbar; and add the icon of the target applet to the target position in the toolbar.
[0066] In some optional implementations of this embodiment, the toolbar is a toolbar of an input method application; and the device further includes: a second display unit, configured to load the target applet when it detects that a user triggers the icon of the target applet in the toolbar, and to display the interface of the target applet in the input method interface.
[0067] In some optional implementations of this embodiment, the interface of the target mini program includes a return button; and the device also includes: a switching unit, configured to switch the interface of the target mini program to the mini program platform interface when it is detected that the user triggers the return button.
[0068] In some optional implementations of this embodiment, the toolbar is a toolbar of an input method application; and the device further includes: a second detection unit, configured to detect whether the user has logged in to the input method application; and a first sending unit, configured to send the configuration information of the toolbar and the account information of the user in the input method application to the input method server if the user has logged in, so that the input method server stores the account information and the configuration information in correspondence.
[0069] In some optional implementations of this embodiment, the above-mentioned device also includes: a second sending unit, configured to send a configuration information acquisition request containing the above-mentioned account information to the above-mentioned input method server when it is detected that the above-mentioned user logs into the above-mentioned input method application again; a third display unit, configured to receive the above-mentioned configuration information corresponding to the above-mentioned account information returned by the above-mentioned input method server, and display the toolbar of the above-mentioned input method application based on the above-mentioned configuration information.
[0070] In some optional implementations of this embodiment, after displaying the toolbar setting interface, the device also includes: a third detection unit, configured to detect the user's removal operation on the icon of the mini-program added to the toolbar; a removal unit, configured to take the mini-program indicated by the removal operation as the designated mini-program, remove the icon of the designated mini-program from the toolbar, and present options for the designated mini-program in the toolbar setting interface; or, a deletion unit, configured to take the mini-program indicated by the removal operation as the designated mini-program, remove the icon of the designated mini-program from the toolbar, and delete the data of the designated mini-program in the input method application.
[0071] In some optional implementations of this embodiment, the above-mentioned toolbar setting interface also includes at least one preset function option, and the above-mentioned at least one preset function option and the above-mentioned at least one mini-program option are displayed in different areas. The mini-program indicated by the above-mentioned at least one mini-program option includes at least one of the following: the above-mentioned user's frequently used mini-programs and the above-mentioned user's pre-selected mini-programs.
[0072] The device provided by the above embodiment of the present application displays a toolbar setting interface when it is detected that a user triggers the toolbar setting function, and the toolbar setting interface includes at least one applet option; after detecting the user's triggering operation on the applet option in the toolbar setting interface, the applet indicated by the triggering operation is used as the target applet, and the icon of the target applet is added to the toolbar. Thus, the applet options are presented in the toolbar, and the user can use the selected applet conveniently and quickly without switching interfaces, which reduces the complexity of the operation when obtaining applet services and improves the efficiency of obtaining applet services.
[0073] Figure 7 7 is a block diagram of an apparatus 700 for setting a toolbar according to an exemplary embodiment, and the apparatus 700 may be a smart terminal or a server. For example, the apparatus 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0074] Reference Figure 7 , the device 700 may include one or more of the following components: a processing component 702 , a memory 704 , a power component 706 , a multimedia component 708 , an audio component 710 , an input / output (I / O) interface 712 , a sensor component 714 , and a communication component 716 .
[0075] The processing component 702 generally controls the overall operation of the device 700, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 702 may include one or more modules to facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
[0076] The memory 704 is configured to store various types of data to support operations on the device 700. Examples of such data include instructions for any application or method operating on the device 700, contact data, phone book data, messages, pictures, videos, etc. The memory 704 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0077] The power supply component 706 provides power to the various components of the device 700. The power supply component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 700.
[0078] The multimedia component 708 includes a screen that provides an output interface between the above-mentioned device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The above-mentioned touch sensor can not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the above-mentioned touch or slide operation. In some embodiments, the multimedia component 708 includes a front camera and / or a rear camera. When the device 700 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.
[0079] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC), and when the device 700 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 704 or sent via the communication component 716. In some embodiments, the audio component 710 also includes a speaker for outputting audio signals.
[0080] I / O interface 712 provides an interface between processing component 702 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0081] The sensor assembly 714 includes one or more sensors for providing various aspects of status assessment for the device 700. For example, the sensor assembly 714 can detect the open / closed state of the device 700, the relative positioning of the components, such as the display and keypad of the device 700, the sensor assembly 714 can also detect the position change of the device 700 or a component of the device 700, the presence or absence of user contact with the device 700, the orientation or acceleration / deceleration of the device 700 and the temperature change of the device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 714 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
[0082] The communication component 716 is configured to facilitate wired or wireless communication between the device 700 and other devices. The device 700 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0083] In an exemplary embodiment, the apparatus 700 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above methods.
[0084] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 704 including instructions, and the instructions can be executed by the processor 720 of the device 700 to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0085] Figure 8 800 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 822 (e.g., one or more processors) and memory 832, and one or more storage media 830 (e.g., one or more mass storage devices) storing application programs 842 or data 844. Among them, the memory 832 and the storage medium 830 may be short-term storage or permanent storage. The program stored in the storage medium 830 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the server. Furthermore, the central processing unit 822 may be configured to communicate with the storage medium 830 to execute a series of instruction operations in the storage medium 830 on the server 800.
[0086] The server 800 may also include one or more power supplies 826, one or more wired or wireless network interfaces 850, one or more input and output interfaces 858, one or more keyboards 856, and / or one or more operating systems 841, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, etc.
[0087] A non-temporary computer-readable storage medium. When the instructions in the storage medium are executed by a processor of a device (smart terminal or server), the device is able to execute a toolbar setting method. The method includes: when it is detected that a user triggers a toolbar setting function, displaying a toolbar setting interface, the toolbar setting interface including at least one mini-program option; detecting the user's triggering operation on the mini-program option in the toolbar setting interface; taking the mini-program indicated by the triggering operation as the target mini-program, and adding the icon of the target mini-program to the toolbar.
[0088] Optionally, adding the icon of the target applet to the toolbar includes: detecting a target position selected by a user in the toolbar; and adding the icon of the target applet to the target position in the toolbar.
[0089] Optionally, the toolbar is a toolbar of an input method application; the device is configured to execute one or more programs including instructions for performing the following operations by one or more processors: when it is detected that a user triggers the icon of the target applet in the toolbar, the target applet is loaded, and the interface of the target applet is displayed in the input method interface.
[0090] Optionally, the interface of the target mini-program includes a return button; the device is configured to execute the one or more programs including instructions for performing the following operations by one or more processors: when it is detected that the user triggers the return button, the interface of the target mini-program is switched to the mini-program platform interface.
[0091] Optionally, the toolbar is a toolbar of an input method application; the device is configured to execute the one or more programs including instructions for performing the following operations by one or more processors: detecting whether the user has logged in to the input method application; if logged in, sending the configuration information of the toolbar and the account information of the user in the input method application to the input method server, so that the input method server stores the account information and the configuration information in correspondence.
[0092] Optionally, the device is configured to have one or more processors execute one or more programs including instructions for performing the following operations: when it is detected that the user logs into the input method application again, sending a configuration information acquisition request including the account information to the input method server; receiving the configuration information corresponding to the account information returned by the input method server, and based on the configuration information, displaying the toolbar of the input method application.
[0093] Optionally, the device is configured to execute one or more programs including instructions for performing the following operations by one or more processors: detecting the user's removal operation on the icon of the mini-program that has been added to the toolbar; treating the mini-program indicated by the removal operation as the designated mini-program, removing the icon of the designated mini-program from the toolbar, and presenting options for the designated mini-program in the toolbar setting interface; or treating the mini-program indicated by the removal operation as the designated mini-program, removing the icon of the designated mini-program from the toolbar, and deleting the data of the designated mini-program in the input method application.
[0094] Optionally, the toolbar setting interface also includes at least one preset function option, and the at least one preset function option and the at least one mini-program option are displayed in different areas. The mini-program indicated by the at least one mini-program option includes at least one of the following: the user's frequently used mini-programs and the user's pre-selected mini-programs.
[0095] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the application disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0096] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
[0097] The above is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
[0098] The above is a detailed introduction to a toolbar setting method, device and device for setting a toolbar provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A toolbar setting method, characterized in that: The method comprises: When it is detected that the user triggers the toolbar setting function, a toolbar setting interface is displayed, wherein the toolbar setting interface includes at least one applet option; Detecting a triggering operation of the user on a mini-program option in the toolbar setting interface; The mini-program indicating the triggering operation is used as the target mini-program, and the icon of the target mini-program is added to the toolbar; The toolbar is a toolbar of an input method application; and After adding the icon of the target applet to the toolbar, the method further includes: Detecting whether the user has logged in in the input method application; If the user has logged in, the configuration information of the toolbar and the account information of the user in the input method application are sent to the input method server, so that the input method server stores the account information and the configuration information in correspondence.
2. The method according to claim 1, characterized in that: The step of adding the icon of the target applet to the toolbar includes: Detect the target position selected by the user in the toolbar; An icon of the target applet is added to the target location in the toolbar.
3. The method according to claim 1, characterized in that The toolbar is a toolbar of the input method application; as well as After adding the icon of the target applet to the toolbar, the method further includes: When it is detected that the user triggers the icon of the target applet in the toolbar, the target applet is loaded, and the interface of the target applet is displayed in the input method interface.
4. The method according to claim 3, characterized in that The target applet interface includes a return button; as well as After displaying the interface of the target applet in the input method interface, the method further includes: When it is detected that the user triggers the return button, the interface of the target mini-program is switched to the mini-program platform interface.
5. The method according to claim 1, characterized in that After sending the configuration information and the user's account information in the input method application to the input method server, the method further includes: When detecting that the user logs in to the input method application again, sending a configuration information acquisition request including the account information to the input method server; The configuration information corresponding to the account information and returned by the input method server is received, and based on the configuration information, a toolbar of the input method application is displayed.
6. The method according to claim 1, characterized in that After displaying the toolbar setting interface, the method further includes: Detecting a removal operation of the user on the icon of the mini-program added to the toolbar; The mini-program indicated by the removal operation is used as the designated mini-program, the icon of the designated mini-program is removed from the toolbar, and the options of the designated mini-program are presented in the toolbar setting interface; or The applet indicated by the removal operation is used as a designated applet, the icon of the designated applet is removed from the toolbar, and the data of the designated applet in the input method application is deleted.
7. A tool bar setting device, characterized in that: The device comprises: A first display unit is configured to display a toolbar setting interface when detecting that a user triggers a toolbar setting function, wherein the toolbar setting interface includes at least one applet option; A first detection unit is configured to detect a triggering operation of the user on a mini-program option in the toolbar setting interface; an adding unit, configured to take the mini-program indicated by the triggering operation as a target mini-program, and add an icon of the target mini-program to a toolbar; The toolbar is a toolbar of an input method application; and The device also includes: A second detection unit is configured to detect whether the user has logged in in the input method application; The first sending unit is configured to send the configuration information of the toolbar and the account information of the user in the input method application to the input method server if the user has logged in, so that the input method server stores the account information and the configuration information in correspondence.
8. The device according to claim 7, characterized in that The adding unit is further configured to: Detect the target position selected by the user in the toolbar; An icon of the target applet is added to the target location in the toolbar.
9. The device according to claim 7, characterized in that The toolbar is a toolbar of the input method application; as well as The device also includes: The second display unit is configured to load the target applet and display the interface of the target applet in the input method interface when it is detected that the user triggers the icon of the target applet in the toolbar.
10. The device according to claim 9, characterized in that The target applet interface includes a return button; as well as The device also includes: The switching unit is configured to switch the interface of the target mini program to the mini program platform interface when it is detected that the user triggers the return button.
11. The device according to claim 7, characterized in that The device also includes: A second sending unit is configured to send a configuration information acquisition request including the account information to the input method server when detecting that the user logs in to the input method application again; The third display unit is configured to receive the configuration information corresponding to the account information returned by the input method server, and display the toolbar of the input method application based on the configuration information.
12. The device according to claim 7, characterized in that The device also includes: A third detection unit is configured to detect a removal operation of the user on the icon of the mini-program that has been added to the toolbar; a removing unit configured to take the applet indicated by the removal operation as a designated applet, remove the icon of the designated applet from the toolbar, and present an option of the designated applet in the toolbar setting interface; or The deleting unit is configured to take the applet indicated by the removal operation as the designated applet, remove the icon of the designated applet from the toolbar, and delete the data of the designated applet in the input method application.
13. A device for setting a toolbar, characterized in that: The system comprises a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, wherein the one or more programs include instructions for performing the following operations: When it is detected that the user triggers the toolbar setting function, a toolbar setting interface is displayed, wherein the toolbar setting interface includes at least one applet option; Detecting a triggering operation of the user on a mini-program option in the toolbar setting interface; The mini-program indicating the triggering operation is used as the target mini-program, and the icon of the target mini-program is added to the toolbar; The toolbar is a toolbar of an input method application; and The device is configured to execute, by one or more processors, the one or more programs including instructions for performing the following operations: Detecting whether the user has logged in in the input method application; If the user has logged in, the configuration information of the toolbar and the account information of the user in the input method application are sent to the input method server, so that the input method server stores the account information and the configuration information in correspondence.
14. The device according to claim 13, characterized in that The step of adding the icon of the target applet to the toolbar includes: Detect the target position selected by the user in the toolbar; An icon of the target applet is added to the target location in the toolbar.
15. The device according to claim 13, characterized in that The toolbar is a toolbar of an input method application; and The device is configured to execute, by one or more processors, the one or more programs including instructions for performing the following operations: When it is detected that the user triggers the icon of the target applet in the toolbar, the target applet is loaded, and the interface of the target applet is displayed in the input method interface.
16. The device according to claim 15, characterized in that The target applet interface includes a return button; and The device is configured to execute, by one or more processors, the one or more programs including instructions for performing the following operations: When it is detected that the user triggers the return button, the interface of the target mini-program is switched to the mini-program platform interface.
17. The device according to claim 13, characterized in that The device is configured to execute, by one or more processors, the one or more programs including instructions for performing the following operations: When detecting that the user logs in to the input method application again, sending a configuration information acquisition request including the account information to the input method server; The configuration information corresponding to the account information and returned by the input method server is received, and based on the configuration information, a toolbar of the input method application is displayed.
18. The device according to claim 13, characterized in that The device is configured to execute, by one or more processors, the one or more programs including instructions for performing the following operations: Detecting a removal operation of the user on the icon of the mini-program added to the toolbar; The mini-program indicated by the removal operation is used as the designated mini-program, the icon of the designated mini-program is removed from the toolbar, and the options of the designated mini-program are presented in the toolbar setting interface; or The applet indicated by the removal operation is used as a designated applet, the icon of the designated applet is removed from the toolbar, and the data of the designated applet in the input method application is deleted.
19. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Method for forming personalized error correcting model and input method system of personalized error correcting
CN101350004A
Method for integrating account management function in input method software
CN102073810A
Method and system for adding application access icons to desktop
CN104111825A
Toolbar operating method and device
CN104267881A
Devices and methods for accessing prevalent device functions
CN107491257A
