[go: up one dir, main page]

CN108595445A - Interpretation method, device and terminal - Google Patents

Interpretation method, device and terminal Download PDF

Info

Publication number
CN108595445A
CN108595445A CN201810368350.1A CN201810368350A CN108595445A CN 108595445 A CN108595445 A CN 108595445A CN 201810368350 A CN201810368350 A CN 201810368350A CN 108595445 A CN108595445 A CN 108595445A
Authority
CN
China
Prior art keywords
translation
target
language type
language
sentences
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810368350.1A
Other languages
Chinese (zh)
Inventor
陈崇勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810368350.1A priority Critical patent/CN108595445A/en
Publication of CN108595445A publication Critical patent/CN108595445A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • G06F40/58Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation
    • 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
    • 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/0483Interaction with page-structured environments, e.g. book metaphor
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Machine Translation (AREA)

Abstract

本申请实施例提供了一种翻译方法、装置及终端。该方法包括:显示第三方应用程序的内容页面;当接收到对应于内容页面中的目标词句的选择信号时,调用操作系统的页面回调接口以显示翻译控件;当接收到对应于翻译控件的第一触发信号时,获取目标词句的翻译结果;展示翻译结果。在本申请实施例中,通过向第三方应用程序开放页面回调接口,并通过该接口获取并显示操作系统提供的翻译控件,若用户阅读页面内容时存在翻译需求,可以通过对待翻译的词句的特定触发操作呼出上述翻译控件,后续用户触发该操作控件即可获取待翻译的词句的翻译结果,由于无需在两个应用程序之间进行切换来实现翻译,因此可以节省翻译时用户所需的操作,提升翻译效率。

Embodiments of the present application provide a translation method, device, and terminal. The method includes: displaying a content page of a third-party application program; when receiving a selection signal corresponding to a target word in the content page, calling a page callback interface of the operating system to display a translation control; when receiving the first selection signal corresponding to the translation control When a signal is triggered, the translation result of the target word and sentence is obtained; the translation result is displayed. In this embodiment of the application, by opening the page callback interface to third-party applications, and obtaining and displaying the translation control provided by the operating system through this interface, if the user has translation needs when reading the page content, the specific words and sentences to be translated can be Trigger the operation to call out the above-mentioned translation control, and then the user can trigger the operation control to obtain the translation result of the words and sentences to be translated. Since there is no need to switch between two applications to realize the translation, it can save the user's operations during translation. Improve translation efficiency.

Description

翻译方法、装置及终端Translation method, device and terminal

技术领域technical field

本申请实施例涉及终端技术领域,特别涉及一种翻译方法、装置及终端。The embodiments of the present application relate to the technical field of terminals, and in particular to a translation method, device and terminal.

背景技术Background technique

目前,用户阅读浏览器、阅读类应用程序或者资讯类应用程序中的内容时,通常会存在翻译需求。Currently, when users read content in browsers, reading applications, or information applications, there is usually a need for translation.

在相关技术中,当存在翻译需求时,由用户从某个应用程序的阅读界面中选择出待翻译的词句,并将上述待翻译的词句复制;之后终端在用户的触发下在前台运行翻译应用程序,用户将复制的词句粘贴至上述翻译应用程序,并触发翻译指令;翻译应用程序根据该翻译指令获取上述词句对应的翻译结果,并显示该翻译结果。In related technologies, when there is a need for translation, the user selects the words and sentences to be translated from the reading interface of an application program, and copies the words and sentences to be translated; after that, the terminal runs the translation application in the foreground under the trigger of the user program, the user pastes the copied words and sentences into the above-mentioned translation application program, and triggers a translation instruction; the translation application program obtains the translation result corresponding to the above-mentioned words and sentences according to the translation instruction, and displays the translation result.

由于翻译需要在不同的应用程序中进行切换,该过程较为繁琐。The process is cumbersome as translation requires switching between different applications.

发明内容Contents of the invention

本申请实施例提供一种翻译方法、装置与终端。所述技术方案如下:Embodiments of the present application provide a translation method, device, and terminal. Described technical scheme is as follows:

一方面,本申请实施例提供一种翻译方法,所述方法包括:On the one hand, the embodiment of the present application provides a translation method, the method comprising:

显示第三方应用程序的内容页面,所述内容页面中包含供阅览的文字内容;Display the content page of the third-party application program, which contains text content for browsing;

当接收到对应于所述内容页面中的目标词句的选择信号时,调用操作系统的页面回调接口以显示翻译控件;When receiving a selection signal corresponding to the target words and sentences in the content page, calling the page callback interface of the operating system to display the translation control;

当接收到对应于所述翻译控件的第一触发信号时,获取所述目标词句的翻译结果;When a first trigger signal corresponding to the translation control is received, the translation result of the target word and sentence is acquired;

展示所述翻译结果。Display the translation result.

另一方面,本申请实施例提供一种翻译装置,所述装置包括:On the other hand, an embodiment of the present application provides a translation device, and the device includes:

页面显示模块,用于显示第三方应用程序的内容页面,所述内容页面中包含供阅览的文字内容;The page display module is used to display the content page of the third-party application program, and the content page includes text content for reading;

控件显示模块,用于当接收到对应于所述内容页面中的目标词句的选择信号时,调用操作系统的页面回调接口以显示翻译控件;The control display module is used to call the page callback interface of the operating system to display the translation control when receiving the selection signal corresponding to the target words and sentences in the content page;

结果获取模块,用于当接收到对应于所述翻译控件的第一触发信号时,获取所述目标词句的翻译结果;A result obtaining module, configured to obtain the translation result of the target word and sentence when receiving the first trigger signal corresponding to the translation control;

结果展示模块,用于展示所述翻译结果。The result display module is used to display the translation result.

再一方面,本申请实施例提供一种终端,所述终端包括处理器和存储器,所述存储器存储有计算机程序,所述计算机程序由所述处理器加载并执行以实现上述方面所述的翻译方法。In another aspect, an embodiment of the present application provides a terminal, the terminal includes a processor and a memory, the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the translation described in the above aspect method.

又一方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,所述计算机程序由处理器加载并执行以实现上述方面所述的翻译方法。In yet another aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by a processor to implement the translation method described in the above aspect.

本申请实施例提供的技术方案带来的有益效果至少包括:The beneficial effects brought by the technical solutions provided by the embodiments of the present application at least include:

通过向第三方应用程序开放页面回调接口,并通过该接口获取并显示操作系统提供的翻译控件,若用户阅读页面内容时存在翻译需求,可以通过对待翻译的词句的特定触发操作呼出上述翻译控件,后续用户触发该操作控件即可获取待翻译的词句的翻译结果,由于无需在两个应用程序之间进行切换来实现翻译,因此可以节省翻译时用户所需的操作,提升翻译效率。By opening the page callback interface to third-party applications, and obtaining and displaying the translation control provided by the operating system through this interface, if the user has translation needs when reading the page content, the above translation control can be called out through a specific trigger operation of the words and sentences to be translated. Subsequent users can trigger the operation control to obtain the translation results of the words and sentences to be translated. Since there is no need to switch between two applications to realize the translation, it can save the operations required by the user during translation and improve translation efficiency.

附图说明Description of drawings

图1是本申请一个实施例提供的翻译方法的流程图;Fig. 1 is a flow chart of the translation method provided by one embodiment of the present application;

图2是图1所示实施例涉及的界面示意图;Fig. 2 is a schematic diagram of the interface involved in the embodiment shown in Fig. 1;

图3是本申请另一个实施例示出的翻译方法的流程图;Fig. 3 is a flowchart of a translation method shown in another embodiment of the present application;

图4是图3所示实施例涉及的翻译方法的流程图;Fig. 4 is a flow chart of the translation method involved in the embodiment shown in Fig. 3;

图5是本申请另一个实施例示出的翻译方法的流程图;Fig. 5 is a flowchart of a translation method shown in another embodiment of the present application;

图6是本申请一个实施例示出的设置第二语言的界面示意图;FIG. 6 is a schematic diagram of an interface for setting a second language shown in an embodiment of the present application;

图7是本申请另一个实施例示出的翻译方法的流程图;Fig. 7 is a flowchart of a translation method shown in another embodiment of the present application;

图8是本申请一个实施例示出的翻译装置的框图;Fig. 8 is a block diagram of a translation device shown in an embodiment of the present application;

图9是本申请一个实施例示出的终端的框图。Fig. 9 is a block diagram of a terminal shown in an embodiment of the present application.

具体实施方式Detailed ways

为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.

