CN112800084A - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN112800084A
CN112800084A CN202110209994.8A CN202110209994A CN112800084A CN 112800084 A CN112800084 A CN 112800084A CN 202110209994 A CN202110209994 A CN 202110209994A CN 112800084 A CN112800084 A CN 112800084A
Authority
CN
China
Prior art keywords
data
control program
voice control
target data
interface
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
CN202110209994.8A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202110209994.8A priority Critical patent/CN112800084A/en
Publication of CN112800084A publication Critical patent/CN112800084A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • 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/16Sound input; Sound output

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure provides a data processing method and apparatus. The method comprises the following steps: receiving a data query instruction through a voice control program, wherein the data query instruction comprises intention information of query target data, and acquiring a machine instruction corresponding to the data query instruction through the voice control program, wherein the machine instruction comprises: the method comprises the steps of obtaining keyword information used for indicating intention information, calling an interface, inquiring target data meeting the intention information based on the keyword information, and displaying the target data on an interface of a voice control program. According to the method, the electronic equipment receives the data query instruction through the voice control program, queries the required data based on the data query instruction and displays the data on the interface of the voice control program, the technical problem that the searching efficiency is low due to the fact that the user needs to manually and sequentially search on the electronic equipment under the condition that the user does not know the use rule of the functional software or forgets the storage position of the data is solved, and the searching efficiency is improved.

Description

