Contactless operation triggering method, device, equipment and storage medium

Through audio and image data detection, contactless operation triggering is realized, which solves the problem of poor operation convenience of anchors in scenes such as dancing, and allows the opening and closing of voice and motion control functions, improving operation convenience.

CN111986700BActive Publication Date: 2024-09-06GUANGZHOU FANXING ENTERTAINMENT INFORMATION TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202010886923.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-28
Publication Date
2024-09-06
Estimated Expiration
2040-08-28

Smart Images

  • Figure CN111986700B
    Figure CN111986700B
Patent Text Reader

Abstract

The present application discloses a method, device, equipment and storage medium for contactless operation triggering, which belongs to the field of computer technology. The method comprises: obtaining sound data collected by an audio acquisition device, determining target reference sound data matching the sound data in the stored reference sound data; in response to determining the target reference sound data matching the sound data, determining the target action and target operation corresponding to the target reference sound data based on the correspondence between the reference sound data, action and operation; detecting whether the collected image data has the target action based on the action detection model, and if the target action exists, executing the target operation. The present application can improve the poor convenience of operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method, device, equipment and storage medium for contactless operation triggering. Background Art

[0002] With the development of computer technology, people's entertainment methods have changed a lot, and watching live broadcasts has gradually become an important form of entertainment in people's lives.

[0003] In order to enhance the interaction between the anchor and the audience, the technical staff has set up a variety of functions for the anchor to use. When the anchor uses the above functions, the anchor can control the opening and closing of the functions by mouse or keyboard. For example, when the anchor uses the lucky draw function, the anchor can control the start and end of the lucky draw by mouse or keyboard.

[0004] In the process of implementing this application, the inventor found that the prior art has at least the following problems:

[0005] The opening and closing of the function requires the host to control it with a mouse or keyboard, but this contactless operation triggering method is not suitable for all scenarios. For example, it is very inconvenient to draw a lottery while the host is dancing, so the host must stop dancing and then control the start and end of the lottery with a mouse or keyboard, which results in poor operation convenience. Summary of the invention

[0006] The embodiments of the present application provide a contactless operation triggering method, device, equipment and storage medium, which can solve the problem of poor practicality. The technical solution is as follows:

[0007] In one aspect, a method for contactless operation triggering is provided, the method comprising:

[0008] Acquire sound data collected by an audio collection device, and determine target reference sound data matching the sound data from the stored reference sound data;

[0009] In response to determining the target reference sound data matching the sound data, determining the target action and target operation corresponding to the target reference sound data based on the correspondence between the reference sound data, the action, and the operation;

[0010] When it is detected based on the action detection model that the collected image data has the target action, the target operation is performed.

[0011] Optionally, when the collected image data is detected to have the target action based on the action detection model, executing the target operation includes:

[0012] Acquire image data collected within a preset time period, and determine the position information of key points of a human body in the image data based on a key point extraction model;

[0013] Determine a first action corresponding to the image data based on an action detection model and position information of key points of a human body in the image data;

[0014] When the first action is the same as the target action, the target operation is performed.

[0015] Optionally, the human body key point position information includes head key point position information, the action detection model includes a head action detection model, the first action includes a first head action, and the target action includes a target head action;

[0016] or,

[0017] The human body key point position information includes hand key point position information, the action detection model includes a hand action detection model, the first action includes a first hand action, and the target action includes a target hand action.

[0018] Optionally, the human body key point position information includes hand key point position information and head key point position information, the action detection model includes a hand action detection model and a head action detection model, the first action includes a first hand action and a first head action, and the target action includes a target hand action and a target head action;

[0019] The determining, based on the action detection model and the position information of the key points of the human body in the image data, the first action corresponding to the image data comprises:

[0020] Based on the hand movement detection model and the hand key point position information, the first hand movement corresponding to the image data is determined; based on the head movement detection model and the head key point position information, the first head movement corresponding to the image data is determined.

[0021] Optionally, before determining the target action and target operation corresponding to the target reference sound data based on the correspondence between the reference sound data, the action, and the operation, the method further includes:

[0022] Performing face detection on the collected image data to obtain face image data in the image data;

[0023] Sending a facial image data request with the account ID of the currently logged-in account to the server;

