Disclosure of Invention
In view of the above-mentioned drawbacks of the prior art, an object of the present invention is to provide a method, apparatus, terminal and medium for detecting abnormal driving behavior, which are used for solving the technical problems of occurrence or duration of abnormal driving behavior and limited reliability found by means of self-consciousness of a driver and observation of passengers in the same vehicle.
In view of the foregoing, the present invention provides an abnormal driving behavior detection method, including:
acquiring an image of a driver;
Identifying human body key points of a driver in the driver image and position information of the human body key points based on a human body key point model;
If the identified human body key point set comprises target human body key points, acquiring the position relation among the target human body key points, and detecting abnormal driving behaviors, wherein the target human body key points comprise human body key points of at least two preset parts.
Optionally, the target human body key points include a hand key point and an ear key point, and the acquiring the positional relationship between the target human body key points includes:
determining a hand-ear distance between the hand key point and the ear key point according to the position information of the hand key point and the position information of the ear key point;
If the hand-ear distance is smaller than the preset hand-ear distance, selecting a hand-ear partial image from the driver image, wherein the hand-ear partial image comprises images of hand key points and positions of ear key points;
And carrying out image recognition on the hand-ear partial images, and if the mobile phone is recognized, determining that abnormal driving behaviors exist.
Optionally, the target human body key points include a hand key point and a lip key point, and the acquiring the positional relationship between the target human body key points includes:
determining a hand-lip distance between a hand key point and a lip key point according to the position information of the hand key point and the position information of the lip key point;
if the hand-lip distance is smaller than the preset hand-lip distance, selecting a hand-lip partial image from the driver image, wherein the hand-lip partial image comprises images of hand key points and positions of lip key points;
and carrying out image recognition on the partial images of the hand lips, and if the slender object is recognized, determining that abnormal driving behaviors exist.
Optionally, determining that abnormal driving behavior exists includes:
Respectively obtaining a first pixel average value of one end of the slender object far away from the lip and a second pixel average value of the partial image of the hand lip;
If the first pixel average value is larger than the second pixel average value, determining that abnormal driving behaviors exist.
Optionally, the method further comprises:
Acquiring position information of a current human body key point of a face, and selecting a face partial image;
identifying facial key points in the facial partial image and position information of the facial key points based on a facial key point model;
Determining a deflection angle according to the position information of the facial key points, wherein the deflection angle comprises at least one of a pitch angle, a roll angle and a yaw angle;
and if the deflection angle is larger than a preset deflection angle threshold value, determining that abnormal driving behaviors exist.
Optionally, the yaw angle is obtained by:
θx=atan2(-ryz,rzz);
the roll angle is obtained by:
the pitch angle is obtained by:
θz=atan2(-rxy,rxx);
wherein, θ x is yaw angle, θ y is roll angle, and θ z is pitch angle.
Optionally, the training mode of the human body key point model includes:
Obtaining M human body key points in a human body key point image, wherein each human body key point is converted into a maximum activation point in an N matrix through Gaussian distribution;
acquiring a backbone network, inputting the human body key point image into the backbone network, and generating an output result;
and determining L2 loss as a loss function according to the maximum activation point and the output result, and training the backbone network.
The invention also provides an abnormal driving behavior detection device, which comprises:
The acquisition module is used for acquiring the image of the driver;
The identification module is used for identifying human body key points of a driver in the driver image and position information of the human body key points based on a human body key point model;
the detection module is used for acquiring the position relation between the target human body key points if the identified human body key point set comprises the target human body key points, and detecting abnormal driving behaviors, wherein the target human body key points comprise human body key points of at least two preset parts.
The invention also provides a terminal, which comprises a processor, a memory and a communication bus;
the communication bus is used for connecting the processor and the memory;
The processor is configured to execute a computer program stored in the memory to implement the abnormal driving behavior detection method according to any one of the embodiments described above.
The present invention also provides a computer-readable storage medium, having stored thereon a computer program,
The computer program is for causing the computer to execute the abnormal driving behavior detection method according to any one of the embodiments described above.
As described above, the abnormal driving behavior detection method, device, terminal and medium provided by the invention have the following beneficial effects:
According to the method, a driver image is obtained, human body key points of a driver in the driver image and position information of the human body key points are identified according to a human body key point model, and if the identified human body key point set comprises target human body key points, the position relation among the target human body key points is obtained, so that abnormal driving behavior detection is carried out. The problem that the abnormal driving behavior is difficult to detect when the driving tool only has one driver is avoided, the detection speed and accuracy of the abnormal driving behavior are improved, and the driving safety can be effectively improved.
Detailed Description
Other advantages and effects of the present invention will become apparent to those skilled in the art from the following disclosure, which describes the embodiments of the present invention with reference to specific examples. The invention may be practiced or carried out in other embodiments that depart from the specific details, and the details of the present description may be modified or varied from the spirit and scope of the present invention. It should be noted that the following embodiments and features in the embodiments may be combined with each other without conflict.
It should be noted that the illustrations provided in the following embodiments merely illustrate the basic concept of the present invention by way of illustration, and only the components related to the present invention are shown in the drawings and are not drawn according to the number, shape and size of the components in actual implementation, and the form, number and proportion of the components in actual implementation may be arbitrarily changed, and the layout of the components may be more complicated.
Example 1
Referring to fig. 1, an abnormal driving behavior detection method provided by an embodiment of the present invention includes:
s101: an image of the driver is acquired.
Crews include, but are not limited to, crews of steering tools such as motor vehicles, non-motor vehicles, boats, aircraft, etc.
The driver's image may be captured by a capturing device (e.g., an in-vehicle monitoring device installed in the cab, etc.) provided on the driving tool, or may be captured by an outdoor capturing device such as a road monitoring camera, a crossing capturing device, etc.
When the driver image is a video frame extracted based on the driver video, a video frame with good light can be selected as the driver image within a certain time range.
The driver image can be acquired based on external instructions or automatically acquired at intervals.
Optionally, in order to make the abnormal driving behavior detection more accurate, the shooting angle of the driver image may capture the front image of the driver as much as possible.
In some embodiments, prior to acquiring the driver image, further comprising:
The current running state of the driving tool is obtained, if the current running state comprises running, the image of the driver is obtained, so that resource waste caused by continuously shooting the driver when the driving tool is in a stop state and false detection caused by shooting reasonable actions of the driver when the driving tool is in a brake state can be avoided.
S102: and identifying human body key points of the driver in the driver image and position information of the human body key points based on the human body key point model.
The human body key point model can be a pre-trained identification model, and the human body key point model can adopt the identification model in the existing related technology.
Alternatively, the human body key point model can be obtained through training in the following way:
Acquiring M human body key points in a human body key point image, and converting each human body key point into a maximum activation point in an N matrix through Gaussian distribution;
Acquiring a backbone network, inputting a human body key point image into the backbone network, and generating an output result;
and determining L2 loss as a loss function according to the maximum activation point and the output result, and training the backbone network.
The human body key point image is an image marked with human body key points in advance, the positions of the human body key points can be determined according to the positions of human bones, see fig. 2 and 3, fig. 3 is a schematic diagram of a human body key point image, and fig. 2 is a schematic diagram of human body key points determined according to human bone joint points.
It should be noted that the serial numbers in fig. 2 are only examples, and those skilled in the art may change the identification manner of the serial numbers according to need, including but not limited to, letter, text, etc.
The manner of identifying human body key points in fig. 2 is also merely an example, and those skilled in the art may add other feature points as human body key points or delete part of human body key points as required.
Optionally, the backbone network includes, but is not limited to, a network mobilenetv, taking the human body key points shown in fig. 3 as an example, converting 21 human body key points of a human body into maximum activated points in a matrix of 64 x 64 through gaussian distribution, obtaining GT HEATMAP of 21 x 64, inputting an image of the human body key points into the network mobilenetv2, obtaining an output result of 21 x 64, determining L2 loss as a loss function according to the output result and GT HEATMAP of 21 x 64, and optimizing the network mobilenetv2 through the loss function.
Alternatively, the loss function may be determined based on the distance of the maximum activation point to the corresponding point mapped on the output result.
By the method of the feature map, the fact that the human body feature points have the correlated features is considered, the trained human body key point model can learn context semantic information in the image, overfitting can be effectively prevented, and more accurate human body key points are predicted.
The human body key points of the driver and the position information of the human body key points in the driver image can be accurately identified based on the human body key point model.
S103: if the identified human body key point set comprises the target human body key points, acquiring the position relation among the target human body key points, and detecting abnormal driving behaviors.
It should be noted that the target human body key points include human body key points of at least two preset positions.
Alternatively, the determination of whether the human body key point includes the target human body key point may be performed by identifying information of the human body key point, including, but not limited to, the serial numbers shown in fig. 2 and the like.
In some embodiments, if the identified human body key point set does not include the target human body key point, it is indicated that a part of the human body parts of the driver may be located outside the shooting area, for example, the head is extended out of the window, the hands are placed outside the shooting area, the driver is low, the driver is looking for an object falling into the vehicle by probing the hands, and so on. At this time, the driver's actions are all abnormal driving actions, and the detection result of the abnormal driving behavior detection is that there is abnormal driving behavior.
Alternatively, the determination of the target human body key points may be determined by a person skilled in the art according to the actual application scenario of the detection method.
In some embodiments, the target human body key points include a hand key point and an ear key point, and acquiring the positional relationship between the target human body key points includes:
determining a hand-ear distance between the hand key point and the ear key point according to the position information of the hand key point and the position information of the ear key point;
If the hand-ear distance is smaller than the preset hand-ear distance, selecting a hand-ear partial image from the driver image, wherein the hand-ear partial image comprises images of hand key points and positions of ear key points;
And carrying out image recognition on the partial images of the ears, and if the target object is recognized, determining that abnormal driving behaviors exist.
The hand keypoints comprise at least one of left hand keypoints and right hand keypoints, and the ear keypoints comprise at least one of left ear keypoints and right ear keypoints.
Optionally, the hand-ear distance includes, but is not limited to, at least one of:
A first ear distance from the left ear to the left hand, a second ear distance from the left ear to the right hand, a third ear distance from the right ear to the left hand, and a fourth ear distance from the right ear to the right hand.
In some embodiments, the method of image recognition of the partial image of the ear may employ image recognition methods in related art to identify the target object.
Optionally, the target items include, but are not limited to, cell phones and the like.
When the distance between the hands and the ears is smaller, it is likely that the driver is talking with the mobile phone, and the mobile phone talking has a larger influence on the driving safety, so that the abnormal driving behavior can be accurately detected by the method.
It should be noted that the preset ear-to-hand distance may be set according to the needs of those skilled in the art, and is not limited herein.
In some embodiments, the preset hand-ear distance can be 'different from person to person' according to the body condition of the driver, and by collecting the images of various normal driving actions of the driver in advance, the unreasonable hand-ear distance is determined as the preset hand-ear distance, so that system misjudgment caused by the adoption of a preset value due to roughness is avoided, and the accuracy and reliability of detection are improved.
In some embodiments, the identification of the target item may also be determined by determining whether an item is present in the driver's hand closer to the ear, and if so, whether it is identified as a cell phone or not, the item is considered the target item. In some cases, the driver may be performing an operation such as a belt, and the mobile phone cannot be recognized, but the behavior is still dangerous driving behavior, and thus, it may be defined that the object is the target object if the object is detected on the hand.
In some embodiments, the hand-ear partial image is a hand and ear corresponding to a hand-ear distance less than a preset hand-ear distance, and is not an entire facial image, for example, if it is detected that the distance from the left hand to the left ear is less than the preset hand-ear distance, the hand-ear partial image need only include the left hand and the left ear, and may not include at least one of the right ear or the right hand.
In some embodiments, referring to fig. 3, although the distance between the hands and the ears in fig. 3 is smaller than the preset distance between the hands and ears, because the hands of the driver do not have articles, no abnormal driving behavior exists, so that false detection caused by normal operations such as lifting the hands and stroking the hair of the driver can be effectively avoided, and the detection accuracy is further improved.
Referring to fig. 4, fig. 4 is an example of a partial image of the left ear, when a left-hand key point is detected near the left-hand key point, that is, when the first hand-ear distance from the left hand to the left ear is detected to be smaller than the preset hand-ear distance, the area where the left hand and the left ear are located is intercepted, after the partial image of the left ear is normalized, for example, the partial image of the hand ear is resized to 224x224, a detection method SSD (Single shotmultibox detector) is continuously used to detect whether a mobile phone is contained therein, and if the mobile phone is detected, it is determined that a phone calling behavior exists, that is, an abnormal driving behavior exists.
In some embodiments, the target human body key points include a hand key point and a lip key point, and acquiring the positional relationship between the target human body key points includes:
Determining a hand-lip distance between the hand key point and the lip key point according to the position information of the hand key point and the position information of the lip key point;
If the hand-lip distance is smaller than the preset hand-lip distance, selecting a hand-lip partial image from the driver image, wherein the hand-lip partial image comprises images of hand key points and positions of the lip key points;
and carrying out image recognition on the partial images of the hand lips, and if the slender object is recognized, determining that abnormal driving behaviors exist.
The hand keypoints include at least one of a left hand keypoint and a right hand keypoint.
Optionally, the hand-ear distance includes, but is not limited to, at least one of:
Lip to left hand first hand lip distance, lip to right hand second hand lip distance.
In some embodiments, the manner in which the partial images of the lips are image-identified may employ image-identification methods of the related art to identify the elongate article.
Optionally, the elongate article includes, but is not limited to, a cigarette, an electronic cigarette, and the like.
When the distance between the hands and lips is small, it is likely that the driver is smoking, and smoking has a large influence on driving safety, so that such abnormal behavior can be accurately detected by the method.
The preset distance between the lips may be set according to the needs of those skilled in the art, and is not limited herein.
In some embodiments, the preset hand-lip distance can be 'different from person to person' according to the body condition of the driver, and an unreasonable hand-lip distance is determined as the preset hand-lip distance by collecting the images of various normal driving actions of the driver in advance, so that system misjudgment caused by the adoption of a preset value due to roughness is avoided, and the accuracy and reliability of detection are improved.
In some embodiments, the elongate article may also be identified by determining whether an article is present in the driver's hand closer to the lip, and if so, whether it is identified as an elongate article or not, the article is considered to be an elongate article. In some cases, the driver may be eating something or the like, and although the driver cannot recognize the elongated article, the behavior is still dangerous driving behavior, and thus, it may be defined that the elongated article is the elongated article as long as the existence of the elongated article is detected by the hand.
In some embodiments, the partial image of the hand and the lip is a partial image of the hand and the lip corresponding to a distance between the hand and the lip less than a preset distance between the hand and the lip, instead of the whole facial image, for example, if the distance between the left hand and the lip is detected to be less than the preset distance between the hand and the lip, the partial image of the hand and the lip only needs to include the left hand and the lip, and may not need to include the right hand.
In some embodiments, determining that abnormal driving behavior exists includes:
Respectively obtaining a first pixel average value of one end of the elongated object far away from the lip and a second pixel average value of a partial image of the hand lip;
If the first pixel average value is larger than the second pixel average value, determining that abnormal driving behaviors exist.
When the distance between the hands and lips of the driver is too small, the driver can drink water and eat something, and the driver can send out voice messages or smoke, and the like, so that compared with the prior art, the smoke smoking process is longer in duration and more remarkable in danger. The electronic cigarette or the cigarette may have a light emitting state at the end far from the lip during smoking, so that the first pixel average value of the area where the end of the elongated object far from the lip is located can be compared with the second pixel average value of the whole shou chu partial image, if the first pixel average value is greater than the second pixel average value, it is indicated that the end of the elongated object is in the light emitting state, and it is highly likely that the driver is smoking at the moment, so that it is determined that abnormal driving behavior exists.
Of course, the cigarette may also have a state that the driver spits out smoke, so that in order to further determine whether the driver is smoking, a partial image of the lip of the driver may be further obtained, whether the smoke exists is identified by an image identification mode, and if the smoke exists, abnormal driving behavior may be further determined.
Referring to fig. 5, fig. 5 is an example of a partial image of the hand and the lip, when a left hand key point is detected near a lip key point, that is, when a first hand-lip distance from the left hand to the lip is detected to be smaller than a preset hand-lip distance, a region where the left hand and the lip are located is intercepted, the partial image of the hand and the lip is normalized, for example, the partial image of the hand and the lip is resize to 224x224, and whether a cigarette is contained in the partial image of the hand and the lip is detected by using a SSD (Single shotmultibox detector) detection method is continuously, if the cigarette is detected, the smoking behavior is judged to exist, that is, abnormal driving behavior exists.
In some embodiments, to improve the accuracy of abnormal driving behavior detection, at least one image of a preset time before or after the current driver image may be further acquired based on the determination that the abnormal driving behavior exists based on the current driver image, further at least one abnormal driving behavior detection may be performed, and if the detection results exceeding a certain proportion are consistent, it is determined that the abnormal driving behavior does exist. For example, the driver image currently acquired is 10:00:00, if abnormal driving behaviors are detected based on the image, respectively acquiring 10:00:03 and 9:59:58, and detecting that the driver has abnormal driving behaviors in at least one of the images, and further determining that the abnormal driving behaviors exist.
In some embodiments, the abnormal driving behavior detection method further includes:
the target key points comprise hand key points, and the hand key points comprise left hand key points and right hand key points;
And acquiring a hand distance between the left hand key point and the right hand key point, acquiring a hand partial image if the hand distance is not within a preset hand distance range threshold, identifying the hand partial image, determining that abnormal behavior is normal if the hand partial image is identified on the steering wheel, and determining that abnormal driving behavior exists if the hand partial image is not within the preset hand distance range threshold.
When the driving tool is an automatic gear vehicle, gear shifting is not needed in the driving process, so that a driver is usually required to hold the steering wheel by both hands in the driving process of the motor vehicle, and bad habit that both hands leave the steering wheel can exist when the vehicle is in a straight line driving at a constant speed by some drivers, therefore, if the hand distance is detected, the driver may not place both hands on the steering wheel if the hand key points are not detected, or the distance between the hand key points is too large or too small, the driver may not place both hands on the steering wheel, at the moment, danger is possibly caused to driving, whether the hands are placed on the steering wheel is determined through image recognition, and abnormal driving behavior that both hands leave the steering wheel can be effectively detected.
In some embodiments, the target keypoints include a left-hand keypoint and a right-hand keypoint, the obtaining a positional relationship between the target human body keypoints, and the performing abnormal driving behavior detection includes:
Determining the hand distance between two hands according to the position information of the left hand key point and the position information of the right hand key point;
Acquiring a hand partial image, identifying a steering wheel in the hand partial image, and determining the diameter of the steering wheel;
if the hand distance is smaller than the diameter, determining that abnormal driving behaviors exist.
In life, the driving habit of some people is very bad, is used to holding the double hands in the lower half area of the steering wheel, and the direction of the double hands is often not adjusted when an emergency occurs, so that dangerous actions can be timely detected through the mode, and related people can be timely reminded, so that accidents are avoided.
In some embodiments, if two hands are not successfully detected in the steering wheel region, further determining a hand-ear distance between the hand key point and the ear key point according to the position information of the hand key point and the position information of the ear key point, and/or determining a hand-lip distance between the hand key point and the lip key point according to the position information of the hand key point and the position information of the lip key point, so as to correspondingly execute the corresponding detection steps.
In some embodiments, the abnormal driving behavior detection method further includes:
Acquiring position information of a current human body key point of a face, and selecting a face partial image;
Identifying facial key points in the facial partial image and position information of the facial key points based on the facial key point model;
determining a deflection angle according to the position information of the facial key points;
And if the deflection angle is larger than the preset deflection angle threshold value, determining that abnormal driving behaviors exist.
In some embodiments, after selecting the face partial image, before identifying the face key points in the face partial image and the position information of the face key points based on the face key point model, further comprising:
and carrying out normalization processing on the partial facial image.
Optionally, after the partial facial image and the image with the size of 112x112 are input into the face key point model, the coordinate information of the face key points can be obtained.
In some embodiments, the face keypoint model may be an existing correlation model, and one possible recognition result may be as shown in fig. 6. A plurality of recognition points are arranged according to the positions of facial features and contours.
In some embodiments, the number of face keypoints output by the face keypoint model is 68, the distribution of which may be seen in fig. 6.
In some embodiments, the yaw angle includes at least one of pitch angle, roll angle, yaw angle. When the deflection angle comprises at least two of a pitch angle, a roll angle and a yaw angle, the driver can be judged to have a deviation realization behavior when one of the angles is larger than a preset deflection angle threshold value, and abnormal driving behaviors can be determined.
Alternatively, the yaw angle is obtained by:
θ x=atan2(-ryz,rzz) equation (1).
Alternatively, the roll angle is obtained by:
alternatively, the pitch angle is obtained by:
θ z=atan2(-rxy,rxx) equation (3).
Wherein, θ x is yaw angle, θ y is roll angle, and θ z is pitch angle.
Wherein r yz、rzz、rrz、rxy、rxx can be determined according to the following manner:
yaw angle Yaw is the angle of rotation about the Y-axis, pitch angle pitch is the angle of rotation about the x-axis, roll angle roll is the angle of rotation about the z-axis, and then there are:
Rotated in succession by the yaw-pitch-roll, the matrix is described as:
According to the position information of each face key point, r yz、rzz、rrz、rxy、rxx can be determined, and then the deflection angle is determined.
In some embodiments, the abnormal driving behavior detection method further includes:
And if the abnormal driving behavior is determined, sending out an alarm message.
Optionally, the alarm message may be displayed by means of an alarm bell, an alarm lamp and the like carried by the driving tool, and the alarm message may also be transmitted to a corresponding message receiving terminal by means of wired or wireless communication, where the message receiving terminal includes, but is not limited to, a mobile terminal (mobile phone and the like) carried by the driver, a third party platform (such as a traffic police monitoring platform, a driver management platform) and the like.
In some embodiments, the abnormal driving behavior detection method further includes:
and acquiring abnormal driving behavior information, and determining the risk degree of abnormal driving according to a preset rule.
The abnormal driving behavior information includes, but is not limited to, abnormal driving duration, geographical location information of a place where the abnormal driving behavior occurs, running speed of a current driving tool, road section state where the current driving tool is located, specific type of the abnormal behavior, and the like.
The road segment status in which the driving tool is currently located includes, but is not limited to, at least one of long straight roads, multi-turn roads, single-way roads, downhill slopes, uphill slopes, etc.
Specific types of abnormal behavior include, but are not limited to, at least one of smoking, making a call, eating a snack, going away from mind, etc.
The preset rule may be to preset a certain weight score for various abnormal driving behavior information, further determine a comprehensive score, and determine the risk degree of the abnormal driving behavior according to the magnitude of the comprehensive score. The risk level includes, but is not limited to: very dangerous, more dangerous, generally dangerous, etc.
For example, the current abnormal driving behavior information includes turning, long downhill slope, going away for 3 seconds, the total score is determined to be 80 according to the preset weight score, and the preset total score is set to be very dangerous in excess of 70. The degree of risk of abnormal driving at this time is very dangerous.
Alternatively, the warning frequency and the warning mode may be determined according to the risk degree of abnormal driving.
The embodiment of the invention provides an abnormal driving behavior detection method, which comprises the steps of identifying human body key points of a driver in a driver image and position information of the human body key points according to a human body key point model by acquiring the driver image, and if the identified human body key point set comprises target human body key points, acquiring the position relation among the target human body key points to detect the abnormal driving behavior. The problem that the abnormal driving behavior is difficult to detect when the driving tool only has one driver is avoided, the detection speed and accuracy of the abnormal driving behavior are improved, and the driving safety can be effectively improved.
Example two
Referring to fig. 7, an abnormal driving behavior detection apparatus 1000 includes:
an acquisition module 1001 for acquiring a driver image;
The identifying module 1002 is configured to identify a human body key point of a driver in the driver image and position information of the human body key point based on the human body key point model;
The detection module 1003 is configured to, if the identified set of human body keypoints includes a target human body keypoint, obtain a positional relationship between the target human body keypoints, detect abnormal driving behavior, and the target human body keypoints include human body keypoints of at least two preset positions.
In this embodiment, the abnormal driving behavior detection device is substantially provided with a plurality of modules for executing the abnormal driving behavior detection method in the above embodiment, and specific functions and technical effects may be described with reference to the above embodiment, which is not repeated herein.
Referring to fig. 8, an embodiment of the present invention further provides a terminal 1100, including a processor 1101, a memory 1102, and a communication bus 1103;
A communication bus 1103 is used to connect the processor 1101 and the memory connection 1102;
The processor 1101 is configured to execute a computer program stored in the memory 1102 to implement the abnormal driving behavior detection method according to any one of the above embodiments.
An embodiment of the invention also provides a computer-readable storage medium, characterized in that it has stored thereon a computer program,
The computer program is for causing a computer to execute the abnormal driving behavior detection method according to any one of the above embodiments.
The embodiment of the application also provides a non-volatile readable storage medium, where one or more modules (programs) are stored, where the one or more modules are applied to a device, and the instructions (instructions) may cause the device to execute the steps included in the embodiment one of the embodiment of the application.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The above embodiments are merely illustrative of the principles of the present invention and its effectiveness, and are not intended to limit the invention. Modifications and variations may be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the invention. Accordingly, it is intended that all equivalent modifications and variations of the invention be covered by the claims, which are within the ordinary skill of the art, be within the spirit and scope of the present disclosure.