本申请实施例提供的技术方案,通过向第三方应用程序开放页面回调接口,并通过该接口获取并显示操作系统提供的翻译控件,若用户阅读页面内容时存在翻译需求,可以通过对待翻译的词句的特定触发操作呼出上述翻译控件,后续用户触发该操作控件即可获取待翻译的词句的翻译结果,由于无需在两个应用程序之间进行切换来实现翻译,因此可以节省翻译时用户所需的操作,提升翻译效率。In the technical solution provided by the embodiment of this application, by opening the page callback interface to the third-party application program, and obtaining and displaying the translation control provided by the operating system through this interface, if the user needs translation when reading the content of the page, the words and sentences to be translated can be passed The specific trigger operation calls out the above translation control, and the subsequent user triggers the operation control to obtain the translation results of the words and sentences to be translated. Since there is no need to switch between the two applications to realize the translation, it can save the time required by the user when translating. operation to improve translation efficiency.

本申请实施例提供的方法,各步骤的执行主体为终端,上述终端可以是手机、平板电脑、电子书阅读器、多媒体播放设备、可穿戴设备、膝上型便携计算机等电子设备。In the method provided by the embodiment of the present application, each step is executed by a terminal, and the terminal may be a mobile phone, a tablet computer, an e-book reader, a multimedia playback device, a wearable device, a laptop computer and other electronic devices.

终端安装有操作系统,操作系统可以是操作系统可以是安卓系统,也可以是IOS系统,或者其它操作系统,本申请实施例对此不作限定。可选地,操作系统提供有页面回调接口。The terminal is installed with an operating system, and the operating system may be an Android system, an IOS system, or other operating systems, which are not limited in this embodiment of the present application. Optionally, the operating system provides a page callback interface.

请参考图1,其示出了本申请一个实施例提供的翻译方法的流程图。该方法可以包括如下几个步骤。Please refer to FIG. 1 , which shows a flowchart of a translation method provided by an embodiment of the present application. The method may include the following steps.

步骤101,显示第三方应用程序的内容页面。Step 101, displaying a content page of a third-party application.

第三方应用程序可以是终端中安装的任意一个应用程序,其可以是操作系统自带的原生应用程序,比如电子书应用程序、浏览器应用程序等;也可以是第三方开发者所开发的第三方应用程序,比如资讯类应用程序,该资讯类应用程序可以是“XX新闻”,本申请实施例对此不作限定。第三方应用程序的内容页面中包含供阅览的文字内容。The third-party application program can be any application program installed in the terminal, which can be a native application program that comes with the operating system, such as an e-book application program, a browser application program, etc.; it can also be a first-party application program developed by a third-party developer. A third-party application program, such as an information application program, may be "XX News", which is not limited in this embodiment of the present application. The content pages of third-party applications contain text content for viewing.

当终端接收到对应于第三方应用程序的标识(例如第三方应用程序的名称、图标等)的触发信号之后,显示第三方应用程序的内容页面。After the terminal receives a trigger signal corresponding to the third-party application identifier (for example, the name and icon of the third-party application), the terminal displays the content page of the third-party application.

步骤102,当接收到对应于内容页面中的目标词句的选择信号时,第三方应用程序调用操作系统的页面回调接口以显示翻译控件。Step 102, when receiving a selection signal corresponding to the target words and sentences in the content page, the third-party application program calls the page callback interface of the operating system to display the translation control.

目标词句可以是用户在上述页面内容中选择的任意词句。选择信号可以是单击信号、双击信号、长按信号中的任意一种。本申请实施例以选择信号是长按信号进行解释说明。The target words and sentences may be any words and sentences selected by the user in the above page content. The selection signal can be any one of a single-click signal, a double-click signal, and a long-press signal. In the embodiment of the present application, the selection signal is a long press signal for explanation.

页面回调接口是操作系统中的原生接口,用于供第三方应用程序调用以使得第三方应用程序能实现操作系统所具备的某项功能。翻译控件用于触发对目标词句进行翻译,翻译控件可以显示在目标词句的周侧,从而使翻译控件不会对目标词句造成遮挡。在本申请的一些实施例中,页面回调接口供第三方应用程序调用以使得第三方应用程序能实现操作系统所具备的菜单显示功能。可选地,步骤102可以包括如下子步骤:The page callback interface is a native interface in the operating system, and is used for calling by a third-party application program so that the third-party application program can realize a certain function of the operating system. The translation control is used to trigger the translation of the target word and sentence, and the translation control can be displayed around the target word and sentence, so that the translation control will not block the target word and sentence. In some embodiments of the present application, the page callback interface is called by the third-party application so that the third-party application can realize the menu display function of the operating system. Optionally, step 102 may include the following substeps:

步骤102a,调用页面回调接口获取操作系统中的菜单显示功能;Step 102a, calling the page callback interface to obtain the menu display function in the operating system;

步骤102b,执行菜单显示功能以显示功能菜单。Step 102b, execute the menu display function to display the function menu.

菜单显示功能用于触发终端显示功能菜单。功能菜单用于显示一些功能选项,例如复制控件、分享控件等等,本申请实施例对此不作限定。复制控件用于复制用户选中的目标词句;分享控件用于将用户选中的目标词句分享至其它用户。在本申请实施例中,功能菜单中包括翻译控件。The menu display function is used to trigger the terminal to display the function menu. The function menu is used to display some function options, such as copy controls, share controls, etc., which is not limited in this embodiment of the present application. The copy control is used to copy the target words and sentences selected by the user; the share control is used to share the target words and sentences selected by the user to other users. In the embodiment of the present application, the function menu includes a translation control.

另外,操作系统的开发人员通过埋点的方式在操作系统中植入对用户发出的触发信号进行监控的功能。在一种可能的实现方式中,当第三方应用程序启动运行时,操作系统执行该功能来监控接收到的触发信号。在另一种可能的方式中,当显示第三方应用程序的页面内容时,操作系统执行该功能来监控接收到的触发信号。In addition, the developer of the operating system embeds the function of monitoring the trigger signal sent by the user in the operating system by means of buried points. In a possible implementation manner, when the third-party application starts to run, the operating system executes this function to monitor the received trigger signal. In another possible manner, when displaying the page content of the third-party application program, the operating system executes this function to monitor the received trigger signal.

在本申请实施例中,当用户期望对某个词句进行翻译时,可以长按该词句,终端在接收到对应于该词句的长按信号后,显示包括翻译控件的功能菜单。结合参考图2,其示出了图1所示实施例涉及的界面示意图。终端在接收到“XX新闻”的页面内容11中的词句111“翻译”的长按信号,显示功能菜单12,功能菜单12中包括翻译控件121、分享控件122和复制控件123。In the embodiment of the present application, when the user desires to translate a word or sentence, he may press and hold the word or sentence, and the terminal displays a function menu including translation controls after receiving the long press signal corresponding to the word or sentence. Referring to FIG. 2 , it shows a schematic interface diagram related to the embodiment shown in FIG. 1 . After receiving the long-press signal of "translation" of the word 111 in the page content 11 of "XX News", the terminal displays the function menu 12, which includes a translation control 121, a sharing control 122 and a copy control 123.

步骤103,当接收到对应于翻译控件的第一触发信号时,获取目标词句的翻译结果。Step 103, when the first trigger signal corresponding to the translation control is received, the translation result of the target word and sentence is obtained.

对应于翻译控件的第一触发信号可以是单击信号、双击信号、长按信号中的任意一种。本申请实施例以第一触发信号是单击信号进行解释说明。目标词句的翻译结果是采用目标语言类型表示的目标词句。目标语言类型是对目标词句翻译时所采用的语言类型,其可以由操作系统默认设置,也可以由用户自定义设置。The first trigger signal corresponding to the translation control may be any one of a single-click signal, a double-click signal, and a long-press signal. In the embodiment of the present application, the first trigger signal is a click signal for explanation. The translation result of the target word and sentence is the target word and sentence represented by the target language type. The target language type is the language type used when translating the target words and sentences, which can be set by default by the operating system, or can be customized by the user.

目标词句的翻译结果可以包括文本形式的翻译结果和/或语音形式的翻译结果。在一些可能的实施例中,目标词句的翻译结果还可以包括图片形式的翻译结果,以便于用户理解。The translation results of the target words and sentences may include translation results in text form and/or translation results in speech form. In some possible embodiments, the translation results of the target words and sentences may also include translation results in the form of pictures, so as to facilitate the user's understanding.