[0024] Receiving reference facial image data corresponding to the account identification sent by the server;

[0025] A determination is made that the facial image data matches the reference facial image data.

[0026] Optionally, the target operation is to start a target function or to shut down a target function.

[0027] On the other hand, a device for contactless operation triggering is provided, the device comprising:

[0028] An acquisition module, used to acquire sound data collected by an audio acquisition device, and determine target reference sound data matching the sound data from the stored reference sound data;

[0029] a determination module, configured to, in response to determining target reference sound data matching the sound data, determine a target action and a target operation corresponding to the target reference sound data based on a correspondence between the reference sound data, the action, and the operation;

[0030] The execution module is used to execute the target operation when it is detected that the collected image data has the target action based on the action detection model.

[0031] Optionally, the execution module is used to:

[0032] Acquire image data collected within a preset time period, and determine the position information of key points of a human body in the image data based on a key point extraction model;

[0033] Determine a first action corresponding to the image data based on an action detection model and position information of key points of a human body in the image data;

[0034] When the first action is the same as the target action, the target operation is performed.

[0035] Optionally, the human body key point position information includes head key point position information, the action detection model includes a head action detection model, the first action includes a first head action, and the target action includes a target head action;

[0036] or,

[0037] The human body key point position information includes hand key point position information, the action detection model includes a hand action detection model, the first action includes a first hand action, and the target action includes a target hand action.

[0038] Optionally, the human body key point position information includes hand key point position information and head key point position information, the action detection model includes a hand action detection model and a head action detection model, the first action includes a first hand action and a first head action, and the target action includes a target hand action and a target head action;

[0039] The determining module is used to:

[0040] Based on the hand movement detection model and the hand key point position information, the first hand movement corresponding to the image data is determined; based on the head movement detection model and the head key point position information, the first head movement corresponding to the image data is determined.

[0041] Optionally, the method further includes a matching module, wherein the matching module is used to:

[0042] Performing face detection on the collected image data to obtain face image data in the image data;

[0043] Sending a facial image data request with the account ID of the currently logged-in account to the server;

[0044] Receiving reference facial image data corresponding to the account identification sent by the server;

[0045] A determination is made that the facial image data matches the reference facial image data.

[0046] Optionally, the target operation is to start a target function or to shut down a target function.

[0047] On the other hand, a computer device is provided. The computer device includes a processor and a memory. The memory stores instructions. The processor executes the instructions to enable the computer device to implement the contactless operation triggering method.

[0048] On the other hand, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores instructions, and a computer device executes the instructions to enable the computer device to implement the contactless operation triggering method.

[0049] The beneficial effects of the technical solution provided by the embodiment of the present application are:

[0050] The present application first verifies whether the sound data is the same as the target reference sound data. After the verification, it detects whether there is a target action in the collected image data. If so, the target operation corresponding to the target reference sound data is executed. In this way, the user only needs to make the corresponding sound and make the corresponding action to control the execution of the corresponding operation, without having to control it by operating the mouse and keyboard, which improves the convenience of operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0052] Figure 1 It is a schematic diagram of the implementation environment provided by the embodiment of the present application;

[0053] Figure 2 This is a flow chart of a method for contactless operation triggering provided in an embodiment of the present application;

[0054] Figure 3 This is a page schematic diagram of a contactless operation triggering method provided in an embodiment of the present application;

[0055] Figure 4 This is a page schematic diagram of a contactless operation triggering method provided in an embodiment of the present application;

[0056] Figure 5 It is a schematic diagram of the structure of a contactless operation triggering device provided in an embodiment of the present application;

[0057] Figure 6 It is a schematic diagram of the terminal structure provided in an embodiment of the present application. DETAILED DESCRIPTION

[0058] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0059] The embodiment of the present application provides a method for contactless operation triggering, which means that the user can trigger the corresponding operation without operating hardware such as a keyboard and a mouse, and the method can be implemented by a terminal. The terminal can be a mobile phone, a desktop computer, a tablet computer, a laptop computer, a smart wearable device, etc. The terminal can have controls such as a screen, a microphone, and a camera. The terminal can have the function of displaying images, the function of acquiring audio, and the function of acquiring images. The terminal can be installed with applications, such as live broadcast applications, short video applications, etc. It should be noted here that this solution takes the live broadcast application as an example for explanation and will not be repeated one by one.

