CN113553040A - Registration realization method, device, equipment and medium for visible and spoken identification function - Google Patents

Registration realization method, device, equipment and medium for visible and spoken identification function Download PDF

Info

Publication number
CN113553040A
CN113553040A CN202110817178.5A CN202110817178A CN113553040A CN 113553040 A CN113553040 A CN 113553040A CN 202110817178 A CN202110817178 A CN 202110817178A CN 113553040 A CN113553040 A CN 113553040A
Authority
CN
China
Prior art keywords
java
visible
byte code
file
readable
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.)
Granted
Application number
CN202110817178.5A
Other languages
Chinese (zh)
Other versions
CN113553040B (en
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.)
FAW Group Corp
Original Assignee
FAW Group Corp
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 FAW Group Corp filed Critical FAW Group Corp
Priority to CN202110817178.5A priority Critical patent/CN113553040B/en
Publication of CN113553040A publication Critical patent/CN113553040A/en
Application granted granted Critical
Publication of CN113553040B publication Critical patent/CN113553040B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/315Object-oriented languages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4488Object-oriented
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Multimedia (AREA)
  • Acoustics & Sound (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Computing Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a registration realization method, a device, equipment and a medium for a visible and readable identification function. The method comprises the following steps: determining an initial vehicle-mounted application developed and completed according to an application development standard and a protocol; repackaging the initial vehicle-mounted application under the action of a Java compiler to generate a Java byte code file; in the stage of converting the Java byte code file into the executable file, the correlation dependence of the visible and readable recognition function is carried out on the Java byte code file so as to perfect the calling logic of the visible and readable voice recognition. By the technical scheme of the embodiment of the invention, the decoupling of the application service logic development and the voice related logic is realized, and the service logic is prevented from being polluted.

Description

Registration realization method, device, equipment and medium for visible and spoken identification function
Technical Field
The embodiment of the invention relates to the technical field of voice recognition, in particular to a registration implementation method, a device, equipment and a medium for a visual and audible recognition function.
Background
In the vehicle-mounted application, a user can perform service control on service logic in the vehicle-mounted application through a fixed awakening word, a development engineer can relate to a visible and readable voice awakening function in a voice recognition development process, and voice awakening service registration needs to be performed on the vehicle-mounted application. At present, it can be seen that the basic process of developing the function is that the vehicle-mounted application performs full registration on the interface control, and after normal speech recognition, the application program is notified to perform a response of the service logic. However, this process may cause code pollution on the business logic for the development engineers, and unnecessary burden is imposed on the non-speech related business logic for the vehicle-mounted applications.
Disclosure of Invention
The embodiment of the invention provides a registration implementation method, device, equipment and medium for a visual and audible recognition function, which are used for decoupling application service logic development and voice related logic and preventing the service logic from being polluted.
In a first aspect, an embodiment of the present invention provides a registration implementation method for a visible to speech recognition function, including:
determining an initial vehicle-mounted application developed and completed according to an application development standard and a protocol;
repackaging the initial vehicle-mounted application under the action of a Java compiler to generate a Java byte code file;
in the stage of converting the Java byte code file into the executable file, the correlation dependence of the visible and readable recognition function is carried out on the Java byte code file so as to perfect the calling logic of the visible and readable voice recognition.
In a second aspect, an embodiment of the present invention further provides a registration implementation apparatus for a visual, namely, a spoken, identification function, including:
the vehicle-mounted application determining module is used for determining initial vehicle-mounted application which is developed according to an application development standard and a protocol;
the byte code file generation module is used for repacking the initial vehicle-mounted application under the action of a Java compiler to generate a Java byte code file;
and the calling logic perfecting module is used for performing association dependence of a visible and readable recognition function on the Java byte code file at the stage of converting the Java byte code file into an executable file, and perfecting the calling logic of the visible and readable voice recognition.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
one or more processors;
storage means for storing one or more programs;
the one or more programs are executed by the one or more processors, so that the one or more processors implement the registration implementation method of the visible to speak recognition function as provided in any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a registration implementation method for a visual to speech recognition function as provided in any embodiment of the present invention.
The embodiment of the invention provides a registration realization method, a device, equipment and a medium for a visual recognition function. The initial vehicle-mounted application is developed and completed according to the application development standard and the protocol; repackaging the initial vehicle-mounted application under the action of a Java compiler to generate a Java byte code file; in the stage of converting the Java byte code file into the executable file, the correlation dependence of the visible and readable recognition function is carried out on the Java byte code file so as to perfect the calling logic of the visible and readable voice recognition. By the technical scheme of the embodiment of the invention, the technical effects of decoupling the development of the application service logic and the voice related logic and preventing the service logic from being polluted are realized.
The above summary of the present invention is merely an overview of the technical solutions of the present invention, and the present invention can be implemented in accordance with the content of the description in order to make the technical means of the present invention more clearly understood, and the above and other objects, features, and advantages of the present invention will be more clearly understood.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart of a registration implementation method of a visual to speak recognition function according to an embodiment of the present application;
fig. 2 is a flowchart of a registration implementation method of a visual to speak recognition function according to a second embodiment of the present application;
fig. 3 is a schematic structural diagram of a registration implementation apparatus for a visual identification function according to a third embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present application.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of a registration implementation method for a visual identification function, which is applicable to a registration implementation situation of the visual identification function and can be executed by a registration implementation apparatus for the visual identification function, where the apparatus can be implemented by software and/or hardware and can be integrated in an electronic device. As shown in fig. 1, the registration implementation method of the visible or readable identification function in this embodiment includes the following steps:
and S110, determining the initial vehicle-mounted application developed according to the application development standard and the protocol.
The application development standard may refer to a standard that must be complied with in each stage of application development, and is intended to improve systematicness and uniformity of an application. For example, in android development, naming standards, code style standards, resource file standards, test standards and the like are established for project maintenance and code readability enhancement.
Protocol, short for network protocol, is a set of conventions that must be followed by both communicating computers. Such as how to establish a connection, how to identify each other, etc. Only if this convention is followed can the computers communicate with each other. For example, in order to identify Java controls that need to be visible, i.e., can be spoken, corresponding protocol labels are formulated, all the controls, such as buttons, inherit the base class BaseButton, and in the BaseButton or other base class controls, protocol labels are added to be visible, i.e., components can be spoken to be recognizable.
The vehicle-mounted application may be developed according to a basic application development standard and a protocol, for example, according to an Android basic development standard and a protocol that is convenient to be discovered by a visible or readable component in a byte code stage, and a visible or readable vehicle-mounted application is generated.
And S120, repacking the initial vehicle-mounted application under the action of a Java compiler to generate a Java byte code file.
The Java compiler reads Java source codes, compiles the Java source codes into byte codes and calls Java command lines. For example, in the process of realizing the visible and readable function, the control resource ID, the service logic code and the Aidl file received from the Java interface are sent to a Java compiler, the Java source code is read and compiled into byte codes, a command line of Java is called, and a class file is generated.
Java bytecode is a virtual instruction format executed by a Java virtual machine. The Java bytecode file is a binary file which can be run on any hardware platform and operating system supporting a Java virtual machine, and is a class file generated by compiling under a Java compiler. Where the phase from the Java file to the class file is referred to as the bytecode phase.
S130, in the stage of converting the Java byte code file into the executable file, the correlation dependence of the visible and readable recognition function is carried out on the Java byte code file so as to perfect the calling logic of the visible and readable voice recognition.
An executable file (executable file) refers to a file that can be loaded and executed by an operating system. In different operating system environments, executable programs are presented differently. For example, under a windows operating system, the executable program may be a type of.exe file,. sys file, and.com; class files may also be on any hardware platform and operating system that supports a Java virtual machine.
Therefore, the control can be realized through voice interaction without manual touch control as long as the function options can be displayed on the screen, and the 'only-motion-port and no-motion-manual' are realized. For example, in a multimedia application, a play button is provided on an interface, the operation is intended to play music, and only "play music" needs to be spoken, so that automatic playing of music can be completed, and a function that can be spoken visually is realized.
The dependence represents the connection between classes, representing that one class depends on the definition of another class, and the direction is unidirectional. For example, the ASM-based reverse visual-to-speak voice wake word registration component is provided to the in-vehicle application in the form of a dependency package, which the in-vehicle application relies on in the form of a gradle build.
The calling logic means that some bottom files are needed to support during the recognition logic, and some class files need to be called to complete a recognition process to realize the voice recognition function.
The embodiment of the invention provides a registration implementation method of a visible and readable identification function, which is implemented by determining an initial vehicle-mounted application developed according to an application development standard and a protocol; repackaging the initial vehicle-mounted application under the action of a Java compiler to generate a Java byte code file; in the stage of converting the Java byte code file into the executable file, the correlation dependence of the visible and readable recognition function is carried out on the Java byte code file so as to perfect the calling logic of the visible and readable voice recognition. The technical effects of decoupling the application service logic development and the voice related logic and preventing the service logic from being polluted are achieved.
Example two
Fig. 2 is a flowchart of another registration implementation method for a visual identification function according to the second embodiment of the present application. Embodiments of the present invention are further optimized on the basis of the above-mentioned embodiments, and the embodiments of the present invention may be combined with various alternatives in one or more of the above-mentioned embodiments. As shown in fig. 2, the registration implementation method for a visible to speak identification function provided in the embodiment of the present invention may include the following steps:
s210, determining the initial vehicle-mounted application developed according to the application development standard and the protocol.
And S220, repacking the initial vehicle-mounted application under the action of a Java compiler to generate a Java byte code file.
Optionally, a protocol mark which is made based on the control layout, the Java type of the control, and the operation intention corresponding to the control layout and is convenient for identifying the visible Java control is predefined in the Java bytecode file.
Wherein, the control layout can refer to the position, size, color and method of the control style property in the Activity. For example, the layout modes of the android standard include relative layout, frame layout, linear layout, constraint layout and the like; the position of the control elements such as buttons, input, output and lists on the vehicle-mounted interface can be used.
The operation intention corresponding to the control layout means that the interface has controls such as buttons, input, list display and the like, and each control codes a business logic. For example, clicking a button to play a sound is an operation intention corresponding to the layout of the control.
And S230, searching the control identification and the operation intention corresponding to the control layout in the Java byte code file by using a Transform API.
The Transform API is a chained structure that allows third party plug-ins to operate on class files before converting compiled class files to dex files. For example, when the visible and readable function is realized, all class files including those in jar packages are acquired through Transform, then the required class files can be filtered out according to the visible and readable requirement, and then the class files are converted into dex files. The key method in the system is customized, the project of calling logic of visible and speech recognition is perfected, the dependence is carried out on the project, and the problems that the module coupling is large and the speech logic pollutes the application service logic are finally solved
The control identification can be a mark added to the control and is a mark for identification. For example, to facilitate identification of Java controls that need to be visible, all controls, such as buttons, inherit the base class BaseButton, and add a protocol flag in the BaseButton or other base class controls that the component can be identified as visible.
S240, performing visible namely association dependence of the identification function on the searched Java byte code file meeting the visible namely requirement.
Optionally, performing voice wakeup word registration on the Java bytecode file corresponding to the searched application control mark; and performing association dependence and integration on the service logic responded by the hit voice awakening word and the Java byte code file of the operation intention corresponding to the control layout so as to execute the hit service logic during running.
For example, in a multimedia application, an interface has a play button, the operation is intended to play music, and the operation of the button needs to be triggered according to the recognition of voice to execute the music play. Class, the business logic responded by the hit voice awakening word is associated, depended and integrated with the Java byte code file of the operation intention corresponding to the control layout, so that the hit business logic is executed during running.
It can be found from the description that, after the application has developed the application service logic, in the whole process of the voice interfacing, only the engineering dependence and integration of the "ASM-based reverse visibility, namely, the recognition of the voice wakeup word component" is performed, and no code modification is required. Finally, the problems that the module coupling is large and the voice logic pollutes the application service logic are solved.
And S250, based on the Java bytecode file which is depended on the association of the visible and readable identification function, executing the packaging processing from the Java bytecode file to the executable file to obtain the registration optimized vehicle-mounted application of the visible and readable identification function.
The step of executing the packing processing from the Java bytecode file to the executable file refers to the process of packing the class file into a dex file, then packing the dex file according to the apk standard, signing, compressing, optimizing and finally outputting the apk.
The embodiment of the invention provides a registration implementation method of a visible and readable identification function, which is implemented by determining an initial vehicle-mounted application developed according to an application development standard and a protocol; repackaging the initial vehicle-mounted application under the action of a Java compiler to generate a Java byte code file; searching the Java byte code file by using a Transform API; performing visible namely associated dependence of an identification function on the searched Java byte code file meeting the visible namely requirement; and executing the packaging processing from the Java bytecode file to the executable file based on the Java bytecode file which is depended on the association of the visible and readable identification function, so as to obtain the registration optimized vehicle-mounted application with the visible and readable identification function. The problem of how to add new logic and a new awakening word into an original program on the basis of not changing a source program under the condition that the vehicle-mounted voice interaction is in an existing programming file is solved, the technical effects of decoupling application service logic development and voice related logic and preventing the service logic from being polluted are achieved.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a registration implementation apparatus for a visual identification function according to a third embodiment of the present invention. The device may be adapted to the case of a registered implementation of a visual, i.e. a recognition function, which may be implemented by software and/or hardware and integrated in an electronic device. The device is used for realizing the registration realization method of the visible and namely speaking identification function provided by the embodiment. As shown in fig. 3, the registration implementing apparatus for visible to speak identification function provided in this embodiment includes: an in-vehicle application determination module 310, a bytecode file generation module 320, and a call logic perfection module 330.
The vehicle-mounted application determining module 310 is used for determining initial vehicle-mounted applications developed according to application development standards and protocols;
the byte code file generation module 320 is used for repackaging the initial vehicle-mounted application under the action of a Java compiler to generate a Java byte code file;
the calling logic perfecting module 330 is configured to perform association dependency of a visible or readable recognition function on the Java bytecode file at a stage of converting the Java bytecode file into an executable file, so as to perfect a calling logic of visible or readable voice recognition.
Optionally, a protocol mark which is made based on the control layout, the Java type of the control, and the operation intention corresponding to the control layout and is convenient for identifying the visible Java control is predefined in the Java bytecode file.
Optionally, the bytecode file generating module includes:
based on the Java byte code control framework (ASM) technology, repackaging the initial vehicle-mounted application under the action of a Java compiler to create a byte code operation class library to obtain a corresponding Java byte code file.
Optionally, the calling logic perfecting module includes:
searching a control identification and an operation intention corresponding to control layout in the Java byte code file by using a Transform API;
and performing visible and namely identification function correlation dependence on the searched Java byte code file meeting the visible and namely the requirement.
Optionally, the calling logic perfecting module includes:
performing voice awakening word registration on the Java byte code file corresponding to the searched application control mark;
and performing association dependence and integration on the service logic responded by the hit voice awakening word and the Java byte code file of the operation intention corresponding to the control layout so as to execute the hit service logic during running.
Optionally, the apparatus further comprises:
and executing the packaging processing from the Java bytecode file to the executable file based on the Java bytecode file which is depended on the association of the visible and readable identification function, so as to obtain the registration optimized vehicle-mounted application with the visible and readable identification function.
The registration implementation device of the visible and readable identification function provided in the embodiment of the present invention can execute the registration implementation method of the visible and readable identification function provided in any embodiment of the present invention, and has the corresponding functions and beneficial effects of the registration implementation method of the visible and readable identification function, and the detailed process refers to the related operations of the registration implementation method of the visible and readable identification function in the foregoing embodiment.
Example four
Fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present application. The embodiment of the application provides electronic equipment, and a registration implementation device with a visible and readable identification function provided by the embodiment of the application can be integrated in the electronic equipment. As shown in fig. 4, the present embodiment provides an electronic device 400, which includes: one or more processors 420; the storage device 410 is configured to store one or more programs, and when the one or more programs are executed by the one or more processors 420, the one or more processors 420 implement a registration implementation method of the visible to speak identification function provided in the embodiment of the present application, the method includes:
determining an initial vehicle-mounted application developed and completed according to an application development standard and a protocol;
repackaging the initial vehicle-mounted application under the action of a Java compiler to generate a Java byte code file;
in the stage of converting the Java byte code file into the executable file, the correlation dependence of the visible and readable recognition function is carried out on the Java byte code file so as to perfect the calling logic of the visible and readable voice recognition.
Of course, those skilled in the art can understand that the processor 420 also implements the technical solution of the registration implementation method of the visible and readable identification function provided in any embodiment of the present application.
The electronic device 400 shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 4, the electronic device 400 includes a processor 420, a storage device 410, an input device 430, and an output device 440; the number of the processors 420 in the electronic device may be one or more, and one processor 420 is taken as an example in fig. 4; the processor 420, the storage device 410, the input device 430 and the output device 440 in the electronic apparatus may be connected by a bus or other means, and fig. 4 illustrates an example in which the processor, the storage device, the input device 430 and the output device are connected by the bus 440.
The storage device 410 is a computer-readable storage medium, and can be used to store software programs, computer-executable programs, and module units, such as program instructions corresponding to the registration implementation method of the visible and readable identification function in the embodiment of the present application.
The storage device 410 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the storage 410 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, storage 410 may further include memory located remotely from processor 420, which may be connected via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 430 may be used to receive input numbers, character information, or voice information, and to generate key signal inputs related to user settings and function control of the electronic device. The output device 440 may include a display screen, speakers, or other electronic equipment.
The electronic equipment provided by the embodiment of the application can achieve the technical effects of decoupling the development of the application service logic and the voice related logic and preventing the service logic from being polluted.
EXAMPLE five
An embodiment of the present invention provides a computer-readable medium, on which a computer program is stored, where the computer program, when executed by a processor, is configured to execute a registration implementation method for a visual-to-speak recognition function, where the method includes:
determining an initial vehicle-mounted application developed and completed according to an application development standard and a protocol;
repackaging the initial vehicle-mounted application under the action of a Java compiler to generate a Java byte code file;
in the stage of converting the Java byte code file into the executable file, the correlation dependence of the visible and readable recognition function is carried out on the Java byte code file so as to perfect the calling logic of the visible and readable voice recognition.
Optionally, the program, when executed by the processor, may be further configured to perform a registration implementation method of the visible to speak identification function provided in any embodiment of the present invention.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), a flash Memory, an optical fiber, a portable CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. A computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take a variety of forms, including, but not limited to: an electromagnetic signal, an optical signal, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, Radio Frequency (RF), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method for implementing registration of a visual-to-speak recognition function, the method comprising:
determining an initial vehicle-mounted application developed and completed according to an application development standard and a protocol;
repackaging the initial vehicle-mounted application under the action of a Java compiler to generate a Java byte code file;
in the stage of converting the Java byte code file into the executable file, the correlation dependence of the visible and readable recognition function is carried out on the Java byte code file so as to perfect the calling logic of the visible and readable voice recognition.
2. The method according to claim 1, wherein protocol marks which are made based on the control layout, the Java type of the control and the operation intention corresponding to the control layout and are convenient for identifying the visible and readable Java control are predefined in the Java byte code file.
3. The method of claim 1, wherein generating a Java bytecode file comprises:
based on the Java byte code control framework (ASM) technology, repackaging the initial vehicle-mounted application under the action of a Java compiler to create a byte code operation class library to obtain a corresponding Java byte code file.
4. The method of claim 1, wherein the dependency of the visible-to-speak identification function on the Java bytecode file comprises:
searching a control identification and an operation intention corresponding to control layout in the Java byte code file by using a Transform API;
and performing visible and namely identification function correlation dependence on the searched Java byte code file meeting the visible and namely the requirement.
5. The method according to claim 4, wherein the association dependency of the visible-to-speak identification function on the searched Java bytecode file satisfying the visible-to-speak requirement comprises:
performing voice awakening word registration on the Java byte code file corresponding to the searched application control mark;
and performing association dependence and integration on the service logic responded by the hit voice awakening word and the Java byte code file of the operation intention corresponding to the control layout so as to execute the hit service logic during running.
6. The method of claim 1, further comprising:
and executing the packaging processing from the Java bytecode file to the executable file based on the Java bytecode file which is depended on the association of the visible and readable identification function, so as to obtain the registration optimized vehicle-mounted application with the visible and readable identification function.
7. An apparatus for registering a visual recognition function, the apparatus comprising:
the vehicle-mounted application determining module is used for determining initial vehicle-mounted application which is developed according to an application development standard and a protocol;
the byte code file generation module is used for repacking the initial vehicle-mounted application under the action of a Java compiler to generate a Java byte code file;
and the calling logic perfecting module is used for performing association dependence of a visible and readable recognition function on the Java byte code file at the stage of converting the Java byte code file into an executable file, and perfecting the calling logic of the visible and readable voice recognition.
8. The apparatus according to claim 7, wherein the Java bytecode file pre-defines a protocol label for identifying the visible Java control based on the control layout, the Java type of the control, and the operation intention corresponding to the control layout.
9. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method for registration implementation of the visual to speak recognition functionality as recited in any one of claims 1-6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method for registration implementation of a visual-to-speak identification function as claimed in any one of claims 1 to 6.
CN202110817178.5A 2021-07-20 2021-07-20 Registration realization method, device, equipment and medium for visible and spoken identification function Active CN113553040B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110817178.5A CN113553040B (en) 2021-07-20 2021-07-20 Registration realization method, device, equipment and medium for visible and spoken identification function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110817178.5A CN113553040B (en) 2021-07-20 2021-07-20 Registration realization method, device, equipment and medium for visible and spoken identification function