Data processing method and device
Technical Field
The present disclosure relates to the field of computer communication technologies, and in particular, to a data processing method and apparatus.
Background
The electronic equipment is provided with functional software, such as office software, instant messaging software and the like, and a user uses the functional software to perform data processing and data storage.
Before using the functional software installed on the electronic device, the user needs to know the usage rules of the functional software in order to use the functional software correctly. After the user stores data on the electronic device, the user needs to remember the storage location of the data, so as to subsequently acquire the data from the storage location.
If the user does not know the use rule of the functional software or forgets the storage position of the data, the user needs to manually search the electronic equipment in sequence, and the searching efficiency is low.
Disclosure of Invention
In view of the above, the present disclosure provides a data processing method and apparatus to solve the above technical problems.
According to a first aspect of the embodiments of the present disclosure, there is provided a data processing method applied to an electronic device including a voice control program, the method including:
receiving a data query instruction through a voice control program, wherein the data query instruction comprises intention information of query target data;
obtaining a machine instruction corresponding to the data query instruction through the voice control program, wherein the machine instruction comprises: keyword information indicating the intention information;
calling an interface, and inquiring target data according with the intention information based on the keyword information;
and displaying the target data on an interface of the voice control program.
Optionally, the intention information comprises at least one of: and searching the mails meeting the first preset condition, and searching the local files meeting the second preset condition.
Optionally, the obtaining, by the voice control program, a machine instruction corresponding to the data query instruction includes:
sending the data query instruction to a server through the voice control program, so that the server acquires the keyword information indicating the intention information according to the data query instruction, and generating the machine instruction comprising the keyword information;
and receiving the machine instruction sent by the server through the voice control program.
Optionally, in a case that the intention information includes a mail that satisfies a first predetermined condition, the invoking interface, based on the keyword information, queries target data that meets the intention information, including:
and calling an interface set for a mailbox, and searching the mails meeting the first preset condition from the mailbox based on the keyword information.
Optionally, in a case that the intention information includes finding a local file satisfying a second predetermined condition, the invoking an interface, finding target data conforming to the intention information based on the keyword information, includes:
and calling an interface set for a local disk, and searching the local file conforming to the intention information from the local disk based on the keyword information.
Optionally, the displaying the target data on the interface of the voice control program includes:
displaying the target data on the interface in a data list form; alternatively, the first and second electrodes may be,
sequencing the target data, and displaying the sequenced target data on the interface; alternatively, the first and second electrodes may be,
and classifying the target data, and displaying different types of target data on the interface in a subarea manner.
According to a second aspect of the embodiments of the present disclosure, there is provided a data processing apparatus applied to an electronic device including a voice control program, the apparatus including:
the instruction receiving module is configured to receive a data query instruction through a voice control program, wherein the data query instruction comprises intention information of querying target data;
an instruction obtaining module configured to obtain, through the voice control program, a machine instruction corresponding to the data query instruction, where the machine instruction includes: keyword information indicating the intention information;
a data query module configured to call an interface, and query target data conforming to the intention information based on the keyword information;
a data display module configured to display the target data on an interface of the voice control program.
Optionally, the intention information comprises at least one of: and searching the mails meeting the first preset condition, and searching the local files meeting the second preset condition.
Optionally, the instruction obtaining module includes:
the instruction sending sub-module is configured to send the data query instruction to a server through the voice control program, so that the server obtains the keyword information indicating the intention information according to the data query instruction, and generates the machine instruction comprising the keyword information;
and the machine instruction receiving submodule is configured to receive the machine instruction sent by the server through the voice control program.
Optionally, the data query module is configured to, in a case that the intention information includes finding a mail meeting a first predetermined condition, invoke an interface set for a mailbox, and find a mail meeting the first predetermined condition from the mailbox based on the keyword information.
Optionally, the data query module is configured to, in a case that the intention information includes a local file that satisfies a second predetermined condition, invoke an interface that is set for a local disk, and search for the local file that meets the intention information from the local disk based on the keyword information.
Optionally, the data display module includes:
a first display sub-module configured to display the target data on the interface in a data list form; alternatively, the first and second electrodes may be,
the second display sub-module is configured to sort the target data and display the sorted target data on the interface; alternatively, the first and second electrodes may be,
and the third display sub-module is configured to classify the target data and display different types of target data on the interface in a partitioned manner.
According to a third aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of any one of the above first aspects.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a data processing apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a data query instruction through a voice control program, wherein the data query instruction comprises intention information of query target data;
obtaining a machine instruction corresponding to the data query instruction through the voice control program, wherein the machine instruction comprises: keyword information indicating the intention information;
calling an interface, and inquiring target data according with the intention information based on the keyword information;
and displaying the target data on an interface of the voice control program.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in the embodiment of the disclosure, the electronic device is provided with the voice control program, the voice control program can respond to the voice command, the electronic device receives the data query command through the voice control program, queries the required data based on the data query command and displays the data on the interface of the voice control program, so that the technical problem of low searching efficiency caused by the fact that a user needs to manually search the electronic device in sequence without knowing the use rule of the functional software or forgetting the storage position of the data is solved, and the searching efficiency is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
FIG. 1 is a flow diagram illustrating a method of data processing in accordance with an exemplary embodiment;
FIG. 2 is a block diagram illustrating a data processing apparatus according to an exemplary embodiment;
fig. 3 is a schematic diagram illustrating an apparatus for data processing according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Fig. 1 is a flowchart illustrating a data processing method according to an exemplary embodiment, which is applied to an electronic device, which may be, but is not limited to, a computer, a personal notebook, and the like, and on which a voice control program is installed, and the data processing method illustrated in fig. 1 includes the following steps:
in step 101, a data query instruction is received by a voice control program, wherein the data query instruction includes intention information of query target data.
The voice control program can respond to voice commands, such as but not limited to a voice assistant, such as a classmate, a novice, siri, etc. The data query command belongs to a voice command.
The data query instruction comprises intention information of querying target data. For example, in a case where the electronic device is installed with a mailbox, the intention information may include a mail inquiring to satisfy a first predetermined condition. Illustratively, the user inputs a voice instruction (i.e., a data query instruction) to the electronic device to "search for mail sent in last wednesday", where the intention information included in the voice instruction includes searching for mail sent in last wednesday, and the first predetermined condition includes that sent in last wednesday.
For another example, in a case where the electronic device is mounted with a disk and a file is stored in the disk, the intention information may include: and searching local files meeting a second preset condition. Illustratively, the user inputs a voice instruction (i.e., a data query instruction) to the electronic device to "search for documents for august on C-disc", where the intention information included in the voice instruction includes searching for documents for august on C-disc, and the second predetermined condition includes storage for august on C-disc.
In step 102, a machine instruction corresponding to the data query instruction is obtained through the voice control program, wherein the machine instruction includes: keyword information indicating intention information.
The keyword information may include at least one of: time, person, attribute information of data, storage address of data, and the like. The attribute information of the data may include at least one of: identification, rating, data type, etc. The data type may include a format type, a content type, etc. of the data.
The electronic device may obtain the machine command corresponding to the data query command through the voice control program in various ways. One way is as follows: the electronic equipment interacts with the server through the voice control program and sends a data query instruction to the server, so that the server obtains keyword information indicating intention information according to the data query instruction and generates a machine instruction comprising the keyword information, and the electronic equipment receives the machine instruction sent by the server through the voice control program.
In this way, after receiving the data query instruction, the server may perform voice recognition and semantic analysis on the data query instruction, obtain intention information of query target data included in the data query instruction, and further obtain keyword information for indicating the intention information.
In another mode: the electronic equipment directly performs voice recognition, semantic analysis and other processing on the data query instruction through a voice control program, acquires keyword information used for indicating intention information, and generates a machine instruction according to the keyword information.
The manner of acquiring the keyword information indicating the intention information may be various. For example, keyword information is extracted directly from intention information. In another example, the intention information is analyzed and summarized to obtain keyword information.
Illustratively, the intention information includes a search for a mail sent in the last trimester of the week, and the keyword information indicating the intention information includes the last trimester, and the sent mail.
In step 103, an interface is called to query target data corresponding to intention information based on the keyword information.
In one embodiment, the target data may include the entire content of the data conforming to the intention information, or the target data may include only a partial content of the data conforming to the intention information.
For example, when a user searches for mail through a voice instruction (i.e., a data query instruction), the first case: the target data may include the entire contents of the mail conforming to the intention information, when the target data includes the entire mail, or, in the second case: the target data may include only part of the content of the mail that meets the intention information, and in this case, the target data may include brief information of the mail, which may include sender, recipient, time of receipt, and subject. Compared with the acquisition of the target data in the first case, the acquisition of the target data in the second case can reduce the number of acquired data and improve the data processing speed.
In one embodiment, in the case that the intention information includes finding a mail meeting a first predetermined condition, an interface set for a mailbox may be invoked to find a mail meeting the first predetermined condition from the mailbox based on the keyword information.
One of the situations is: the electronic equipment calls an interface set for the mailbox, directly searches the mails meeting the first preset condition from the mailbox, and acquires all data or partial data (namely target data) of the mails.
In another case: the mailbox is provided with a database which is used for storing brief information of the mails in the mailbox. In this case, the electronic device may call an interface set for the database to search the database for brief information (i.e., target data) of the mail that satisfies the first preset condition.
In one embodiment, in a case that the intention information includes finding a local file satisfying the second predetermined condition, the electronic device may call an interface set for the local disk, and find a local file satisfying the intention information from the local disk based on the keyword information. It should be noted that the interface configured for the local disk may be considered as a service process, where the service process stores a file retrieval management algorithm, which is used to manage the local file database on the disk this time, and retrieve or search the local file according to an instruction received by the voice control program.
For example, the local disk is a C disk, and a certain number of local files are stored in the C disk. And when the keyword information comprises the C disk and the target file name, the electronic equipment calls an interface set for the local disk, and searches the local file with the target file name from the C disk based on the keyword information.
In one embodiment, after querying the data meeting the intention information based on the keyword information, the queried data may be further filtered, and the filtered data is determined as the target data. The queried data can be screened according to parameters such as processing time, importance level, use frequency and use frequency.
For example, after the brief information of a plurality of mails meeting the intention information is inquired based on the keyword information, mails with receiving time meeting a preset time condition are screened out from the plurality of mails, and the brief information of the screened mails is determined as the target data.
For another example, after a plurality of local files meeting the intention information are searched based on the keyword information, a file with a use frequency meeting a preset frequency condition is screened from the plurality of local files, and the screened file is determined as target data.
In the embodiment, the searched data which accords with the intention information is screened, the data with low use probability of the user is removed, the operation that the user removes useless files from the data which accords with the intention information is reduced, the user can conveniently and quickly search the needed data from the residual data (namely the target data), and the use experience of the user is improved.
In step 104, the target data is displayed on the interface of the voice control program.
There are various ways of displaying the target data on the interface of the voice control program. For example, the first way: and displaying the target data on an interface of the voice control program in a data list form.
The second mode is as follows: and sequencing the multi-target data, and displaying the sequenced target data on an interface.
The target data may be sorted according to parameters such as processing time, importance level, number of times of use, frequency of use, data type, and the like.
The third mode is as follows: and classifying the target data, and displaying different types of target data on an interface of the voice control program in a subarea manner.
The target data may be classified according to parameters such as format type and/or content type of the target data.
In the embodiment of the disclosure, the electronic device is provided with the voice control program, the voice control program can respond to the voice command, the electronic device receives the data query command through the voice control program, queries the required data based on the data query command and displays the data on the interface of the voice control program, so that the technical problem of low searching efficiency caused by the fact that a user needs to manually search the electronic device in sequence without knowing the use rule of the functional software or forgetting the storage position of the data is solved, and the searching efficiency is improved.
By executing the method, the user can complete data search only by inputting the voice command without manually operating the electronic equipment, so that the user operation is simplified, and the use experience of the user is improved.
The following describes an embodiment of the present disclosure by taking an electronic device as a PC device, a voice control program as "favorites classmates", and target data to be searched as a local file.
The PC terminal is provided with an application program 'Xiaoaitong' and a service program Xiaoaiservice (which is equivalent to an interface set for a local disk), the 'Xiaoaitong' provides a query entrance for a user, after a data query instruction (belonging to a voice instruction) input by the user is received through the query entrance, the data query instruction is sent to the cloud terminal, so that the cloud terminal obtains keyword information used for indicating the intention information according to the intention information included in the data query instruction, generates a machine instruction including the keyword information, and sends the generated machine instruction to the 'Xiaoaitong', the 'Xiaoaitong' sends the machine instruction to the Xiaoaiservice, and the Xiaoservai service obtains target data which accord with the intention information from the local disk according to a preset algorithm. Experiments prove that the time consumption of the data searching process is only about 300 milliseconds, and the required data can be quickly found.
The Xiaoai service sends the target data to the Xiaoai classmates, and the Xiaoai classmates arrange and display the target data.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present disclosure is not limited by the order of acts, as some steps may, in accordance with the present disclosure, occur in other orders and concurrently.
Further, those skilled in the art should also appreciate that the embodiments described in the specification are exemplary embodiments and that acts and modules referred to are not necessarily required by the disclosure.
Corresponding to the embodiment of the application function implementation method, the disclosure also provides an embodiment of an application function implementation device and a corresponding terminal.
Fig. 2 is a block diagram of a data processing apparatus according to an exemplary embodiment, which is applied to an electronic device, which may be, but is not limited to, a computer, a personal notebook, and the like, the electronic device including a voice control program, and the apparatus including:
the instruction receiving module 21 is configured to receive a data query instruction through a voice control program, wherein the data query instruction includes intention information of querying target data;
an instruction obtaining module 22, configured to obtain, through the voice control program, a machine instruction corresponding to the data query instruction, where the machine instruction includes: keyword information indicating the intention information;
a data query module 23 configured to call an interface for querying target data conforming to the intention information based on the keyword information;
a data display module 24 configured to display the target data on an interface of the voice control program.
In an alternative embodiment, on the basis of the data processing apparatus shown in fig. 2, the intention information comprises at least one of: and searching the mails meeting the first preset condition, and searching the local files meeting the second preset condition.
In an alternative embodiment, on the basis of the data processing apparatus shown in fig. 2, the instruction obtaining module 22 may include:
an instruction sending sub-module configured to send the data query instruction to a server through the voice control program, so that the server obtains the keyword information indicating the intention information according to the data query instruction, and generates the machine instruction including the keyword information;
and the machine instruction receiving submodule is configured to receive the machine instruction sent by the server through the voice control program.
In an alternative embodiment, on the basis of the data processing apparatus shown in fig. 2, the data query module 23 may be configured to, in a case that the intention information includes a mail that satisfies a first predetermined condition, call an interface set for a mailbox, and search the mailbox for a mail that satisfies the first predetermined condition based on the keyword information.
In an alternative embodiment, on the basis of the data processing apparatus shown in fig. 2, the data query module 23 may be configured to, in a case that the intention information includes a local file that satisfies a second predetermined condition, call an interface set for a local disk, and search the local file that satisfies the intention information from the local disk based on the keyword information.
In an alternative embodiment, on the basis of the data processing apparatus shown in fig. 2, the data display module 24 may include:
a first display sub-module configured to display the target data on the interface in a data list form; alternatively, the first and second electrodes may be,
the second display sub-module is configured to sort the target data and display the sorted target data on the interface; alternatively, the first and second electrodes may be,
and the third display sub-module is configured to classify the target data and display different types of target data on the interface in a partitioned manner.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
Fig. 3 is a block diagram illustrating an apparatus 1600 for data processing in accordance with an example embodiment. For example, the apparatus 1600 has a wireless internet access function, and may be a user device, which may be embodied as a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, a wearable device such as a smart watch, smart glasses, a smart bracelet, a smart running shoe, and the like.
Referring to fig. 3, apparatus 1600 may include one or more of the following components: processing component 1602, memory 1604, power component 1606, multimedia component 1608, audio component 1610, input/output (I/O) interface 1612, sensor component 1614, and communications component 1616.
The processing component 1602 generally controls overall operation of the device 1600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1602 may include one or more processors 1620 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1602 can include one or more modules that facilitate interaction between the processing component 1602 and other components. For example, the processing component 1602 can include a multimedia module to facilitate interaction between the multimedia component 1608 and the processing component 1602.
The memory 1604 is configured to store various types of data to support operation at the apparatus 1600. Examples of such data include instructions for any application or method operating on device 1600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1604 may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
A power supply component 1606 provides power to the various components of the device 1600. The power components 1606 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 1600.
The multimedia component 1608 includes a screen that provides an output interface between the apparatus 1600 and a user as described above. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of the touch or slide action, but also scan the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1608 comprises a front-facing camera and/or a rear-facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 1600 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1610 is configured to output and/or input an audio signal. For example, audio component 1610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1600 is in an operational mode, such as a call mode, recording mode, and voice recognition mode. The received audio signal may further be stored in the memory 1604 or transmitted via the communications component 1616. In some embodiments, audio component 1610 further includes a speaker for outputting audio signals.
The I/O interface 1612 provides an interface between the processing component 1602 and peripheral interface modules, such as keyboards, click wheels, buttons, and the like. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor assembly 1614 includes one or more sensors for providing status assessment of various aspects to device 1600. For example, sensor assembly 1614 may scan for an open/closed state of device 1600, the relative positioning of components, such as a display and keypad of device 1600, sensor assembly 1614 may also scan for changes in the position of device 1600 or a component of device 1600, the presence or absence of user contact with device 1600, orientation or acceleration/deceleration of device 1600, and changes in the temperature of device 1600. The sensor assembly 1614 may include a proximity sensor configured to scan for the presence of nearby objects without any physical contact. The sensor assembly 1614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communications component 1616 is configured to facilitate communications between the apparatus 1600 and other devices in a wired or wireless manner. The device 1600 may access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the aforementioned communication component 1616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium, such as the memory 1604 comprising instructions which, when executed by the processor 1620 of the apparatus 1600, enable the apparatus 1600 to perform the above data processing method, in one embodiment, the apparatus 1600 is capable of performing: receiving a data query instruction through a voice control program, wherein the data query instruction comprises intention information of query target data; obtaining a machine instruction corresponding to the data query instruction through the voice control program, wherein the machine instruction comprises: keyword information indicating the intention information; calling an interface, and inquiring target data according with the intention information based on the keyword information; and displaying the target data on an interface of the voice control program.
The non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1. A data processing method applied to an electronic device including a voice control program, the method comprising:
receiving a data query instruction through the voice control program, wherein the data query instruction comprises intention information for querying target data;
obtaining a machine instruction corresponding to the data query instruction through the voice control program, wherein the machine instruction comprises: keyword information indicating the intention information;
calling an interface, and inquiring target data according with the intention information based on the keyword information;
and displaying the target data on an interface of the voice control program.
2. The method of claim 1, wherein the intent information comprises at least one of: and searching the mails meeting the first preset condition, and searching the local files meeting the second preset condition.
3. The method of claim 1, wherein the obtaining, by the voice control program, the machine instruction corresponding to the data query instruction comprises:
sending the data query instruction to a server through the voice control program, so that the server acquires the keyword information indicating the intention information according to the data query instruction, and generating the machine instruction comprising the keyword information;
and receiving the machine instruction sent by the server through the voice control program.
4. The method according to claim 1, wherein in a case where the intention information includes finding a mail satisfying a first predetermined condition, the invoking interface, based on the keyword information, queries for target data conforming to the intention information, including:
and calling an interface set for a mailbox, and searching the mails meeting the first preset condition from the mailbox based on the keyword information.
5. The method according to claim 1, wherein in a case where the intention information includes finding a local file satisfying a second predetermined condition, the calling interface finding target data conforming to the intention information based on the keyword information includes:
and calling an interface set for a local disk, and searching the local file conforming to the intention information from the local disk based on the keyword information.
6. The method of claim 1, wherein displaying the target data on the interface of the voice control program comprises:
displaying the target data on the interface in a data list form; alternatively, the first and second electrodes may be,
sequencing the target data, and displaying the sequenced target data on the interface; alternatively, the first and second electrodes may be,
and classifying the target data, and displaying different types of target data on the interface in a subarea manner.
7. A data processing apparatus, applied to an electronic device including a voice control program, the apparatus comprising:
the instruction receiving module is configured to receive a data query instruction through the voice control program, wherein the data query instruction comprises intention information of querying target data;
an instruction obtaining module configured to obtain, through the voice control program, a machine instruction corresponding to the data query instruction, where the machine instruction includes: keyword information indicating the intention information;
a data query module configured to call an interface, and query target data conforming to the intention information based on the keyword information;
a data display module configured to display the target data on an interface of the voice control program.
8. The apparatus of claim 7, wherein the intent information comprises at least one of: and searching the mails meeting the first preset condition, and searching the local files meeting the second preset condition.
9. The apparatus of claim 7, wherein the instruction fetch module comprises:
the instruction sending sub-module is configured to send the data query instruction to a server through the voice control program, so that the server obtains the keyword information indicating the intention information according to the data query instruction, and generates the machine instruction comprising the keyword information;
and the machine instruction receiving submodule is configured to receive the machine instruction sent by the server through the voice control program.
10. The apparatus of claim 7, wherein:
the data query module is configured to call an interface set for a mailbox to search the email meeting a first preset condition from the mailbox based on the keyword information if the intention information includes the search of the email meeting the first preset condition.
11. The apparatus of claim 7, wherein:
the data query module is configured to call an interface set for a local disk and search the local file meeting the intention information from the local disk based on the keyword information under the condition that the intention information includes searching the local file meeting a second preset condition.
12. The apparatus of claim 7, wherein the data display module comprises:
a first display sub-module configured to display the target data on the interface in a data list form; alternatively, the first and second electrodes may be,
the second display sub-module is configured to sort the target data and display the sorted target data on the interface; alternatively, the first and second electrodes may be,
and the third display sub-module is configured to classify the target data and display different types of target data on the interface in a partitioned manner.
13. A non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor, performs the steps of the method of any one of claims 1 to 6.
14. A data processing apparatus, characterized by comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a data query instruction through a voice control program, wherein the data query instruction comprises intention information of query target data;
obtaining a machine instruction corresponding to the data query instruction through the voice control program, wherein the machine instruction comprises: keyword information indicating the intention information;
calling an interface, and inquiring target data according with the intention information based on the keyword information;
and displaying the target data on an interface of the voice control program.
CN202110209994.8A 2021-02-24 2021-02-24 Data processing method and device Pending CN112800084A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110209994.8A CN112800084A (en) 2021-02-24 2021-02-24 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110209994.8A CN112800084A (en) 2021-02-24 2021-02-24 Data processing method and device