[0060] like Figure 1As shown, when the anchor uses the live broadcast application, the anchor can click the start live broadcast control, and then the terminal obtains the permissions of the audio acquisition device and the image acquisition device, and synthesizes the sound data and image data collected by the audio acquisition device and the image acquisition device into video data, and then sends the video data to the server. The server obtains the terminal identification of the audience in the anchor's live broadcast room, determines the audience's terminal according to the audience's terminal identification, and then sends the video data to each audience's terminal.

[0061] Figure 2 is a flow chart of a contactless operation triggering method provided by an embodiment of the present application. Figure 2 , the process includes:

[0062] Step 201: Acquire sound data collected by an audio collection device, and determine target reference sound data that matches the sound data from the stored reference sound data.

[0063] During implementation, when the anchor is broadcasting live, the terminal can collect sound data based on the audio collection device, and the terminal can detect the acquired sound data to obtain the frequency of the sound data. Then, the terminal can obtain the frequency corresponding to the internally stored benchmark sound data, and then compare the frequency of the acquired sound data with the frequency corresponding to the internally stored benchmark sound data. If the frequency of the stored benchmark sound data matches the frequency of the sound data, the benchmark sound data is determined as the target benchmark sound data.

[0064] For example, when the host claps during a live broadcast, thereby generating clapping sounds, the terminal can detect the clapping sounds collected by the microphone to obtain the frequency of the clapping sounds. Then, the terminal can obtain the internally stored benchmark sound data, and then compare the frequency of the clapping sounds with the frequency of the benchmark sound data. If the frequency of the benchmark sound data that matches the frequency of the clapping sounds is detected, the benchmark sound data is determined as the target benchmark sound data.

[0065] It should be noted here that the terminal can detect not only the frequency of the sound data, but also the length of the sound data, the pitch of the sound data, the number of beats of the sound data, and the semantics of the sound data.

[0066] It should be noted that the above detection of the collected sound data and determination of the target reference sound data that matches the sound data is a low-performance process, and at this time the function of detecting the image data described below is in a closed state. Only after the target reference sound data that matches the sound data is determined can the terminal enable the function of detecting the image data. This also reduces the waste of computing resources.

[0067] Optionally, before the anchor goes live, the anchor can set a function switch.

[0068] In implementation, the anchor can start the live broadcast application and trigger the account control, and then the terminal can display the account setting page, on which the anchor's avatar and nickname can be displayed, and the above-mentioned anchor's avatar and nickname can be displayed in an account information editing control. When the account information editing control is triggered, the terminal can display the account information editing page, on which the anchor can edit his or her account information. The account page can also display a function switch control, and the anchor can click the function switch control, and then the terminal can display the function switch page, on which a list of existing function switches can be displayed, and the list can display baseline audio, head movements, hand movements, function names, status, such as Figure 3 Below the function switch list, there is an add control, which can be triggered by the user, and then the terminal can display the function switch add interface, in which the user can add / select the reference audio, head movement, hand movement, and select the function name and status in turn. The user can also set the interval between audio detection and movement detection according to his own habits, and trigger the confirmation control, as shown in the figure. Figure 4 As shown, the anchor can then complete the setting of the function switch.

[0069] It should be noted that the above setting of the function switch is to generate a user-defined correspondence between reference sound data, actions and operations so that the terminal can perform the processing of step 202 described below.

[0070] It should be noted that the above-mentioned head movements may include facial movements, such as blinking, opening the mouth, etc., which are not limited here.

[0071] It should be noted that the above-mentioned hand movements may include static hand movements and dynamic hand movements, such as the “OK” gesture and the “snapping finger gesture”, etc., which are not limited here.

[0072] Step 202: In response to determining the target reference sound data that matches the sound data, determine the target action and target operation corresponding to the target reference sound data based on the correspondence between the reference sound data, the action, and the operation.

[0073] The target action includes a target hand action and / or a target head action. The terminal stores the correspondence between the reference sound data, the action and the operation. The target action is an identifier used to identify an action.

[0074] In implementation, after the terminal determines the target reference sound data that matches the sound data collected by the audio collection device, the terminal can determine the target action and target operation corresponding to the target reference sound data based on the stored correspondence between the reference sound data, actions and functions.