在本申请的一些实施例中,终端在本地存储的词典中查找采用目标语言类型表示的目标词句,作为目标词句的翻译结果。由于终端从本地直接获取待翻译的词句的翻译结果,因此可以实现翻译结果的高效获取。In some embodiments of the present application, the terminal searches the locally stored dictionary for the target words and sentences expressed in the target language type as the translation result of the target words and sentences. Since the terminal directly acquires the translation results of the words and sentences to be translated locally, efficient acquisition of the translation results can be realized.

步骤104,展示翻译结果。Step 104, displaying the translation result.

终端在获取到目标词句的翻译结果时,展示该翻译结果,以供用户查看。另外,对于不同形式的翻译结果,终端所采用的展示方式并不相同。When the terminal obtains the translation result of the target word and sentence, it displays the translation result for the user to view. In addition, for different forms of translation results, the display methods adopted by the terminal are not the same.

在第一种可能的实现方式中,目标词句的翻译结果包括文本形式的翻译结果。则步骤104可以实现为:在内容页面的上层显示第一对话框,第一对话框中包含文本形式的翻译结果。In a first possible implementation manner, the translation results of the target words and sentences include translation results in text form. Then, step 104 can be implemented as: displaying a first dialog box on the upper layer of the content page, and the first dialog box includes the translation result in text form.

第一对话框可以显示于目标词句的周侧,避免对目标词句造成遮挡。可选地,第一对话框的显示位置可以改变,当用户对该第一对话框执行拖动操作时,终端在将接收到的拖动信号的结束位置显示该第一对话框。另外,用户可以触发终端取消显示该第一对话框。在一种可能的实现方式中,第一对话框的周侧(例如右上角)显示有删除控件,当终端接收到对应于删除控件的触发信号时,取消显示第一对话框。在另外一种可能的方式中,终端接收到第一对话框外的触发信号时,取消显示第一对话框。The first dialog box may be displayed around the target words and sentences, so as to avoid blocking the target words and sentences. Optionally, the display position of the first dialog box may be changed. When the user performs a drag operation on the first dialog box, the terminal displays the first dialog box at the end position of the received drag signal. In addition, the user may trigger the terminal to cancel displaying the first dialog box. In a possible implementation manner, a deletion control is displayed on a side (for example, upper right corner) of the first dialog box, and when the terminal receives a trigger signal corresponding to the deletion control, the display of the first dialog box is cancelled. In another possible manner, when the terminal receives a trigger signal outside the first dialog box, it cancels displaying the first dialog box.

在第二种可能的实现方式中,目标词句的翻译结果包括语音形式的翻译结果。则步骤104可以实现为:在内容页面的上层显示第二对话框,第二对话框中包含播放控件;当接收到对应于播放控件的触发信号时,播放语音形式的翻译结果。In a second possible implementation manner, the translation result of the target word and sentence includes the translation result in speech form. Then, step 104 can be implemented as: displaying a second dialog box on the upper layer of the content page, the second dialog box containing playback controls; when a trigger signal corresponding to the playback controls is received, playing the translation result in voice form.

第二对话框可以显示于目标词句的周侧,避免对目标词句造成遮挡。可选地,第二对话框的显示位置可以改变,当用户对该第二对话框执行拖动操作时,终端在将接收到的拖动信号的结束位置显示该第二对话框。另外,用户可以触发终端取消显示该第二对话框。在一种可能的实现方式中,第二对话框的周侧(例如右上角)显示有删除控件,当终端接收到对应于删除控件的触发信号时,取消显示第二对话框。在另外一种可能的方式中,终端接收到第二对话框外的触发信号时,取消显示第二对话框。第二对话框与第一对话框可以是同一对话框,也可以是不同的对话框。The second dialog box can be displayed around the target words and sentences, so as to avoid blocking the target words and sentences. Optionally, the display position of the second dialog box may be changed. When the user performs a drag operation on the second dialog box, the terminal displays the second dialog box at the end position of the received drag signal. In addition, the user may trigger the terminal to cancel displaying the second dialog box. In a possible implementation manner, a deletion control is displayed on a side (for example, upper right corner) of the second dialog box, and when the terminal receives a trigger signal corresponding to the deletion control, the display of the second dialog box is cancelled. In another possible manner, when the terminal receives a trigger signal outside the second dialog box, it cancels displaying the second dialog box. The second dialog box and the first dialog box may be the same dialog box, or different dialog boxes.

播放控件用于触发终端播放语音形式的翻译结果。对应于播放控件的触发信号可以是单击信号、双击信号、长按信号中的任意一种。本申请实施例以对应于播放控件的触发信号是单击信号进行解释说明。当用户点击播放控件时,终端调用扬声器组件来播放播放语音形式的翻译结果。The playback control is used to trigger the terminal to play the translation result in voice form. The trigger signal corresponding to the playback control may be any one of a single-click signal, a double-click signal, and a long-press signal. In the embodiment of the present application, the trigger signal corresponding to the playback control is a click signal for explanation. When the user clicks the play control, the terminal invokes the speaker component to play the translation result in the form of voice.

在第三种可能的实现方式中,目标词句的翻译结果包括语音形式的翻译结果和文本形式的翻译结果。步骤104具体实现为:在内容页面的上层显示第三对话框,第三对话框中包含文本形式的翻译结果和播放控件;当接收到对应于播放控件的触发信号时,播放语音形式的翻译结果。结合参考图2,当用户点击翻译控件121之后,终端在内容页面11的上层显示第三对话框13,第三对话框13包括文本形式的翻译结果131和播放控件132。In a third possible implementation manner, the translation results of the target words and sentences include translation results in speech form and translation results in text form. Step 104 is specifically implemented as: displaying a third dialog box on the upper layer of the content page, the third dialog box includes a translation result in text form and a playback control; when a trigger signal corresponding to the playback control is received, the translation result in voice form is played . With reference to FIG. 2 , after the user clicks the translation control 121 , the terminal displays a third dialog box 13 on the upper layer of the content page 11 , and the third dialog box 13 includes a translation result 131 in text form and a playback control 132 .

在第四种可能的实现方式中,若终端未能获取目标词句的翻译结果,则在内容页面的上层显示第四对话框,第四对话框中包含提示信息,该提示信息用于提示翻译失败。结合参考图2,当用户点击翻译控件121之后,终端在内容页面11的上层显示第四对话框14,第三对话框14包括提示信息141。In a fourth possible implementation, if the terminal fails to obtain the translation result of the target words and sentences, a fourth dialog box is displayed on the upper layer of the content page, and the fourth dialog box contains prompt information, which is used to prompt translation failure . With reference to FIG. 2 , after the user clicks the translation control 121 , the terminal displays a fourth dialog box 14 on the upper layer of the content page 11 , and the third dialog box 14 includes prompt information 141 .

本申请实施例提供的技术方案,通过向第三方应用程序开放页面回调接口,并通过该接口获取并显示操作系统提供的翻译控件,若用户阅读页面内容时存在翻译需求,可以通过对待翻译的词句的特定触发操作呼出上述翻译控件,后续用户触发该操作控件即可获取待翻译的词句的翻译结果,由于无需在两个应用程序之间进行切换来实现翻译,因此可以节省翻译时用户所需的操作,提升翻译效率。In the technical solution provided by the embodiment of this application, by opening the page callback interface to the third-party application program, and obtaining and displaying the translation control provided by the operating system through this interface, if the user needs translation when reading the content of the page, the words and sentences to be translated can be passed The specific trigger operation calls out the above translation control, and the subsequent user triggers the operation control to obtain the translation results of the words and sentences to be translated. Since there is no need to switch between the two applications to realize the translation, it can save the time required by the user when translating. operation to improve translation efficiency.

另外,还通过向用户提供语音形式、文本形式乃至图片形式等多种形式的翻译结果,使用户能从多个维度理解待翻译的词句的翻译结果。In addition, by providing users with translation results in various forms such as voice, text and even picture, users can understand the translation results of the words and sentences to be translated from multiple dimensions.

在对目标词句进行翻译之前,通常需要确定出目标词句翻译至的目标语言。下面,将对确定目标词句翻译至的目标语言的第一种实现方式进行讲解。Before translating the target words and sentences, it is usually necessary to determine the target language to which the target words and sentences are translated. Next, the first implementation manner of determining the target language to which the target word and sentence is translated will be explained.

在基于图1所示实施例提供的可选实施例中,请参考图3,该方法可以包括如下步骤:In an optional embodiment provided based on the embodiment shown in FIG. 1 , referring to FIG. 3 , the method may include the following steps:

步骤301,显示第三方应用程序的内容页面。Step 301, displaying a content page of a third-party application.

内容页面中包含供阅览的文字内容。The content page contains text content for browsing.