Publications (1)

Publication Number Publication Date
CN112800084A true CN112800084A (en) 2021-05-14

Family

ID=75815823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110209994.8A Pending CN112800084A (en) 2021-02-24 2021-02-24 Data processing method and device

Country Status (1)

Country Link
CN (1) CN112800084A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114944976A (en) * 2022-04-28 2022-08-26 中国电子科技集团公司第三十六研究所 Signal processing method based on mobile terminal

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101588322A (en) * 2009-06-18 2009-11-25 中山大学 Mailbox system based on speech recognition
CN106855771A (en) * 2015-12-09 2017-06-16 阿里巴巴集团控股有限公司 A kind of data processing method, device and intelligent terminal
CN107506166A (en) * 2017-08-04 2017-12-22 珠海市魅族科技有限公司 Information cuing method and device, computer installation and readable storage medium storing program for executing
US20180089197A1 (en) * 2016-09-29 2018-03-29 International Business Machines Corporation Internet search result intention
CN108009251A (en) * 2017-12-01 2018-05-08 珠海市魅族科技有限公司 A kind of image file searching method and device
CN109074523A (en) * 2016-05-17 2018-12-21 谷歌有限责任公司 Unified message search
CN109618051A (en) * 2018-11-28 2019-04-12 北京小米移动软件有限公司 Information query method and device
CN110110146A (en) * 2019-04-12 2019-08-09 深圳壹账通智能科技有限公司 Video clip searching method, device, medium and equipment based on artificial intelligence

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101588322A (en) * 2009-06-18 2009-11-25 中山大学 Mailbox system based on speech recognition
CN106855771A (en) * 2015-12-09 2017-06-16 阿里巴巴集团控股有限公司 A kind of data processing method, device and intelligent terminal
CN109074523A (en) * 2016-05-17 2018-12-21 谷歌有限责任公司 Unified message search
US20180089197A1 (en) * 2016-09-29 2018-03-29 International Business Machines Corporation Internet search result intention
CN107506166A (en) * 2017-08-04 2017-12-22 珠海市魅族科技有限公司 Information cuing method and device, computer installation and readable storage medium storing program for executing
CN108009251A (en) * 2017-12-01 2018-05-08 珠海市魅族科技有限公司 A kind of image file searching method and device
CN109618051A (en) * 2018-11-28 2019-04-12 北京小米移动软件有限公司 Information query method and device
CN110110146A (en) * 2019-04-12 2019-08-09 深圳壹账通智能科技有限公司 Video clip searching method, device, medium and equipment based on artificial intelligence

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张华;: "音频检索技术概述", 广东通信技术, no. 07 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114944976A (en) * 2022-04-28 2022-08-26 中国电子科技集团公司第三十六研究所 Signal processing method based on mobile terminal