[0075] It should be noted that the above target operation is to start the target function or to shut down the target function.

[0076] For example, the terminal stores the correspondence between reference audio, head movements, hand movements, functions, and states. After determining the target reference sound data, the terminal can determine the target reference audio corresponding to the target reference sound data, and then determine the corresponding target head movement (corresponding to the above-mentioned head movement), the second hand movement (corresponding to the above-mentioned hand movement), the lottery (corresponding to the above-mentioned function), and the start (corresponding to the above-mentioned state).

[0077] It should be noted here that the above-mentioned first action and target action are both identifications corresponding to some simple basic actions, which can reduce the complexity of calculation. At the same time, in order to ensure the accuracy of detection and reduce the misjudgment rate, this scheme adopts a combination of detecting two simple actions to ensure the accuracy of detection and reduce the misjudgment rate.

[0078] Step 203: When it is detected based on the action detection model that the collected image data contains the target action, the target operation is performed.

[0079] In implementation, after the terminal determines the target action and target operation corresponding to the target reference sound data, first, the terminal may obtain image data captured by the image capture device within a preset time period.

[0080] The above-mentioned preset duration may be manually set or may be a system default value.

[0081] For example, after the anchor claps, the terminal can obtain the head movement nod, the hand gesture "OK" gesture and the target operation to start the lottery corresponding to the applause, and then the user can nod within the preset time and complete the "OK" gesture with his hand. Then, the terminal can collect image data of the user nodding and completing the "OK" gesture with his hand within the preset time through the image acquisition device.

[0082] It should be noted that the hand movements and head movements in this solution can be dynamic movements or static movements, and are not limited here.

[0083] Secondly, after collecting the image data, the terminal can determine the first action corresponding to the image data through the key point extraction model and the action detection model. The specific processing can be as follows:

[0084] Firstly, based on the key point extraction model, the position information of the key points of the human body in the image data is determined.

[0085] Among them, the key point extraction model includes a hand key point extraction model and a head key point extraction model, and the human body key point position information includes hand key point position information and head key point position information.

[0086] During implementation, the terminal can input the above image data into the hand key point extraction model and the head key point extraction model, and after calculation, the above hand key point extraction model and the head key point extraction model can output the hand key point position information and the head key point position information in the image data.

[0087] Secondly, based on the action detection model and the position information of key points of the human body in the image data, a first action corresponding to the image data is determined.

[0088] Among them, the action detection model includes a hand action detection model and a head action detection model, and the first action includes a first hand action and a first head action.

[0089] In implementation, after obtaining the hand key point position information and the head key point position information, the hand key point position information can be input into the hand movement detection model, and the head key point position information can be input into the head movement detection model respectively. Then, the hand movement detection model can determine the first hand movement corresponding to the image data, and the head movement detection model can determine the first head movement corresponding to the image data.

[0090] After the first action corresponding to the image data is determined, when the first action is the same as the target action, the target operation is performed.

[0091] In implementation, after the above processing, the terminal can obtain the first head movement, the first hand movement, the target head movement, and the target hand movement. Furthermore, the terminal can confirm whether the first head movement is the same as the target head movement, the first hand movement is the same as the target hand movement, and if the first head movement is the same as the target head movement, the first hand movement is the same as the target hand movement, the target operation is performed.

[0092] For example, the first head movement is a nod, the target head movement is also a nod, the first hand movement is "OK", and the target hand movement is also "OK", which proves that the first head movement and the target head movement, the first hand movement and the target hand movement are the same, and the lottery process is started.

[0093] Optionally, in some special scenarios, the safety of contactless operation triggering needs to be considered. Based on the above considerations, the developer sets a safety detection scheme before performing the above step 202. The specific processing can be as follows:

[0094] First, face detection is performed on the image data to obtain facial image data in the image data.

[0095] In implementation, after the terminal acquires the image data, the terminal may input the image data into a facial detection model, and then the facial detection model may output facial image data in the image data.

[0096] Secondly, a facial image data request carrying the account ID of the currently logged-in account is sent to the server.

[0097] In implementation, after the terminal obtains the facial image data in the image data, the terminal can obtain the account identifier of the current login account, and generate a facial image data request based on the account identifier of the current login account and the facial image data in the image data. Then, the facial image data request is sent to the server.

