Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Text query method and apparatus, and electronic device

A technology of electronic equipment and query method, which is applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve problems that affect the efficiency of application program development and testing, time-consuming query process, and poor immediacy, etc., to achieve improved Development and testing efficiency, the effect of improving immediacy

Active Publication Date: 2018-07-17
WUHAN DOUYU NETWORK TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The instantaneity of this query method is not good, and the query process is time-consuming, which seriously affects the efficiency of application development and testing.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Text query method and apparatus, and electronic device
  • Text query method and apparatus, and electronic device
  • Text query method and apparatus, and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. The components of the embodiments of the application generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations.

[0040] Accordingly, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the application. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art w...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a text query method and apparatus, and an electronic device. The electronic device is installed with an application; and the application is embedded with a preset retrieval module. The method comprises the steps of providing a search interface in the application through the retrieval module, and displaying a search box and a search button in the search interface; when it isdetected that the search button is clicked, obtaining a query statement input in the search box by a user; asynchronously calling an NSPredicate method in a global queue of the electronic device, andobtaining elements related to the query statement from a first array preset by the application to obtain a second array, wherein the elements in the first array are character strings; and executing asynchronous operation in a main queue of the application, and displaying the elements in the second array on the search interface. Therefore, text contents in internal files of the application can bequeried directly in the application; the query immediacy is improved; and the application development and test efficiency is improved.

Description

technical field [0001] The present application relates to the technical field of development and testing of mobile terminal application programs, in particular, to a text query method, device and electronic equipment. Background technique [0002] With the rapid development of mobile terminals, the iterative update speed of applications on mobile terminals is also getting faster and faster, and the requirements for application program development efficiency are also getting higher and higher. In application program development and testing, developers often need to find certain content from program files for display, for example, system identification or system C++ information. In the solution of the prior art, when it is necessary to perform text character query in the internal file of the application program, the file of the application program needs to be downloaded from the mobile terminal, and then the query search is performed through other software or tools. The insta...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/332G06F16/334G06F16/338
Inventor 汪刚张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products