WO2018010364A1 - 菜单字符串修改方法和装置 - Google Patents

菜单字符串修改方法和装置 Download PDF

Info

Publication number
WO2018010364A1
WO2018010364A1 PCT/CN2016/107733 CN2016107733W WO2018010364A1 WO 2018010364 A1 WO2018010364 A1 WO 2018010364A1 CN 2016107733 W CN2016107733 W CN 2016107733W WO 2018010364 A1 WO2018010364 A1 WO 2018010364A1
Authority
WO
WIPO (PCT)
Prior art keywords
string
menu
menu string
terminal
modification
Prior art date
Application number
PCT/CN2016/107733
Other languages
English (en)
French (fr)
Inventor
李虎军
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018010364A1 publication Critical patent/WO2018010364A1/zh

Links

Images

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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus

Definitions

  • the present invention relates to the field of terminal technologies, and in particular, to a method and apparatus for modifying a menu string.
  • the main object of the present invention is to provide a menu string modification method and apparatus, which aims to solve the current menu string modification method, which is not only limited but also not convenient technical problems.
  • the present invention provides a menu string modification method, and the menu string modification method includes:
  • the menu string that triggers the modification instruction is replaced with a replacement string.
  • the step of acquiring the replacement character string of the menu string when receiving the modification instruction comprises:
  • the terminal Upon receiving the modification instruction, the terminal pops up a preset menu string input box;
  • the terminal performs the following steps while popping up the preset menu string input box:
  • a selection interface of the pre-stored menu string is displayed for the user to select a pre-stored menu string based on the selection interface.
  • the menu string modification method further includes:
  • the terminal determines a menu string to be switched corresponding to the switching instruction
  • the acquired associated menu string is displayed for the user to select the associated menu string to switch, or to switch the menu string to be switched to the acquired associated menu string.
  • the menu string modification method further includes:
  • the terminal When receiving the menu string export file sent by another terminal, the terminal extracts a menu string and a display position in the menu string export file;
  • the other terminal records the display position of the menu string to be exported when the export instruction of the menu string is received, and associates the menu string to be exported and its display position to obtain a menu string export file;
  • the terminal replaces the menu string in the same display position by using the extracted menu string.
  • the present invention further provides a menu string modification apparatus, where the menu string modification apparatus includes:
  • the receiving module is configured to receive a modification instruction triggered by the menu string when the menu interface is displayed;
  • the replacement module is configured to replace the menu string that triggers the modification instruction with a replacement string.
  • the obtaining module comprises:
  • a pop-up unit configured to pop up a preset menu string input box when receiving the modification instruction
  • the obtaining unit is configured to acquire a menu string input by the user based on the menu string input box, and use a menu string input based on the string input box as a replacement character string.
  • the obtaining module further includes:
  • Determining a unit setting to determine whether a pre-stored menu string exists
  • the display unit is configured to display a selection interface of the pre-stored menu string if the pre-stored menu string exists, for the user to select the pre-stored menu string based on the selection interface.
  • the menu string modification device further includes:
  • a determining module configured to: if a switching instruction of the menu string is received, determine a menu string to be switched corresponding to the switching instruction;
  • the obtaining module is further configured to acquire the determined associated menu string of the menu string to be switched;
  • a display module configured to display the acquired associated menu string for the user to select an associated menu string to switch
  • the switching module is configured to switch the menu string to be switched to the acquired associated menu string.
  • the menu string modification device further includes:
  • An extraction module configured to extract a menu string and a display position in the menu string export file when receiving a menu string export file sent by another terminal;
  • the dish to be exported is recorded.
  • the display position of the single string, and the menu string to be exported and its display position are associated and exported to obtain a menu string export file;
  • the replacement module is configured to replace the menu string in the same display position by using the extracted menu string.
  • Another embodiment of the present invention provides a computer storage medium, where the computer storage medium stores execution instructions for performing one or a combination of the steps in the foregoing method embodiments.
  • the method and device for modifying a menu string when the terminal displays the menu interface, receives a modification instruction triggered by the menu string, and when receiving the modification instruction, acquires a replacement string of the menu string, and Replacing the menu string that triggers the modification instruction with a replacement string, instead of only going to the after-sales point of the smart terminal, modifying the menu string in the system application, or using the application server to apply the menu character After the string is modified, a new application is released.
  • the invention customizes the menu string by the terminal, which improves the convenience and flexibility of the menu string modification.
  • FIG. 1 is a schematic flowchart of a first embodiment of a method for modifying a menu string according to the present invention
  • FIG. 2 is a schematic flowchart of a preferred embodiment of acquiring a replacement string of the menu string when receiving the modification instruction according to the present invention
  • FIG. 6 are schematic diagrams of a preferred embodiment of the present invention.
  • FIG. 7 is a schematic flowchart of a second embodiment of a method for modifying a menu string according to the present invention.
  • FIG. 8 is a schematic diagram of menu string switching according to the present invention.
  • FIG. 9 is a schematic flowchart of a third embodiment of a method for modifying a menu string according to the present invention.
  • FIG. 10 is a schematic diagram of functional modules of a first embodiment of a menu string modification apparatus according to the present invention.
  • FIG. 11 is a schematic diagram of a refinement function module of the acquisition module in FIG. 10;
  • FIG. 12 is a schematic diagram of functional modules of a second embodiment of a menu string modification apparatus according to the present invention.
  • FIG. 13 is a schematic diagram of functional modules of a third embodiment of a menu string modification apparatus according to the present invention.
  • the invention provides a method for modifying a menu string.
  • FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for modifying a menu string according to the present invention.
  • the menu string modification method includes:
  • Step S10 when the terminal displays the menu interface, receiving a modification instruction triggered by the menu string
  • Step S20 Acquire a replacement character string of the menu string when receiving the modification instruction
  • the triggering manner of the modification instruction of the menu string includes: a, receiving a touch operation at a position of the menu string in the preset interface, such as a touch operation when a touch operation or a long touch operation is triggered, Modification instructions for strings. b.
  • a touch operation at a position of the menu string in the preset interface, such as a touch operation when a touch operation or a long touch operation is triggered
  • Modification instructions for strings for strings.
  • step S20 includes:
  • Method 1 referring to FIG. 2, the step S20 includes:
  • Step S21 when receiving the modification instruction, the terminal pops up a preset menu character. String input box;
  • Step S22 Acquire a menu character string input by the user based on the menu string input box, and use a menu character string input based on the string input box as a replacement character string.
  • the terminal when the touch operation is received at the location of the menu string, the terminal first determines the menu string to be modified, and then pops up a preset menu string input box for the user to input based on the menu string input box.
  • the menu string finally obtains a menu string input by the user based on the menu string input box, and uses a menu string input based on the string input box as a replacement string.
  • the same menu string input box may be popped up when the modification command of any menu string is received.
  • the same menu string input box may be popped up when the modification command of any menu string is received.
  • step S21 performing the following steps:
  • a selection interface of the pre-stored menu string is displayed for the user to select a pre-stored menu string based on the selection interface.
  • the menu string input box that pops up may be the same menu string input box, or may be a menu string input box associated with the location of each menu string for each menu string. Then, while the menu string input box is popped up, the selection interface of the terminal displaying the pre-stored menu string is also different, optionally, when the pop-up menu string input box is the same menu string input box.
  • the terminal first determines whether a menu string has been input according to the menu string input box, and if so, the previously input menu string is equivalent to a pre-stored menu string, and the selection of the pre-stored menu string is displayed at this time. An interface for the user to select any one of the menu strings to be entered based on the selection interface Enter the menu string.
  • the menu string input box that is popped up is a menu string input box popped up for each menu string
  • the menu string associated with the location of the menu string to be modified is displayed.
  • the input box is sufficient, and at the same time that the menu string input box associated with the location of the menu string to be modified is popped up, the terminal needs to determine whether the menu character has been input in the menu string input box associated with the location.
  • the string, if any, the previously entered menu string is equivalent to the pre-stored menu string.
  • the selection interface of the pre-stored menu string is also displayed, so that the user selects any menu string as the waiting based on the selection interface. Enter the menu string.
  • the selection interface of the pre-stored menu string displayed based on the two menu string input boxes is different.
  • the menu string input box is the same menu string input box
  • the selection of the pre-stored menu string displayed is displayed.
  • the pre-stored menu string is the menu string entered in all previous positions.
  • the menu string input box is a menu string input box associated with the position of any menu string
  • the pre-stored menu string is the menu string previously input at the position.
  • the menu string modification method further includes:
  • the terminal displays a keyboard interface for the user to input a menu string based on the keyboard interface.
  • the terminal displays a pre-stored menu string selection interface while displaying a pre-stored menu string, and displays a keyboard interface for the user to directly select the pre-stored menu string.
  • the interface selects a pre-stored menu string, or selects input keyboard information in the keyboard interface, instead of fixing the mode for the user to select or input, thereby improving the user experience.
  • Method 2 When the user input menu string is detected in the preset window of the terminal, the menu string input by the user is obtained, and when the user clicks the menu string in the preset interface, the user clicks Menu string as the menu string to be modified, and the user will lose The entered menu string is used as the replacement string of the menu string to be modified, and the menu string to be modified is replaced according to the input menu string.
  • Step S30 replacing the menu string that triggers the modification instruction with a replacement string.
  • the menu string of the modification instruction may be replaced according to the input menu string.
  • each menu string is displayed, referring to FIG. 3, such as a WLAN hotspot, dual card settings, and traffic usage status menu strings.
  • a touch operation is received in the area of the WLAN hotspot, including a tap touch operation or a long press touch operation, referring to FIG. 4, the menu character string of the WLAN hotspot is selected as the menu string to be modified.
  • a preset menu string input box is popped up, referring to FIG. 5, for the user to input a menu string, such as a wireless network, based on the menu string input box.
  • menu string to be modified is replaced according to the input menu string, for example, the menu string of the WLAN hotspot is replaced according to the menu string of the wireless network, so that the setting interface finally displays the wireless network, dual card settings, and traffic usage. Etc. See Figure 6.
  • the method for modifying a menu string when the terminal displays the menu interface, receives a modification instruction triggered by the menu string, and when receiving the modification instruction, acquires a replacement string of the menu string, and adopts
  • the replacement string replaces the menu string that triggers the modification instruction, instead of only the after-sales point of the smart terminal, modifying the menu string in the system application, or the menu string of the application by the application server After the modification, the new application is released, and the invention customizes the menu string by the terminal, which improves the convenience and flexibility of the menu string modification.
  • the The menu string modification method also includes:
  • Step S40 if receiving a switching instruction of the menu string, the terminal determines the cutting The menu string to be switched corresponding to the change instruction;
  • Step S50 obtaining the determined associated menu character string of the menu string to be switched
  • Step S60 Display the acquired associated menu string for the user to select the associated menu string to switch, or switch the menu string to be switched to the acquired associated menu string.
  • the modification of the menu string may be caused by the user's erroneous operation. Therefore, in this embodiment, after modifying the menu string, the original character may also be switched back. Menu string.
  • the terminal first determines the menu string to be switched corresponding to the switching instruction, and then determines the associated menu string of the menu string to be switched, and
  • the associated menu string of the menu string to be switched refers to the menu string originally used in the position of the menu string to be switched, and the used menu string is stored even if it is modified later, and The used menu string is used as the associated menu string of the menu string to be switched. Therefore, after determining the menu string to be switched corresponding to the switching instruction, the determined associated menu string of the menu string to be switched may be acquired. After obtaining the determined original menu string of the to-be-switched menu string, the following implementation manners are included:
  • the acquired associated menu strings are arranged in a preset order, and then the menu string to be switched is switched to the associated menu string ranked first.
  • the preset sequence includes a time sequence.
  • the later the storage menu string is arranged in the order of the order of the associated menu strings, or the order of the number of times of use, and the order of the associated menu strings with the highest frequency of use is preferably higher.
  • the menu characters in the wireless network When a touch operation is received in the string, such as a sliding touch operation, an associated menu string of the menu string of the wireless network is displayed.
  • the menu string used in the position can be displayed, that is, as shown in FIG. 8 Shown, shows WLAN hotspots and wireless networks.
  • FIG. 8 Shown shows WLAN hotspots and wireless networks.
  • the menu string modification method is further include:
  • Step S70 the terminal extracts a menu string and a display position in the menu string export file when receiving the menu string export file sent by the other terminal;
  • the other terminal records the display position of the menu string to be exported when the export instruction of the menu string is received, and associates the menu string to be exported and its display position to obtain a menu string export file;
  • Step S80 The terminal replaces the menu string in the same display position by using the extracted menu string.
  • the display position corresponding to the menu string to be exported is first recorded, and the display position is preferably a URL (Uniform Resource Locator, Uniform Resource Locator), and then export the exported menu string and its display position association to obtain a menu string export file, and finally send the menu string export file to the terminal.
  • the terminal and the other terminal must be the same type of terminal, and use the same operating system.
  • the terminal and the other terminal must be ZTE mobile phones, and both are installed. System, then, The other terminal can send the menu string export file to the terminal.
  • the manner in which the other terminal sends the menu string export file to the terminal may be sent by using a wireless network, and may also be performed by using a Bluetooth connection method, and is not limited herein.
  • the terminal can also export the menu string and its display position as a menu string export file and send it to other terminals.
  • the operation mode is the same as the above, and is not described here.
  • the terminal when receiving the menu string export file sent by another terminal, the terminal exports the menu string in the file according to the menu string, and replaces the menu character in the same display position on the local end.
  • the string realizes the quick modification of the menu string, and the modification manner is consistent with other terminals, which is equivalent to the user manually modifying the menu string of one terminal, and other terminals of the same type can be realized once by this synchronization manner.
  • Sexual modification which speeds up the efficiency of menu string modification and improves the intelligence and convenience of menu string modification.
  • the invention further provides a menu string modification device.
  • FIG. 10 is a schematic diagram of functional modules of a first embodiment of a menu string modification apparatus according to the present invention.
  • the functional block diagram shown in FIG. 10 is merely an exemplary diagram of a preferred embodiment, and those skilled in the art modify the functional modules of the device around the menu string shown in FIG.
  • the function module can be easily added; the name of each function module is a custom name, which is only used to assist in understanding the various program function blocks of the menu string modification device, and is not used to limit the technical solution of the present invention.
  • the functionality to be achieved by the functional modules that each define the name is the functionality to be achieved by the functional modules that each define the name.
  • the menu string modification apparatus includes:
  • the receiving module 10 is configured to receive a modification instruction triggered by the menu string when the menu interface is displayed;
  • the obtaining module 20 is configured to acquire a replacement character string of the menu string when receiving the modification instruction;
  • the triggering manner of the modification instruction of the menu string includes: a, receiving a touch operation at a position of the menu string in the preset interface, such as a touch operation when a touch operation or a long touch operation is triggered, Modification instructions for strings. b.
  • a touch operation at a position of the menu string in the preset interface, such as a touch operation when a touch operation or a long touch operation is triggered
  • Modification instructions for strings for strings.
  • the obtaining module 20 When the modification instruction triggered by the menu string is received, the obtaining module 20 performs a corresponding operation according to the triggering manner of the modification instruction of the menu string.
  • the obtaining module 20 obtains the implementation manner of the replacement string of the menu string.
  • the obtaining module 20 includes:
  • the pop-up unit 21 is configured to: when the modification instruction is received, pop up a preset menu string input box;
  • the obtaining unit 22 is configured to acquire a menu string input by the user based on the menu string input box, and use a menu string input based on the string input box as a replacement character string.
  • the menu string to be modified is first determined, and then the pop-up unit 21 pops up a preset menu string input box for the user to input based on the menu string.
  • the menu input character string the final acquisition unit 22 acquires a menu character string input by the user based on the menu character string input box, and uses a menu character string input based on the character string input box as a replacement character string.
  • the pop-up unit 21 pops up the preset menu string input box
  • the modification command of any menu string is received
  • the same menu string input box is popped up.
  • the pop-up unit 21 pops up the menu string input box corresponding to the touch position, that is, each time the menu string modification instruction for different positions is displayed, different menu string input boxes are popped up, and each menu string input box is Is the menu string input box associated with the location of the menu string.
  • the obtaining module 20 further includes:
  • Determining a unit setting to determine whether a pre-stored menu string exists
  • the display unit is configured to display a selection interface of the pre-stored menu string if the pre-stored menu string exists, for the user to select the pre-stored menu string based on the selection interface.
  • the menu string input box popped up by the pop-up unit 21 may be the same menu string input box, or may be a menu string associated with the location of each menu string for each menu string. Input box. Then, when the pop-up unit 21 pops up the menu string input box, the selection interface of the display unit displaying the pre-stored menu string is also different. Optionally, the menu string input box popped up in the pop-up unit 21 is the same menu.
  • the determining unit When the string is input to the frame, the determining unit first determines whether the menu string has been input according to the menu string input box, and if so, the previously input menu string is equivalent to the pre-stored menu string, and the display unit displays The selection interface of the menu string is pre-stored for the user to select any menu string as the menu string to be input based on the selection interface.
  • the display unit displays the menu string to be modified.
  • the menu string input box associated with the location may be, and at the same time that the pop-up unit 21 pops up the menu string input box associated with the location of the menu string to be modified, the determining unit needs to determine whether the menu has been previously associated with the location.
  • the menu string is input in the string input box. If there is, the previously entered menu string is equivalent to the pre-stored menu string.
  • the display unit also displays the selection interface of the pre-stored menu string for the user to Select the interface and select any menu string as the menu string to be entered.
  • the pre-stored menu string is displayed based on two menu string input boxes.
  • the selection interface is different.
  • the pre-stored menu string is the menu string input in all previous positions.
  • the menu string input box is a menu string input box associated with the position of any menu string, in the selection interface of the displayed pre-stored menu character string, the pre-stored menu string is the menu string previously input at the position.
  • the display unit is further configured to display a keyboard interface for inputting a menu string based on the keyboard interface if the pre-stored menu string associated with the menu string input box does not exist.
  • the pop-up unit 21 displays a pre-stored menu string selection interface, and displays a keyboard interface for the user to directly access the pre-stored menu, if the pre-stored menu character string exists.
  • the string selection interface selects the pre-stored menu string, or selects the input keyboard information in the keyboard interface, instead of fixing the mode for the user to select or input, thereby improving the user experience.
  • Method 2 When the user input menu string is detected in the preset window of the terminal, the menu string input by the user is obtained, and when the user clicks the menu string in the preset interface, the user clicks The menu string is used as the menu string to be modified, and the menu string input by the user is used as the replacement string of the menu string to be modified, and the menu string to be modified is replaced according to the input menu string.
  • the replacement module 30 is arranged to replace the menu string that triggered the modification instruction with a replacement string.
  • the replacement module 30 may replace the menu string of the modification instruction according to the input menu string.
  • each menu string is displayed, referring to FIG. 3, such as a WLAN hotspot, dual card settings, and traffic usage status menu strings.
  • FIG. 3 such as a WLAN hotspot, dual card settings, and traffic usage status menu strings.
  • the menu string of the WLAN hotspot is selected as the menu string to be modified.
  • a preset menu string input box is popped up, referring to FIG. 5, for the user to input a menu string, such as a wireless network, based on the menu string input box.
  • menu string to be modified is replaced according to the input menu string, for example, the menu string of the WLAN hotspot is replaced according to the menu string of the wireless network, so that the setting interface finally displays the wireless network, dual card settings, and traffic usage. Etc. See Figure 6.
  • the menu character string modification device of the embodiment when the terminal displays the menu interface, receives a modification instruction triggered by the menu string, and when receiving the modification instruction, acquires a replacement character string of the menu string, and adopts
  • the replacement string replaces the menu string that triggers the modification instruction, instead of only the after-sales point of the smart terminal, modifying the menu string in the system application, or the menu string of the application by the application server After the modification, the new application is released, and the invention customizes the menu string by the terminal, which improves the convenience and flexibility of the menu string modification.
  • the menu string modification apparatus further include:
  • the determining module 40 is configured to: if the switching instruction of the menu string is received, determine a menu string to be switched corresponding to the switching instruction;
  • the obtaining module 20 is further configured to acquire the determined associated menu character string of the menu string to be switched;
  • the display module 50 is configured to display the acquired associated menu string for the user to select the associated menu string to switch;
  • the switching module 60 is configured to switch the menu string to be switched to the acquired associated menu string.
  • the modification of the menu string may be caused by the user's erroneous operation. Therefore, in this embodiment, the menu string is modified. After that, you can also switch back to the original menu string.
  • the determining module 40 first determines the menu string to be switched corresponding to the switching instruction, and then determines the associated menu string of the menu string to be switched, and
  • the associated menu string of the menu string to be switched refers to the menu string originally used in the position of the menu string to be switched, and the used menu string is stored even if it is modified later, and The used menu string is used as the associated menu string of the menu string to be switched.
  • the obtaining module 20 may obtain the determined associated menu string of the to-be-switched menu string. After the obtaining module 20 obtains the determined original menu string of the to-be-switched menu string, the following implementation manners are included:
  • the switching module 60 switches the menu string to be switched to the associated menu string.
  • the acquired related menu string includes a plurality of menu strings
  • the acquired related menu strings are arranged in a preset order, and then the switching module 60 switches the menu string to be switched to the first related menu.
  • a character string wherein the preset order includes a chronological order, and preferably, the later the storage menu string is arranged in the order of the order of the associated menu strings, or the order of the number of times of use, the preferred order of the associated menu strings is the most frequently used.
  • the display module 50 displays the acquired associated menu string for the user to select the associated menu string for switching, that is, when receiving the selection completion instruction input based on the associated menu string, according to the selected association.
  • the menu string updates the menu string to be switched corresponding to the switching instruction.
  • a touch operation is received in a menu string of a wireless network, such as a sliding touch operation, displaying an associated menu string of a menu string of the wireless network
  • the used menu strings can be displayed, that is, as shown in FIG. 8, the WLAN hotspot and the wireless network are displayed.
  • the menu string modification apparatus further include:
  • the extracting module 70 is configured to extract a menu string and a display position in the menu string export file when receiving a menu string export file sent by another terminal;
  • the other terminal records the display position of the menu string to be exported when the export instruction of the menu string is received, and associates the menu string to be exported and its display position to obtain a menu string export file;
  • the replacement module 30 is configured to replace the menu string in the same display position by using the extracted menu string.
  • the display position corresponding to the menu string to be exported is first recorded, and the display position is preferably a URL (Uniform Resource Locator, Uniform Resource Locator), and then export the exported menu string and its display position association to obtain a menu string export file, and finally send the menu string export file to the terminal.
  • the terminal and the other terminal must be the same type of terminal, and use the same operating system.
  • the terminal and the other terminal must be ZTE mobile phones, and both are installed. System, then, the other terminal can send the menu string export file to the terminal.
  • the manner in which the other terminal sends the menu string export file to the terminal may be sent by using a wireless network, and may also be performed by using a Bluetooth connection method, and is not limited herein.
  • the extracting module 70 extracts a menu string and a display position in the menu string export file, and then the replacement module The menu string in the same display position is replaced by the extracted menu string to implement the modification of the menu string.
  • the terminal can also export the menu string and its display position as a menu string export file and send it to other terminals.
  • the operation mode is the same as the above, and is not described here.
  • the terminal when receiving the menu string export file sent by another terminal, the terminal exports the menu string in the file according to the menu string, and replaces the menu character in the same display position on the local end.
  • the string realizes the quick modification of the menu string, and the modification manner is consistent with other terminals, which is equivalent to the user manually modifying the menu string of one terminal, and other terminals of the same type can be realized once by this synchronization manner.
  • Sexual modification which speeds up the efficiency of menu string modification and improves the intelligence and convenience of menu string modification.
  • the method and apparatus for modifying a menu string provided by the embodiment of the present invention have the following beneficial effects: the menu string is customized and modified by the terminal, and the convenience and flexibility of the menu string modification are improved.