[0098] Secondly, the reference facial image data corresponding to the account identification sent by the server is received.

[0099] In implementation, after receiving the facial image data request, the server can obtain the account identifier in the facial image data request, and obtain the reference facial image data corresponding to the account identifier according to the correspondence between the account identifier and the reference facial image data. Then, the obtained reference facial image data is sent to the terminal.

[0100] Then, it is determined that the facial image data matches the reference facial image data.

[0101] In implementation, the terminal can receive the reference facial image data sent by the server, and then the terminal can input the facial image data and the reference facial image data into the face matching model, and the matching result of the facial image data and the reference facial image data can be obtained through calculation by the above face matching model.

[0102] Optionally, after the terminal executes the target operation, the following processing may also be performed:

[0103] First, when the host wants to stop the target function currently being executed, the terminal can obtain the sound data collected by the audio collection device, and determine the target reference sound data that matches the sound data in the stored reference sound data.

[0104] For example, the anchor turns on the lucky draw function during the live broadcast, and after a certain period of time, the anchor needs to stop the lucky draw function. The anchor can snap his fingers to generate a finger snap sound, and the terminal can detect the finger snap sound collected by the microphone to obtain the frequency of the finger snap sound. Then, the terminal can obtain the internally stored reference sound data, and then compare the frequency of the finger snap sound with the frequency of the reference sound data. If the frequency of the reference sound data matching the frequency of the finger snap sound is detected, the reference sound data is determined as the target reference sound data.

[0105] Secondly, the image data collected by the image acquisition device is obtained.

[0106] For example, after the anchor snaps his fingers, he can shake his head within a preset time and make a "fist" gesture with his hand. Then, the terminal can obtain image data of the user nodding and completing the "fist" gesture with his hand.

[0107] Secondly, based on the action detection model, a first action corresponding to the image data is determined.

[0108] In implementation, the terminal determines the position information of the key points of the human body in the image data based on the key point extraction model, and then determines the first action corresponding to the image data based on the action detection model and the position information of the key points of the human body in the image data.

[0109] For example, the terminal inputs image data containing "shaking head" and "clenching fist" actions into the key point extraction model to obtain the hand key point position information and the head key point position information in the image data. Then the terminal can input the hand key point position information and the head key point position information into the hand movement detection model and the head movement detection model respectively, and then the first hand movement and the first head movement can be obtained.

[0110] Secondly, based on the correspondence between the reference sound data, actions and functions, the target action and target function corresponding to the target reference sound data are determined.

[0111] For example, the terminal stores the correspondence between reference audio, head movements, hand movements, function names, and on / off. After determining the target reference sound data, the terminal can determine the target reference audio corresponding to the target reference sound data, and then determine the corresponding target head movement (corresponding to the above head movement), target hand movement (corresponding to the above hand movement), lottery (corresponding to the above function), and off (corresponding to the above state).

[0112] Then, if the first action is the same as the target action, the target function is executed.

[0113] For example, if the first head movement is a shake of the head, and the target head movement is also a shake of the head, and the first hand movement is "clenching a fist", and the target hand movement is also "clenching a fist", it proves that the first head movement and the target head movement, and the first hand movement and the target hand movement are the same, then the process of stopping the lottery is executed.

[0114] The present application first verifies whether the sound data is the same as the target reference sound data. After the verification, it detects whether there is a target action in the collected image data. If so, the target operation corresponding to the target reference sound data is executed. In this way, the user only needs to make the corresponding sound and make the corresponding action to control the execution of the corresponding operation, without having to control it by operating the mouse and keyboard, which improves the convenience of operation.

[0115] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present disclosure, and will not be described in detail here.

[0116] Figure 5 Schematic diagram of a method for triggering a contactless operation provided by an embodiment of the present application. Figure 5 , the device may be the above-mentioned terminal, and the device includes:

[0117] An acquisition module 510 is used to acquire sound data collected by an audio acquisition device, and determine target reference sound data matching the sound data from the stored reference sound data;

[0118] A determination module 520, configured to determine, in response to determining target reference sound data matching the sound data, a target action and a target operation corresponding to the target reference sound data based on a correspondence between the reference sound data, the action, and the operation;

