IP Library Granted Patent US 12688377
Granted Patent B2
US 12688377 · App. 18/215,449 · Granted Jul 21, 2026

Method and user apparatus for generating and applying translation marker

Inventors: Yu-Wen Chen (Tainan City, TW); Chia-Ting Lee (Tainan City, TW); Wen-Wei Lin (Tainan City, TW); Kai-Lin Shih (Tainan City, TW); Ching-Yi Chiang (Tainan City, TW)
G06F40/51G06F40/169
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12688377
App. No.
18/215,449
Filed
Jun 28, 2023
Granted
Jul 21, 2026
Kind
B2
Art Unit
2657
USPC
704/2
Abstract

This disclosure provides a method and a user apparatus for generating and applying a translation marker, and the method is performed by the user apparatus and comprises: opening an electronic document on a user operation interface; selecting at least one text string in the electronic document according to a first triggering event; and when a translation option is detected to be selected, performing the following steps: generating a code corresponding to the selected text string by using an operation function; and displaying a first translated text string of the first translation record on the user operation interface and generating a first translation marker associated with the first translated text string on the electronic document when it is determined that a first translation record associated with the code exists in the user apparatus.

Claims (63)

1 . A method for generating and applying a translation marker, the method being performed by a user apparatus comprising a processor and a display, and the method comprising:

executing, by the processor, a first software to generate a user operation interface and open an electronic document on the user operation interface, wherein the electronic document includes a first text string and a second text string;

displaying, by the display, the user operation interface, wherein the user operation interface comprises a document display area and an auxiliary display area, and the electronic document is opened on the document display area;

driving, by the processor, the display to display a third text string on the auxiliary display area;

selecting, by the processor, the first text string according to a first triggering event;

generating an annotation marker associated with the first text string on the electronic document according to a first triggering event;

driving, by the processor, the display to display the annotation marker on the electronic document;

selecting, by the processor, the second text string according to a second triggering event;

driving, by the processor, the display to display a translation option on the user operation interface;

detecting, by the processor, whether the translation option is selected; and

when the translation option is detected to be selected, performing, by the processor, the following steps:

generating a code corresponding to the second text string by using an operation function;

determining whether a first translation record associated with the code exists in the user apparatus, wherein the first translation record includes a first translated text string corresponding to the second text string;

generating a first translation marker associated with the first translated text string on the electronic document when it is determined that the first translation record exists in the user apparatus;

driving, by the processor, the display to display the first translation marker on the electronic document simultaneously with the annotation marker; and

driving the display to display the first translated text string on the auxiliary display area, when the first translation marker is selected, to replace the third text string displayed on the auxiliary display area,

wherein when the processor executes a second software to open the electronic document with the annotation marker and the first translation marker, the first translation marker is replaced by another annotation marker, and

wherein the electronic document is an electronic portable document format (PDF) document, and the first translation marker and the annotation marker are respectively implemented with two different PDF labels.

2 . The method of claim 1 , wherein when the translation option is detected to be selected, the method further comprises performing the following steps:

sending a translation request to a server to request the server to return a second translated text string corresponding to the second text string when it is determined that the first translation record does not exist in the user apparatus, wherein the translation request carries the code and the second text string;

receiving the second translated text string, which is in response to the translation request, from the server; and

displaying the second translated text string on the user operation interface and generating a second translation marker associated with the second translated text string on the electronic document when the second translated text string is received from the server.

3 . The method of claim 2 , wherein the second translated text string is read from a storage of the server or is generated by the server calling a translation module to translate the second text string and transmitted to the user apparatus by the server.

4 . The method of claim 2 , further comprising:

storing the code and the second translated text string as a second translation record and storing the second translation record in the user apparatus.

5 . The method of claim 2 , further comprising:

encoding the translation request into a JSON (JavaScript Object Notation) object and sending the JSON object to the server.

6 . The method of claim 1 , wherein the operation function is a Hash function, and the code is a hash value.

7 . The method of claim 1 , wherein the step of generating the first translation marker associated with the first translated text string on the electronic document further comprises:

generating the first translation marker associated with the first translated text string on the electronic document according to a third triggering event.

8 . A user apparatus for generating and applying a translation marker, comprising:

a processor;

a display electrically coupled to the processor; and

a storage electrically coupled to the processor and configured to store at least one computer executable program, wherein the at least one computer executable program, when executed by the processor, causes the processor to perform the following steps:

executing a first software to generate a user operation interface and open an electronic document on the user operation interface, wherein the electronic document includes a first text string and a second text string;

driving the display to display the user operation interface, wherein the user operation interface comprises a document display area and an auxiliary display area, the electronic document is opened on the document display area;

driving the display to display a third text string on the auxiliary display area;

selecting the first text string according to a first triggering event;

generating an annotation marker associated with the first text string on the electronic document according to a first triggering event;

driving the display to display the annotation marker on the electronic document;

selecting the second text string according to a second triggering event;

driving the display to display a translation option on the user operation interface;

detecting whether the translation option is selected; and

when the translation option is detected to be selected, performing the following steps:

generating a code corresponding to the second text string by using an operation function;

determining whether a first translation record associated with the code exists in the storage, wherein the first translation record includes a first translated text string corresponding to the second text string;

generating a first translation marker associated with the first translated text string on the electronic document when it is determined that the first translation record exists in the storage;

driving the display to display the first translation marker on the electronic document simultaneously with the annotation marker; and

driving the display to display the first translated text string on the auxiliary display area, when the first translation marker is selected, to replace the third text string displayed on the auxiliary display area,

wherein when the processor executes a second software to open the electronic document with the annotation marker and the first translation marker, the first translation marker is replaced by another annotation marker, and

wherein the electronic document is an electronic portable document format (PDF) document, and the first translation marker and the annotation marker are respectively implemented with two different PDF labels.

9 . The user apparatus of claim 8 , further comprising:

an input device electrically coupled to the processor and configured to receive a first input and generate a first input signal corresponding to the first input, wherein the second triggering event is generated according to the first input signal.

10 . The user apparatus of claim 8 , further comprising:

a transmitter electrically coupled to the processor and configured to send a translation request to a server to request the server to return a second translated text string corresponding to the second text string when the processor determines that the first translation record does not exist in the storage, wherein the translation request carries the code and the second text string; and

a receiver electrically coupled to the processor and configured to receive the second translated text string, which is in response to the translation request, from the server;

wherein when the receiver receives the second translated text string from the server, the processor is further configured to display the second translated text string on the user operation interface and generate a second translation marker associated with the second translated text string on the electronic document.

11 . The user apparatus of claim 10 , wherein the processor further performs:

storing the code and the second translated text string as a second translation record and storing the second translation record in the storage.

12 . The user apparatus of claim 10 , wherein the processor further performs:

encoding the translation request into a JSON (JavaScript Object Notation) object and sending the JSON object to the server through the transmitter.

13 . The user apparatus of claim 8 , wherein the step performed by the processor to generate the first translation marker associated with the first translated text string on the electronic document further comprises:

generating the first translation marker associated with the first translated text string on the electronic document according to a third triggering event.