Landscapes

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

Abstract

一种菜单字符串修改方法和装置,所述方法包括:在终端显示菜单界面时,接收基于菜单字符串触发的修改指令(S10);在接收到所述修改指令时,获取所述菜单字符串的替换字符串(S20);采用替换字符串替换触发所述修改指令的所述菜单字符串(S30)。所述方法提高了菜单字符串修改的便捷性和灵活性。

Description

菜单字符串修改方法和装置 技术领域
本发明涉及终端技术领域,尤其涉及一种菜单字符串修改方法和装置。
背景技术
随着科学技术的发展,智能终端的功能越来越丰富。智能终端中集成的功能菜单也越来越多,如系统自带的菜单,或者是第三方应用中的菜单,目前,菜单中的字符串一旦被设置好,用户就无法更改,若是菜单字符串有误,用户只能到智能终端的售后点,对系统应用中的菜单字符串进行修改,或者是利用应用服务端对应用的菜单字符串进行修改之后发布新的应用,显然,这种修改方式非常局限,并且不够便捷。
发明内容
本发明的主要目的在于提出一种菜单字符串修改方法和装置,旨在解决现在的菜单字符串修改方式,不仅局限而且不够便捷的技术问题。
为实现上述目的,本发明提供的一种菜单字符串修改方法,所述菜单字符串修改方法包括:
在终端显示菜单界面时,接收基于菜单字符串触发的修改指令;
在接收到所述修改指令时,获取所述菜单字符串的替换字符串;
采用替换字符串替换触发所述修改指令的所述菜单字符串。
优选地,所述在接收到所述修改指令时,获取所述菜单字符串的替换字符串的步骤包括:
在接收到所述修改指令时,所述终端弹出预设的菜单字符串输入框;
获取用户基于所述菜单字符串输入框输入的菜单字符串,并将基于所述字符串输入框输入的菜单字符串作为替换字符串。
优选地,所述终端弹出预设的菜单字符串输入框的同时,执行以下步骤:
所述终端确定是否存在预存菜单字符串;
若存在预存菜单字符串,则显示预存菜单字符串的选择界面,以供用户基于所述选择界面选择预存菜单字符串。
优选地,所述采用替换字符串替换触发所述修改指令的所述菜单字符串的步骤之后,所述菜单字符串修改方法还包括:
若接收到菜单字符串的切换指令,则所述终端确定所述切换指令对应的待切换菜单字符串;
获取确定的所述待切换菜单字符串的关联菜单字符串;
显示获取的关联菜单字符串,以供用户选择关联菜单字符串以进行切换,或者,将待切换菜单字符串切换为获取的关联菜单字符串。
优选地,所述菜单字符串修改方法还包括:
所述终端在接收到其它终端发送的菜单字符串导出文件时,在所述菜单字符串导出文件中提取出菜单字符串和显示位置;
其中,其它终端在接收到菜单字符串的导出指令时,记录待导出的菜单字符串的显示位置,并将待导出的菜单字符串及其显示位置关联导出,得到菜单字符串导出文件;
所述终端采用提取的所述菜单字符串,替换相同的所述显示位置中的菜单字符串。
此外,为实现上述目的,本发明还提出一种菜单字符串修改装置,所述菜单字符串修改装置包括:
接收模块,设置为在显示菜单界面时,接收基于菜单字符串触发的修改指令;
获取模块,设置为在接收到所述修改指令时,获取所述菜单字符串的 替换字符串;
替换模块,设置为采用替换字符串替换触发所述修改指令的所述菜单字符串。
优选地,所述获取模块包括:
弹出单元,设置为在接收到所述修改指令时,弹出预设的菜单字符串输入框;
获取单元,设置为获取用户基于所述菜单字符串输入框输入的菜单字符串,并将基于所述字符串输入框输入的菜单字符串作为替换字符串。
优选地,所述获取模块还包括:
确定单元,设置为确定是否存在预存菜单字符串;
显示单元,设置为若存在预存菜单字符串,则显示预存菜单字符串的选择界面,以供用户基于所述选择界面选择预存菜单字符串。
优选地,所述菜单字符串修改装置还包括:
确定模块,设置为若接收到菜单字符串的切换指令,则确定所述切换指令对应的待切换菜单字符串;
所述获取模块,还设置为获取确定的所述待切换菜单字符串的关联菜单字符串;
显示模块,设置为显示获取的关联菜单字符串,以供用户选择关联菜单字符串以进行切换;
切换模块,设置为将待切换菜单字符串切换为获取的关联菜单字符串。
优选地,所述菜单字符串修改装置还包括:
提取模块,设置为在接收到其它终端发送的菜单字符串导出文件时,在所述菜单字符串导出文件中提取出菜单字符串和显示位置;
其中,其它终端在接收到菜单字符串的导出指令时,记录待导出的菜 单字符串的显示位置,并将待导出的菜单字符串及其显示位置关联导出,得到菜单字符串导出文件;
所述替换模块,设置为采用提取的所述菜单字符串,替换相同的所述显示位置中的菜单字符串。
本发明另一实施例提供了一种计算机存储介质,所述计算机存储介质存储有执行指令,所述执行指令用于执行上述方法实施例中的步骤之一或其组合。
本发明提出的菜单字符串修改方法和装置,在终端显示菜单界面时,接收基于菜单字符串触发的修改指令,在接收到所述修改指令时,获取所述菜单字符串的替换字符串,并采用替换字符串替换触发所述修改指令的所述菜单字符串,而不是只能到智能终端的售后点,对系统应用中的菜单字符串进行修改,或者是由应用服务端对应用的菜单字符串进行修改之后,再发布新的应用,本发明由终端自定义修改菜单字符串,提高了菜单字符串修改的便捷性和灵活性。
附图说明
图1为本发明菜单字符串修改方法第一实施例的流程示意图;
图2为本发明在接收到所述修改指令时,获取所述菜单字符串的替换字符串较佳实施例的流程示意图;
图3至图6为本发明较佳实施场景示意图;
图7为本发明菜单字符串修改方法第二实施例的流程示意图;
图8为本发明菜单字符串切换的示意图;
图9为本发明菜单字符串修改方法第三实施例的流程示意图;
图10为本发明菜单字符串修改装置第一实施例的功能模块示意图;
图11为图10中获取模块的细化功能模块示意图;
图12为本发明菜单字符串修改装置第二实施例的功能模块示意图;
图13为本发明菜单字符串修改装置第三实施例的功能模块示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明提供一种菜单字符串修改方法。
参照图1,图1为本发明菜单字符串修改方法第一实施例的流程示意图。
在本实施例中,所述菜单字符串修改方法包括:
步骤S10,在终端显示菜单界面时,接收基于菜单字符串触发的修改指令;
步骤S20,在接收到所述修改指令时,获取所述菜单字符串的替换字符串;
在本实施例中,菜单字符串的修改指令的触发方式包括:a、在所述预设界面中的菜单字符串所在位置接收到触摸操作,如点击触摸操作或长按触摸操作时,触发菜单字符串的修改指令。b、在终端的预设窗口中检测到用户输入菜单字符串时,在输入完成时,若用户点击选择任一菜单字符串,则触发菜单字符串的修改指令。
在接收到菜单字符串触发的修改指令时,根据菜单字符串的修改指令的触发方式执行相应的操作,可选地,步骤S20的实施方式包括:
1)方式一、参照图2,所述步骤S20包括:
步骤S21,在接收到所述修改指令时,所述终端弹出预设的菜单字符 串输入框;
步骤S22,获取用户基于所述菜单字符串输入框输入的菜单字符串,并将基于所述字符串输入框输入的菜单字符串作为替换字符串。
在本实施例中,在菜单字符串所在位置接收到触摸操作时,终端先确定待修改菜单字符串,然后弹出预设的菜单字符串输入框,以供用户基于所述菜单字符串输入框输入的菜单字符串,最终获取用户基于所述菜单字符串输入框输入的菜单字符串,并将基于所述字符串输入框输入的菜单字符串作为替换字符串。
在本实施例中,所述终端弹出预设的菜单字符串输入框时,可以是接收到任一个菜单字符串的修改指令时,弹出同一个菜单字符串输入框。可选地,为了提高菜单字符串输入框显示的智能性,在接收到菜单字符串的修改指令时,先确定所述菜单字符串修改指令对应的触摸位置,然后弹出所述触摸位置对应的菜单字符串输入框,即每次针对不同位置的菜单字符串的修改指令,都会弹出不同的菜单字符串输入框,并且每个菜单字符串输入框都是菜单字符串所在位置关联的菜单字符串输入框。
可选地,所述执行步骤S21的同时,执行以下步骤:
所述终端确定是否存在预存菜单字符串;
若存在预存菜单字符串,则显示预存菜单字符串的选择界面,以供用户基于所述选择界面选择预存菜单字符串。
由于上文中已经提到,弹出的所述菜单字符串输入框可以是同一个菜单字符串输入框,也可以是针对各个菜单字符串,弹出各个菜单字符串所在位置关联的菜单字符串输入框。那么,在弹出菜单字符串输入框的同时,所述终端显示预存菜单字符串的选择界面也相应有所不同,可选地,在弹出的菜单字符串输入框是同一个菜单字符串输入框时,所述终端先确定之前是否已经根据所述菜单字符串输入框输入了菜单字符串,若有,则之前输入的菜单字符串就相当于预存菜单字符串,此时显示预存菜单字符串的选择界面,以供用户基于所述选择界面,选择任一个菜单字符串作为待输 入菜单字符串。
而在弹出的菜单字符串输入框是针对各个菜单字符串弹出的菜单字符串输入框时,那么在确定待修改菜单字符串之后,只要显示所述待修改菜单字符串所在位置关联的菜单字符串输入框即可,并且在弹出所述待修改菜单字符串所在位置关联的菜单字符串输入框的同时,所述终端需要确定之前是否已经在该位置关联的菜单字符串输入框中输入了菜单字符串,若有,则之前输入的菜单字符串就相当于预存菜单字符串,此时,同样显示预存菜单字符串的选择界面,以供用户基于所述选择界面,选择任一个菜单字符串作为待输入菜单字符串。
可以理解的是,基于两个菜单字符串输入框显示的预存菜单字符串的选择界面是不同的,在菜单字符串输入框是同一个菜单字符串输入框时,显示的预存菜单字符串的选择界面中,预存菜单字符串是之前所有位置输入的菜单字符串。在菜单字符串输入框是任一个菜单字符串所在位置关联的菜单字符串输入框时,显示的预存菜单字符串的选择界面中,预存菜单字符串是之前在该位置输入的菜单字符串。
可选地,所述终端确定是否存在预存菜单字符串的步骤之后,所述菜单字符串修改方法还包括:
若不存在预存菜单字符串,则所述终端显示键盘界面,以供用户基于所述键盘界面输入菜单字符串。
可选地,所述终端在弹出菜单字符串输入框的同时,若存在预存菜单字符串,显示预存菜单字符串的选择界面,并且,显示键盘界面,以供用户直接在预存菜单字符串的选择界面选择预存菜单字符串,或者是在键盘界面中选择输入键盘信息,而不是固定了模式才让用户选择或输入,从而提高了用户体验。
2)方式二、在终端的预设窗口中检测到用户输入菜单字符串时,获取用户输入的菜单字符串,后续在检测到用户点击所述预设界面中的菜单字符串时,将用户点击的菜单字符串作为待修改菜单字符串,并将用户输 入的菜单字符串作为所述待修改菜单字符串的替换字符串,即可根据输入的菜单字符串替换所述待修改菜单字符串。
步骤S30,采用替换字符串替换触发所述修改指令的所述菜单字符串。
在本实施例中,在获取到基于菜单字符串的修改指令输入的菜单字符串时,即可根据输入的菜单字符串替换所述修改指令的所述菜单字符串。
为更好理解本实施例,举例应用场景如下:
在终端系统的设置应用中,显示各个菜单字符串,参照图3,如WLAN热点、双卡设置、流量使用情况等菜单字符串。此时,若在WLAN热点的区域中接收到触摸操作,包括点击触摸操作或长按触摸操作,参照图4,选择所述WLAN热点的菜单字符串作为待修改菜单字符串。在选择WLAN热点的菜单字符串之后,弹出预设的菜单字符串输入框,参照图5,以供用户基于所述菜单字符串输入框输入菜单字符串,如无线网络。最终,根据输入的菜单字符串替换所述待修改菜单字符串,如根据无线网络的菜单字符串替换WLAN热点的菜单字符串,使得设置界面最终显示的是无线网络、双卡设置、流量使用情况等,可参照图6。
本实施例提出的菜单字符串修改方法,在终端显示菜单界面时,接收基于菜单字符串触发的修改指令,在接收到所述修改指令时,获取所述菜单字符串的替换字符串,并采用替换字符串替换触发所述修改指令的所述菜单字符串,而不是只能到智能终端的售后点,对系统应用中的菜单字符串进行修改,或者是由应用服务端对应用的菜单字符串进行修改之后,再发布新的应用,本发明由终端自定义修改菜单字符串,提高了菜单字符串修改的便捷性和灵活性。
可选地,为了增加菜单字符串修改的灵活性,基于第一实施例提出本发明菜单字符串修改方法的第二实施例,在本实施例,参照图7,所述步骤S30之后,所述菜单字符串修改方法还包括:
步骤S40,若接收到菜单字符串的切换指令,则所述终端确定所述切 换指令对应的待切换菜单字符串;
步骤S50,获取确定的所述待切换菜单字符串的关联菜单字符串;
步骤S60,显示获取的关联菜单字符串,以供用户选择关联菜单字符串以进行切换,或者,将待切换菜单字符串切换为获取的关联菜单字符串。
在本实施例中,在菜单字符串的修改过程中,可能会由于用户的误操作引起菜单字符串的修改错误,因此,本实施例中,在修改菜单字符串之后,还可切换回原来的菜单字符串。可选地,若接收到菜单字符串的切换指令,此时,所述终端先确定所述切换指令对应的待切换菜单字符串,然后确定所述待切换菜单字符串的关联菜单字符串,而所述待切换菜单字符串的关联菜单字符串是指,所述待切换菜单字符串的位置中原来使用过的菜单字符串,后续即使被修改,也会存储使用过的菜单字符串,并将使用过的菜单字符串作为该待切换菜单字符串的关联菜单字符串。因此,在确定所述切换指令对应的待切换菜单字符串之后,可获取确定的所述待切换菜单字符串的关联菜单字符串。在获取确定的所述待切换菜单字符串的关联原菜单字符串之后,包括以下几种实现方式:
1、在获取的关联菜单字符串仅有一个菜单字符串时,将待切换菜单字符串切换为该关联菜单字符串。
2、在获取的关联菜单字符串包括多个菜单字符串时,按照预设顺序排列获取的各个关联菜单字符串,然后将待切换菜单字符串切换为排在第一位的关联菜单字符串,其中,所述预设顺序包括时间顺序,优选存储时间点越晚的关联菜单字符串排列顺序越靠前,或者是使用次数的顺序,优选使用频率最高的关联菜单字符串排列顺序越靠前。
3、显示获取的关联菜单字符串,以供用户选择关联菜单字符串以进行切换,也就是说,在接收到基于所述关联菜单字符串输入的选择完成指令时,根据选择的关联菜单字符串更新所述切换指令对应的待切换菜单字符串。
为更好理解本实施例,举例如下:参照图8,在无线网络的菜单字符 串中接收到触摸操作,如滑动触摸操作时,显示所述无线网络的菜单字符串的关联菜单字符串,本实施例中可以将该位置使用过的菜单字符串都进行显示,即如图8所示,显示WLAN热点和无线网络。当然,也可以直接显示当前使用的菜单字符串除外的其它菜单字符串,如只显示WLAN热点。
本实施例中,相当于在原菜单字符串与新菜单字符串之间进行切换,实现了即使当前替换成新的菜单字符串,后续用户仍然可以在原菜单字符串列表中,获取任一个菜单字符串进行切换,使得用户误操作时,也可切换为原来的菜单字符串,从而提高了菜单字符串修改的灵活性。
可选地,为了增加菜单字符串修改的灵活性,基于第一实施例提出本发明菜单字符串修改方法的第三实施例,在本实施例,参照图9,所述菜单字符串修改方法还包括:
步骤S70,所述终端在接收到其它终端发送的菜单字符串导出文件时,在所述菜单字符串导出文件中提取出菜单字符串和显示位置;
其中,其它终端在接收到菜单字符串的导出指令时,记录待导出的菜单字符串的显示位置,并将待导出的菜单字符串及其显示位置关联导出,得到菜单字符串导出文件;
步骤S80,所述终端采用提取的所述菜单字符串,替换相同的所述显示位置中的菜单字符串。
在本实施例中,应当理解的是,其它终端在接收到菜单字符串导出指令时,此时先记录待导出的菜单字符串对应的显示位置,所述显示位置优选为URL(Uniform Resource Locator,统一资源定位符),然后将导出的菜单字符串及其显示位置关联导出,以得到菜单字符串导出文件,最终将所述菜单字符串导出文件发送至所述终端。值得注意的是,所述终端与所述其它终端必须是同一类型的终端,并且使用相同的操作系统,例如,所述终端与所述其它终端都必须是中兴的手机,都安装的是安桌系统,那么, 所述其它终端才能将所述菜单字符串导出文件发送至所述终端。所述其它终端将所述菜单字符串导出文件发送至所述终端的方式可通过无线网络的方式发送,还可以通过蓝牙连接方式方法,此处不做限制。
所述终端在接收到其它终端发送的菜单字符串导出文件,在所述菜单字符串导出文件中提取出菜单字符串和显示位置,然后采用提取的所述菜单字符串,替换相同的所述显示位置中的菜单字符串,以实现菜单字符串的修改。
应当理解的是,所述终端同样可以将菜单字符串及其显示位置关联导出,作为菜单字符串导出文件发送给其它终端,其操作方式与上述一致,此处不在进行赘述。
在本实施例中,所述终端在接收到其它终端发送的菜单字符串导出文件时,根据所述菜单字符串导出文件中的菜单字符串,替换本端相同的所述显示位置中的菜单字符串,实现了对菜单字符串的快速修改,并且修改方式与其它终端一致,相当于用户手动修改一个终端的菜单字符串即可,其它相同类型的终端,可通过这种同步的方式,实现一次性修改,从而加快了菜单字符串修改的效率,还提高了菜单字符串修改的智能性和便捷性。
本发明进一步提供一种菜单字符串修改装置。
参照图10,图10为本发明菜单字符串修改装置第一实施例的功能模块示意图。
需要强调的是,对本领域的技术人员来说,图10所示功能模块图仅仅是一个较佳实施例的示例图,本领域的技术人员围绕图10所示的菜单字符串修改装置的功能模块,可轻易进行新的功能模块的补充;各功能模块的名称是自定义名称,仅用于辅助理解该菜单字符串修改装置的各个程序功能块,不用于限定本发明的技术方案,本发明技术方案的核心是,各自定义名称的功能模块所要达成的功能。
在本实施例中,所述菜单字符串修改装置包括:
接收模块10,设置为在显示菜单界面时,接收基于菜单字符串触发的修改指令;
获取模块20,设置为在接收到所述修改指令时,获取所述菜单字符串的替换字符串;
在本实施例中,菜单字符串的修改指令的触发方式包括:a、在所述预设界面中的菜单字符串所在位置接收到触摸操作,如点击触摸操作或长按触摸操作时,触发菜单字符串的修改指令。b、在终端的预设窗口中检测到用户输入菜单字符串时,在输入完成时,若用户点击选择任一菜单字符串,则触发菜单字符串的修改指令。
在接收到菜单字符串触发的修改指令时,获取模块20根据菜单字符串的修改指令的触发方式执行相应的操作,可选地,获取模块20获取所述菜单字符串的替换字符串的实施方式包括:
1)方式一、参照图11,所述获取模块20包括:
弹出单元21,设置为在接收到所述修改指令时,弹出预设的菜单字符串输入框;
获取单元22,设置为获取用户基于所述菜单字符串输入框输入的菜单字符串,并将基于所述字符串输入框输入的菜单字符串作为替换字符串。
在本实施例中,在菜单字符串所在位置接收到触摸操作时,先确定待修改菜单字符串,然后弹出单元21弹出预设的菜单字符串输入框,以供用户基于所述菜单字符串输入框输入的菜单字符串,最终获取单元22获取用户基于所述菜单字符串输入框输入的菜单字符串,并将基于所述字符串输入框输入的菜单字符串作为替换字符串。
在本实施例中,所述弹出单元21弹出预设的菜单字符串输入框时,可以是接收到任一个菜单字符串的修改指令时,弹出同一个菜单字符串输入框。可选地,为了提高菜单字符串输入框显示的智能性,在接收到菜单字符串的修改指令时,先确定所述菜单字符串修改指令对应的触摸位置, 然后弹出单元21弹出所述触摸位置对应的菜单字符串输入框,即每次针对不同位置的菜单字符串的修改指令,都会弹出不同的菜单字符串输入框,并且每个菜单字符串输入框都是菜单字符串所在位置关联的菜单字符串输入框。
可选地,所述获取模块20还包括:
确定单元,设置为确定是否存在预存菜单字符串;
显示单元,设置为若存在预存菜单字符串,则显示预存菜单字符串的选择界面,以供用户基于所述选择界面选择预存菜单字符串。
由于上文中已经提到,弹出单元21弹出的所述菜单字符串输入框可以是同一个菜单字符串输入框,也可以是针对各个菜单字符串,弹出各个菜单字符串所在位置关联的菜单字符串输入框。那么,在弹出单元21弹出菜单字符串输入框的同时,显示单元显示预存菜单字符串的选择界面也相应有所不同,可选地,在弹出单元21弹出的菜单字符串输入框是同一个菜单字符串输入框时,确定单元先确定之前是否已经根据所述菜单字符串输入框输入了菜单字符串,若有,则之前输入的菜单字符串就相当于预存菜单字符串,此时显示单元显示预存菜单字符串的选择界面,以供用户基于所述选择界面,选择任一个菜单字符串作为待输入菜单字符串。
而在弹出单元21弹出的菜单字符串输入框是针对各个菜单字符串弹出的菜单字符串输入框时,那么在确定单元确定待修改菜单字符串之后,只要显示单元显示所述待修改菜单字符串所在位置关联的菜单字符串输入框即可,并且在弹出单元21弹出所述待修改菜单字符串所在位置关联的菜单字符串输入框的同时,确定单元需要确定之前是否已经在该位置关联的菜单字符串输入框中输入了菜单字符串,若有,则之前输入的菜单字符串就相当于预存菜单字符串,此时,显示单元同样显示预存菜单字符串的选择界面,以供用户基于所述选择界面,选择任一个菜单字符串作为待输入菜单字符串。
可以理解的是,基于两个菜单字符串输入框显示的预存菜单字符串的 选择界面是不同的,在菜单字符串输入框是同一个菜单字符串输入框时,显示的预存菜单字符串的选择界面中,预存菜单字符串是之前所有位置输入的菜单字符串。在菜单字符串输入框是任一个菜单字符串所在位置关联的菜单字符串输入框时,显示的预存菜单字符串的选择界面中,预存菜单字符串是之前在该位置输入的菜单字符串。
可选地,所述显示单元,还设置为若不存在所述菜单字符串输入框关联的预存菜单字符串,则显示键盘界面,以供用户基于所述键盘界面输入菜单字符串。
可选地,所述弹出单元21在弹出菜单字符串输入框的同时,若存在预存菜单字符串,显示单元显示预存菜单字符串的选择界面,并且,显示键盘界面,以供用户直接在预存菜单字符串的选择界面选择预存菜单字符串,或者是在键盘界面中选择输入键盘信息,而不是固定了模式才让用户选择或输入,从而提高了用户体验。
2)方式二、在终端的预设窗口中检测到用户输入菜单字符串时,获取用户输入的菜单字符串,后续在检测到用户点击所述预设界面中的菜单字符串时,将用户点击的菜单字符串作为待修改菜单字符串,并将用户输入的菜单字符串作为所述待修改菜单字符串的替换字符串,即可根据输入的菜单字符串替换所述待修改菜单字符串。
替换模块30,设置为采用替换字符串替换触发所述修改指令的所述菜单字符串。
在本实施例中,在获取模块20获取到基于菜单字符串的修改指令输入的菜单字符串时,替换模块30即可根据输入的菜单字符串替换所述修改指令的所述菜单字符串。
为更好理解本实施例,举例应用场景如下:
在终端系统的设置应用中,显示各个菜单字符串,参照图3,如WLAN热点、双卡设置、流量使用情况等菜单字符串。此时,若在WLAN热点的区域中接收到触摸操作,包括点击触摸操作或长按触摸操作,参照图4, 选择所述WLAN热点的菜单字符串作为待修改菜单字符串。在选择WLAN热点的菜单字符串之后,弹出预设的菜单字符串输入框,参照图5,以供用户基于所述菜单字符串输入框输入菜单字符串,如无线网络。最终,根据输入的菜单字符串替换所述待修改菜单字符串,如根据无线网络的菜单字符串替换WLAN热点的菜单字符串,使得设置界面最终显示的是无线网络、双卡设置、流量使用情况等,可参照图6。
本实施例提出的菜单字符串修改装置,在终端显示菜单界面时,接收基于菜单字符串触发的修改指令,在接收到所述修改指令时,获取所述菜单字符串的替换字符串,并采用替换字符串替换触发所述修改指令的所述菜单字符串,而不是只能到智能终端的售后点,对系统应用中的菜单字符串进行修改,或者是由应用服务端对应用的菜单字符串进行修改之后,再发布新的应用,本发明由终端自定义修改菜单字符串,提高了菜单字符串修改的便捷性和灵活性。
可选地,为了增加菜单字符串修改的灵活性,基于第一实施例提出本发明菜单字符串修改装置的第二实施例,在本实施例,参照图12,所述菜单字符串修改装置还包括:
确定模块40,设置为若接收到菜单字符串的切换指令,则确定所述切换指令对应的待切换菜单字符串;
所述获取模块20,还设置为获取确定的所述待切换菜单字符串的关联菜单字符串;
显示模块50,设置为显示获取的关联菜单字符串,以供用户选择关联菜单字符串以进行切换;
切换模块60,设置为将待切换菜单字符串切换为获取的关联菜单字符串。
在本实施例中,在菜单字符串的修改过程中,可能会由于用户的误操作引起菜单字符串的修改错误,因此,本实施例中,在修改菜单字符串之 后,还可切换回原来的菜单字符串。可选地,若接收到菜单字符串的切换指令,此时,确定模块40先确定所述切换指令对应的待切换菜单字符串,然后确定所述待切换菜单字符串的关联菜单字符串,而所述待切换菜单字符串的关联菜单字符串是指,所述待切换菜单字符串的位置中原来使用过的菜单字符串,后续即使被修改,也会存储使用过的菜单字符串,并将使用过的菜单字符串作为该待切换菜单字符串的关联菜单字符串。因此,在确定模块40确定所述切换指令对应的待切换菜单字符串之后,所述获取模块20可获取确定的所述待切换菜单字符串的关联菜单字符串。在所述获取模块20获取确定的所述待切换菜单字符串的关联原菜单字符串之后,包括以下几种实现方式:
1、在获取的关联菜单字符串仅有一个菜单字符串时,切换模块60将待切换菜单字符串切换为该关联菜单字符串。
2、在获取的关联菜单字符串包括多个菜单字符串时,按照预设顺序排列获取的各个关联菜单字符串,然后切换模块60将待切换菜单字符串切换为排在第一位的关联菜单字符串,其中,所述预设顺序包括时间顺序,优选存储时间点越晚的关联菜单字符串排列顺序越靠前,或者是使用次数的顺序,优选使用频率最高的关联菜单字符串排列顺序越靠前。
3、显示模块50显示获取的关联菜单字符串,以供用户选择关联菜单字符串以进行切换,也就是说,在接收到基于所述关联菜单字符串输入的选择完成指令时,根据选择的关联菜单字符串更新所述切换指令对应的待切换菜单字符串。
为更好理解本实施例,举例如下:参照图8,在无线网络的菜单字符串中接收到触摸操作,如滑动触摸操作时,显示所述无线网络的菜单字符串的关联菜单字符串,本实施例中可以将该位置使用过的菜单字符串都进行显示,即如图8所示,显示WLAN热点和无线网络。当然,也可以直接显示当前使用的菜单字符串除外的其它菜单字符串,如只显示WLAN热点。
本实施例中,相当于在原菜单字符串与新菜单字符串之间进行切换,实现了即使当前替换成新的菜单字符串,后续用户仍然可以在原菜单字符串列表中,获取任一个菜单字符串进行切换,使得用户误操作时,也可切换为原来的菜单字符串,从而提高了菜单字符串修改的灵活性。
可选地,为了增加菜单字符串修改的灵活性,基于第一实施例提出本发明菜单字符串修改装置的第三实施例,在本实施例,参照图13,所述菜单字符串修改装置还包括:
提取模块70,设置为在接收到其它终端发送的菜单字符串导出文件时,在所述菜单字符串导出文件中提取出菜单字符串和显示位置;
其中,其它终端在接收到菜单字符串的导出指令时,记录待导出的菜单字符串的显示位置,并将待导出的菜单字符串及其显示位置关联导出,得到菜单字符串导出文件;
所述替换模块30,设置为采用提取的所述菜单字符串,替换相同的所述显示位置中的菜单字符串。
在本实施例中,应当理解的是,其它终端在接收到菜单字符串导出指令时,此时先记录待导出的菜单字符串对应的显示位置,所述显示位置优选为URL(Uniform Resource Locator,统一资源定位符),然后将导出的菜单字符串及其显示位置关联导出,以得到菜单字符串导出文件,最终将所述菜单字符串导出文件发送至所述终端。值得注意的是,所述终端与所述其它终端必须是同一类型的终端,并且使用相同的操作系统,例如,所述终端与所述其它终端都必须是中兴的手机,都安装的是安桌系统,那么,所述其它终端才能将所述菜单字符串导出文件发送至所述终端。所述其它终端将所述菜单字符串导出文件发送至所述终端的方式可通过无线网络的方式发送,还可以通过蓝牙连接方式方法,此处不做限制。
在接收到其它终端发送的菜单字符串导出文件,提取模块70在所述菜单字符串导出文件中提取出菜单字符串和显示位置,然后所述替换模块 30采用提取的所述菜单字符串,替换相同的所述显示位置中的菜单字符串,以实现菜单字符串的修改。
应当理解的是,所述终端同样可以将菜单字符串及其显示位置关联导出,作为菜单字符串导出文件发送给其它终端,其操作方式与上述一致,此处不在进行赘述。
在本实施例中,所述终端在接收到其它终端发送的菜单字符串导出文件时,根据所述菜单字符串导出文件中的菜单字符串,替换本端相同的所述显示位置中的菜单字符串,实现了对菜单字符串的快速修改,并且修改方式与其它终端一致,相当于用户手动修改一个终端的菜单字符串即可,其它相同类型的终端,可通过这种同步的方式,实现一次性修改,从而加快了菜单字符串修改的效率,还提高了菜单字符串修改的智能性和便捷性。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其它变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其它要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可 以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其它相关的技术领域,均同理包括在本发明的专利保护范围内。
工业实用性
如上所述,本发明实施例提供的一种菜单字符串修改方法和装置具有以下有益效果:由终端自定义修改菜单字符串,提高了菜单字符串修改的便捷性和灵活性。