步骤302,当接收到对应于内容页面中的目标词句的选择信号时,调用操作系统的页面回调接口以显示翻译控件。Step 302, when a selection signal corresponding to the target words and sentences in the content page is received, call the page callback interface of the operating system to display the translation control.

步骤303,当接收到对应于翻译控件的第一触发信号时,显示第一语言选择列表。Step 303, when a first trigger signal corresponding to the translation control is received, a first language selection list is displayed.

第一语言选择列表中包括至少一种候选语言类型。候选语言类型可以是目标词句当前采用的语言类型之外的任意一种语言类型。例如,当目标词句当前采用的语言类型为中文时,候选语言类型可以是英语、日语、德语、汉语等等。The first language selection list includes at least one candidate language type. The candidate language type may be any language type other than the language type currently adopted by the target word and sentence. For example, when the language type currently used by the target word and sentence is Chinese, the candidate language types may be English, Japanese, German, Chinese, and so on.

另外,第一语言选择列表中可以按照预设顺序对候选语言类型进行排序。可选地,终端根据候选语言类型被选择的频次对候选语言类型进行排序。若候选语言类型被选择的频次越高,则该候选语言类型在第一语言选择列表中的排列顺序越靠前;若候选语言类型被选择的频次越低,则该候选语言类型在第一语言选择列表中的排列顺序越靠后。可选地,终端根据候选语言类型被选择的时间对候选语言类型进行排序。若候选语言类型被选择的时间距当前时间越近,则该候选语言类型在第一语言选择列表中的排列顺序越靠前;若候选语言类型被选择的时间距当前时间越远,则该候选语言类型在第一语言选择列表中的排列顺序越靠后。In addition, the candidate language types may be sorted in a preset order in the first language selection list. Optionally, the terminal sorts the candidate language types according to the frequency of selection of the candidate language types. If the frequency of the candidate language type being selected is higher, the candidate language type will be ranked higher in the first language selection list; if the candidate language type is selected less frequently, the candidate language type will be in the first language selection list The sort order in the selection list is lower. Optionally, the terminal sorts the candidate language types according to the time when the candidate language types are selected. If the candidate language type is selected closer to the current time, the candidate language type will be ranked higher in the first language selection list; if the candidate language type is selected farther from the current time, the candidate language type will The language type is listed lower in the first language selection list.

通过上述方式,对用户在候选语言类型中选择出目标语言类型的历史记录进行统计分析,并相应调整语言选择列表中候选语言类型的排列顺序,使用户能快速选择出目标语言类型,提升选择效率。Through the above method, statistically analyze the historical records of the user selecting the target language type from the candidate language types, and adjust the order of the candidate language types in the language selection list accordingly, so that the user can quickly select the target language type and improve the selection efficiency .

步骤304,接收对应于第一语言选择列表中的第一语言类型的选择指示。Step 304, receiving a selection instruction corresponding to the first language type in the first language selection list.

第一语言类型是用户在上述至少一项候选语言类型中选择出的语言。选择指示由用户触发,其可以是对应于第一语言类型的触发信号。对应于第一语言类型的触发信号可以是单击信号、双击信号、长按信号中的任意一种。本申请实施例以对应于第一语言类型的触发信号是单击信号进行解释说明。另外,当第一语言选择列表中不包括用户期望选择的语言类型时,也可以由用户输入上述期望选择的语言类型。The first language type is the language selected by the user from the above at least one candidate language type. The selection indication is triggered by the user, which may be a trigger signal corresponding to the first language type. The trigger signal corresponding to the first language type may be any one of a single-click signal, a double-click signal, and a long-press signal. In the embodiment of the present application, the trigger signal corresponding to the first language type is a click signal for explanation. In addition, when the language type desired to be selected by the user is not included in the first language selection list, the user may also input the type of language desired to be selected by the user.

步骤305,将第一语言类型确定为目标语言类型。Step 305, determining the first language type as the target language type.

目标语言类型是目标词句翻译至的语言类型。可选地,语言选择列表的周侧还显示有第一完成控件,当用户接受到对应于该第一完成控件的触发信号时,将第一语言类型确定为目标语言类型,并执行后续获取目标词句的翻译结果的步骤。The target language type is the language type to which the target phrase is translated. Optionally, a first completion control is displayed on the side of the language selection list, and when the user receives a trigger signal corresponding to the first completion control, the first language type is determined as the target language type, and the subsequent acquisition target is executed Steps for translation results of words and sentences.

步骤306,获取目标词句的翻译结果。Step 306, obtaining the translation result of the target word and sentence.

步骤307,展示翻译结果。Step 307, displaying the translation result.

结合参考图4,其示出了图3所示实施例涉及的界面示意图。终端在接收到“XX新闻”的页面内容11中的词句111“翻译”的长按信号,显示功能菜单12,功能菜单12中包括翻译控件121、分享控件122和复制控件123;当用户点击翻译控件121之后,终端显示第一语言选择列表41以及第一完成控件42,第一语言选择列表包括至少一项候选语言类型,当用户在上述至少一项候选语言类型选择出第一语言类型411,并点击第二完成控件42之后,终端在内容页面11的上层显示第三对话框13,第三对话框13包括文本形式的翻译结果131和播放控件132。Referring to FIG. 4 , it shows a schematic diagram of the interface involved in the embodiment shown in FIG. 3 . The terminal receives the long press signal of "translation" of the word 111 in the page content 11 of "XX News", and displays the function menu 12, which includes a translation control 121, a sharing control 122 and a copy control 123; when the user clicks on the translation After the control 121, the terminal displays the first language selection list 41 and the first completion control 42, the first language selection list includes at least one candidate language type, when the user selects the first language type 411 in the at least one candidate language type, And after clicking the second completion control 42 , the terminal displays a third dialog box 13 on the upper layer of the content page 11 , and the third dialog box 13 includes a translation result 131 in text form and a play control 132 .

本申请实施例提供的技术方案,通过在用户触发翻译控件之后,提供多种候选语言供用户进行选择,后续终端根据用户选择的语言来对待翻译的词句进行翻译,可以满足用户对翻译词句所采用的语言的多样化需求。In the technical solution provided by the embodiment of the present application, after the user triggers the translation control, a variety of candidate languages are provided for the user to choose, and the subsequent terminal translates the words and sentences to be translated according to the language selected by the user, which can satisfy the user's choice of words and sentences for translation. The diverse needs of the language.

下面,将对确定目标词句翻译至的目标语言的第二种实现方式进行讲解。在基于图1所示实施例提供的可选实施例中,请参考图5,该方法包括如下步骤:Next, the second implementation manner of determining the target language to which the target word and sentence is translated will be explained. In an optional embodiment provided based on the embodiment shown in FIG. 1 , please refer to FIG. 5 , the method includes the following steps:

步骤501,显示第三方应用程序的内容页面。Step 501, displaying a content page of a third-party application.

内容页面中包含供阅览的文字内容。The content page contains text content for browsing.

步骤502,当接收到对应于内容页面中的目标词句的选择信号时,调用操作系统的页面回调接口以显示翻译控件。Step 502, when a selection signal corresponding to the target words and sentences in the content page is received, call the page callback interface of the operating system to display the translation control.

步骤503,将预先设置的语言类型确定为目标语言类型。Step 503, determining the preset language type as the target language type.

在本申请实施例中,目标语言类型可以预先设置,后续终端执行本申请提供的翻译方法时,无需用户每次选择目标语言类型,减小翻译时所需的用户操作,提升翻译效率。下面,将对默认设置的语言类型的设置过程进行介绍。该设置过程可以包括如下步骤:In this embodiment of the application, the target language type can be preset. When the terminal executes the translation method provided by this application, the user does not need to select the target language type every time, reducing the user operations required for translation and improving translation efficiency. Next, the setting process of the default language type will be introduced. The setup process may include the following steps:

1、当接收到对应于翻译控件的第二触发信号时,显示语言选择列表。1. When a second trigger signal corresponding to the translation control is received, display a language selection list.

第二触发信号与第一触发信号不相同。当第一触发信号为单击信号时,第二触发信号可以是双击信号或长按信号。在本申请实施例中,仅以第二触发信号为长按信号进行解释说明。The second trigger signal is different from the first trigger signal. When the first trigger signal is a single-click signal, the second trigger signal may be a double-click signal or a long-press signal. In the embodiment of the present application, only the second trigger signal is the long press signal for explanation.

第二语言选择列表中包括至少一种候选语言类型。对于第二语言选择列表的介绍,可以参考步对第一语言选择列表的介绍,此处不做赘述。The second language selection list includes at least one candidate language type. For the introduction of the second language selection list, you can refer to the introduction of the first language selection list in step 1, and will not repeat it here.