Similar Documents

Publication Publication Date Title
CN106605224B (en) Information searching method and device, electronic equipment and server
US10061762B2 (en) Method and device for identifying information, and computer-readable storage medium
CN105843615B (en) Notification message processing method and device
CN108038102B (en) Method and device for recommending expression image, terminal and storage medium
EP3041204A1 (en) Method for prompting calling request and device for the same
CN106095465B (en) Method and device for setting identity image
EP3176999B1 (en) Method and device for processing information
CN106599070B (en) Method and device for acquiring information in first application program and terminal equipment
CN104462296B (en) File management method and device and terminal
US20160314164A1 (en) Methods and devices for sharing cloud-based business card
CN112256164B (en) Page display method and device, electronic equipment and storage medium
CN106331328B (en) Information prompting method and device
US11546663B2 (en) Video recommendation method and apparatus
CN107402767B (en) Method and device for displaying push message
CN112131466A (en) Group display method, device, system and storage medium
CN113609380B (en) Label system updating method, searching device and electronic equipment
CN104951522B (en) Method and device for searching
CN106960026B (en) Search method, search engine and electronic equipment
CN112800084A (en) Data processing method and device
CN109842688B (en) Content recommendation method and device, electronic equipment and storage medium
CN105260088B (en) Information classification display processing method and device
CN108491535B (en) Information classified storage method and device
CN112784151A (en) Method and related device for determining recommendation information
CN110020082B (en) Searching method and device
CN110362760B (en) Method, device and medium for intelligently prompting search results

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