Claims (10)

  1. 一种菜单字符串修改方法,所述菜单字符串修改方法包括:
    在终端显示菜单界面时,接收基于菜单字符串触发的修改指令;
    在接收到所述修改指令时,获取所述菜单字符串的替换字符串;
    采用替换字符串替换触发所述修改指令的所述菜单字符串。
  2. 如权利要求1所述的菜单字符串修改方法,其中,所述在接收到所述修改指令时,获取所述菜单字符串的替换字符串的步骤包括:
    在接收到所述修改指令时,所述终端弹出预设的菜单字符串输入框;
    获取用户基于所述菜单字符串输入框输入的菜单字符串,并将基于所述字符串输入框输入的菜单字符串作为替换字符串。
  3. 如权利要求2所述的菜单字符串修改方法,其中,所述终端弹出预设的菜单字符串输入框的同时,执行以下步骤:
    所述终端确定是否存在预存菜单字符串;
    若存在预存菜单字符串,则显示预存菜单字符串的选择界面,以供用户基于所述选择界面选择预存菜单字符串。
  4. 如权利要求1所述的菜单字符串修改方法,其中,所述采用替换字符串替换触发所述修改指令的所述菜单字符串的步骤之后,所述菜单字符串修改方法还包括:
    若接收到菜单字符串的切换指令,则所述终端确定所述切换指令对应的待切换菜单字符串;
    获取确定的所述待切换菜单字符串的关联菜单字符串;
    显示获取的关联菜单字符串,以供用户选择关联菜单字符串以进 行切换,或者,将待切换菜单字符串切换为获取的关联菜单字符串。
  5. 如权利要求1-4任一项所述的菜单字符串修改方法,其中,所述菜单字符串修改方法还包括:
    所述终端在接收到其它终端发送的菜单字符串导出文件时,在所述菜单字符串导出文件中提取出菜单字符串和显示位置;
    其中,其它终端在接收到菜单字符串的导出指令时,记录待导出的菜单字符串的显示位置,并将待导出的菜单字符串及其显示位置关联导出,得到菜单字符串导出文件;
    所述终端采用提取的所述菜单字符串,替换相同的所述显示位置中的菜单字符串。
  6. 一种菜单字符串修改装置,所述菜单字符串修改装置包括:
    接收模块,设置为在显示菜单界面时,接收基于菜单字符串触发的修改指令;
    获取模块,设置为在接收到所述修改指令时,获取所述菜单字符串的替换字符串;
    替换模块,设置为采用替换字符串替换触发所述修改指令的所述菜单字符串。
  7. 如权利要求6所述的菜单字符串修改装置,其中,所述获取模块包括:
    弹出单元,设置为在接收到所述修改指令时,弹出预设的菜单字符串输入框;
    获取单元,设置为获取用户基于所述菜单字符串输入框输入的菜单字符串,并将基于所述字符串输入框输入的菜单字符串作为替换字 符串。
  8. 如权利要求7所述的菜单字符串修改装置,其中,所述获取模块还包括:
    确定单元,设置为确定是否存在预存菜单字符串;
    显示单元,设置为若存在预存菜单字符串,则显示预存菜单字符串的选择界面,以供用户基于所述选择界面选择预存菜单字符串。
  9. 如权利要求6所述的菜单字符串修改装置,其中,所述菜单字符串修改装置还包括:
    确定模块,设置为若接收到菜单字符串的切换指令,则确定所述切换指令对应的待切换菜单字符串;
    所述获取模块,还设置为获取确定的所述待切换菜单字符串的关联菜单字符串;
    显示模块,设置为显示获取的关联菜单字符串,以供用户选择关联菜单字符串以进行切换;
    切换模块,设置为将待切换菜单字符串切换为获取的关联菜单字符串。
  10. 如权利要求6-9任一项所述的菜单字符串修改装置,其中,所述菜单字符串修改装置还包括:
    提取模块,设置为在接收到其它终端发送的菜单字符串导出文件时,在所述菜单字符串导出文件中提取出菜单字符串和显示位置;
    其中,其它终端在接收到菜单字符串的导出指令时,记录待导出的菜单字符串的显示位置,并将待导出的菜单字符串及其显示位置关联导出,得到菜单字符串导出文件;
    所述替换模块,设置为采用提取的所述菜单字符串,替换相同的所述显示位置中的菜单字符串。