2、接收对应于第二语言选择列表中的第二语言类型的选择指示;2. Receive a selection instruction corresponding to the second language type in the second language selection list;

第二语言类型是用户在上述至少一项候选语言类型中选择出的语言。选择指示由用户触发,其可以是对应于第二语言类型的触发信号。对应于第二语言类型的触发信号可以是单击信号、双击信号、长按信号中的任意一种。本申请实施例以对应于第二语言类型的触发信号是单击信号进行解释说明。另外,当第二语言选择列表中不包括用户期望选择的语言类型时,也可以由用户输入上述期望选择的语言类型。The second language type is the language selected by the user from the above at least one candidate language type. The selection indication is triggered by the user, which may be a trigger signal corresponding to the second language type. The trigger signal corresponding to the second language type may be any one of a single-click signal, a double-click signal, and a long-press signal. In the embodiment of the present application, the trigger signal corresponding to the second language type is a click signal for explanation. In addition, when the language type desired to be selected by the user is not included in the second language selection list, the language type desired to be selected by the user may also be input by the user.

3、设置第二语言类型为预先设置的语言类型。3. Set the second language type to the preset language type.

可选地,语言选择列表的周侧还显示有第二完成控件,当用户接受到对应于该第二完成控件的触发信号时,将第二语言确定为目标词句翻译至的目标语言。结合参考图6,其示出了设置第二语言的界面示意图。终端在接收到页面内容11中的某个词句的长按信号,显示功能菜单12,功能菜单12中包括翻译控件121、分享控件122和复制控件123;当用户长按翻译控件121之后,终端显示第二语言选择列表61以及第二完成控件62,第二语言选择列表61包括至少一项候选语言类型,当用户在上述至少一项候选语言类型选择出第二语言类型611,并点击第二完成控件62之后,完成对预先设置的语言类型的设置过程。Optionally, a second completion control is displayed around the language selection list, and when the user receives a trigger signal corresponding to the second completion control, the second language is determined as the target language to which the target words and sentences are translated. Referring to FIG. 6 , it shows a schematic diagram of an interface for setting the second language. After receiving a long press signal of a word in the page content 11, the terminal displays the function menu 12, which includes a translation control 121, a sharing control 122 and a copy control 123; when the user presses the translation control 121 for a long time, the terminal displays The second language selection list 61 and the second completion control 62, the second language selection list 61 includes at least one candidate language type, when the user selects the second language type 611 in the above-mentioned at least one candidate language type, and clicks the second completion After the control 62, the setting process of the preset language type is completed.

步骤504,获取目标词句的翻译结果。Step 504, obtaining the translation result of the target word and sentence.

步骤505,展示翻译结果。Step 505, displaying the translation result.

本申请实施例提供的技术方案,通过将默认设置的语言确定为对词句进行翻译时所采用的语言,用户预先设置好语言后,后续终端翻译时无需用户每次重新选择,减小翻译时所需的用户操作,提升翻译效率。In the technical solution provided by the embodiment of the present application, by determining the language set by default as the language used when translating words and sentences, after the user sets the language in advance, the user does not need to re-select each time for subsequent terminal translation, reducing the time spent on translation. Needed user operations to improve translation efficiency.

在上文实施例中介绍了由终端从本地获取目标词句的翻译结果,终端也可以从服务器中获取目标词句的翻译结果。下面将对终端从服务器中获取目标词句的翻译结果的方式进行讲解。In the above embodiments, it is introduced that the terminal acquires the translation results of the target words and sentences locally, and the terminal may also acquire the translation results of the target words and sentences from the server. The following will explain how the terminal obtains the translation result of the target words and sentences from the server.

在基于图1或图3或图5所示实施例提供的可选实施例中,请参考图7,该方法包括如下步骤:In the optional embodiment provided based on the embodiment shown in FIG. 1 or FIG. 3 or FIG. 5, please refer to FIG. 7, the method includes the following steps:

步骤701,显示第三方应用程序的内容页面。Step 701, displaying a content page of a third-party application.

内容页面中包含供阅览的文字内容。The content page contains text content for browsing.

步骤702,当接收到对应于内容页面中的目标词句的选择信号时,调用操作系统的页面回调接口以显示翻译控件。Step 702, when a selection signal corresponding to the target words and sentences in the content page is received, call the page callback interface of the operating system to display the translation control.

步骤703,从至少两个服务器中选择与当前翻译需求相适配的目标服务器。Step 703, selecting a target server that is suitable for the current translation requirement from at least two servers.

至少两个服务器可以是终端厂商架设的服务器,该服务器具有翻译功能。在本申请实施例中,该服务器能够将目标词句翻译成一种或多种语言。At least two servers may be servers set up by terminal manufacturers, and the servers have translation functions. In the embodiment of the present application, the server can translate the target words and sentences into one or more languages.

可选地,当前翻译需求也即是目标词句翻译至的语言类型的需求。可选地,终端保存有不同语言类型与不同服务器之间的对应关系,终端确定目标词句翻译至的目标语言类型后,在上述对应关系中查找与目标语言类型对应的服务器作为与当前翻译需求相适配的目标服务器。Optionally, the current translation requirement is also the requirement of the language type to which the target sentence is translated. Optionally, the terminal stores the corresponding relationship between different language types and different servers. After determining the target language type to which the target sentence is translated, the terminal searches for the server corresponding to the target language type in the above corresponding relationship as the server corresponding to the current translation demand. Adapted target server.

步骤704,向目标服务器发送翻译请求。Step 704, sending a translation request to the target server.

翻译请求中携带目标词句。可选地,翻译请求中还携带目标语言类型与终端的标识。目标服务器根据翻译请求在数据库中查找采用目标语言类型表示的目标词句,作为目标词句的翻译结果,并向终端返回上述翻译结果。The target phrase is included in the translation request. Optionally, the translation request also carries the target language type and the identifier of the terminal. According to the translation request, the target server searches the database for the target words and sentences expressed in the target language type as the translation results of the target words and sentences, and returns the above translation results to the terminal.

步骤705,接收目标服务器发送的翻译结果。Step 705, receiving the translation result sent by the target server.

步骤706,展示翻译结果。Step 706, display the translation result.

在本申请的其它实施例中,服务器具有将目标词句翻译成所有语言类型的功能,此时终端无需确定与当前翻译需求适配的服务器,而可以直接向服务器发送翻译请求,并接收服务器根据翻译请求返回的翻译结果。In other embodiments of the present application, the server has the function of translating target words and sentences into all language types. At this time, the terminal does not need to determine the server that meets the current translation needs, but can directly send a translation request to the server, and receive the translation request from the server according to the translation. The translation result returned by the request.

综上所述,本申请实施例提供的方法,通过由服务器获取待翻译的词句的翻译结果,从而使终端中无需存储多种语言的词典,节省终端的内存占用。To sum up, the method provided by the embodiment of the present application obtains the translation result of the words and sentences to be translated by the server, so that the terminal does not need to store dictionaries of multiple languages, saving the memory usage of the terminal.

下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。The following are device embodiments of the present application, which can be used to implement the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.

请参考图8,其示出了本申请一个实施例提供的身份信息显示装置的框图。具有实现上述方法示例的功能,所述功能可以由硬件实现,也可以由硬件执行相应的软件实现。该装置可以包括:页面显示模块801、控件显示模块802、结果获取模块803和结果展示模块804。Please refer to FIG. 8 , which shows a block diagram of an identity information display device provided by an embodiment of the present application. It has the function of realizing the above method example, and the function may be realized by hardware, or may be realized by executing corresponding software by hardware. The device may include: a page display module 801 , a control display module 802 , a result acquisition module 803 and a result display module 804 .

页面显示模块801,用于显示第三方应用程序的内容页面,所述内容页面中包含供阅览的文字内容。The page display module 801 is configured to display a content page of a third-party application program, and the content page includes text content for browsing.

控件显示模块802,用于当接收到对应于所述内容页面中的目标词句的选择信号时,调用操作系统的页面回调接口以显示翻译控件。The control display module 802 is configured to call the page callback interface of the operating system to display the translation control when a selection signal corresponding to the target words and sentences in the content page is received.

结果获取模块803,用于当接收到对应于所述翻译控件的第一触发信号时,获取所述目标词句的翻译结果。The result obtaining module 803 is configured to obtain the translation result of the target word and sentence when receiving the first trigger signal corresponding to the translation control.

结果展示模块804,用于展示所述翻译结果。The result display module 804 is configured to display the translation result.

