CN113111748A - Behavior data processing method and device, storage medium and electronic device - Google Patents

Behavior data processing method and device, storage medium and electronic device Download PDF

Info

Publication number
CN113111748A
CN113111748A CN202110350848.7A CN202110350848A CN113111748A CN 113111748 A CN113111748 A CN 113111748A CN 202110350848 A CN202110350848 A CN 202110350848A CN 113111748 A CN113111748 A CN 113111748A
Authority
CN
China
Prior art keywords
behavior
behaviors
gas injection
prohibited
injection device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110350848.7A
Other languages
Chinese (zh)
Inventor
田凯月
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home 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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202110350848.7A priority Critical patent/CN113111748A/en
Publication of CN113111748A publication Critical patent/CN113111748A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/20Movements or behaviour, e.g. gesture recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Evolutionary Computation (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Evolutionary Biology (AREA)
  • General Health & Medical Sciences (AREA)
  • Psychiatry (AREA)
  • Social Psychology (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a behavior data processing method and device, a storage medium and an electronic device, wherein the method comprises the following steps: acquiring a prohibited behavior set for a second object by a first object, wherein the prohibited behavior set comprises: the first object inhibits one or more behaviors of the second object from occurring; and in the case that the similarity between the current action performed by the second object and any action in the prohibited action set exceeds a preset threshold value, injecting target gas to the second object through a gas injection device so as to enable the second object to stop the current action. By adopting the technical scheme, the problems that the stress is easily generated by the pet in the process of using the anti-static sticker indoors, the home environment is not attractive and the like are solved.

Description

Behavior data processing method and device, storage medium and electronic device
Technical Field
The present invention relates to the field of communications, and in particular, to a behavior data processing method and apparatus, a storage medium, and an electronic apparatus.
Background
With the development of socio-economic, more and more families are beginning to house pets, but the people who raise pets also face various problems, such as: the cat grabs the sofa randomly, and the dog detaches the house randomly. These devastating activities severely affect the normal life of the family that raises the pet, reducing the quality of life. At present, the existing furniture for preventing pets from damaging mainly depends on an anti-static sticker.
However, the anti-static paste may scare the pet and cause stress reaction to the pet, and further, if there is a lot of furniture at home, the anti-static paste needs to be laid in a large area, which affects the appearance.
Aiming at the problems that in the related art, in the process of using the anti-static sticker indoors, a pet is easy to generate stress, the home environment is not attractive, and the like, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides a behavior data processing method and device, a storage medium and an electronic device, which are used for at least solving the problems that a pet is easy to generate stress and the household environment is not attractive in the process of using an anti-static sticker indoors.
According to an embodiment of the present invention, there is provided a behavior data processing method including: acquiring a prohibited behavior set for a second object by a first object, wherein the prohibited behavior set comprises: the first object inhibits one or more behaviors of the second object from occurring; and in the case that the similarity between the current action performed by the second object and any action in the prohibited action set exceeds a preset threshold value, injecting target gas to the second object through a gas injection device so as to enable the second object to stop the current action.
Further, acquiring a set of prohibited behaviors set by the first object for the second object includes: acquiring a plurality of behaviors of the second object occurring within a preset time period through the gas injection device; displaying the plurality of behaviors through the gas injection device to enable the first object to determine the one or more behaviors from the plurality of behaviors, or sending the plurality of behaviors to a mobile terminal corresponding to the first object to enable the first object to determine the one or more behaviors from the plurality of behaviors displayed in the mobile terminal.
Further, the method includes injecting a target gas to the second object by a gas injection device to cause the second object to stop the currently performed action, and the method further includes: acquiring multimedia data corresponding to the second object when the gas injection equipment injects the target gas to the second object; and sending the multimedia data to a mobile terminal of the first object or displaying the multimedia data on the gas injection equipment so as to enable the first object to determine whether the identification result is correct, wherein the identification result is used for indicating that the similarity of the currently performed behavior of the second object and any behavior in the prohibited behavior set exceeds a preset threshold value.
Further, acquiring multimedia data corresponding to the second object when the gas injection device injects the target gas to the second object, includes: acquiring multimedia data corresponding to the second object through an information acquisition device on the gas injection equipment, wherein the information acquisition device is at least used for acquiring at least one of the following data: pictures, audio, video.
Further, after transmitting the multimedia data to a mobile terminal of the first object or displaying on the gas injection apparatus so that the first object determines whether the recognition result is correct, the method further includes: determining that the recognition result of a corresponding recognition model of the gas injection equipment is correct under the condition that the recognition result fed back by the first object is correct, wherein the recognition model is used for identifying whether the similarity between the current action of the second object and any action in the prohibited action set exceeds a preset threshold value; and determining that the recognition result of the corresponding recognition model of the gas injection equipment is wrong to perform model correction on the recognition model when the first object feeds back that the recognition result is wrong.
Further, the method further comprises: and after the recognition model is subjected to model correction, prohibiting the target gas from being injected under the condition that the gas injection equipment detects that the behavior corresponding to the second object is the current behavior next time.
According to still another embodiment of the embodiments of the present invention, there is also provided a behavior data processing apparatus including: an obtaining module, configured to obtain a prohibited behavior set for a second object by a first object, where the prohibited behavior set includes: the first object inhibits one or more behaviors of the second object from occurring; and the processing module is used for spraying target gas to the second object through a gas spraying device under the condition that the similarity between the currently performed behavior of the second object and any behavior in the prohibited behavior set is recognized to exceed a preset threshold value, so that the second object stops the currently performed behavior.
Further, the acquiring module is further configured to acquire, by the gas injection device, a plurality of behaviors of the second object occurring within a preset time period; displaying the plurality of behaviors through the gas injection device to enable the first object to determine the one or more behaviors from the plurality of behaviors, or sending the plurality of behaviors to a mobile terminal corresponding to the first object to enable the first object to determine the one or more behaviors from the plurality of behaviors displayed in the mobile terminal.
According to still another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned behavior data processing method when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the behavior data processing method through the computer program.
According to the behavior data processing method, the forbidden behavior set for the second object by the first object is obtained, and under the condition that the similarity between the current behavior of the second object and any behavior in the forbidden behavior set is recognized to exceed the preset threshold value, the target gas is sprayed to the second object through the gas spraying equipment, so that the current behavior of the second object is stopped. By adopting the technical scheme, the problems that the stress is easily generated by the pet and the household environment is not attractive in the process of using the anti-static sticker indoors are solved. And then, by judging the similarity between the behavior of the pet and any behavior in the prohibited behavior set for the pet by the user, and under the condition that the similarity exceeds a preset threshold value, the gas injection equipment injects target gas to the pet, so that the pet stops the current behavior, the effect of preventing the pet from damaging furniture is achieved, the pet is not easy to be injured, and the home environment is not influenced.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a computer terminal of a behavior data processing method of an embodiment of the present invention;
FIG. 2 is a flow chart of a behavioral data processing method according to an embodiment of the present invention;
FIG. 3 is a flow chart of a behavioral data processing method according to an embodiment of the present invention (two);
FIG. 4 is a block diagram (one) of the structure of a behavior data processing apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram (ii) of the configuration of the behavior data processing apparatus according to the embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The method embodiments provided in the embodiments of the present application may be executed in a computer terminal or a similar computing device. Taking the example of the operation on a computer terminal, fig. 1 is a hardware structure block diagram of the computer terminal of the behavior data processing method according to the embodiment of the present invention. As shown in fig. 1, the computer terminal may include one or more processors 102 (only one is shown in fig. 1), wherein the processors 102 may include, but are not limited to, a Microprocessor (MPU) or a Programmable Logic Device (PLD), and a memory 104 for storing data, and in an exemplary embodiment, the computer terminal may further include a transmission device 106 for communication function and an input/output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the computer terminal. For example, the computer terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration with equivalent functionality to that shown in FIG. 1 or with more functionality than that shown in FIG. 1.
The memory 104 may be used to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the behavior data processing method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the above-mentioned method. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to a computer terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In order to solve the problems that a pet is easy to generate stress and makes a household environment unattractive in the process of using an anti-static sticker indoors, the embodiment provides a behavior data processing method, and fig. 2 is a flow chart (one) of the behavior data processing method according to the embodiment of the invention, wherein the flow comprises the following steps:
step S202, acquiring a prohibited behavior set for a second object by a first object, wherein the prohibited behavior set comprises: the first object inhibits one or more behaviors of the second object from occurring;
and step S204, under the condition that the similarity between the currently performed behavior of the second object and any behavior in the prohibited behavior set is recognized to exceed a preset threshold, injecting target gas to the second object through a gas injection device so as to enable the second object to stop the currently performed behavior.
According to the behavior data processing method, the forbidden behavior set for the second object by the first object is obtained, and under the condition that the similarity between the current behavior of the second object and any behavior in the forbidden behavior set is recognized to exceed the preset threshold value, the target gas is sprayed to the second object through the gas spraying equipment, so that the current behavior of the second object is stopped. By adopting the technical scheme, the problems that the stress is easily generated by the pet and the household environment is not attractive in the process of using the anti-static sticker indoors are solved. And then, by judging the similarity between the behavior of the pet and any behavior in the prohibited behavior set for the pet by the user, and under the condition that the similarity exceeds a preset threshold value, the gas injection equipment injects target gas to the pet, so that the pet stops the current behavior, the effect of preventing the pet from damaging furniture is achieved, the pet is not easy to be injured, and the home environment is not influenced.
It should be noted that the target gas may be aromatherapy, or may be other gases, and the second object may be other types of pets such as cats and dogs, but the invention is not limited thereto.
It should be noted that, in an optional embodiment, the step S202 of obtaining the set of prohibited behaviors set by the first object for the second object may be implemented by the following technical solution: acquiring a plurality of behaviors of the second object occurring within a preset time period through the gas injection device; displaying the plurality of behaviors through the gas injection device to enable the first object to determine the one or more behaviors from the plurality of behaviors, or sending the plurality of behaviors to a mobile terminal corresponding to the first object to enable the first object to determine the one or more behaviors from the plurality of behaviors displayed in the mobile terminal.
In this embodiment, the gas injection device is required to acquire a plurality of behaviors of the second object in a preset time period through the information acquisition device, and send the acquired plurality of behaviors to the display screen of the gas injection device, so that the plurality of behaviors corresponding to the second object are displayed on the display screen, or the acquired plurality of behaviors corresponding to the second object are sent to the mobile terminal corresponding to the first object, and then the first object may determine one or more behaviors that the user wants to prohibit from the plurality of behaviors displayed on the display screen of the gas injection device or the mobile device. It should be noted that, if the second object has a rest while lying, the information acquisition device does not acquire this behavior, and thus the data volume can be reduced; the mobile device may be a mobile phone, a tablet computer, etc. For example, in a preset time period, the gas injection device acquires 100 different behaviors of the pet through the image acquisition device, the 100 behaviors are displayed on a display of the gas injection device or sent to a mobile phone of a user, and then the user selects a behavior to be prohibited from the 100 behaviors on the display of the gas injection device or the mobile phone screen, specifically 10 behaviors of the pet destroying furniture.
For better understanding, the step S204 may be executed in a plurality of ways, and in an alternative embodiment, the step of injecting the target gas to the second object by the gas injection device to stop the second object from the currently performed action further includes: acquiring multimedia data corresponding to the second object when the gas injection equipment injects the target gas to the second object; and sending the multimedia data to a mobile terminal of the first object or displaying the multimedia data on the gas injection equipment so as to enable the first object to determine whether the identification result is correct, wherein the identification result is used for indicating that the similarity of the currently performed behavior of the second object and any behavior in the prohibited behavior set exceeds a preset threshold value.
In this embodiment, in a case where it is recognized that the similarity between the currently performed behavior of the second object and any one of the prohibited behavior set exceeds a preset threshold, the target gas is injected to the second object by the gas injection device, so that the second object stops the currently performed behavior. In addition, during the process of injecting the target gas to the second object by the gas injection device, the gas injection device may record the behavior corresponding to the second object in the whole process, and store the recorded behavior as multimedia data, where the supplementary description indicates that the behavior corresponding to the second object includes: the behavior of the second object before being sprayed by the target gas corresponds to the behavior of the second object after being sprayed by the target gas. The multimedia data may be video or other types of data. And then, the multimedia data is sent to the mobile terminal of the first object or displayed on the gas injection device, specifically, the mobile phone of the first object, the first object can be on the mobile device or the gas injection device to acquire the multimedia data, and whether the identification result of the gas injection device is correct is judged according to the multimedia data.
It should be noted that, in an optional embodiment, acquiring the multimedia data corresponding to the second object when the gas injection device injects the target gas to the second object includes: acquiring multimedia data corresponding to the second object through an information acquisition device on the gas injection equipment, wherein the information acquisition device is at least used for acquiring at least one of the following data: pictures, audio, video.
In this embodiment, the gas injection device is provided with an information acquisition device, which may be a camera or other devices capable of recording video, and the information acquisition device records the action video of the second object, the audio of the second object, and the picture of the specific action of the second object in a whole process to form multimedia data about the second object.
Optionally, after the multimedia data is sent to a mobile terminal of the first object or displayed on the gas injection device, so that the first object determines whether the recognition result is correct, the method further includes: determining that the recognition result of a corresponding recognition model of the gas injection equipment is correct under the condition that the recognition result fed back by the first object is correct, wherein the recognition model is used for identifying whether the similarity between the current action of the second object and any action in the prohibited action set exceeds a preset threshold value; and determining that the recognition result of the corresponding recognition model of the gas injection equipment is wrong to perform model correction on the recognition model when the first object feeds back that the recognition result is wrong.
In this embodiment, the second object may determine, according to the multimedia data acquired by the gas injection device, whether the recognition result of the behavior of the gas injection device on the second object is correct, if the first object feeds back the recognition result through the multimedia data, it is determined that the recognition result of the recognition model corresponding to the gas injection device is correct, and if the first object feeds back the recognition result through the multimedia data, it is determined that the recognition result of the recognition model corresponding to the gas injection device is wrong, and at this time, the recognition model corresponding to the gas injection device needs to be improved and corrected according to the fed-back result.
It should be noted that, after the model correction is performed on the recognition model, when the gas injection device detects that the behavior corresponding to the second object is the currently performed behavior next time, the injection of the target gas is prohibited. That is, in the present embodiment, if the user feeds back that the recognition result of the gas injection device is incorrect, the recognition model will make a judgment to correct itself, that is, the recognition model will be corrected as follows: the similarity between the current action of the second object and any action in the forbidden action set is smaller than a preset threshold value, and therefore when the same action is detected next time, the target gas cannot be sprayed.
It is to be understood that the above-described embodiments are only a few, but not all, embodiments of the present invention. In order to better understand the above behavior data processing method, the following describes the above process with reference to an embodiment, but the process is not limited to the technical solution of the embodiment of the present invention, and specifically:
in an alternative embodiment, the invention provides a behavior data processing method for improving the quality of life of a family for raising pets, and the behavior data processing method can prevent destructive behaviors of pets. Fig. 3 is a flowchart (ii) of a behavior data processing method according to an embodiment of the present invention, which includes the following specific steps:
step S302: detecting behavior of the pet;
step S304: sending the pet behavior set to a user;
step S306: the user filters behaviors which the user wants to block;
step S308: the aromatherapy machine detects similar behaviors;
step S310: triggering a switch of the aromatherapy machine;
step S312: sending the image video of each injection to a user;
step S314: evaluating a user;
step S316: big data is continuously optimized for behavior that should be prevented based on user ratings.
Step S302 detects the pet behavior in real time through a camera on the aromatherapy machine (equivalent to the gas injection device in the above embodiment), shoots all behaviors of the pet, and forms a behavior set of the pet, step S304 needs to send all behaviors of the pet collected in step S302 to the user, specifically, the behaviors are displayed on a display screen of the aromatherapy machine, or sent to a mobile device of the user, in step S306, the user can circle out the behavior to be prevented, specifically, the behavior that the pet destroys furniture, in the behavior set of the pet, and after the user circles out the behavior to be prevented, step S308 tracks the pet through the camera of the aromatherapy machine, and when a destructive behavior is detected in the behavior of the pet, step S310 is executed to trigger a switch of the intelligent aromatherapy machine to inject aromatherapy gas, thereby preventing the destructive behavior of the pet, in step S312, after the aromatherapy machine sprays aromatherapy each time, the aromatherapy machine records the spraying process through the camera in the whole process to obtain a recorded video (equivalent to multimedia data in the above embodiment), and sends the recorded video to the user to prevent the camera from misjudging, in step S314, the user can evaluate the blocking situation each time, and then in step S316, the behavior to be blocked is continuously optimized according to the user evaluation big data, that is, when the user evaluates that the behavior of the aromatherapy machine spraying aromatherapy is correct, the aromatherapy machine obtains positive feedback, and the judgment model of the aromatherapy machine continuously sprays when meeting the behavior next time. When the user evaluates the situation that the behavior of the aromatherapy machine for spraying aromatherapy is wrong, the aromatherapy machine obtains negative feedback, and the judgment model of the aromatherapy machine does not spray when meeting the behavior next time.
In addition, according to the technical scheme of the embodiment of the invention, the pet behavior is monitored through the camera, the pet behavior is analyzed by the system, and the fragrance gas is sprayed to prevent the pet from destroying the behavior under the condition that the similarity between the pet behavior and the behavior which the user wants to forbid is greater than the preset threshold value. The destructive behavior of the pet is prevented under the conditions of not damaging the pet and influencing the home environment.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a behavior data processing apparatus is further provided, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, and details of which have been already described are omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware or a combination of software and hardware are also possible and contemplated.
Fig. 4 is a block diagram (a) of a behavior data processing apparatus according to an embodiment of the present invention, the apparatus including:
an obtaining module 42, configured to obtain a prohibited action set for a second object by a first object, where the prohibited action set includes: the first object inhibits one or more behaviors of the second object from occurring;
and the processing module 44 is configured to, in a case that it is identified that the similarity between the currently performed behavior of the second object and any behavior in the prohibited behavior set exceeds a preset threshold, inject target gas to the second object through a gas injection device so as to stop the currently performed behavior of the second object.
According to the invention, a behavior data processing device is introduced, a prohibited behavior set for a second object by a first object is obtained, and under the condition that the similarity between the currently performed behavior of the second object and any behavior in the prohibited behavior set is recognized to exceed a preset threshold value, target gas is sprayed to the second object through a gas spraying device, so that the second object stops the currently performed behavior. By adopting the technical scheme, the problems that the stress is easily generated by the pet and the household environment is not attractive in the process of using the anti-static sticker indoors are solved. And then, by judging the similarity between the behavior of the pet and any behavior in the prohibited behavior set for the pet by the user, and under the condition that the similarity exceeds a preset threshold value, the gas injection equipment injects target gas to the pet, so that the pet stops the current behavior, the effect of preventing the pet from damaging furniture is achieved, the pet is not easy to be injured, and the home environment is not influenced.
It should be noted that the target gas may be aromatherapy, or may be other gases, and the second object may be other types of pets such as cats and dogs, but the invention is not limited thereto.
It should be noted that, in an alternative embodiment, the obtaining module 42 is configured to obtain, by the gas injection device, a plurality of behaviors of the second object occurring within a preset time period; displaying the plurality of behaviors through the gas injection device to enable the first object to determine the one or more behaviors from the plurality of behaviors, or sending the plurality of behaviors to a mobile terminal corresponding to the first object to enable the first object to determine the one or more behaviors from the plurality of behaviors displayed in the mobile terminal.
In this embodiment, the gas injection device is required to acquire a plurality of behaviors of the second object in a preset time period through the information acquisition device, and send the acquired plurality of behaviors to the display screen of the gas injection device, so that the plurality of behaviors corresponding to the second object are displayed on the display screen, or the acquired plurality of behaviors corresponding to the second object are sent to the mobile terminal corresponding to the first object, and then the first object may determine one or more behaviors that the user wants to prohibit from the plurality of behaviors displayed on the display screen of the gas injection device or the mobile device. It should be noted that, if the second object has a rest while lying, the information acquisition device does not acquire this behavior, and thus the data volume can be reduced; the mobile device may be a mobile phone, a tablet computer, etc. For example, in a preset time period, the gas injection device acquires 100 different behaviors of the pet through the image acquisition device, the 100 behaviors are displayed on a display of the gas injection device or sent to a mobile phone of a user, and then the user selects a behavior to be prohibited from the 100 behaviors on the display of the gas injection device or the mobile phone screen, specifically 10 behaviors of the pet destroying furniture.
Fig. 5 is a block diagram (ii) of the configuration of the behavior data processing apparatus according to the embodiment of the present invention, in which the processing module 42 includes a first acquiring unit 422, a first transmitting unit 424, a first determining unit 426, and a first injecting unit 428.
For better understanding, in an optional embodiment, the first obtaining unit 422 is further configured to obtain multimedia data corresponding to the second object when the gas injection device injects the target gas to the second object; the first sending unit 424 is configured to send the multimedia data to a mobile terminal of the first object or display the multimedia data on the gas injection device, so that the first object determines whether a recognition result is correct, where the recognition result is used to indicate that a similarity between a currently performed behavior of the second object and any behavior in the prohibited behavior set exceeds a preset threshold.
In the present embodiment, in the case where it is recognized that the degree of similarity between the action currently performed by the second object and any one of the set of prohibited actions exceeds the preset threshold, the first injection unit 428 is configured to inject the target gas to the second object through the gas injection device, thereby causing the second object to stop the currently performed action. Moreover, in the process that the gas injection device injects the target gas to the second object, the first obtaining unit 422 is configured to record the behavior corresponding to the second object in the whole process, and store the recorded behavior as multimedia data, where it is supplementary stated that the behavior corresponding to the second object includes: the behavior of the second object before being sprayed by the target gas corresponds to the behavior of the second object after being sprayed by the target gas. The multimedia data may be video or other types of data. And then, the multimedia data is sent to the mobile terminal of the first object or displayed on the gas injection device, specifically, the mobile phone of the first object, the first object can be on the mobile device or the gas injection device to acquire the multimedia data, and whether the identification result of the gas injection device is correct is judged according to the multimedia data.
It should be noted that, in an alternative embodiment, the first obtaining unit 422 is configured to obtain the multimedia data corresponding to the second object through an information collecting device on the gas injection apparatus, where the information collecting device is configured to collect at least one of the following: pictures, audio, video.
In this embodiment, the gas injection device is provided with an information acquisition device, which may be a camera or other devices capable of recording video, and the information acquisition device records the action video of the second object, the audio of the second object, and the picture of the specific action of the second object in a whole process to form multimedia data about the second object.
Optionally, the first determining unit 426 is configured to determine that the recognition result of the corresponding recognition model of the gas injection device is correct if the recognition result fed back by the first object is correct, where the recognition model is used to identify whether a similarity between a current behavior of the second object and any behavior in the prohibited behavior set exceeds a preset threshold; the first determination unit 426 is further configured to determine that the recognition result of the corresponding recognition model of the gas injection apparatus is incorrect to perform model correction on the recognition model if the first object feeds back that the recognition result is incorrect.
In this embodiment, the second object may determine, according to the multimedia data acquired by the gas injection device, whether the recognition result of the behavior of the gas injection device on the second object is correct, if the first object feeds back the recognition result through the multimedia data, it is determined that the recognition result of the recognition model corresponding to the gas injection device is correct, and if the first object feeds back the recognition result through the multimedia data, it is determined that the recognition result of the recognition model corresponding to the gas injection device is wrong, and at this time, the recognition model corresponding to the gas injection device needs to be improved and corrected according to the fed-back result.
It should be noted that, after the model correction is performed on the recognition model, when the gas injection device detects that the behavior corresponding to the second object is the currently performed behavior next time, the injection of the target gas is prohibited. That is, in the present embodiment, if the user feeds back that the recognition result of the gas injection device is incorrect, the recognition model will make a judgment to correct itself, that is, the recognition model will be corrected as follows: the similarity between the current action of the second object and any action in the forbidden action set is smaller than a preset threshold value, and therefore when the same action is detected next time, the target gas cannot be sprayed. Embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above-mentioned method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, acquiring a prohibited behavior set for the second object by the first object, wherein the prohibited behavior set comprises: the first object inhibits one or more behaviors of the second object from occurring;
and S2, in the case that the similarity between the current action of the second object and any action in the prohibited action set exceeds a preset threshold value, injecting target gas to the second object through a gas injection device so as to enable the second object to stop the current action.
In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary embodiments, and details of this embodiment are not repeated herein.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, acquiring a prohibited behavior set for the second object by the first object, wherein the prohibited behavior set comprises: the first object inhibits one or more behaviors of the second object from occurring;
and S2, in the case that the similarity between the current action of the second object and any action in the prohibited action set exceeds a preset threshold value, injecting target gas to the second object through a gas injection device so as to enable the second object to stop the current action.
In an exemplary embodiment, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary embodiments, and details of this embodiment are not repeated herein.
It will be apparent to those skilled in the art that the various modules or steps of the invention described above may be implemented using a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and they may be implemented using program code executable by the computing devices, such that they may be stored in a memory device and executed by the computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into various integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for processing behavior data, comprising:
acquiring a prohibited behavior set for a second object by a first object, wherein the prohibited behavior set comprises: the first object inhibits one or more behaviors of the second object from occurring;
and in the case that the similarity between the current action performed by the second object and any action in the prohibited action set exceeds a preset threshold value, injecting target gas to the second object through a gas injection device so as to enable the second object to stop the current action.
2. The method of claim 1, wherein obtaining the set of prohibited behaviors set by the first object for the second object comprises:
acquiring a plurality of behaviors of the second object occurring within a preset time period through the gas injection device;
displaying the plurality of behaviors through the gas injection device to enable the first object to determine the one or more behaviors from the plurality of behaviors, or sending the plurality of behaviors to a mobile terminal corresponding to the first object to enable the first object to determine the one or more behaviors from the plurality of behaviors displayed in the mobile terminal.
3. The method of claim 1, wherein injecting a target gas through a gas injection device toward the second object to cause the second object to cease the currently performed action comprises:
acquiring multimedia data corresponding to the second object when the gas injection equipment injects the target gas to the second object;
and sending the multimedia data to a mobile terminal of the first object or displaying the multimedia data on the gas injection equipment so as to enable the first object to determine whether the identification result is correct, wherein the identification result is used for indicating that the similarity of the currently performed behavior of the second object and any behavior in the prohibited behavior set exceeds a preset threshold value.
4. The method of claim 3, wherein obtaining multimedia data corresponding to the second object when the gas injection device injects the target gas into the second object comprises:
acquiring multimedia data corresponding to the second object through an information acquisition device on the gas injection equipment, wherein the information acquisition device is at least used for acquiring at least one of the following data: pictures, audio, video.
5. The method of claim 3, wherein after transmitting the multimedia data to a mobile terminal of the first object or displaying on the gas injection apparatus so that the first object determines whether the recognition result is correct, the method further comprises:
determining that the recognition result of a corresponding recognition model of the gas injection equipment is correct under the condition that the recognition result fed back by the first object is correct, wherein the recognition model is used for identifying whether the similarity between the current action of the second object and any action in the prohibited action set exceeds a preset threshold value;
and determining that the recognition result of the corresponding recognition model of the gas injection equipment is wrong to perform model correction on the recognition model when the first object feeds back that the recognition result is wrong.
6. The method of claim 5, further comprising:
and after the recognition model is subjected to model correction, prohibiting the target gas from being injected under the condition that the gas injection equipment detects that the behavior corresponding to the second object is the current behavior next time.
7. A behavior data processing apparatus, comprising:
an obtaining module, configured to obtain a prohibited behavior set for a second object by a first object, where the prohibited behavior set includes: the first object inhibits one or more behaviors of the second object from occurring;
and the processing module is used for spraying target gas to the second object through a gas spraying device under the condition that the similarity between the currently performed behavior of the second object and any behavior in the prohibited behavior set is recognized to exceed a preset threshold value, so that the second object stops the currently performed behavior.
8. The apparatus according to claim 7, wherein the acquiring module is further configured to acquire, by the gas injection device, a plurality of behaviors of the second object occurring within a preset time period; displaying the plurality of behaviors through the gas injection device to enable the first object to determine the one or more behaviors from the plurality of behaviors, or sending the plurality of behaviors to a mobile terminal corresponding to the first object to enable the first object to determine the one or more behaviors from the plurality of behaviors displayed in the mobile terminal.
9. A computer-readable storage medium, comprising a stored program, wherein the program is operable to perform the method of any one of claims 1 to 6.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 6 by means of the computer program.
CN202110350848.7A 2021-03-31 2021-03-31 Behavior data processing method and device, storage medium and electronic device Pending CN113111748A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110350848.7A CN113111748A (en) 2021-03-31 2021-03-31 Behavior data processing method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110350848.7A CN113111748A (en) 2021-03-31 2021-03-31 Behavior data processing method and device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN113111748A true CN113111748A (en) 2021-07-13

Family

ID=76713360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110350848.7A Pending CN113111748A (en) 2021-03-31 2021-03-31 Behavior data processing method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN113111748A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012093936A (en) * 2010-10-27 2012-05-17 Casio Comput Co Ltd Animal monitor support apparatus, animal monitor support method, monitor support server, monitor support terminal and program
CN110009869A (en) * 2019-04-01 2019-07-12 珠海格力电器股份有限公司 Monitoring method, the device and system of action message
CN110060441A (en) * 2019-06-14 2019-07-26 三星电子(中国)研发中心 Method and apparatus for terminal anti-theft
CN209359307U (en) * 2018-12-03 2019-09-10 仙游县元生智汇科技有限公司 A kind of pet monitoring system
CN110852198A (en) * 2019-10-27 2020-02-28 恒大智慧科技有限公司 Control method, equipment and storage medium for preventing pet dog attack in smart community
CN111275911A (en) * 2020-01-16 2020-06-12 珠海格力电器股份有限公司 Danger prompting method, equipment and computer readable storage medium
CN112188296A (en) * 2020-09-28 2021-01-05 深圳创维-Rgb电子有限公司 Interaction method, device, terminal and television

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012093936A (en) * 2010-10-27 2012-05-17 Casio Comput Co Ltd Animal monitor support apparatus, animal monitor support method, monitor support server, monitor support terminal and program
CN209359307U (en) * 2018-12-03 2019-09-10 仙游县元生智汇科技有限公司 A kind of pet monitoring system
CN110009869A (en) * 2019-04-01 2019-07-12 珠海格力电器股份有限公司 Monitoring method, the device and system of action message
CN110060441A (en) * 2019-06-14 2019-07-26 三星电子(中国)研发中心 Method and apparatus for terminal anti-theft
CN110852198A (en) * 2019-10-27 2020-02-28 恒大智慧科技有限公司 Control method, equipment and storage medium for preventing pet dog attack in smart community
CN111275911A (en) * 2020-01-16 2020-06-12 珠海格力电器股份有限公司 Danger prompting method, equipment and computer readable storage medium
CN112188296A (en) * 2020-09-28 2021-01-05 深圳创维-Rgb电子有限公司 Interaction method, device, terminal and television

Similar Documents

Publication Publication Date Title
CN106803987B (en) Video data acquisition method, device and system
CN104683581A (en) Intelligent terminal communication reminding method and device
CN105376588B (en) A kind of net cast method, apparatus and electronic equipment
CN104361076A (en) Method and device for processing abnormality of browser
CN109714639A (en) Violation processing method, device, server and storage medium
CN103442267A (en) User behavior information collection method and television
CN101739552B (en) Pet image detection system and method for controlling operation thereof
CN106803996A (en) A kind of monitoring method and device
CN112149194A (en) Method and device for projecting screen of equipment, storage medium and electronic device
CN113992893A (en) Park inspection method and device, storage medium and electronic device
CN114338585A (en) Message pushing method and device, storage medium and electronic device
CN112087771A (en) Communication control method and device, electronic equipment and computer readable storage medium
CN110673500B (en) Power supply control method of socket and Internet of things operating system
CN113111748A (en) Behavior data processing method and device, storage medium and electronic device
CN105430497A (en) Play control method and device
CN107133153B (en) User monitoring system
CN107786561B (en) Application use duration management and control method and client
CN113742683A (en) Multi-screen anti-addiction method and system, server, user terminal and storage medium
CN111210839A (en) Method and device for detecting recording equipment
CN110876851A (en) Plug-in identification method, server, system and storage medium
CN113613029B (en) Live broadcast picture display method and device, storage medium and electronic equipment
CN113985755B (en) Method and device for sending control instruction, storage medium and electronic device
CN112529605B (en) Advertisement abnormal exposure recognition system and method
CN104216780A (en) Control method and control device for application program association operation
CN112413850B (en) Control method and device of air conditioner, storage medium and electronic device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210713