[0119] The execution module 530 is used to execute the target operation when it is detected that the collected image data has the target action based on the action detection model.

[0120] Optionally, the execution module 530 is used to:

[0121] Acquire image data collected within a preset time period, and determine the position information of key points of a human body in the image data based on a key point extraction model;

[0122] Determine a first action corresponding to the image data based on an action detection model and position information of key points of a human body in the image data;

[0123] When the first action is the same as the target action, the target operation is performed.

[0124] Optionally, the human body key point position information includes head key point position information, the action detection model includes a head action detection model, the first action includes a first head action, and the target action includes a target head action;

[0125] or,

[0126] The human body key point position information includes hand key point position information, the action detection model includes a hand action detection model, the first action includes a first hand action, and the target action includes a target hand action.

[0127] Optionally, the human body key point position information includes hand key point position information and head key point position information, the action detection model includes a hand action detection model and a head action detection model, the first action includes a first hand action and a first head action, and the target action includes a target hand action and a target head action;

[0128] The determination module 520 is used to:

[0129] Based on the hand movement detection model and the hand key point position information, the first hand movement corresponding to the image data is determined; based on the head movement detection model and the head key point position information, the first head movement corresponding to the image data is determined.

[0130] Optionally, the method further includes a matching module, wherein the matching module is used to:

[0131] Performing face detection on the collected image data to obtain face image data in the image data;

[0132] Sending a facial image data request with the account ID of the currently logged-in account to the server;

[0133] Receiving reference facial image data corresponding to the account identification sent by the server;

[0134] A determination is made that the facial image data matches the reference facial image data.

[0135] Optionally, the target operation is to start a target function or to shut down a target function.

[0136] The present application first verifies whether the sound data is the same as the target reference sound data. After the verification, it detects whether there is a target action in the collected image data. If so, the target operation corresponding to the target reference sound data is executed. In this way, the user only needs to make the corresponding sound and make the corresponding action to control the execution of the corresponding operation, without having to control it by operating the mouse and keyboard, which improves the convenience of operation.

[0137] It should be noted that: the contactless operation triggering device provided in the above embodiment only uses the division of the above functional modules as an example to illustrate when controlling the switch. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the contactless operation triggering method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0138] Figure 6 The structure block diagram of a terminal 600 provided by an exemplary embodiment of the present application is shown. The terminal may be the terminal in the above-mentioned embodiment, and the terminal 600 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 (Moving Picture Experts Group Audio Layer IV), a laptop or a desktop computer. The terminal 600 may also be called a user device, a portable terminal, a laptop terminal, a desktop terminal, or other names.

[0139] Typically, the terminal 600 includes a processor 601 and a memory 602 .

[0140] The processor 601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 601 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 601 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 601 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 601 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0141] The memory 602 may include one or more computer-readable storage media, which may be non-transitory. The memory 602 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 602 is used to store at least one instruction, which is used to be executed by the processor 601 to implement the contactless operation triggering method provided in the method embodiment of the present application.

[0142] In some embodiments, the terminal 600 may further optionally include: a peripheral device interface 603 and at least one peripheral device. The processor 601, the memory 602 and the peripheral device interface 603 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 603 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 604, a touch display screen 605, a camera 606, an audio circuit 607, a positioning component 608 and a power supply 609.

[0143] The peripheral device interface 603 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 601 and the memory 602. In some embodiments, the processor 601, the memory 602, and the peripheral device interface 603 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 601, the memory 602, and the peripheral device interface 603 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.

[0144] The radio frequency circuit 604 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 604 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 604 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 604 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 604 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: a metropolitan area network, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 604 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.

[0145] The display screen 605 is used to display the UI (User Interface). The UI may include graphics, text, icons, videos and any combination thereof. When the display screen 605 is a touch display screen, the display screen 605 also has the ability to collect touch signals on the surface or above the surface of the display screen 605. The touch signal can be input to the processor 601 as a control signal for processing. At this time, the display screen 605 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 605 can be one, and the front panel of the terminal 600 is set; in other embodiments, the display screen 605 can be at least two, which are respectively set on different surfaces of the terminal 600 or are folded; in some other embodiments, the display screen 605 can be a flexible display screen, which is set on the curved surface or folded surface of the terminal 600. Even, the display screen 605 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 605 can be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode, organic light-emitting diode).