本申请实施例提供的技术方案,通过向第三方应用程序开放页面回调接口,并通过该接口获取并显示操作系统提供的翻译控件,若用户阅读页面内容时存在翻译需求,可以通过对待翻译的词句的特定触发操作呼出上述翻译控件,后续用户触发该操作控件即可获取待翻译的词句的翻译结果,由于无需在两个应用程序之间进行切换来实现翻译,因此可以节省翻译时用户所需的操作,提升翻译效率。In the technical solution provided by the embodiment of this application, by opening the page callback interface to the third-party application program, and obtaining and displaying the translation control provided by the operating system through this interface, if the user needs translation when reading the content of the page, the words and sentences to be translated can be passed The specific trigger operation calls out the above translation control, and the subsequent user triggers the operation control to obtain the translation results of the words and sentences to be translated. Since there is no need to switch between the two applications to realize the translation, it can save the time required by the user when translating. operation to improve translation efficiency.

在基于图8所示实施例提供的一个可选实施例中,所述控件显示模块802,用于:In an optional embodiment provided based on the embodiment shown in FIG. 8, the control display module 802 is configured to:

调用所述页面回调接口获取所述操作系统中的菜单显示功能;calling the page callback interface to obtain the menu display function in the operating system;

执行所述菜单显示功能以显示功能菜单,所述功能菜单中包括所述翻译控件。The menu display function is executed to display a function menu, and the translation control is included in the function menu.

在基于图8所示实施例提供的另一个可选实施例中,所述结果获取模块803,用于在所述内容页面的上层显示第一对话框,所述第一对话框中包含文本形式的所述翻译结果。In another optional embodiment provided based on the embodiment shown in FIG. 8, the result acquisition module 803 is configured to display a first dialog box on the upper layer of the content page, and the first dialog box contains a text form The translation results for .

在基于图8所示实施例提供的另一个可选实施例中,所述结果获取模块803,用于:In another optional embodiment provided based on the embodiment shown in FIG. 8, the result obtaining module 803 is configured to:

在所述内容页面的上层显示第二对话框,所述第二对话框中包含播放控件;Displaying a second dialog box on the upper layer of the content page, the second dialog box includes playback controls;

当接收到对应于所述播放控件的触发信号时,播放语音形式的所述翻译结果。When a trigger signal corresponding to the playback control is received, the translation result in voice form is played.

在基于图8所示实施例提供的另一个可选实施例中,所述装置还包括:列表显示模块、指示接收模块和第一确定模块(图中未示出)In another optional embodiment provided based on the embodiment shown in FIG. 8 , the device further includes: a list display module, an indication receiving module, and a first determination module (not shown in the figure)

列表显示模块,用于当接收到对应于所述翻译控件的第一触发信号时,显示第一语言选择列表,所述语言选择列表中包括至少一种候选语言类型。A list display module, configured to display a first language selection list when a first trigger signal corresponding to the translation control is received, and the language selection list includes at least one candidate language type.

指示接收模块,用于收对应于所述第一语言选择列表中的第一语言类型的选择指示。An instruction receiving module, configured to receive a selection instruction corresponding to the first language type in the first language selection list.

第一确定模块,用于将所述第一语言类型确定为目标语言类型,所述目标语言类型是所述目标词句翻译至的语言类型。A first determining module, configured to determine the first language type as a target language type, and the target language type is a language type to which the target words and sentences are translated.

在基于图8所示实施例提供的另一个可选实施例中,所述装置还包括:第二确定模块(图中未示出)。In another optional embodiment provided based on the embodiment shown in FIG. 8 , the device further includes: a second determining module (not shown in the figure).

第二确定模块,用于将预先设置的语言类型确定为目标语言类型,所述目标语言类型是所述目标词句翻译至的语言类型。The second determining module is configured to determine the preset language type as the target language type, and the target language type is the language type to which the target words and sentences are translated.

可选地,所述第二确定模块,还用于:Optionally, the second determination module is also used for:

当接收到对应于所述翻译控件的第二触发信号时,显示第二语言选择列表,所述第二语言选择列表中包括至少一种候选语言类型;When a second trigger signal corresponding to the translation control is received, displaying a second language selection list, the second language selection list includes at least one candidate language type;

接收对应于所述第二语言选择列表中的第二语言类型的选择指示;receiving a selection indication corresponding to a second language type in the second language selection list;

设置所述第二语言类型为所述预先设置的语言类型。Set the second language type as the preset language type.

在基于图8所示实施例提供的另一个可选实施例中,所述结果获取模块804,用于:In another optional embodiment provided based on the embodiment shown in FIG. 8, the result obtaining module 804 is configured to:

从至少两个服务器中选择与当前翻译需求相适配的目标服务器;Select a target server suitable for the current translation needs from at least two servers;

向所述目标服务器发送翻译请求,所述翻译请求中携带所述目标词句;Sending a translation request to the target server, the translation request carrying the target words and sentences;

接收所述目标服务器发送的所述翻译结果。receiving the translation result sent by the target server.

需要说明的是,上述实施例提供的装置在实现其功能时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置与方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when the device provided by the above-mentioned embodiments implements its functions, it only uses the division of the above-mentioned functional modules as an example. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to needs. The internal structure of the system is divided into different functional modules to complete all or part of the functions described above. In addition, the device and the method embodiment provided by the above embodiment belong to the same idea, and the specific implementation process thereof is detailed in the method embodiment, and will not be repeated here.

参考图9,其示出了本申请一个示例性实施例提供的终端的结构方框图。本申请中的终端可以包括一个或多个如下部件:处理器910和存储器920。Referring to FIG. 9 , it shows a structural block diagram of a terminal provided by an exemplary embodiment of the present application. The terminal in this application may include one or more of the following components: a processor 910 and a memory 920 .

处理器910可以包括一个或者多个处理核心。处理器910利用各种接口和线路连接整个终端内的各个部分,通过运行或执行存储在存储器920内的指令、程序、代码集或指令集,以及调用存储在存储器920内的数据,执行终端的各种功能和处理数据。可选地,处理器910可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器910可集成中央处理器(CentralProcessing Unit,CPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统和应用程序等;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器910中,单独通过一块芯片进行实现。Processor 910 may include one or more processing cores. The processor 910 uses various interfaces and lines to connect various parts of the entire terminal, by running or executing instructions, programs, code sets or instruction sets stored in the memory 920, and calling data stored in the memory 920, to execute terminal functions. Various functions and processing data. Optionally, the processor 910 may use at least one of Digital Signal Processing (Digital Signal Processing, DSP), Field Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable LogicArray, PLA). implemented in the form of hardware. The processor 910 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a modem, and the like. Among them, the CPU mainly deals with the operating system and application programs, etc.; the modem is used to deal with wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 910, but may be implemented by a single chip.

可选地,处理器910执行存储器920中的程序指令时实现下上述各个方法实施例提供的翻译方法。Optionally, when the processor 910 executes the program instructions in the memory 920, the translation methods provided in the above-mentioned various method embodiments are implemented.

存储器920可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选地,该存储器920包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器920可用于存储指令、程序、代码、代码集或指令集。存储器920可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令、用于实现上述各个方法实施例的指令等;存储数据区可存储根据终端的使用所创建的数据等。The memory 920 may include a random access memory (Random Access Memory, RAM), and may also include a read-only memory (Read-Only Memory). Optionally, the memory 920 includes a non-transitory computer-readable storage medium. The memory 920 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 920 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing the operating system, instructions for at least one function, instructions for realizing the above-mentioned various method embodiments, etc.; the storage data area Data created according to the use of the terminal, etc. can be stored.

上述终端的结构仅是示意性的,在实际实现时,终端可以包括更多或更少的组件,比如:显示屏等,本实施例对此不作限定。The above-mentioned structure of the terminal is only illustrative, and in actual implementation, the terminal may include more or less components, such as a display screen, which is not limited in this embodiment.

本领域技术人员可以理解,图9中示出的结构并不构成对终端900的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。Those skilled in the art can understand that the structure shown in FIG. 9 does not constitute a limitation on the terminal 900, and may include more or less components than shown in the figure, or combine certain components, or adopt different component arrangements.

在示例性实施例中,还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,所述计算机程序由终端的处理器加载并执行以实现上述方法实施例中的各个步骤。In an exemplary embodiment, a computer-readable storage medium is also provided, and a computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by a processor of a terminal to implement the method in the above-mentioned embodiment. each step.

在示例性实施例中,还提供了一种计算机程序产品,当该计算机程序产品被执行时,其用于实现上述方法实施例中的各个步骤的功能。In an exemplary embodiment, a computer program product is also provided, and when the computer program product is executed, it is used to realize the functions of the steps in the above method embodiments.