PCT/CN2016/107733 2016-07-14 2016-11-29 菜单字符串修改方法和装置 WO2018010364A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610555045.4A CN107621916B (zh) 2016-07-14 2016-07-14 菜单字符串修改方法和装置
CN201610555045.4 2016-07-14

Publications (1)

Publication Number Publication Date
WO2018010364A1 true WO2018010364A1 (zh) 2018-01-18

Family

ID=60951634

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/107733 WO2018010364A1 (zh) 2016-07-14 2016-11-29 菜单字符串修改方法和装置

Country Status (2)

Country Link
CN (1) CN107621916B (zh)
WO (1) WO2018010364A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078219A (zh) * 2019-12-13 2020-04-28 北京金山云网络技术有限公司 页面显示方法、装置、系统、电子设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5530796A (en) * 1994-09-30 1996-06-25 International Business Machines Corporation Menu bar editor
CN101080075A (zh) * 2007-06-28 2007-11-28 中兴通讯股份有限公司 一种菜单可配置的移动终端及其菜单配置方法
CN101222710A (zh) * 2008-01-31 2008-07-16 中兴通讯股份有限公司 一种移动终端上实现菜单动态配置的系统及方法
CN105138338A (zh) * 2015-09-02 2015-12-09 惠州Tcl移动通信有限公司 一种移动终端及其应用程序名称修改处理方法及系统
CN105589709A (zh) * 2014-12-24 2016-05-18 中国银联股份有限公司 一种修改pos终端菜单的装置和方法

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006259838A (ja) * 2005-03-15 2006-09-28 Canon Inc メニュー表示装置
US9489571B2 (en) * 2012-05-17 2016-11-08 Sharp Kabushiki Kaisha Display control device, recording medium and display device control method
CN103345348A (zh) * 2013-06-13 2013-10-09 深圳Tcl新技术有限公司 控制显示菜单的方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5530796A (en) * 1994-09-30 1996-06-25 International Business Machines Corporation Menu bar editor
CN101080075A (zh) * 2007-06-28 2007-11-28 中兴通讯股份有限公司 一种菜单可配置的移动终端及其菜单配置方法
CN101222710A (zh) * 2008-01-31 2008-07-16 中兴通讯股份有限公司 一种移动终端上实现菜单动态配置的系统及方法
CN105589709A (zh) * 2014-12-24 2016-05-18 中国银联股份有限公司 一种修改pos终端菜单的装置和方法
CN105138338A (zh) * 2015-09-02 2015-12-09 惠州Tcl移动通信有限公司 一种移动终端及其应用程序名称修改处理方法及系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078219A (zh) * 2019-12-13 2020-04-28 北京金山云网络技术有限公司 页面显示方法、装置、系统、电子设备及存储介质
CN111078219B (zh) * 2019-12-13 2023-10-03 北京金山云网络技术有限公司 页面显示方法、装置、系统、电子设备及存储介质