Publications (2)

Publication Number Publication Date
CN113553040A true CN113553040A (en) 2021-10-26
CN113553040B CN113553040B (en) 2022-12-02

Family

ID=78103475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110817178.5A Active CN113553040B (en) 2021-07-20 2021-07-20 Registration realization method, device, equipment and medium for visible and spoken identification function

Country Status (1)

Country Link
CN (1) CN113553040B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100057468A1 (en) * 2008-08-28 2010-03-04 Nortel Networks Limited Binary-caching for xml documents with embedded executable code
US20140249812A1 (en) * 2013-03-04 2014-09-04 Conexant Systems, Inc. Robust speech boundary detection system and method
CN110262818A (en) * 2019-05-29 2019-09-20 北京达佳互联信息技术有限公司 The hot update method of Java code, device, electronic equipment and storage medium
CN111145747A (en) * 2019-12-30 2020-05-12 智车优行科技(北京)有限公司 Voice control implementation method and device
CN111340482A (en) * 2020-02-10 2020-06-26 腾讯科技(深圳)有限公司 Conflict detection method, device, node equipment and storage medium
CN111460516A (en) * 2020-06-22 2020-07-28 腾讯科技(深圳)有限公司 Non-invasive data protection method, device, terminal and storage medium
CN112114810A (en) * 2020-08-13 2020-12-22 浙江大搜车融资租赁有限公司 Compiling processing method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100057468A1 (en) * 2008-08-28 2010-03-04 Nortel Networks Limited Binary-caching for xml documents with embedded executable code
US20140249812A1 (en) * 2013-03-04 2014-09-04 Conexant Systems, Inc. Robust speech boundary detection system and method
CN110262818A (en) * 2019-05-29 2019-09-20 北京达佳互联信息技术有限公司 The hot update method of Java code, device, electronic equipment and storage medium
CN111145747A (en) * 2019-12-30 2020-05-12 智车优行科技(北京)有限公司 Voice control implementation method and device
CN111340482A (en) * 2020-02-10 2020-06-26 腾讯科技(深圳)有限公司 Conflict detection method, device, node equipment and storage medium
CN111460516A (en) * 2020-06-22 2020-07-28 腾讯科技(深圳)有限公司 Non-invasive data protection method, device, terminal and storage medium
CN112114810A (en) * 2020-08-13 2020-12-22 浙江大搜车融资租赁有限公司 Compiling processing method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
TONG, G 等: "Research on CAN BUS-based electronic and electric platform of automobile", 《PROCEEDINGS OF THE FISITA 2012 WORLD AUTOMOTIVE CONGRESS》 *
练艺 等: "智能语音在汽车中的应用", 《无线互联科技》 *

