# US 10,372,512 B2 · Method and apparatus for automatic processing of service requests on an electronic device

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

- Number: US 10,372,512 B2
- Document ID: US10372512B2
- Status: Granted
- Kind: B2
- Application number: 15/397,728
- Filed: 2017-01-04
- Published: 2018-04-05
- Granted: 2019-08-06
- Earliest claimed: 2016-09-30
- Assignees: Deepassist Inc.
- Applicants: Xiaoyun Wu
- Inventors: Xiaoyun Wu
- Web page: https://patentgrep.com/patent/US10372512B2

## CPC

- G06F 40/205: Parsing
- G06F 9/45512: {Command shells}
- G06F 9/542: {Event management; Broadcasting; Multicasting; Notifications}
- G06F 16/90344: {by using string matching techniques}
- H04L 67/34: {involving the movement of software or configuration parameters (network booting or remote initial program loading [RIPL] G06F9/4416)}
- H04M 1/72403: with means for local support of applications that increase the functionality
- G06F 3/04883: for inputting data by handwriting, e.g. gesture or text
- H04L 67/06: specially adapted for file transfer, e.g. file transfer protocol [FTP]
- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- H04L 67/568: Storing data temporarily at an intermediate stage, e.g. caching
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)

## Abstract

Embodiments of the present application provides methods and apparatus capable of recording operation/display events on a mobile device used to fulfill a service request. A recorded sequence operation/display events is used to build a script file, which is associated with the service request. When the same or similar service request is received again, the script file associated with the service request is retrieved and the mobile device automatically brings up a series of operation/display events according to the script file so that a user of the mobile device does not need to manually navigate through the sequence of operation/display events again in order to fulfill the service request.

## Claims

### Claim 1

A method performed by a computer system in communication with a mobile device via a packet-based network, the method comprising:
receiving from the packet-based network information about a first service request and a sequence of operation/display events performed on the mobile device to fulfill the first service request;
extracting a request template from the first service request;
building a script file associated with the request template based on the sequence of operation/display events;
storing the script file and the associated request template in a data store;
receiving a second service request from the mobile device via the packet based network;
in response to the second service request being similar to the request template, extracting variable information from the second service request and retrieving the script file associated with the request template from the data store;
transmitting the script file together with the request template and the variable information to the mobile device via the packet-based network.

### Claim 2 (depends on 1)

The method of claim 1, wherein the sequence of operation/display events include a series of user actions and program displays on the mobile device and wherein the script file is executable by the mobile device to automatically fulfill the second service request without any user action on the mobile device.

### Claim 3 (depends on 2)

The method of claim 2, wherein the displays include a window for receiving a search query and the actions include an entry of a search query.

### Claim 4 (depends on 2)

The method of claim 2, wherein the mobile device includes an input touch panel and the actions include one or more touches and one or more swipes on the input touch panel.

### Claim 5 (depends on 1)

The method of claim 1, wherein the first service request includes a text string, and wherein extracting a request template comprises parsing the text string into a general portion and a specific portion and replacing the specific portion with a variable.

### Claim 6 (depends on 1)

The method of claim 1, wherein the first service request includes a text string, and wherein extracting a request template comprises associating the service request with a category of service requests that covers similar service requests expressed with different text strings.

### Claim 7 (depends on 1)

The method of claim 1, further comprising performing a similarity analysis of the second service request with a variety of request templates to determine a target request template having a similarity to the second service request with a similarity value greater than a preset threshold.

### Claim 8 (depends on 1)

The method of claim 1, wherein the variable information is input information for the script file, and wherein extracting the variable information from the second service request comprises parsing the second service request into a general portion and a specific portion and using the specific portion as the variable information.

### Claim 9

A method performed by a mobile device in communication with a server over a packet-based network, the method comprising:
receiving a service request in the form of a user input;
transmitting the service request to the server via the packet-based network;
in response to receiving a script file associated with the service request from the server via the packet-based network, executing the script file to bring about a first sequence of operation/display events to fulfill the service request;
in response to a feedback from the server via the packet-based network that no script file associated with the service request is found, requesting a user permission to enter the recording mode;
in response to the user instruction to enter the recording mode, obtaining a second sequence of operation/display events used to fulfill the service request and transmitting the second sequence of operation/display events together with the service request to the server via the packet-based network.

### Claim 10 (depends on 9)

The method of claim 9, wherein the service request includes a text string and the user input being one of a text input, a voice input and a selection of an icon or a link.

### Claim 11 (depends on 9)

The method of claim 9, wherein the script file includes the first sequence of operation/display events.

### Claim 12 (depends on 11)

The method of claim 11, wherein the first sequence of operation/display events include a series of actions and displays on the mobile device, and wherein the actions include an entry of a search query.

### Claim 13 (depends on 11)

The method of claim 11, wherein the first sequence of operation/display events include a series of actions and displays on the mobile device, and wherein the actions include one or more touches and one or more swipes on an input touch panel of the mobile device, wherein the actions are performed automatically without actual user input.

### Claim 14 (depends on 9)

The method of claim 9, wherein the second sequence of operation/display events comprises operation/display events associated with a service application program, and wherein obtaining the second sequence of operation/display events comprises providing a transparent display that overlays displays of the service application program so as to capture user inputs on the service application program.

### Claim 15

A non-transitory computer-readable storage medium storing one or more programs for execution by one or more processors of a mobile device, the one or more programs including instructions for:
receiving a service request in the form of a user input;
transmitting the service request to a server via the packet-based network;
in response to receiving a script file associated with the service request from the server via the packet-based network, executing the script file to bring about a first sequence of operation/display events to fulfill the service request;
in response to a feedback from the server via the packet-based network that no script file associated with the service request is found, requesting a user permission to enter the recording mode;
capturing the user inputs and the program displays on an input/output module of the mobile device as a user of the mobile device navigates at least one service application to fulfill a service request;
recording the user inputs and the program displays to obtain a second sequence of user inputs and program displays;
generating a script file including the second sequence of user inputs and program displays; and
transmitting the second sequence of operation/display events together with the service request to the server via the packet-based network.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the non-transitory computer-readable storage medium includes storage memory, the storage memory including a normal storage for storing program codes and data that can be modified by the user and an internal or read-only memory (ROM) storage storing an operating system and core function applications that cannot be easily modified by the user, and wherein at least part of the program codes are stored in the ROM.

### Claim 17 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein the user inputs in the sequence of user inputs and program displays include an entry of a search query.

### Claim 18 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the user inputs in the sequence of user inputs and program displays include one or more touches and one or more swipes on a input touch panel of the mobile device.

### Claim 19 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein when the at least part of the program codes are called by the one or more processors to execute the script file, the one or more processes causes the mobile device to automatically navigate through program displays to fulfill the service request.

### Claim 20 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein when the at least part of the program codes are called by the one or more processors to execute the script file, the one or more processors causes the mobile device to simulate the user inputs included in the script file and to display corresponding program displays specified by the script file.