应当理解的是,在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。It should be understood that the "plurality" mentioned herein refers to two or more than two. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. The character "/" generally indicates that the contextual objects are an "or" relationship.

上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present application are for description only, and do not represent the advantages and disadvantages of the embodiments.

以上所述仅为本申请的示例性实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above are only exemplary embodiments of the application, and are not intended to limit the application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the application shall be included in the protection of the application. within range.

Claims (11)

1.一种翻译方法,其特征在于,所述方法包括:1. A translation method, characterized in that the method comprises: 显示第三方应用程序的内容页面,所述内容页面中包含供阅览的文字内容;Display the content page of the third-party application program, which contains text content for browsing; 当接收到对应于所述内容页面中的目标词句的选择信号时,调用操作系统的页面回调接口以显示翻译控件;When receiving a selection signal corresponding to the target words and sentences in the content page, calling the page callback interface of the operating system to display the translation control; 当接收到对应于所述翻译控件的第一触发信号时,获取所述目标词句的翻译结果;When a first trigger signal corresponding to the translation control is received, the translation result of the target word and sentence is acquired; 展示所述翻译结果。Display the translation result. 2.根据权利要求1所述的方法,其特征在于,所述调用操作系统的页面回调接口以显示翻译控件,包括:2. The method according to claim 1, wherein the calling the page callback interface of the operating system to display the translation control comprises: 调用所述页面回调接口获取所述操作系统中的菜单显示功能;calling the page callback interface to obtain the menu display function in the operating system; 执行所述菜单显示功能以显示功能菜单,所述功能菜单中包括所述翻译控件。The menu display function is executed to display a function menu, and the translation control is included in the function menu. 3.根据权利要求1所述的方法,其特征在于,所述展示所述翻译结果,包括:3. The method according to claim 1, wherein the displaying the translation result comprises: 在所述内容页面的上层显示第一对话框,所述第一对话框中包含文本形式的所述翻译结果。A first dialog box is displayed on the upper layer of the content page, and the first dialog box contains the translation result in text form. 4.根据权利要求1所述的方法,其特征在于,所述展示所述翻译结果,包括:4. The method according to claim 1, wherein the displaying the translation result comprises: 在所述内容页面的上层显示第二对话框,所述第二对话框中包含播放控件;Displaying a second dialog box on the upper layer of the content page, the second dialog box includes playback controls; 当接收到对应于所述播放控件的触发信号时,播放语音形式的所述翻译结果。When a trigger signal corresponding to the playback control is received, the translation result in voice form is played. 5.根据权利要求1至4任一项所述的方法,其特征在于,所述获取所述目标词句的翻译结果之前,还包括:5. The method according to any one of claims 1 to 4, wherein, before obtaining the translation result of the target words and sentences, further comprising: 当接收到对应于所述翻译控件的第一触发信号时,显示第一语言选择列表,所述第一语言选择列表中包括至少一种候选语言类型;When a first trigger signal corresponding to the translation control is received, displaying a first language selection list, the first language selection list includes at least one candidate language type; 接收对应于所述第一语言选择列表中的第一语言类型的选择指示;receiving a selection indication corresponding to a first language type in the first language selection list; 将所述第一语言类型确定为目标语言类型,所述目标语言类型是所述目标词句翻译至的语言类型。The first language type is determined as a target language type, and the target language type is a language type to which the target words and sentences are translated. 6.根据权利要求1至4任一项所述的方法,其特征在于,所述获取所述目标词句的翻译结果之前,还包括:6. The method according to any one of claims 1 to 4, wherein, before obtaining the translation result of the target words and sentences, further comprising: 将预先设置的语言类型确定为目标语言类型,所述目标语言类型是所述目标词句翻译至的语言类型。The preset language type is determined as the target language type, and the target language type is the language type to which the target words and sentences are translated. 7.根据权利要求6所述的方法,其特征在于,所述将预先设置的第二语言类型确定为目标语言类型之前,还包括:7. The method according to claim 6, wherein, before determining the preset second language type as the target language type, further comprising: 当接收到对应于所述翻译控件的第二触发信号时,显示第二语言选择列表,所述第二语言选择列表中包括至少一种候选语言类型;When a second trigger signal corresponding to the translation control is received, displaying a second language selection list, the second language selection list includes at least one candidate language type; 接收对应于所述第二语言选择列表中的第二语言类型的选择指示;receiving a selection indication corresponding to a second language type in the second language selection list; 设置所述第二语言类型为所述预先设置的语言类型。Set the second language type as the preset language type. 8.根据权利要求1至4任一项所述的方法,其特征在于,所述获取所述目标词句的翻译结果,包括:8. The method according to any one of claims 1 to 4, wherein said obtaining the translation result of said target phrase comprises: 从至少两个服务器中选择与当前翻译需求相适配的目标服务器;Select a target server suitable for the current translation needs from at least two servers; 向所述目标服务器发送翻译请求,所述翻译请求中携带所述目标词句;Sending a translation request to the target server, the translation request carrying the target words and sentences; 接收所述目标服务器发送的所述翻译结果。receiving the translation result sent by the target server. 9.一种翻译装置,其特征在于,所述装置包括:9. A translation device, characterized in that the device comprises: 页面显示模块,用于显示第三方应用程序的内容页面,所述内容页面中包含供阅览的文字内容;The page display module is used to display the content page of the third-party application program, and the content page includes text content for reading; 控件显示模块,用于当接收到对应于所述内容页面中的目标词句的选择信号时,调用操作系统的页面回调接口以显示翻译控件;The control display module is used to call the page callback interface of the operating system to display the translation control when receiving the selection signal corresponding to the target words and sentences in the content page; 结果获取模块,用于当接收到对应于所述翻译控件的第一触发信号时,获取所述目标词句的翻译结果;A result obtaining module, configured to obtain the translation result of the target word and sentence when receiving the first trigger signal corresponding to the translation control; 结果展示模块,用于展示所述翻译结果。The result display module is used to display the translation result. 10.一种终端,其特征在于,所述终端包括处理器和存储器,所述存储器存储有计算机程序,所述计算机程序由所述处理器加载并执行以实现如权利要求1至8任一项所述的翻译方法。10. A terminal, characterized in that the terminal comprises a processor and a memory, the memory stores a computer program, the computer program is loaded and executed by the processor to implement any one of claims 1 to 8 The translation method described. 11.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序,所述计算机程序由处理器加载并执行以实现如权利要求1至8任一项所述的翻译方法。11. A computer-readable storage medium, characterized in that, a computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by a processor to implement any one of claims 1 to 8. translation method.
CN201810368350.1A 2018-04-23 2018-04-23 Interpretation method, device and terminal Pending CN108595445A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810368350.1A CN108595445A (en) 2018-04-23 2018-04-23 Interpretation method, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810368350.1A CN108595445A (en) 2018-04-23 2018-04-23 Interpretation method, device and terminal

Publications (1)

Publication Number Publication Date
CN108595445A true CN108595445A (en) 2018-09-28

Family

ID=63614103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810368350.1A Pending CN108595445A (en) 2018-04-23 2018-04-23 Interpretation method, device and terminal

Country Status (1)