[0146] The camera assembly 606 is used to capture images or videos. Optionally, the camera assembly 606 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 606 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.

[0147] The audio circuit 607 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 601 for processing, or input them into the radio frequency circuit 604 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 600. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 601 or the radio frequency circuit 604 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 607 may also include a headphone jack.

[0148] Positioning component 608 is used to locate the current geographical location of terminal 600 to implement navigation or LBS (Location Based Service). Positioning component 608 can be a positioning component based on the US GPS (Global Positioning System), China's Beidou system, Russia's Grenas system or the European Union's Galileo system.

[0149] The power supply 609 is used to power various components in the terminal 600. The power supply 609 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 609 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.

[0150] In some embodiments, the terminal 600 further includes one or more sensors 610 , including but not limited to: an acceleration sensor 611 , a gyroscope sensor 612 , a pressure sensor 613 , a fingerprint sensor 614 , an optical sensor 615 , and a proximity sensor 616 .

[0151] The acceleration sensor 611 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 600. For example, the acceleration sensor 611 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 601 can control the touch display screen 605 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 611. The acceleration sensor 611 can also be used for collecting game or user motion data.

[0152] The gyro sensor 612 can detect the body direction and rotation angle of the terminal 600, and the gyro sensor 612 can cooperate with the acceleration sensor 611 to collect the user's 3D actions on the terminal 600. The processor 601 can implement the following functions based on the data collected by the gyro sensor 612: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

[0153] The pressure sensor 613 can be set on the side frame of the terminal 600 and / or the lower layer of the touch display screen 605. When the pressure sensor 613 is set on the side frame of the terminal 600, it can detect the user's holding signal of the terminal 600, and the processor 601 performs left and right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 613. When the pressure sensor 613 is set on the lower layer of the touch display screen 605, the processor 601 controls the operability controls on the UI interface according to the user's pressure operation on the touch display screen 605. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.

[0154] The fingerprint sensor 614 is used to collect the user's fingerprint, and the processor 601 identifies the user's identity based on the fingerprint collected by the fingerprint sensor 614, or the fingerprint sensor 614 identifies the user's identity based on the collected fingerprint. When the user's identity is identified as a trusted identity, the processor 601 authorizes the user to perform relevant sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings. The fingerprint sensor 614 can be set on the front, back, or side of the terminal 600. When a physical button or a manufacturer logo is set on the terminal 600, the fingerprint sensor 614 can be integrated with the physical button or the manufacturer logo.

[0155] The optical sensor 615 is used to collect the ambient light intensity. In one embodiment, the processor 601 can control the display brightness of the touch display screen 605 according to the ambient light intensity collected by the optical sensor 615. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 605 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 605 is reduced. In another embodiment, the processor 601 can also dynamically adjust the shooting parameters of the camera assembly 606 according to the ambient light intensity collected by the optical sensor 615.

[0156] The proximity sensor 616, also called a distance sensor, is usually arranged on the front panel of the terminal 600. The proximity sensor 616 is used to collect the distance between the user and the front of the terminal 600. In one embodiment, when the proximity sensor 616 detects that the distance between the user and the front of the terminal 600 is gradually decreasing, the processor 601 controls the touch display screen 605 to switch from the screen-on state to the screen-off state; when the proximity sensor 616 detects that the distance between the user and the front of the terminal 600 is gradually increasing, the processor 601 controls the touch display screen 605 to switch from the screen-off state to the screen-on state.

[0157] Those skilled in the art will understand that Figure 6 The structure shown in the figure does not constitute a limitation on the terminal 600, and the terminal 600 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.

