# US 2024/0005103 A1 · Method and user apparatus for generating and applying translation marker

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0005103 A1
- Document ID: US20240005103A1
- Status: Published application
- Kind: A1
- Application number: 18/215,449
- Filed: 2023-06-28
- Published: 2024-01-04
- Earliest claimed: 2022-06-29
- Assignees: Kdan Mobile Software Ltd.
- Applicants: Kdan Mobile Software Ltd.
- Inventors: YU-WEN CHEN; CHIA-TING LEE; WEN-WEI LIN; KAI-LIN SHIH; CHING-YI CHIANG
- Web page: https://patentgrep.com/patent/US20240005103A1

## CPC

- G06F 40/51: Translation evaluation
- G06F 40/58: Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation
- G06F 3/04842: Selection of displayed objects or displayed text elements (G06F3/0482 takes precedence)
- G06F 40/169: Annotation, e.g. comment data or footnotes
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## 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

### Claim 1

A method for generating and applying a translation marker, the method being performed by a user apparatus and comprising:
opening an electronic document on a user operation interface, wherein the electronic document includes a plurality of text strings;
selecting at least one text string from the plurality of text strings according to a first triggering event;
displaying 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 selected 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 selected text string; and
displaying the first translated text string 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 the first translation record exists in the user apparatus.

### Claim 2 (depends on 1)

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 selected 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 selected 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.

### Claim 3 (depends on 2)

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 selected text string and transmitted to the user apparatus by the server.

### Claim 4 (depends on 2)

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.

### Claim 5 (depends on 2)

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.

### Claim 6 (depends on 1)

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

### Claim 7 (depends on 1)

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 second triggering event.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
displaying the first translated text string on the user operation interface when the first translation marker is selected.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
generating an annotation marker on the electronic document according to a third triggering event and displaying the first translation marker and the annotation marker on the electronic document at the same time, 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.

### Claim 10

A user apparatus for generating and applying a translation marker, comprising:
a processor;
a display electrically coupled to the processor and configured to display a user operation interface; 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:
opening an electronic document on the user operation interface, wherein the electronic document includes a plurality of text strings;
selecting at least one text string from the plurality of text strings according to a first triggering event;
displaying 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 selected 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 selected text string; and
displaying the first translated text string 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 the first translation record exists in the storage.

### Claim 11 (depends on 10)

The user apparatus of claim 10, 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 first triggering event is generated according to the first input signal.

### Claim 12 (depends on 10)

The user apparatus of claim 10, 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 selected 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 selected 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.

### Claim 13 (depends on 12)

The user apparatus of claim 12, 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.

### Claim 14 (depends on 12)

The user apparatus of claim 12, 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.

### Claim 15 (depends on 10)

The user apparatus of claim 10, 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 second triggering event.

### Claim 16 (depends on 10)

The user apparatus of claim 10, wherein the processor further performs:
displaying the first translated text string on the user operation interface when the first translation marker is selected.

### Claim 17 (depends on 10)

The user apparatus of claim 10, wherein the processor further performs:
generating an annotation marker on the electronic document according to a third triggering event and displaying the first translation marker and the annotation marker on the electronic document at the same time, 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.