Also Published As

Publication number Publication date
CN113553040B (en) 2022-12-02

Similar Documents

Publication Publication Date Title
US9430228B2 (en) Verification of backward compatibility of software components
CN111796860B (en) Micro front end scheme implementation method and device
CN109062572B (en) Component calling method, device, equipment and storage medium
CN111367516B (en) Application interface generation method and device and electronic equipment
CN109947431B (en) Code generation method, device, equipment and storage medium
CN114095405A (en) Vehicle function unit testing method and device, electronic equipment and storage medium
CN110221840B (en) Function implementation method and device of application program, equipment and storage medium
US9141353B2 (en) Dynamically building locale objects at run-time
CN110941443B (en) Method and device for modifying file name in SDK (software development kit) and electronic equipment
CN110442419B (en) Interface layout method and device for Android application
CN110188071B (en) Data processing method and device, electronic equipment and computer readable medium
CN113553040B (en) Registration realization method, device, equipment and medium for visible and spoken identification function
CN111797270A (en) Audio playing method and device, electronic equipment and computer readable storage medium
CN113448585B (en) Compiling method and device of thread pool, electronic equipment and storage medium
CN111796865B (en) Byte code file modification method, device, terminal equipment and medium
CN112711602B (en) Method and device for running stored procedure, database system and storage medium
CN109669679B (en) Service detection and processing method and device and electronic equipment
CN111782196A (en) MVP architecture-based development method and device
CN110111779B (en) Grammar model generation method and device and voice recognition method and device
CN109725932B (en) Method and device for generating description document of application component
CN113032004B (en) Method, apparatus and program product for managing development jobs in a development environment
CN113467860B (en) Service logic execution method and device of program source code
CN111475138B (en) Routing method and device based on weex framework, electronic equipment and readable medium
CN116009951A (en) Code processing method, device, equipment and storage medium
CN111352634A (en) Installation package construction method, electronic device and storage medium

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