[0158] In an exemplary embodiment, a computer-readable storage medium is also provided, such as a memory including instructions, and the instructions can be executed by a processor in a terminal to complete the method of contactless operation triggering in the above embodiment. For example, the computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0159] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0160] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for contactless operation triggering, characterized in that: Applied to a live broadcast application, the method comprises: In response to a trigger instruction of a function switch control, display the current function switch list and add controls; In response to the trigger instruction of adding the control, a function switch adding interface is displayed, wherein the function switch adding interface is used by the anchor to add or select reference sound data, actions, operations, and the interval duration between audio detection and action detection; In response to determining a trigger instruction of a control, establishing a correspondence between the reference sound data, the action, and the operation, and storing the interval duration; Acquire sound data collected by an audio collection device, and determine target reference sound data that matches the frequency, sound length, pitch or beat number of the sound data from the stored reference sound data; In response to determining the target reference sound data that matches the sound data, the image data detection function is turned on, and face detection is performed on the collected image data to obtain face image data in the image data; a face image data request carrying the account identifier of the currently logged-in account is sent to the server; the reference face image data corresponding to the account identifier sent by the server is received; if it is determined that the face image data matches the reference face image data, it is determined to be the anchor himself, and based on the correspondence between the reference sound data, action and operation, the target action and target operation corresponding to the target reference sound data are determined; When the interval duration of the target reference sound data is determined, image data collected within a preset time period is acquired, and key point position information of a human body in the image data is determined based on a key point extraction model; Determine, based on the action detection model and the position information of the key points of the human body in the image data, a first action corresponding to the image data collected within a preset time period, wherein the first action includes a combination of multiple basic actions; When the first action is the same as the target action, the target operation is performed, and the target operation includes a lottery operation.

2. The method according to claim 1, characterized in that: The human body key point position information includes head key point position information, the action detection model includes a head action detection model, the first action includes a first head action, and the target action includes a target head action; or, The human body key point position information includes hand key point position information, the action detection model includes a hand action detection model, the first action includes a first hand action, and the target action includes a target hand action.

3. The method according to claim 1, characterized in that The human body key point position information includes hand key point position information and head key point position information, the action detection model includes a hand action detection model and a head action detection model, the first action includes a first hand action and a first head action, and the target action includes a target hand action and a target head action; The determining, based on the action detection model and the position information of the key points of the human body in the image data, the first action corresponding to the image data comprises: Based on the hand movement detection model and the hand key point position information, the first hand movement corresponding to the image data is determined; based on the head movement detection model and the head key point position information, the first head movement corresponding to the image data is determined.

4. The method according to claim 1, characterized in that: The target operation is to start a target function or to shut down a target function.

5. A contactless operation triggering device, characterized in that: Applied to a live broadcast application, the device is used to: In response to a trigger instruction of a function switch control, display the current function switch list and add controls; In response to the trigger instruction of adding the control, a function switch adding interface is displayed, wherein the function switch adding interface is used by the anchor to add or select reference sound data, actions, operations, and the interval duration between audio detection and action detection; In response to determining a trigger instruction of a control, establishing a correspondence between the reference sound data, the action, and the operation, and storing the interval duration; The device comprises: An acquisition module is used to acquire sound data collected by an audio acquisition device, and determine target reference sound data that matches the frequency, sound length, pitch or beat number of the sound data in the stored reference sound data; A matching module is used to, in response to determining the target reference sound data that matches the sound data, start the image data detection function, perform face detection on the collected image data, and obtain the face image data in the image data; send a face image data request carrying the account identifier of the currently logged-in account to the server; receive the reference face image data corresponding to the account identifier sent by the server; determine that the face image data matches the reference face image data, and when the face image data matches the reference face image data, indicate that it is the anchor himself; A determination module, configured to determine a target action and a target operation corresponding to the target reference sound data based on a correspondence between the reference sound data, the action, and the operation; An execution module is used to obtain image data collected within a preset time period when the interval length of the target reference sound data is determined, and determine the position information of the key points of the human body in the image data based on the key point extraction model; Determine, based on the action detection model and the position information of the key points of the human body in the image data, a first action corresponding to the image data collected within a preset time period, wherein the first action includes a combination of multiple basic actions; When the first action is the same as the target action, the target operation is performed, and the target operation includes a lottery operation.

6. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the operation performed by the contactless operation triggering method as claimed in any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that: The storage medium stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the operation performed by the contactless operation triggering method as claimed in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Processing method and device of live video

    CN106791921A

  • Interactive method and device for video live-broadcasting

    CN107124664A

  • Live broadcasting interaction method and device and electronic equipment

    CN108076392A

  • Live broadcast interaction method, device, electronic equipment and storage medium

    CN110446115A

  • Data processing method and device, electronic equipment and storage medium

    CN110881134A