Also Published As

Publication number Publication date
CN107621916A (zh) 2018-01-23
CN107621916B (zh) 2020-12-08

Similar Documents

Publication Publication Date Title
CN105867925B (zh) 一种快捷方式建立方法和电子设备
KR101821693B1 (ko) 로밍 네트워크 액세스 방법 및 장치
CN101765236B (zh) 一种移动终端的界面切换方法及移动终端
CN106095458B (zh) 一种应用程序中插件的管理方法和装置
KR101991305B1 (ko) 애플리케이션 프로그램 제어 방법 및 관련 장치
CN103729425B (zh) 操作响应方法、客户端、浏览器及系统
CN106465249B (zh) 漫游入网方法及装置
CN109391648A (zh) 一种应用与网络切片的关联方法、装置和通信系统
EP2624110A1 (en) Method and device for placing icons
CN103873634A (zh) 终端功能设置方法及系统
CN103744810A (zh) 终端、电子设备、同步显示系统和方法
CN103399794A (zh) 移动终端切换应用的方法及装置
CN108139915A (zh) 一种应用程序组的操作方法及终端
WO2015143701A1 (zh) 漫游入网方法及装置
CN105404161A (zh) 智能语音交互方法和装置
CN108205455B (zh) 应用的功能实现方法及装置、终端
CN105653195B (zh) 截屏方法及移动终端
CN105573757B (zh) Android系统的语言更新方法及装置
CN101866261B (zh) 一种实现菜单选择的方法和移动终端
EP3076642A1 (en) Operation processing method and device
WO2018010364A1 (zh) 菜单字符串修改方法和装置
WO2011160374A1 (zh) 一种java编辑框本地化的方法和装置
CN104793911B (zh) 应用分屏呈现处理方法、装置及终端
CN109688261A (zh) 调整语音首选项的方法、智能终端及具有存储功能的装置
CN104168386B (zh) 双卡切换方法及装置

Legal Events

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

Ref document number: 16908687

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16908687

Country of ref document: EP

Kind code of ref document: A1