Country Link
CN (1) CN108595445A (en)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108897470A (en) * 2018-06-19 2018-11-27 维沃移动通信有限公司 A translation display method and mobile terminal
CN109582981A (en) * 2018-11-30 2019-04-05 努比亚技术有限公司 Interpretation method, mobile terminal and readable storage medium storing program for executing based on mobile terminal
CN110691028A (en) * 2019-09-16 2020-01-14 腾讯科技(深圳)有限公司 Message processing method, device, terminal and storage medium
CN110717340A (en) * 2019-09-29 2020-01-21 百度在线网络技术(北京)有限公司 Recommendation method and device, electronic equipment and storage medium
CN111147346A (en) * 2018-10-16 2020-05-12 阿里巴巴集团控股有限公司 Communication method, device, equipment and system
CN111401323A (en) * 2020-04-20 2020-07-10 Oppo广东移动通信有限公司 Character translation method, device, storage medium and electronic equipment
CN111580918A (en) * 2020-05-14 2020-08-25 中国银行股份有限公司 Interface display method, client and server
CN111680522A (en) * 2020-05-29 2020-09-18 刘于平 Method and system for realizing translation control based on electronic terminal and electronic equipment
CN111680521A (en) * 2020-05-19 2020-09-18 北京搜狗科技发展有限公司 A translation processing method, device and device for translation processing
CN111708959A (en) * 2020-06-16 2020-09-25 Oppo广东移动通信有限公司 Page display method and device, storage medium and electronic equipment
CN112069439A (en) * 2020-09-15 2020-12-11 成都知道创宇信息技术有限公司 Document request processing method and device, document providing server and storage medium
CN112988255A (en) * 2019-12-02 2021-06-18 腾讯科技(深圳)有限公司 Data processing method, device and computer readable storage medium
CN113625919A (en) * 2021-08-11 2021-11-09 掌阅科技股份有限公司 Method for translating book contents, computing device and computer storage medium
CN113723119A (en) * 2021-08-26 2021-11-30 腾讯科技(深圳)有限公司 Page translation method and device, storage medium and electronic equipment
CN113885973A (en) * 2020-07-02 2022-01-04 华为技术有限公司 Translation result display method and device and electronic equipment
CN114911560A (en) * 2022-05-18 2022-08-16 深圳市易孔立出软件开发有限公司 Language switching method, device, equipment and medium
CN114997187A (en) * 2021-12-01 2022-09-02 荣耀终端有限公司 Method and electronic device for recommending translation services
CN114997186A (en) * 2021-09-02 2022-09-02 荣耀终端有限公司 Control method and electronic device for translation control
CN115545049A (en) * 2022-04-12 2022-12-30 荣耀终端有限公司 A translation method, readable storage medium and electronic device
EP4170476A4 (en) * 2021-09-02 2024-01-24 Honor Device Co., Ltd. TRANSLATION METHOD AND ELECTRONIC DEVICE
WO2025061112A1 (en) * 2023-09-22 2025-03-27 华为技术有限公司 System control operation method and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101196874A (en) * 2007-12-28 2008-06-11 宇龙计算机通信科技(深圳)有限公司 Method and apparatus for machine aid reading
CN102945229A (en) * 2012-10-15 2013-02-27 福建榕基软件股份有限公司 Method and system for achieving fetching word to translate in rich text editor
CN104462074A (en) * 2014-12-26 2015-03-25 北京奇虎科技有限公司 Method and device for conducting webpage data translation and browser client side
CN106250374A (en) * 2016-08-05 2016-12-21 Tcl集团股份有限公司 One takes word interpretation method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101196874A (en) * 2007-12-28 2008-06-11 宇龙计算机通信科技(深圳)有限公司 Method and apparatus for machine aid reading
CN102945229A (en) * 2012-10-15 2013-02-27 福建榕基软件股份有限公司 Method and system for achieving fetching word to translate in rich text editor
CN104462074A (en) * 2014-12-26 2015-03-25 北京奇虎科技有限公司 Method and device for conducting webpage data translation and browser client side
CN106250374A (en) * 2016-08-05 2016-12-21 Tcl集团股份有限公司 One takes word interpretation method and system

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108897470A (en) * 2018-06-19 2018-11-27 维沃移动通信有限公司 A translation display method and mobile terminal
CN111147346A (en) * 2018-10-16 2020-05-12 阿里巴巴集团控股有限公司 Communication method, device, equipment and system
CN109582981A (en) * 2018-11-30 2019-04-05 努比亚技术有限公司 Interpretation method, mobile terminal and readable storage medium storing program for executing based on mobile terminal
CN109582981B (en) * 2018-11-30 2023-12-01 努比亚技术有限公司 Translation method based on mobile terminal, mobile terminal and readable storage medium
CN110691028A (en) * 2019-09-16 2020-01-14 腾讯科技(深圳)有限公司 Message processing method, device, terminal and storage medium
CN110717340B (en) * 2019-09-29 2023-11-21 百度在线网络技术(北京)有限公司 Recommendation method, recommendation device, electronic equipment and storage medium
CN110717340A (en) * 2019-09-29 2020-01-21 百度在线网络技术(北京)有限公司 Recommendation method and device, electronic equipment and storage medium
CN112988255B (en) * 2019-12-02 2024-04-30 腾讯科技(深圳)有限公司 Data processing method, device and computer readable storage medium
CN112988255A (en) * 2019-12-02 2021-06-18 腾讯科技(深圳)有限公司 Data processing method, device and computer readable storage medium
CN111401323A (en) * 2020-04-20 2020-07-10 Oppo广东移动通信有限公司 Character translation method, device, storage medium and electronic equipment
CN111580918A (en) * 2020-05-14 2020-08-25 中国银行股份有限公司 Interface display method, client and server
CN111680521A (en) * 2020-05-19 2020-09-18 北京搜狗科技发展有限公司 A translation processing method, device and device for translation processing
CN111680522A (en) * 2020-05-29 2020-09-18 刘于平 Method and system for realizing translation control based on electronic terminal and electronic equipment
CN111680522B (en) * 2020-05-29 2024-04-23 刘于平 Method and system for realizing translation control based on electronic terminal and electronic equipment
CN111708959A (en) * 2020-06-16 2020-09-25 Oppo广东移动通信有限公司 Page display method and device, storage medium and electronic equipment
US12204602B2 (en) 2020-06-16 2025-01-21 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Page display method and electronic device
CN113885973A (en) * 2020-07-02 2022-01-04 华为技术有限公司 Translation result display method and device and electronic equipment
CN113885973B (en) * 2020-07-02 2024-07-30 华为技术有限公司 Translation result display method and device and electronic equipment
WO2022002213A1 (en) * 2020-07-02 2022-01-06 华为技术有限公司 Translation result display method and apparatus, and electronic device
CN112069439B (en) * 2020-09-15 2023-10-13 成都知道创宇信息技术有限公司 Document request processing method and device, document providing server and storage medium
CN112069439A (en) * 2020-09-15 2020-12-11 成都知道创宇信息技术有限公司 Document request processing method and device, document providing server and storage medium
CN113625919A (en) * 2021-08-11 2021-11-09 掌阅科技股份有限公司 Method for translating book contents, computing device and computer storage medium
CN113723119B (en) * 2021-08-26 2023-07-14 腾讯科技(深圳)有限公司 Page translation method and device, storage medium and electronic equipment
CN113723119A (en) * 2021-08-26 2021-11-30 腾讯科技(深圳)有限公司 Page translation method and device, storage medium and electronic equipment
EP4170476A4 (en) * 2021-09-02 2024-01-24 Honor Device Co., Ltd. TRANSLATION METHOD AND ELECTRONIC DEVICE
CN114997186A (en) * 2021-09-02 2022-09-02 荣耀终端有限公司 Control method and electronic device for translation control
CN114997187A (en) * 2021-12-01 2022-09-02 荣耀终端有限公司 Method and electronic device for recommending translation services
CN115545049A (en) * 2022-04-12 2022-12-30 荣耀终端有限公司 A translation method, readable storage medium and electronic device
CN114911560A (en) * 2022-05-18 2022-08-16 深圳市易孔立出软件开发有限公司 Language switching method, device, equipment and medium
WO2025061112A1 (en) * 2023-09-22 2025-03-27 华为技术有限公司 System control operation method and electronic device

Similar Documents

Publication Publication Date Title
CN108595445A (en) Interpretation method, device and terminal
TWI690812B (en) Method, device and client for dynamic layout of page elements
US10733259B2 (en) Web page access method and apparatus
US11681655B2 (en) Method and apparatus for opening file, and electronic device
WO2018077085A1 (en) Application processing method, device and storage medium
CN111639278B (en) A web page loading method and device
WO2020248849A1 (en) Webpage language switching method and apparatus, and terminal device
CN106716351B (en) Method and electronic equipment for displaying webpage
CN110309475B (en) Page display method and device, terminal equipment and storage medium
US9304990B2 (en) Translation of text into multiple languages
CN108549568B (en) Application entry processing method, device, storage medium and electronic device
CN110389807B (en) Interface translation method and device, electronic equipment and storage medium
CN106325687B (en) Method and terminal for calling program
CN101706690A (en) Adaptive input method and adaptive input system
US20140109009A1 (en) Method and apparatus for text searching on a touch terminal
CN110413932B (en) Page display method, device, terminal, server, system and storage medium
JP2019520625A (en) Human computer interaction method and device thereof
CN108647032A (en) Using loading method and device, computer installation and computer readable storage medium
CN111401323A (en) Character translation method, device, storage medium and electronic equipment
CN112163432A (en) Translation method, translation device and electronic equipment
CN105677148A (en) A search method and device for a terminal application
CN108563476B (en) Application running method, device, storage medium and electronic device
CN113568608B (en) A method, device, equipment and storage medium for displaying component information
CN107168627B (en) Text editing method and device for touch screen
CN113672826B (en) Page jump method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180928

RJ01 Rejection of invention patent application after publication