CN112863501B - Data processing method and device and electronic equipment - Google Patents
Data processing method and device and electronic equipment Download PDFInfo
- Publication number
- CN112863501B CN112863501B CN201911174086.9A CN201911174086A CN112863501B CN 112863501 B CN112863501 B CN 112863501B CN 201911174086 A CN201911174086 A CN 201911174086A CN 112863501 B CN112863501 B CN 112863501B
- Authority
- CN
- China
- Prior art keywords
- data
- rendering
- rendering data
- matched
- page
- 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.)
- Active
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 13
- 238000009877 rendering Methods 0.000 claims abstract description 241
- 230000006870 function Effects 0.000 claims description 20
- 238000000034 method Methods 0.000 claims description 17
- 238000003058 natural language processing Methods 0.000 claims description 9
- 238000013075 data extraction Methods 0.000 claims description 6
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 230000005540 biological transmission Effects 0.000 description 7
- 238000004590 computer program Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 238000004140 cleaning Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 240000002853 Nelumbo nucifera Species 0.000 description 1
- 235000006508 Nelumbo nucifera Nutrition 0.000 description 1
- 235000006510 Nelumbo pentapetala Nutrition 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/08—Speech classification or search
- G10L15/18—Speech classification or search using natural language modelling
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/26—Speech to text systems
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L2015/223—Execution procedure of a spoken command
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Acoustics & Sound (AREA)
- Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- User Interface Of Digital Computer (AREA)
- Document Processing Apparatus (AREA)
Abstract
The invention provides a data processing method, a data processing device and electronic equipment, which are used for acquiring voice data, extracting control data from the voice data, acquiring page rendering data matched with the control data, and performing page rendering based on the page rendering data. The invention can realize the function of controlling the APK by voice.
Description
Technical Field
The present invention relates to the field of voice control, and in particular, to a data processing method, apparatus, and electronic device.
Background
The intelligent screen device, such as PAD, television, etc., can integrate APK (Android package) of a third party, and the APK can be controlled by a key, if the APK can be controlled by voice, the control mode of the APK can be increased, so that the control modes of the APK are diversified.
Disclosure of Invention
In view of the above, the present invention provides a data processing method, apparatus and electronic device, so as to solve the problem that a method for controlling APK by voice is required.
In order to solve the technical problems, the invention adopts the following technical scheme:
a data processing method, comprising:
acquiring voice data;
extracting control data from the voice data;
acquiring page rendering data matched with the control data;
and performing page rendering based on the page rendering data.
Optionally, extracting control data from the voice data includes:
performing natural language processing on the voice data to obtain text information;
splitting the text information to obtain control data; the control data includes a function control instruction or a service load instruction.
Optionally, acquiring page rendering data matched with the control data includes:
acquiring preset rendering data; the preset rendering data comprises various rendering data;
and matching the rendering data matched with the control data from the preset rendering data, and taking the rendering data as the page rendering data.
Optionally, acquiring page rendering data matched with the control data, further includes:
if the rendering data matched with the control data is not matched with the preset rendering data, converting the control data into pinyin data;
and matching the rendering data matched with the pinyin data from the preset rendering data, and taking the rendering data as the page rendering data.
Optionally, matching rendering data matched with the control data or the pinyin data from the preset rendering data includes:
acquiring the display content of the current page;
judging whether rendering data corresponding to the display content of the current page comprises rendering data matched with the control data or the pinyin data;
if yes, rendering data matched with the control data or the pinyin data in the rendering data corresponding to the display content of the current page is directly used as the page rendering data;
and if not, matching the rendering data matched with the control data or the pinyin data from the preset rendering data.
A data processing apparatus comprising:
the first data acquisition module is used for acquiring voice data;
the data extraction module is used for extracting control data from the voice data;
the second data acquisition module is used for acquiring page rendering data matched with the control data;
and the page rendering module is used for performing page rendering based on the page rendering data.
Optionally, the data extraction module includes:
the language processing sub-module is used for carrying out natural language processing on the voice data to obtain text information;
the text splitting module is used for splitting the text information to obtain control data; the control data includes a function control instruction or a service load instruction.
Optionally, the second data acquisition module includes:
the data acquisition sub-module is used for acquiring preset rendering data; the preset rendering data comprises various rendering data;
and the data matching sub-module is used for matching the rendering data matched with the control data from the preset rendering data and taking the rendering data as the page rendering data.
Optionally, the second data acquisition module further includes:
the data conversion sub-module is used for converting the control data into pinyin data if the rendering data matched with the control data are not matched from the preset rendering data;
the data matching sub-module is further configured to match rendering data matched with the pinyin data from the preset rendering data, and serve as the page rendering data.
Optionally, the data matching submodule includes:
the content acquisition unit is used for acquiring the display content of the current page;
the judging unit is used for judging whether the rendering data corresponding to the display content of the current page comprises rendering data matched with the control data or the pinyin data;
the data matching unit is used for directly taking rendering data matched with the control data or the pinyin data in the rendering data corresponding to the current page display content as the page rendering data if the data is available; and if not, matching the rendering data matched with the control data or the pinyin data from the preset rendering data.
An electronic device, comprising: a memory and a processor;
wherein the memory is used for storing programs;
the processor invokes the program and is configured to:
acquiring voice data;
extracting control data from the voice data;
acquiring page rendering data matched with the control data;
and performing page rendering based on the page rendering data.
Compared with the prior art, the invention has the following beneficial effects:
the invention provides a data processing method, a data processing device and electronic equipment, which are used for acquiring voice data, extracting control data from the voice data, acquiring page rendering data matched with the control data, and performing page rendering based on the page rendering data. The invention can realize the function of controlling the APK by voice.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for data processing according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method for processing data according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for processing data according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The embodiment of the invention provides a data processing method, which mainly realizes the voice control of APK in intelligent screen equipment, wherein the intelligent screen equipment can be PAD or television, and the like, and the television is taken as an example, the voice control of APK can be the voice control of playing of a television play, the opening of a television home page, and the like.
Referring to fig. 1, the data processing method may include:
s11, voice data are acquired.
Taking the intelligent screen device as an example of a television, a user outputs voice data to the television, such as opening a home page or playing a western tour, and the voice output by the user is the voice data acquired by the television.
S12, extracting control data from the voice data.
In practical applications, the control data is generally text information, and referring to fig. 2, step S12 may specifically include:
s21, performing natural language processing on the voice data to obtain text information.
The natural language processing may be nlp technology, through nlp technology, speech may be converted to text.
S22, splitting the text information to obtain control data.
The control data comprises a function control instruction or a service loading instruction, taking the control data as an example of opening a first page, wherein the control data is a function control instruction, namely the function control instruction is used for controlling a television play to execute a specific existing function.
Taking control data as "play a western script" as an example, the control data is a service loading instruction, i.e., the service loading instruction is a certain television, song, game, etc. that the user wants to watch or listen to.
The text information splitting process can be as follows: splitting the text information according to words, and extracting control data from the words obtained by splitting. For example, the text information is "play the western game on television", which can be split into "play the western game on television", and "play the western game on television", which is not control data, and the control data is "play the western game on television".
S13, acquiring page rendering data matched with the control data.
S14, performing page rendering based on the page rendering data.
The page rendering data is bottom rendering data of a page to be opened of voice data output by a user, for example, an instruction of opening a home page is output, the bottom rendering data corresponding to the open home page is found, and the page rendering is performed by using the data, so that a display interface of the open home page can be obtained. The page rendering data may include nouns, tag types, corresponding processing manners url, and the like, and the page rendering is realized by loading url.
In practical application, referring to fig. 3, step S13 may specifically include:
s31, acquiring preset rendering data.
When the APK is installed, registering preset rendering data of the APK into the intelligent screen equipment, wherein the preset rendering data comprises various rendering data. Such as rendering data of "open page", rendering data of "play song", rendering data of "play television", rendering data of "open game interface", and the like. The rendering data comprises keys displayed on the interface, resources displayed on the interface, partial characteristic request queries and the like. The rendering data is divided into function data including a home page, a game interface, and the like, and resource name data including a western-style game play, a younger song, a lotus month song, and the like. And the intelligent screen equipment receives preset rendering data and then performs storage operation.
S32, judging whether the rendering data matched with the control data is matched with the preset rendering data or not; if yes, go to step S33; if not, go to step S34.
And S33, using the rendering data matched with the control data and matched with the preset rendering data as page rendering data.
S34, converting the control data into pinyin data.
And S35, matching the rendering data matched with the pinyin data from the preset rendering data, and taking the rendering data as the page rendering data.
In practical application, firstly fuzzy matching is carried out on the control data and the rendering data in the preset rendering data, if the matching is successful, the data obtained by matching is used as page rendering data, if the matching is not successful, the control data is converted into pinyin data, and fuzzy matching is carried out on the control data and the resource name in the preset rendering data, so that the page rendering data is obtained.
It should be noted that, in order to determine the page rendering data in combination with the page display, the current page display content may be obtained, for example, the current page display content is a television show interface, for example, the displayed "83-version jet carving hero transmission", if the user requests "83-version jet carving hero transmission", it is first determined whether the rendering data corresponding to the current page display content includes the rendering data matched with the control data or the pinyin data, and if yes, the rendering data corresponding to the current page display content and the rendering data matched with the control data or the pinyin data are directly used as the page rendering data; and if not, matching the rendering data matched with the control data or the pinyin data from the preset rendering data. In this embodiment, the "83-version jet carving hero transmission" is included, then rendering data corresponding to the "83-version jet carving hero transmission" is executed as page rendering data, and if the current page is displayed as "new-version jet carving hero transmission", that is, rendering data corresponding to the display content of the current page does not include rendering data matched with the control data or the pinyin data, at this time, the above-mentioned "matching rendering data matched with the control data or the pinyin data from the preset rendering data" is executed. When data is matched from preset rendering data, each data also has corresponding weight, and in the matching process, the data with the largest weight in the matched data is selected. For example, if the control data is to play the western-style diary, two matching results are provided, one is to play the western-style diary song, and one is to play the western-style diary television play, and the weight of playing the western-style diary television play is large, the western-style diary television set is preferentially played.
In this embodiment, voice data is acquired, control data is extracted from the voice data, page rendering data matched with the control data is acquired, and page rendering is performed based on the page rendering data. The invention can realize the function of controlling the APK by voice.
In addition, the embodiment has the capability of pushing specific content for apk, improves the content priority in scene registration, and specifically, the skill can recommend own characteristic content according to the need, such as recommending a short clean and skincare video in video apk. At this time, the short clean and skincare video can be placed on the display content of the current page, and when a later user wants to watch the short clean and skincare video, the video can be played preferentially, so that the requirement of pushing different specific contents of each apk can be better adapted in a most convenient mode.
Optionally, on the basis of the embodiment of the data processing method, another embodiment of the present invention provides a data processing apparatus, referring to fig. 4, may include:
a first data acquisition module 11 for acquiring voice data;
a data extraction module 12 for extracting control data from the voice data;
a second data acquisition module 13, configured to acquire page rendering data matched with the control data;
the page rendering module 14 is configured to perform page rendering based on the page rendering data.
Further, the data extraction module includes:
the language processing sub-module is used for carrying out natural language processing on the voice data to obtain text information;
the text splitting module is used for splitting the text information to obtain control data; the control data includes a function control instruction or a service load instruction.
Further, the second data acquisition module includes:
the data acquisition sub-module is used for acquiring preset rendering data; the preset rendering data comprises various rendering data;
and the data matching sub-module is used for matching the rendering data matched with the control data from the preset rendering data and taking the rendering data as the page rendering data.
Further, the second data acquisition module further includes:
the data conversion sub-module is used for converting the control data into pinyin data if the rendering data matched with the control data are not matched from the preset rendering data;
the data matching sub-module is further configured to match rendering data matched with the pinyin data from the preset rendering data, and serve as the page rendering data.
Further, the data matching sub-module includes:
the content acquisition unit is used for acquiring the display content of the current page;
the judging unit is used for judging whether the rendering data corresponding to the display content of the current page comprises rendering data matched with the control data or the pinyin data;
the data matching unit is used for directly taking rendering data matched with the control data or the pinyin data in the rendering data corresponding to the current page display content as the page rendering data if the data is available; and if not, matching the rendering data matched with the control data or the pinyin data from the preset rendering data.
In this embodiment, voice data is acquired, control data is extracted from the voice data, page rendering data matched with the control data is acquired, and page rendering is performed based on the page rendering data. The invention can realize the function of controlling the APK by voice.
In addition, the embodiment has the capability of formulating features for apk, improves the content priority in scene registration, and specifically, the skill can recommend own feature content according to the needs, such as recommending one in video apk, and cleaning and skincare short videos. And the unique content which is required to be first pushed by the apk and the characteristic content displayed on the current page can be requested without additional work, so that different requirements of each apk can be better adapted in a most convenient mode.
It should be noted that, in the working process of each module, sub-module and unit in this embodiment, please refer to the corresponding description in the above embodiment, and the description is omitted here.
Optionally, on the basis of the embodiment of the data processing method, another embodiment of the present invention provides an electronic device, including: a memory and a processor;
wherein the memory is used for storing programs;
the processor invokes the program and is configured to:
acquiring voice data;
extracting control data from the voice data;
acquiring page rendering data matched with the control data;
and performing page rendering based on the page rendering data.
Further, extracting control data from the voice data includes:
performing natural language processing on the voice data to obtain text information;
splitting the text information to obtain control data; the control data includes a function control instruction or a service load instruction.
Further, obtaining page rendering data matched with the control data, including:
acquiring preset rendering data; the preset rendering data comprises various rendering data;
and matching the rendering data matched with the control data from the preset rendering data, and taking the rendering data as the page rendering data.
Further, acquiring page rendering data matched with the control data, further includes:
if the rendering data matched with the control data is not matched with the preset rendering data, converting the control data into pinyin data;
and matching the rendering data matched with the pinyin data from the preset rendering data, and taking the rendering data as the page rendering data.
Further, matching the rendering data matched with the control data or the pinyin data from the preset rendering data includes:
acquiring the display content of the current page;
judging whether rendering data corresponding to the display content of the current page comprises rendering data matched with the control data or the pinyin data;
if yes, rendering data matched with the control data or the pinyin data in the rendering data corresponding to the display content of the current page is directly used as the page rendering data;
and if not, matching the rendering data matched with the control data or the pinyin data from the preset rendering data.
In this embodiment, voice data is acquired, control data is extracted from the voice data, page rendering data matched with the control data is acquired, and page rendering is performed based on the page rendering data. The invention can realize the function of controlling the APK by voice.
In addition, the embodiment has the capability of formulating features for apk, improves the content priority in scene registration, and specifically, the skill can recommend own feature content according to the needs, such as recommending one in video apk, and cleaning and skincare short videos. And the unique content which is required to be first pushed by the apk and the characteristic content displayed on the current page can be requested without additional work, so that different requirements of each apk can be better adapted in a most convenient mode.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, the device includes one or more processors (CPUs), memory, and a bus. The device may also include input/output interfaces, network interfaces, and the like.
The memory may include volatile memory, random Access Memory (RAM), and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), among other forms in computer readable media, the memory including at least one memory chip. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (5)
1. The data processing method is characterized in that when the intelligent screen equipment installs the APK, preset rendering data of the APK are registered in the intelligent screen equipment, the intelligent screen equipment stores the received preset rendering data, the rendering data are divided into functional data and resource name data, and the method is applied to the intelligent screen equipment and comprises the following steps:
acquiring voice data;
extracting control data from the voice data;
acquiring page rendering data matched with the control data;
performing page rendering based on the page rendering data to realize the function of controlling APK by voice;
wherein extracting control data from the voice data comprises:
performing natural language processing on the voice data to obtain text information;
splitting the text information to obtain control data; the control data comprises a function control instruction or a service loading instruction;
the step of acquiring page rendering data matched with the control data comprises the following steps:
acquiring preset rendering data; the preset rendering data comprises various rendering data;
matching the rendering data matched with the control data from the preset rendering data and taking the rendering data as the page rendering data;
if the rendering data matched with the control data is not matched with the preset rendering data, converting the control data into pinyin data;
and matching the rendering data matched with the pinyin data from the preset rendering data, and taking the rendering data as the page rendering data.
2. The data processing method according to claim 1, wherein matching rendering data matched with the control data or the pinyin data from among the preset rendering data, comprises:
acquiring the display content of the current page;
judging whether rendering data corresponding to the display content of the current page comprises rendering data matched with the control data or the pinyin data;
if yes, rendering data matched with the control data or the pinyin data in the rendering data corresponding to the display content of the current page is directly used as the page rendering data;
and if not, matching the rendering data matched with the control data or the pinyin data from the preset rendering data.
3. The utility model provides a data processing apparatus, its characterized in that, intelligent area screen equipment registers the default rendering data of APK in intelligent area screen equipment when installing APK, and intelligent area screen equipment carries out save operation after receiving the default rendering data, and rendering data divide into functional data and resource name data, the device is applied to intelligent area screen equipment, includes:
the first data acquisition module is used for acquiring voice data;
the data extraction module is used for extracting control data from the voice data;
the second data acquisition module is used for acquiring page rendering data matched with the control data;
the page rendering module is used for performing page rendering based on the page rendering data so as to realize the function of controlling the APK by voice;
wherein, the data extraction module includes:
the language processing sub-module is used for carrying out natural language processing on the voice data to obtain text information;
the text splitting module is used for splitting the text information to obtain control data; the control data comprises a function control instruction or a service loading instruction;
wherein the second data acquisition module comprises:
the data acquisition sub-module is used for acquiring preset rendering data; the preset rendering data comprises various rendering data;
the data matching sub-module is used for matching the rendering data matched with the control data from the preset rendering data and is used as the page rendering data;
wherein the second data acquisition module further comprises:
the data conversion sub-module is used for converting the control data into pinyin data if the rendering data matched with the control data are not matched from the preset rendering data;
the data matching sub-module is further configured to match rendering data matched with the pinyin data from the preset rendering data, and serve as the page rendering data.
4. A data processing apparatus according to claim 3, wherein the data matching sub-module comprises:
the content acquisition unit is used for acquiring the display content of the current page;
the judging unit is used for judging whether the rendering data corresponding to the display content of the current page comprises rendering data matched with the control data or the pinyin data;
the data matching unit is used for directly taking rendering data matched with the control data or the pinyin data in the rendering data corresponding to the current page display content as the page rendering data if the data is available; and if not, matching the rendering data matched with the control data or the pinyin data from the preset rendering data.
5. The utility model provides an electronic equipment, its characterized in that, electronic equipment is intelligent area screen equipment, when installing APK, registers the default rendering data of APK in the intelligent area screen equipment, and the intelligent area screen equipment is preserved the operation after receiving default rendering data, and rendering data divide into functional data and resource name data, includes: a memory and a processor;
wherein the memory is used for storing programs;
the processor invokes the program and is configured to:
acquiring voice data;
extracting control data from the voice data;
acquiring page rendering data matched with the control data;
performing page rendering based on the page rendering data to realize the function of controlling APK by voice;
wherein extracting control data from the voice data comprises:
performing natural language processing on the voice data to obtain text information;
splitting the text information to obtain control data; the control data comprises a function control instruction or a service loading instruction;
the step of acquiring page rendering data matched with the control data comprises the following steps:
acquiring preset rendering data; the preset rendering data comprises various rendering data;
matching the rendering data matched with the control data from the preset rendering data and taking the rendering data as the page rendering data;
if the rendering data matched with the control data is not matched with the preset rendering data, converting the control data into pinyin data;
and matching the rendering data matched with the pinyin data from the preset rendering data, and taking the rendering data as the page rendering data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911174086.9A CN112863501B (en) | 2019-11-26 | 2019-11-26 | Data processing method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911174086.9A CN112863501B (en) | 2019-11-26 | 2019-11-26 | Data processing method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112863501A CN112863501A (en) | 2021-05-28 |
CN112863501B true CN112863501B (en) | 2023-06-09 |
Family
ID=75985727
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911174086.9A Active CN112863501B (en) | 2019-11-26 | 2019-11-26 | Data processing method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112863501B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107277436A (en) * | 2016-04-09 | 2017-10-20 | 上海久畅信息技术有限公司 | Picture processing method and system based on network video stream |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8082494B2 (en) * | 2008-04-18 | 2011-12-20 | Microsoft Corporation | Rendering markup language macro data for display in a graphical user interface |
CN106569824B (en) * | 2016-11-07 | 2019-08-13 | 腾讯科技(深圳)有限公司 | Method and apparatus, the method and apparatus of page rendering of page data compiling |
US20180288387A1 (en) * | 2017-03-29 | 2018-10-04 | Intel Corporation | Real-time capturing, processing, and rendering of data for enhanced viewing experiences |
CN108733343B (en) * | 2018-05-28 | 2021-08-06 | 北京小米移动软件有限公司 | Method, device and storage medium for generating voice control instruction |
CN109243450A (en) * | 2018-10-18 | 2019-01-18 | 深圳供电局有限公司 | A kind of audio recognition method and system of interactive mode |
CN109614569B (en) * | 2018-12-07 | 2022-04-01 | 万兴科技股份有限公司 | Page rendering method and device and intelligent terminal |
CN109885666A (en) * | 2019-01-18 | 2019-06-14 | 科大国创软件股份有限公司 | A kind of method and system of the intelligent sound customer service robot based on HTML5 |
CN112527290A (en) * | 2019-09-17 | 2021-03-19 | 北京沃东天骏信息技术有限公司 | Method and device for building page based on biological characteristic information |
-
2019
- 2019-11-26 CN CN201911174086.9A patent/CN112863501B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107277436A (en) * | 2016-04-09 | 2017-10-20 | 上海久畅信息技术有限公司 | Picture processing method and system based on network video stream |
Non-Patent Citations (1)
Title |
---|
基于Microsoft Speech SDK和OGRE的语音驱动三维面部动画研究;王潇;;科技视界(第07期);第46-47页 * |
Also Published As
Publication number | Publication date |
---|---|
CN112863501A (en) | 2021-05-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10643610B2 (en) | Voice interaction based method and apparatus for generating multimedia playlist | |
US9799375B2 (en) | Method and device for adjusting playback progress of video file | |
US7631104B2 (en) | Providing user customization of web 2.0 applications | |
CN110688595B (en) | File online preview method, device, equipment and storage medium | |
CN109036397B (en) | Method and apparatus for presenting content | |
RU2006133385A (en) | CUSTOMER INTERFACE DATA CONTAINER | |
US10083002B2 (en) | Using voice-based web navigation to conserve cellular data | |
JP2020008854A (en) | Method and apparatus for processing voice request | |
JP7267434B2 (en) | Document input content processing method, device, electronic device and storage medium | |
WO2013034094A1 (en) | Webpage browsing method and device, and storage medium | |
CN110941500A (en) | Interface display method and device | |
CN110717337A (en) | Information processing method, device, computing equipment and storage medium | |
AU2015318174A1 (en) | Personalized contextual menu for inserting content in a current application | |
CN104090887A (en) | Music search method and device | |
CN103970839A (en) | Method for controlling webpage browsing through voice | |
CN107733876A (en) | A kind of stream media caption display methods, mobile terminal and storage device | |
US20240007718A1 (en) | Multimedia browsing method and apparatus, device and mediuim | |
US20200007959A1 (en) | Method and apparatus for publishing information, and method and apparatus for processing information | |
CN110418181B (en) | Service processing method and device for smart television, smart device and storage medium | |
CN109889921B (en) | Audio and video creating and playing method and device with interaction function | |
CN113934559A (en) | Application program query method, device, equipment and storage medium | |
CN112863501B (en) | Data processing method and device and electronic equipment | |
CN111460348B (en) | File processing method and device | |
US20170289612A1 (en) | System and methods thereof for displaying video content | |
US20130230248A1 (en) | Ensuring validity of the bookmark reference in a collaborative bookmarking system |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |