CN111381797A - Processing method and device for realizing KTV function on client and user equipment - Google Patents

Processing method and device for realizing KTV function on client and user equipment Download PDF

Info

Publication number
CN111381797A
CN111381797A CN201811628527.3A CN201811628527A CN111381797A CN 111381797 A CN111381797 A CN 111381797A CN 201811628527 A CN201811628527 A CN 201811628527A CN 111381797 A CN111381797 A CN 111381797A
Authority
CN
China
Prior art keywords
user equipment
ktv function
ktv
function
operating system
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
CN201811628527.3A
Other languages
Chinese (zh)
Other versions
CN111381797B (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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201811628527.3A priority Critical patent/CN111381797B/en
Publication of CN111381797A publication Critical patent/CN111381797A/en
Application granted granted Critical
Publication of CN111381797B publication Critical patent/CN111381797B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/162Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs

Abstract

The embodiment of the disclosure discloses a processing method and device for realizing a KTV function on a client and user equipment. The method comprises the following steps: receiving a trigger operation of a user for a KTV function, and acquiring attribute information of user equipment; and when the KTV function configured on the user equipment is determined according to the attribute information of the user equipment, calling the KTV function of the user equipment. The embodiment of the disclosure can directly call the KTV function of the user equipment, and reduces the data interaction time, thereby reducing the time delay, improving the processing speed of the return of ears, and improving the use experience of the user.

Description

Processing method and device for realizing KTV function on client and user equipment
Technical Field
The embodiment of the disclosure relates to the technical field of terminals, in particular to a processing method and device for realizing a KTV function on a client and user equipment.
Background
With the continuous development of terminal technology, various Applications (APP) have come up, for example, an APP with a KTV function provides a convenient service for a user who likes music.
Applications with KTV functionality typically require an ear return function to be invoked when used by a user. When the conventional user equipment calls the ear return function, the audio data is usually sent to an application program of an application layer through an operating system layer, then the application program calls the ear return function to process the audio data, and the processed data is fed back to the audio playing equipment of a hardware layer through the operating system layer.
Disclosure of Invention
The embodiment of the disclosure provides a processing method and device for realizing a KTV function on a client and user equipment, which can directly call the KTV function of the user equipment, and reduce the time of audio data interaction, thereby reducing the time delay, improving the processing speed of return from ears and improving the use experience of a user.
In a first aspect, an embodiment of the present disclosure provides a processing method for implementing a KTV function on a client, including:
receiving a trigger operation of a user for a KTV function, and acquiring attribute information of user equipment;
and when the KTV function configured on the user equipment is determined according to the attribute information of the user equipment, calling the KTV function of the user equipment.
Optionally, the attribute information of the user equipment includes at least one of an equipment model of the user equipment, a system version number of the user equipment, and a manufacturer of the user equipment.
Optionally, the obtaining of the attribute information of the user equipment includes:
and reading the attribute information of the user equipment through a general system interface of an operating system layer of the user equipment.
Optionally, determining that the user equipment is configured with the KTV function according to the attribute information of the user equipment includes:
and determining that the user equipment is configured with the KTV function according to the attribute information of the user equipment and a preset first list.
Optionally, the attribute information of the user equipment includes an equipment model of the user equipment, and determining that the user equipment is configured with the KTV function according to the attribute information of the user equipment and a preset first list includes:
determining that the equipment model of the user equipment is located in a preset first list, and configuring a KTV function by the user equipment; alternatively, the first and second electrodes may be,
the attribute information of the user equipment comprises an equipment model and a system version number of the user equipment, and determining that the user equipment is configured with the KTV function according to the attribute information of the user equipment and a preset first list comprises the following steps:
and determining that the equipment model and the system version number of the user equipment are both in a preset first list, and configuring the KTV function by the user equipment.
Optionally, determining that the user equipment is configured with the KTV function according to the attribute information of the user equipment includes:
when the user equipment is determined to be first-class user equipment according to the attribute information of the user equipment, sending a configuration information reading request to a configuration item interface of an operating system layer of the first-class user equipment;
and determining that the first type of user equipment is configured with the KTV function according to the read configuration information.
Optionally, the invoking the KTV function of the user equipment includes:
and sending a KTV function starting request to an operating system layer of the user equipment so as to call the KTV function of the user equipment.
Optionally, sending the KTV function start request to the operating system layer of the user equipment includes:
and sending a KTV function starting request through a KTV function calling interface of an operating system layer of the user equipment.
Optionally, the method further comprises one or more of the following:
sending a KTV function suspension request through a KTV function suspension interface of an operating system layer of user equipment;
sending a KTV function continuation request through a KTV function continuation interface of an operating system layer of the user equipment;
sending a KTV function stopping request through a KTV function stopping interface of an operating system layer of user equipment;
and sending a KTV function parameter adjusting request through a KTV parameter adjusting interface of an operating system layer of the user equipment.
Optionally, the method further comprises: and sending the identification information of the client to an operating system layer of the user equipment, so that the operating system layer of the user equipment determines to start the KTV function according to the KTV function starting request and the identification information of the client.
Optionally, after sending the KTV function start request to the operating system layer of the user equipment, the method further includes:
the operating system layer of the user equipment displays the KTV function control on the display interface so that a user can start the KTV function, stop the KTV function or adjust the KTV function parameters through the KTV function control.
Optionally, the method further includes:
and receiving the audio data through an audio data transmission interface of an operating system layer of the user equipment, generating an audio file according to the audio data, and sending the audio file to the server.
In a second aspect, an embodiment of the present disclosure provides a processing apparatus for implementing a KTV function on a client, including: the system comprises a receiving module, an obtaining module, a processing module and a calling module;
the receiving module is used for receiving the triggering operation of a user for the KTV function;
the acquisition module is used for acquiring the attribute information of the user equipment;
the processing module is used for determining that the user equipment is configured with a KTV function according to the attribute information of the user equipment;
and the calling module is used for calling the KTV function of the user equipment when the processing module determines that the user equipment is configured with the KTV function according to the attribute information of the user equipment.
Optionally, the attribute information of the user equipment includes at least one of an equipment model of the user equipment, a system version number of the user equipment, and a manufacturer of the user equipment.
Optionally, the obtaining module is specifically configured to read attribute information of the user equipment through a general system interface of an operating system layer of the user equipment.
Optionally, the processing module is specifically configured to determine that the KTV function is configured in the user equipment according to the attribute information of the user equipment and a preset first list.
Optionally, the attribute information of the user equipment includes an equipment model of the user equipment, and the processing module is specifically configured to determine that the equipment model of the user equipment is in a preset first list, and then the user equipment is configured with a KTV function; or the attribute information of the user equipment includes an equipment model and a system version number of the user equipment, and the processing module is specifically configured to determine that both the equipment model and the system version number of the user equipment are in a preset first list, and then the user equipment is configured with a KTV function.
Optionally, the method further includes: a sending module;
the sending module is used for sending a configuration information reading request to a configuration item interface of an operating system layer of the first type of user equipment when the processing module determines that the user equipment is the first type of user equipment according to the attribute information of the user equipment;
and the processing module is specifically used for determining that the first type of user equipment is configured with the KTV function according to the read configuration information.
Optionally, the sending module is further configured to send a KTV function start request to an operating system layer of the user equipment, so that the invoking module invokes the KTV function of the user equipment.
Optionally, the sending module is specifically configured to send a KTV function start request through a KTV function call interface of an operating system layer of the user equipment.
Optionally, the sending module is further configured to send a KTV function suspension request through a KTV function suspension interface of an operating system layer of the user equipment; and/or sending a KTV function continuation request through a KTV function continuation interface of an operating system layer of the user equipment; and/or sending a KTV function stopping request through a KTV function stopping interface of an operating system layer of the user equipment; and/or sending a KTV function parameter adjusting request through a KTV parameter adjusting interface of an operating system layer of the user equipment.
Optionally, the sending module is further configured to send identification information of the client to an operating system layer of the user equipment, so that the processing module determines to start the KTV function according to the KTV function start request and the identification information of the client.
Optionally, the method further includes: a display module;
and the display module is used for displaying the KTV function control on a display interface after the sending module sends a KTV function starting request to the operating system layer of the user equipment, so that a user can start the KTV function, stop the KTV function or adjust the KTV function parameters through the KTV function control.
Optionally, the receiving module is further configured to receive audio data through an audio data transmission interface of an operating system layer of the user equipment;
the processing module is also used for generating an audio file according to the audio data;
and the sending module is also used for sending the audio file to the server.
In a third aspect, an embodiment of the present disclosure provides a user equipment, including:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the processing method for implementing the KTV function on the client according to any one of the first aspect of the embodiments of the present disclosure.
In a fourth aspect, this disclosed embodiment further provides a computer readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the processing method for implementing the KTV function on the client according to any one of the first aspect of this disclosed embodiment.
According to the embodiment of the disclosure, the attribute information of the user equipment is acquired, and the KTV function of the user equipment is called after the KTV function is configured on the user equipment is confirmed according to the attribute information of the user equipment. Compared with the existing ear return processing mode, the data interaction time is shortened by directly calling the KTV function of the user equipment, so that the time delay is reduced, the processing speed of the ear return is improved, and the use experience of a user is improved.
Drawings
Fig. 1 is a schematic flowchart of a processing method for implementing a KTV function on a client according to an embodiment of the present disclosure;
fig. 2 is a system architecture diagram of a user equipment provided by an embodiment of the present disclosure;
fig. 3 is a system architecture diagram of another user equipment provided by an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of another processing method for implementing a KTV function on a client according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a processing apparatus for implementing a KTV function on a client according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of another processing apparatus for implementing a KTV function on a client according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of another processing apparatus for implementing a KTV function on a client according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a user equipment according to an embodiment of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the disclosure and are not limiting of the disclosure. It should be further noted that, for the convenience of description, only some of the structures relevant to the present disclosure are shown in the drawings, not all of them.
It should be noted that the terms "system" and "network" are often used interchangeably in this disclosure. Reference to "and/or" in embodiments of the present disclosure is intended to "include any and all combinations of one or more of the associated listed items. The terms "first", "second", and the like in the description and claims of the present disclosure and in the drawings are used for distinguishing between different objects and not for limiting a particular order.
It should also be noted that the following embodiments of the present disclosure may be implemented individually, or may be implemented in combination with each other, and the embodiments of the present disclosure are not limited specifically.
The embodiment of the disclosure provides a processing method and device for realizing a KTV function on a client and user equipment, which can directly call the KTV function of the user equipment, reduce data interaction time, thereby reducing time delay, improving processing speed of return from ears and improving use experience of users.
Next, a processing method and apparatus for implementing the KTV function on the client, and technical effects thereof are described in detail.
Fig. 1 is a schematic flowchart of a processing method for implementing a KTV function on a client according to an embodiment of the present disclosure, where the method disclosed in the embodiment of the present disclosure is mainly applicable to a user equipment, and specifically, may be implemented by an application program with a KTV function installed on the user equipment, as shown in fig. 1, the method specifically includes the following steps:
s101, the client receives trigger operation of a user for the KTV function.
It can be understood that the client in this step may be a smart phone, or an application program with a KTV function installed on any user equipment such as a notebook computer or a tablet computer.
The user may make the trigger operation through an external Input Device (Input Device) or by touching a display screen of the user Device. Specifically, the user can open an application program with a KTV function installed on the user equipment, and perform a trigger operation for the KTV function on a display interface of the application program.
S102, the client acquires attribute information of the user equipment.
Specifically, the client may read the attribute information of the user equipment through a general system interface of an operating system layer of the user equipment.
Fig. 2 is a system architecture diagram of a user equipment according to an embodiment of the present disclosure. As can be seen from fig. 2, the user equipment at least includes a hardware layer, an operating system layer and an application layer, wherein the hardware layer is connected with the operating system layer, the operating system layer is connected with the application layer, and different layers are called each other through an interface. The operating system layer comprises a general system interface, and after the client receives the trigger operation of the user for the KTV function, the client can read the attribute information of the user equipment by calling the general system interface of the operating system layer of the user equipment.
The attribute information of the user equipment may include at least one of an equipment model of the user equipment, a system version number of the user equipment, and a manufacturer of the user equipment. The device model may refer to a number of the user device by a manufacturer of the user device; the system version number may refer to the number of different versions of the system used by the developer of the operating system by the user device.
S103, the client determines that the user equipment is configured with the KTV function according to the attribute information of the user equipment.
Specifically, the method for determining, by the client, that the KTV function is configured on the user equipment according to the attribute information of the user equipment may include any one of the following three scenarios:
in a first scenario, when attribute information of user equipment only includes an equipment model of the user equipment, a client determines that the equipment model of the user equipment is located in a preset first list, and the user equipment is configured with a KTV function.
The first scenario is suitable for a scenario in which a client white list (i.e., a preset first list) is stored in the user equipment.
The preset first list may be stored in the user equipment by a manufacturer of the user equipment when the user equipment is produced, or may be issued to the user equipment by the server after the user equipment establishes a connection with the server. The user equipment corresponding to the preset first list has the configured KTV function, namely when the client determines that the equipment model of the user equipment is located in the preset first list, the client can know that the user equipment is configured with the KTV function.
And in a second scenario, when the attribute information of the user equipment includes the equipment model and the system version number of the user equipment, the client determines that the equipment model and the system version number of the user equipment are both in a preset first list, and the user equipment is configured with a KTV function.
The second scenario is also applicable to a scenario in which a client white list (i.e., a preset first list) is stored in the user equipment. Different from the scenario, the preset first list may further include a system version number of the user equipment. Only when the client determines that the device model and the system version number of the user device are both in the preset first list, the client can confirm that the user device is configured with the KTV function.
Illustratively, the device model of a certain user equipment is aaa, and the system version number of a certain user equipment is 1.0; the system version number corresponding to the device model of the user equipment in the preset first list is 2.0 and above, which means that the user equipment of the model is configured with the KTV function only when the system version number of the user equipment is 2.0 and above.
And thirdly, when the client determines that the user equipment is the first-class user equipment according to the attribute information of the user equipment, the client sends a configuration information reading request to a configuration item interface of an operating system layer of the first-class user equipment, and determines that the first-class user equipment is configured with a KTV function according to the read configuration information.
The third scenario is suitable for a scenario in which the user equipment is the first type of user equipment. The first type of user equipment means that an operating system layer of the user equipment opens a configuration item interface for a client, the client can directly send a configuration information reading request to the configuration item interface of the operating system layer of the user equipment, reads configuration information, and determines that the first type of user equipment is configured with a KTV function according to the read configuration information.
It should be noted that the same client may simultaneously have the method for determining the KTV function configured by the user equipment according to the attribute information of the user equipment described in the above three scenarios, and in practical application, which scenario the client selects may be selected according to different hardware configurations of the user equipment, which is not specifically limited in this embodiment of the disclosure.
And S104, the client calls the KTV function of the user equipment.
Specifically, the client may send a KTV function start request to an operating system layer of the user equipment, so as to invoke a KTV function of the user equipment.
The method for sending the KTV function start request to the operating system layer of the user equipment by the client may include any one of the following two scenarios:
and fourthly, the client sends identification information of the client and a KTV function starting request to an operating system layer of the user equipment, and the operating system layer of the user equipment determines to start the KTV function according to the KTV function starting request and the identification information of the client.
The scene four corresponds to the scene one or the scene two.
The identification information of the client can be carried in the KTV function starting request and is sent to an operating system layer of the user equipment together with the KTV function starting request; the KTV function start request may also be sent to the operating system layer of the user equipment by the client before the client sends the KTV function start request to the operating system layer of the user equipment, which is not specifically limited in this disclosure.
In addition, after sending a KTV function starting request to the operating system layer of the user equipment, the operating system layer of the user equipment can also display a KTV function control on the display interface, so that the user can start the KTV function, stop the KTV function or adjust the KTV function parameters through the KTV function control.
Specifically, the KTV function control may be located on the uppermost layer of the display interface in the form of a floating ball, the floating ball may be divided into at least three sub-controls, and the three sub-controls respectively correspond to start the KTV function, stop the KTV function, and adjust the KTV function parameter. When a user clicks a child control corresponding to the KTV function, the client starts the KTV function; when a user clicks a sub-control corresponding to the KTV stopping function, the client stops the KTV function; when a user clicks the sub-control corresponding to the KTV function parameter adjusting function, a sub-page for adjusting the KTV function parameter can be popped up on the display interface, so that the user can adjust the KTV function parameter by adjusting the KTV function parameter sub-page.
Wherein, the KTV function parameter may include at least one of the following function parameters: mode parameters, scene parameters, environment parameters, whether to eliminate original sound, volume and sound channel.
And a fifth scenario that the client sends a KTV function starting request through a KTV function calling interface of an operating system layer of the user equipment.
The scene five corresponds to the scene three.
Besides opening a configuration item interface for the client, the operating system layer of the user equipment can also open a KTV function calling interface for the client, so that the client sends a KTV function starting request through the KTV function calling interface of the operating system layer of the user equipment. Optionally, the operating system layer of the user equipment may further open a KTV function pause interface for the client, and/or a KTV function resume interface, and/or a KTV function stop interface, and/or a KTV parameter adjustment interface.
Fig. 3 is a system architecture diagram of another user equipment provided in an embodiment of the present disclosure. As can be seen from fig. 3, the user equipment comprises at least a hardware layer, an operating system layer and an application layer, and different layers are mutually invoked through interfaces. The hardware layer may include an audio acquisition device (e.g., a microphone) and an audio playback device (e.g., an earphone, a sound box), where the audio acquisition device is configured to acquire audio data, and the audio playback device is configured to play the audio data after the rendering processing; the operating system layer comprises a KTV function calling interface, a KTV function pausing interface, a KTV function continuing interface, a KTV function stopping interface and a KTV parameter adjusting interface besides the general system interface (not shown in FIG. 3), the configuration item interface (not shown in FIG. 3) and the audio data transmission interface (not shown in FIG. 3); the client in the application layer can directly call the interface to complete the corresponding function.
Correspondingly, if the operating system layer of the user equipment opens a KTV function pause interface for the client, the client can send a KTV function pause request through the KTV function pause interface of the operating system layer of the user equipment; if the operating system layer of the user equipment opens a KTV function continuation interface for the client, the client can send a KTV function continuation request through the KTV function continuation interface of the operating system layer of the user equipment; if the operating system layer of the user equipment opens a KTV function stopping interface for the client, the client can send a KTV function stopping request through the KTV function stopping interface of the operating system layer of the user equipment; if the operating system layer of the user equipment opens a KTV parameter adjustment interface for the client, the client can send a KTV function parameter adjustment request through the KTV parameter adjustment interface of the operating system layer of the user equipment.
The KTV function of the user equipment in this embodiment may be specifically configured in the operating system layer, and specifically, may be that a corresponding audio processor for implementing ear return is set in the operating system layer, so that the audio data collected from the audio collecting device may be processed in the audio processor, such as corresponding rendering, and then the processed audio data is directly sent to the audio playing device for playing.
In addition, for the user equipment which is not configured with the KTV function, the client can select a corresponding earreturn processing mode according to the attribute information of the user equipment. The earreturn processing mode may include an AAudio processing mode and an OpenSL ES processing mode, where OpenSL ES is fully called Open Sound Library for Embedded Systems, that is, Embedded audio acceleration standard. The OpenSL ES is a hardware audio accelerating Application Programming Interface (API) which is not authorized, cross-platform, and carefully optimized for an embedded system, and provides a standardized, high-performance, low-response-time audio function implementation method for local Application developers on embedded mobile multimedia devices, and also implements direct cross-platform deployment of software/hardware audio performance, thereby not only reducing the execution difficulty, but also promoting the development of the advanced audio market. AAudio is an alternative to OpenSL ES, which can significantly reduce the delay time compared to OpenSL ES.
Similarly, for the user equipment which is not configured with the KTV function and has a very poor ear return effect, the client may send the prompt message to the display page of the user equipment, so as to display the prompt message that the user equipment does not support the KTV function on the display page. The prompt message may be pop-up window type text message, for example, a prompt bar is displayed above a layer of a current display page of the user equipment, and the prompt bar displays a prompt message "the user equipment does not support the KTV function". The prompt information may also be other types of prompt information, for example, a warning symbol appears at a preset position of the user equipment display page, or a prompt sound effect is issued through shaking of the user equipment display page, which is not limited in this disclosure.
On the basis of the foregoing embodiment of the present disclosure, fig. 4 is a schematic flowchart of a processing method for implementing a KTV function on another client according to the embodiment of the present disclosure, and in addition to the foregoing steps S101 to S104, the method further includes:
s105, the client receives the audio data through an audio data transmission interface of an operating system layer of the user equipment, generates an audio file according to the audio data and sends the audio file to the server.
And sending the audio file to a server so as to be convenient for a user to store and release the audio file and realize diversified audio-visual experience.
The embodiment of the disclosure provides a processing method for realizing a KTV function on a client, which includes: receiving a trigger operation of a user for a KTV function, and acquiring attribute information of user equipment; and when the KTV function configured on the user equipment is determined according to the attribute information of the user equipment, calling the KTV function of the user equipment. Compared with the existing ear return processing mode which is fixed for setting one application program, the KTV function of the user equipment can be directly called, and the data interaction time is reduced, so that the time delay is reduced, the ear return processing speed is improved, and the use experience of a user is improved.
Fig. 5 is a schematic structural diagram of a processing apparatus for implementing a KTV function on a client according to an embodiment of the present disclosure, and specifically, the apparatus may be configured in a user equipment, and includes: the device comprises a receiving module 10, an obtaining module 11, a processing module 12 and a calling module 13.
The receiving module 10 is configured to receive a trigger operation of a user for a KTV function;
an obtaining module 11, configured to obtain attribute information of a user equipment;
the processing module 12 is configured to determine that the user equipment is configured with a KTV function according to the attribute information of the user equipment;
and the calling module 13 is configured to call the KTV function of the user equipment when the processing module determines that the user equipment is configured with the KTV function according to the attribute information of the user equipment.
Optionally, the attribute information of the user equipment includes at least one of an equipment model of the user equipment, a system version number of the user equipment, and a manufacturer of the user equipment.
Optionally, the obtaining module 11 is specifically configured to read attribute information of the user equipment through a general system interface of an operating system layer of the user equipment.
Optionally, the processing module 12 is specifically configured to determine that the user equipment is configured with the KTV function according to the attribute information of the user equipment and a preset first list.
Optionally, the attribute information of the user equipment includes an equipment model of the user equipment, and the processing module 12 is specifically configured to determine that the equipment model of the user equipment is in a preset first list, and then the user equipment is configured with a KTV function; or the attribute information of the user equipment includes an equipment model and a system version number of the user equipment, and the processing module 12 is specifically configured to determine that both the equipment model and the system version number of the user equipment are in a preset first list, and then the user equipment is configured with a KTV function.
With reference to fig. 5, fig. 6 is a schematic structural diagram of another processing apparatus for implementing a KTV function on a client according to an embodiment of the present disclosure, and further includes: a sending module 14.
A sending module 14, configured to send, by the processing module 12, a configuration information reading request to a configuration item interface of an operating system layer of the first type of user equipment when the user equipment is determined to be the first type of user equipment according to the attribute information of the user equipment;
the processing module 12 is specifically configured to determine that the first type of user equipment is configured with the KTV function according to the read configuration information.
Optionally, the sending module 14 is further configured to send a KTV function starting request to an operating system layer of the user equipment, so that the invoking module invokes the KTV function of the user equipment.
Optionally, the sending module 14 is specifically configured to send a KTV function start request through a KTV function call interface of an operating system layer of the user equipment.
Optionally, the sending module 14 is further configured to send a KTV function suspension request through a KTV function suspension interface of an operating system layer of the user equipment; and/or sending a KTV function continuation request through a KTV function continuation interface of an operating system layer of the user equipment; and/or sending a KTV function stopping request through a KTV function stopping interface of an operating system layer of the user equipment; and/or sending a KTV function parameter adjusting request through a KTV parameter adjusting interface of an operating system layer of the user equipment.
Optionally, the sending module 14 is further configured to send identification information of the client to an operating system layer of the user equipment, so that the processing module 12 determines to start the KTV function according to the KTV function start request and the identification information of the client.
With reference to fig. 6, fig. 7 is a schematic structural diagram of another processing apparatus for implementing a KTV function on a client according to an embodiment of the present disclosure, and further includes: a display module 15.
And the display module 15 is used for displaying the KTV function control on the display interface after the sending module 14 sends a KTV function starting request to the operating system layer of the user equipment, so that the user can start the KTV function, stop the KTV function or adjust the KTV function parameters through the KTV function control.
Optionally, the receiving module 10 is further configured to receive audio data through an audio data transmission interface of an operating system layer of the user equipment;
the processing module 12 is further configured to generate an audio file according to the audio data;
and the sending module 14 is further configured to send the audio file to the server.
The processing apparatus for implementing the KTV function on the client provided in the embodiment of the present disclosure may execute the steps executed by the user equipment in the processing method for implementing the KTV function on the client provided in the embodiment of the present disclosure, and has corresponding functional modules and beneficial effects of the execution method.
Fig. 8 is a schematic structural diagram of a user equipment according to an embodiment of the present disclosure, and as shown in fig. 8, a schematic structural diagram of a user equipment suitable for implementing an embodiment of the present disclosure is shown. Taking a user device as an example, the user device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle mounted terminal (e.g., a car navigation terminal), and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. The user equipment shown in fig. 8 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 8, user device 800 may include a processor (e.g., central processing unit, graphics processor, etc.) 801 that may perform various appropriate actions and processes in accordance with programs stored in a Read Only Memory (ROM)802 or loaded from a storage device 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data necessary for the operation of the user equipment 800 are also stored. The processing apparatus 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
Generally, the following devices may be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 807 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage 808 including, for example, magnetic tape, hard disk, etc.; and a communication device 809. The communication means 809 may allow the user equipment 800 to communicate wirelessly or by wire with other devices to exchange data. While fig. 8 illustrates a user equipment 800 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 809, or installed from the storage means 808, or installed from the ROM 802. The computer program, when executed by the processor 801, performs the above-described functions defined in the methods of embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. 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 of the computer readable storage medium may include, but are not limited to: 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 or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, 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. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. 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: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a trigger operation of a user for a KTV function, and acquiring attribute information of user equipment; and when the KTV function configured on the user equipment is determined according to the attribute information of the user equipment, calling the KTV function of the user equipment.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, 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).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented by software or hardware. Here, the name of the module does not constitute a limitation to the module itself in some cases, and for example, the receiving module 10 may also be described as a "module that receives a user's trigger operation for a KTV function".
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (15)

1. A processing method for implementing KTV function on a client, comprising:
receiving a trigger operation of a user for a KTV function, and acquiring attribute information of user equipment;
and when the KTV function configured on the user equipment is determined according to the attribute information of the user equipment, calling the KTV function of the user equipment.
2. The processing method according to claim 1, wherein the attribute information of the user equipment comprises at least one of an equipment model of the user equipment, a system version number of the user equipment, and a manufacturer of the user equipment.
3. The processing method according to claim 1, wherein the obtaining attribute information of the user equipment comprises:
and reading the attribute information of the user equipment through a general system interface of an operating system layer of the user equipment.
4. The processing method according to claim 1, wherein said determining that the user equipment is configured with the KTV function according to the attribute information of the user equipment comprises:
and determining that the user equipment is configured with a KTV function according to the attribute information of the user equipment and a preset first list.
5. The processing method according to claim 4, wherein the attribute information of the user equipment includes an equipment model of the user equipment, and the determining that the user equipment is configured with the KTV function according to the attribute information of the user equipment and a preset first list includes:
determining that the equipment model of the user equipment is located in the preset first list, and configuring a KTV function by the user equipment; alternatively, the first and second electrodes may be,
the attribute information of the user equipment comprises an equipment model and a system version number of the user equipment, and the determining that the user equipment is configured with the KTV function according to the attribute information of the user equipment and a preset first list comprises:
and determining that the equipment model and the system version number of the user equipment are both located in the preset first list, and configuring a KTV function for the user equipment.
6. The processing method according to claim 1, wherein said determining that the user equipment is configured with the KTV function according to the attribute information of the user equipment comprises:
when the user equipment is determined to be first-class user equipment according to the attribute information of the user equipment, sending a configuration information reading request to a configuration item interface of an operating system layer of the first-class user equipment;
and determining that the first type of user equipment is configured with the KTV function according to the read configuration information.
7. The processing method of claim 1, wherein said invoking the KTV function of the user device comprises:
and sending a KTV function starting request to an operating system layer of the user equipment so as to call the KTV function of the user equipment.
8. The processing method of claim 7, wherein sending a KTV function initiation request to an operating system layer of the user device comprises:
and sending the KTV function starting request through a KTV function calling interface of an operating system layer of the user equipment.
9. The process of claim 8, further comprising one or more of the following in combination:
sending a KTV function suspension request through a KTV function suspension interface of an operating system layer of the user equipment;
sending a KTV function continuation request through a KTV function continuation interface of an operating system layer of the user equipment;
sending a KTV function stopping request through a KTV function stopping interface of an operating system layer of the user equipment;
and sending a KTV function parameter adjusting request through a KTV parameter adjusting interface of an operating system layer of the user equipment.
10. The processing method of claim 7, further comprising: and sending the identification information of the client to an operating system layer of the user equipment, so that the operating system layer of the user equipment determines to start the KTV function according to the KTV function starting request and the identification information of the client.
11. The processing method of claim 10, wherein said sending a KTV function start request to an operating system layer of the user equipment further comprises:
the KTV function control is displayed on a display interface by an operating system layer of the user equipment, so that a user can open the KTV function, stop the KTV function or adjust the KTV function parameters through the KTV function control.
12. The processing method of claim 1, further comprising:
and receiving audio data through an audio data transmission interface of an operating system layer of the user equipment, generating an audio file according to the audio data, and sending the audio file to a server.
13. A processing apparatus for implementing a KTV function on a client, comprising: the system comprises a receiving module, an obtaining module, a processing module and a calling module;
the receiving module is used for receiving the triggering operation of the user for the KTV function;
the acquisition module is used for acquiring the attribute information of the user equipment;
the processing module is used for determining that the user equipment is configured with a KTV function according to the attribute information of the user equipment;
the calling module is used for calling the KTV function of the user equipment when the processing module determines that the user equipment is configured with the KTV function according to the attribute information of the user equipment.
14. A user device, comprising:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the processing method of implementing KTV functionality on a client as recited in any of claims 1-12.
15. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the processing method of implementing a KTV function on a client according to any one of claims 1 to 12.
CN201811628527.3A 2018-12-28 2018-12-28 Processing method and device for realizing KTV function on client and user equipment Active CN111381797B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811628527.3A CN111381797B (en) 2018-12-28 2018-12-28 Processing method and device for realizing KTV function on client and user equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811628527.3A CN111381797B (en) 2018-12-28 2018-12-28 Processing method and device for realizing KTV function on client and user equipment

Publications (2)

Publication Number Publication Date
CN111381797A true CN111381797A (en) 2020-07-07
CN111381797B CN111381797B (en) 2021-10-15

Family

ID=71218085

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811628527.3A Active CN111381797B (en) 2018-12-28 2018-12-28 Processing method and device for realizing KTV function on client and user equipment

Country Status (1)

Country Link
CN (1) CN111381797B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156227A (en) * 2013-05-15 2014-11-19 腾讯科技(深圳)有限公司 Method and device for calling bottom layer bank
CN105208189A (en) * 2014-12-10 2015-12-30 维沃移动通信有限公司 Audio processing method and mobile terminal
CN106205580A (en) * 2016-06-30 2016-12-07 维沃移动通信有限公司 A kind of audio data processing method and terminal
US20170111680A1 (en) * 2015-10-14 2017-04-20 International Business Machines Corporation Synchronization of live audio and video data streams
CN107301035A (en) * 2016-04-15 2017-10-27 中兴通讯股份有限公司 A kind of audio sync recording-reproducing system and method based on android system
CN107357580A (en) * 2017-07-05 2017-11-17 竞技世界(北京)网络技术有限公司 A kind of method that guiding terminal user opens the miscellaneous function authority of application
CN107992282A (en) * 2017-11-29 2018-05-04 珠海市魅族科技有限公司 Audio data processing method and device, computer installation and readable storage devices

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156227A (en) * 2013-05-15 2014-11-19 腾讯科技(深圳)有限公司 Method and device for calling bottom layer bank
CN105208189A (en) * 2014-12-10 2015-12-30 维沃移动通信有限公司 Audio processing method and mobile terminal
US20170111680A1 (en) * 2015-10-14 2017-04-20 International Business Machines Corporation Synchronization of live audio and video data streams
CN107301035A (en) * 2016-04-15 2017-10-27 中兴通讯股份有限公司 A kind of audio sync recording-reproducing system and method based on android system
CN106205580A (en) * 2016-06-30 2016-12-07 维沃移动通信有限公司 A kind of audio data processing method and terminal
CN107357580A (en) * 2017-07-05 2017-11-17 竞技世界(北京)网络技术有限公司 A kind of method that guiding terminal user opens the miscellaneous function authority of application
CN107992282A (en) * 2017-11-29 2018-05-04 珠海市魅族科技有限公司 Audio data processing method and device, computer installation and readable storage devices

Also Published As

Publication number Publication date
CN111381797B (en) 2021-10-15

Similar Documents

Publication Publication Date Title
CN109460233B (en) Method, device, terminal equipment and medium for updating native interface display of page
CN111930973B (en) Multimedia data playing method and device, electronic equipment and storage medium
US11711441B2 (en) Method and apparatus for publishing video synchronously, electronic device, and readable storage medium
CN109582274B (en) Volume adjusting method and device, electronic equipment and computer readable storage medium
CN111526411A (en) Video processing method, device, equipment and medium
US20230217081A1 (en) Screen Casting Method and Terminal
WO2022057677A1 (en) Vibration control method and apparatus, and electronic device and computer-readable storage medium
WO2015176352A1 (en) Android system-based method and device for information exchange between applications
WO2023051293A1 (en) Audio processing method and apparatus, and electronic device and storage medium
US20230112005A1 (en) Image special effect configuration method, image recognition method, apparatus and electronic device
CN111790148B (en) Information interaction method and device in game scene and computer readable medium
CN110267088B (en) Video playing control method and device, electronic equipment and storage medium
CN110022493B (en) Playing progress display method and device, electronic equipment and storage medium
CN111435600B (en) Method and apparatus for processing audio
WO2024037480A1 (en) Interaction method and apparatus, electronic device, and storage medium
US20220215482A1 (en) User information processing method, apparatus, electronic device, and computer storage medium
CN111381797B (en) Processing method and device for realizing KTV function on client and user equipment
EP4354270A1 (en) Service recommendation method and electronic device
WO2022160612A1 (en) Interaction method with vehicle-mounted system of vehicle, storage medium, and mobile terminal
CN113553451B (en) Media playing method, device, electronic equipment and program product
CN113709573B (en) Method, device, equipment and storage medium for configuring video special effects
CN114489891A (en) Control method, system, device, readable medium and equipment of cloud application program
CN111381796B (en) Processing method and device for realizing KTV function on client and user equipment
CN110366002B (en) Video file synthesis method, system, medium and electronic device
CN110602513B (en) Information processing method and device and electronic equipment

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