Incoming call reminding method and device, electronic equipment and readable storage medium

By acquiring and judging the status information of the color vibration information, and selecting the appropriate color vibration information or ringtone to play the call reminder, the problem of terminal devices being unable to play call reminders under network abnormalities is solved, and effective call reminders are achieved in any network environment.

CN114979377BActive Publication Date: 2026-03-20BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-22
Publication Date
2026-03-20

AI Technical Summary

Technical Problem

In the event of a network malfunction, the terminal device cannot play the incoming call reminder message normally, causing the user to be unable to handle the incoming call reminder in a timely manner.

Method used

By acquiring the status information of the color vibration information, the system determines whether the first color vibration information or the second color vibration information pre-stored in the terminal device is played as an incoming call reminder message. This includes extracting the pixel features of the frame to be detected, calculating the deviation value and missing rate, using a pre-trained detection model to determine the status of the color vibration information, and retrieving backup color vibration information or ringtones for playback in abnormal situations.

Benefits of technology

Ensure that terminal devices can promptly play incoming call reminder messages in any network environment, improve user experience, reduce computational load, and enhance the reliability of status information determination.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114979377B_ABST
    Figure CN114979377B_ABST
Patent Text Reader

Abstract

The present disclosure provides a call reminder method and device, electronic equipment and readable storage medium, which are applied to a terminal device. The method comprises: in response to receiving a color vibration incoming call signal, obtaining first color vibration information of a network end and determining state information of the first color vibration information; and according to the state information, determining the first color vibration information or second color vibration information pre-stored in the terminal device as a call reminder message and playing the call reminder message. The present disclosure enables the terminal device to timely determine the state of the current received color vibration information, and select appropriate color vibration information as a call message for playing, so that the terminal device can play the color vibration information after receiving the color vibration incoming call signal regardless of the network environment, and the user can timely process the call reminder message.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the field of mobile communication, and in particular, to a call reminding method and device, an electronic device, and a readable storage medium. BACKGROUND

[0002] Currently, more and more users choose to use the color vibration service in the communication service, so that the called terminal can obtain the audio and video resources provided by the network side in the call interface. However, in the case of network exception, the terminal device can usually only receive abnormal color vibration information, so that the call reminding message cannot be normally played, resulting in that the user cannot handle the call reminding message in time. SUMMARY

[0003] Therefore, the present disclosure provides a call reminding method and device, an electronic device, and a readable storage medium to at least solve the problems in the related art.

[0004] According to a first aspect of an embodiment of the present disclosure, a call reminding method is provided, applied to a terminal device, and the method comprises:

[0005] In response to receiving a color vibration call signal, first color vibration information of a network side is obtained;

[0006] State information of the first color vibration information is determined;

[0007] According to the state information, the first color vibration information or second color vibration information pre-stored in the terminal device is determined as a call reminding message and played.

[0008] According to any one of the embodiments of the present disclosure, the determination of the state information of the first color vibration information comprises:

[0009] At least one to-be-detected frame in the first color vibration information is obtained;

[0010] Pixel features of pixels of each to-be-detected frame are extracted;

[0011] According to the pixel features of each to-be-detected frame, the state information of the first color vibration information is determined.

[0012] According to any one of the embodiments of the present disclosure, the extraction of the pixel features of the pixels of each to-be-detected frame comprises:

[0013] Pixel values of pixels at a specific position in each to-be-detected frame are extracted.

[0014] According to any one of the embodiments of the present disclosure, the at least one to-be-detected frame comprises a first to-be-detected frame and a second to-be-detected frame;

[0015] The state information of the first color vibration information is determined according to the pixel feature of each pixel of the frame to be detected.

[0016] A first deviation value between the first pixel feature of the first frame to be detected and the second pixel feature of the second frame to be detected is determined.

[0017] In a case where the first deviation value is greater than a set threshold value, the state information of the first color vibration information is determined as first state information.

[0018] In a case where the first deviation value is less than or equal to the set threshold value, the state information of the first color vibration information is determined as second state information.

[0019] According to any one of the embodiments of the present disclosure, the state information of the first color vibration information is determined according to the pixel feature of each pixel of the frame to be detected.

[0020] A plurality of second deviation values in the at least one frame to be detected are determined, wherein the second deviation value is a deviation value between pixel features of two adjacent frames to be detected.

[0021] In a case where each of the plurality of second deviation values is greater than a set threshold value, the state information of the first color vibration information is determined as first state information.

[0022] In a case where at least one of the plurality of second deviation values is less than or equal to a set threshold value, the state information of the first color vibration information is determined as second state information.

[0023] According to any one of the embodiments of the present disclosure, the state information of the first color vibration information is determined according to the pixel feature of each pixel of the frame to be detected.

[0024] The pixel feature is input into a detection model that is pre-trained, and the detection model outputs the state information of the first color vibration information.

[0025] According to any one of the embodiments of the present disclosure, the method further comprises:

[0026] Third color vibration information is obtained, wherein the third color vibration information comprises color vibration information whose state information is second state information.

[0027] The detection model is trained according to the third color vibration information until the detection model converges.

[0028] According to any one of the embodiments of the present disclosure, the first color vibration information is composed of a plurality of data packets with serial numbers, and the state information of the first color vibration information is determined as follows:

[0029] The missing rate of the data packets is determined based on their sequence numbers.

[0030] In response to the missing rate being less than or equal to the missing rate threshold, the state information of the first color vibration information is determined to be the first state information;

[0031] In response to the missing rate being greater than the missing rate threshold, the state information of the first color vibration information is determined to be the second state information.

[0032] In any embodiment of this disclosure, determining the first color vibration information or the second color vibration information pre-stored in the terminal device as an incoming call reminder message and playing it based on the status information includes:

[0033] In response to the status information of the first color vibration information being the first status information, the first color vibration information is identified as an incoming call reminder message and played.

[0034] In response to the first color vibration information being the second status information, the second color vibration information pre-stored in the terminal device is identified as an incoming call reminder message and played.

[0035] In conjunction with any embodiment of this disclosure, the method further includes:

[0036] In response to the first color vibration information being the second status information and the terminal device not having the second color vibration information pre-stored, the preset incoming call ringtone is determined as the incoming call reminder message and played.

[0037] In any embodiment of this disclosure, after receiving the color vibration incoming call signal, the method further includes:

[0038] Adjust the resource usage of the terminal device to reserve resource space for the first color vibration information.

[0039] According to a second aspect of the present disclosure, a call reminder device is provided, applied to a terminal device, the device comprising:

[0040] The color vibration information acquisition module is used to: in response to receiving a color vibration incoming signal, acquire the first color vibration information from the network end;

[0041] The status information determination module is used to: determine the status information of the first color vibration information;

[0042] The reminder message determination module is used to: determine the first color vibration information or the second color vibration information pre-stored in the terminal device as an incoming call reminder message and play it, based on the status information.

[0043] In combination with any of the embodiments of the present disclosure, the state information determination module, in determining the state information of the first chroma vibration information, is specifically configured to:

[0044] obtain at least one to-be-detected frame in the first chroma vibration information;

[0045] extract a pixel feature of each pixel of the to-be-detected frame;

[0046] determine the state information of the first chroma vibration information according to the pixel feature of each to-be-detected frame.

[0047] In combination with any of the embodiments of the present disclosure, the state information determination module, in extracting the pixel feature of each pixel of the to-be-detected frame, is specifically configured to:

[0048] extract a pixel value of a pixel at a specific position in each to-be-detected frame.

[0049] In combination with any of the embodiments of the present disclosure, the at least one to-be-detected frame includes a first to-be-detected frame and a second to-be-detected frame;

[0050] The state information determination module, in determining the state information of the first chroma vibration information according to the pixel feature of each to-be-detected frame, is specifically configured to:

[0051] determine a first deviation value between a first pixel feature of the first to-be-detected frame and a second pixel feature of the second to-be-detected frame;

[0052] determine that the state information of the first chroma vibration information is first state information in a case where the first deviation value is greater than a set threshold value;

[0053] determine that the state information of the first chroma vibration information is second state information in a case where the first deviation value is less than or equal to the set threshold value.

[0054] In combination with any of the embodiments of the present disclosure, the state information determination module, in determining the state information of the first chroma vibration information according to the pixel feature of each to-be-detected frame, is specifically configured to:

[0055] determine a plurality of second deviation values in the at least one to-be-detected frame, wherein the second deviation value is a deviation value between pixel features of two adjacent to-be-detected frames;

[0056] determine that the state information of the first chroma vibration information is first state information in a case where each of the plurality of second deviation values is greater than a set threshold value;

[0057] In a case where at least one of the plurality of second deviation values is less than or equal to a set threshold value, it is determined that the state information of the first color vibration information is second state information.

[0058] In combination with any embodiment of the present disclosure, the state information determination module, when determining the state information of the first color vibration information according to the pixel feature of each pixel of the frame to be detected, is specifically configured to:

[0059] input the pixel feature into a detection model that has been pre-trained, and the detection model outputs the state information of the first color vibration information.

[0060] In combination with any embodiment of the present disclosure, the device further comprises a training module configured to:

[0061] obtain third color vibration information, wherein the third color vibration information comprises color vibration information whose state information is second state information;

[0062] train the detection model according to the third color vibration information until the detection model converges.

[0063] In combination with any embodiment of the present disclosure, the reminder message determination module, when determining the first color vibration information or second color vibration information pre-stored in the terminal device as a call reminder message and playing it according to the state information, is specifically configured to:

[0064] in response to the state information of the first color vibration information being first state information, determine the first color vibration information as a call reminder message and play it;

[0065] in response to the state information of the first color vibration information being second state information, determine the second color vibration information pre-stored in the terminal device as a call reminder message and play it.

[0066] In combination with any embodiment of the present disclosure, the first color vibration information is composed of a plurality of data packets with serial numbers, and the state information determination module, when determining the state information of the first color vibration information, is specifically configured to:

[0067] determine a missing rate of the data packets according to the serial numbers of the plurality of data packets;

[0068] in response to the missing rate being less than or equal to a missing rate threshold value, determine that the state information of the first color vibration information is first state information;

[0069] in response to the missing rate being greater than the missing rate threshold value, determine that the state information of the first color vibration information is second state information.

[0070] In combination with any embodiment of the present disclosure, the device further comprises a ringtone reminder module configured to:

[0071] In response to the state information of the first color vibration information being second state information and the terminal device not pre-storing the second color vibration information, a preset ring tone is determined as the incoming call reminding message and played.

[0072] According to any of the embodiments of the present disclosure, after receiving the color vibration incoming call signal, the device further comprises a resource adjustment module configured to:

[0073] Adjust the resource occupation of the terminal device and reserve a resource space for the first color vibration information.

[0074] According to a third aspect of the embodiments of the present disclosure, an electronic device is provided, comprising:

[0075] a memory configured to store executable instructions of the processor;

[0076] a processor configured to execute the executable instructions in the memory to implement the steps of the method according to any of the embodiments of the first aspect.

[0077] According to a fourth aspect of the embodiments of the present disclosure, a computer readable storage medium is provided, which stores a computer program executable by a processor to implement the steps of the method according to any of the embodiments of the first aspect.

[0078] The technical solutions provided by the embodiments of the present disclosure can include the following beneficial effects:

[0079] By obtaining the state information of the color vibration information and selecting one of the first color vibration information of the network side or the second color vibration information pre-stored locally as the incoming call reminding message according to the state information, the terminal device can determine the state of the currently received color vibration information in time and select appropriate color vibration information as the incoming call message for playing, so that the terminal device can play the color vibration information after receiving the color vibration incoming call signal regardless of the network environment, and the user can process the incoming call reminding message in time.

[0080] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS

[0081] The accompanying drawings incorporated in and forming a part of the specification, illustrate embodiments consistent with the present disclosure and serve to explain the principles of the present disclosure together with the description.

[0082] Figure 1 is a flowchart of an incoming call reminding method according to an exemplary embodiment of the present disclosure;

[0083] Figure 2is a flow chart of a method for determining state information according to an example embodiment of the present disclosure;

[0084] Figure 3 is a flow chart of another method for determining state information according to an example embodiment of the present disclosure;

[0085] Figure 4 is a flow chart of another method for determining state information according to an example embodiment of the present disclosure;

[0086] Figure 5 is a flow chart of another method for determining state information according to an example embodiment of the present disclosure;

[0087] Figure 6 is a flow chart of another incoming call reminding method according to an example embodiment of the present disclosure;

[0088] Figure 7 is a schematic diagram of an incoming call reminding apparatus according to an example embodiment of the present disclosure;

[0089] Figure 8 is a block diagram of an electronic device according to an example embodiment of the present disclosure. DETAILED DESCRIPTION

[0090] The example embodiments will now be described in detail with reference to the accompanying drawings. If the description of the example embodiments relates to the accompanying drawings, the same numbers in different drawings represent the same or similar elements. The following example embodiments are not representative of all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0091] The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the present disclosure. As used in the present disclosure and the appended claims, the singular forms "a," "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.

[0092] It will be understood that, although the terms first, second, third, etc. can be used herein to describe various information, these terms are not intended to denote a temporal or chronological order. Rather, these terms are used solely to distinguish one from another only. For example, a first information can be termed a second information, and, similarly, a second information can also be termed a first information, without departing from the scope of the present disclosure. The word "if' as used herein means "when" or "in response to the determination" or "in response to the fulfillment of a condition."

[0093] Figure 1 A flow chart of a call reminder method according to an exemplary embodiment of the present disclosure is shown.

[0094] In step S101, in response to receiving the color vibration incoming call signal, the first color vibration information of the network end is acquired.

[0095] In the scenario of taking color vibration as the incoming call reminder message, the baseband processor (modem) of the terminal device will first receive the color vibration incoming call signal from the network end, which can be an invitation (INVITE) information carrying an "Alert-Info" header field, used to prompt the terminal device that the first color vibration information from the network end will be received. Then, when the terminal device receives the audio and video data carrying the media stream direction mark (PEM) as sendrecv, the video media line direction attribute as sendonly, the audio media line direction attribute as sendrecv, and the attribute parameter a=content:g.3gpp.crs in the audio and video media attribute line, it is determined that the first color vibration information is acquired.

[0096] In step S102, the state information of the first color vibration information is determined.

[0097] Optionally, after acquiring the first color vibration information, it can be further determined whether the first color vibration information is in an abnormal state by determining the state information of the color vibration information and reporting to the application processor (AP: Application processor). In the case of network environment exception or error of the terminal device in receiving the first color vibration information, the first color vibration information usually has abnormal conditions, for example, the video data carried in the first color vibration information has picture frame abnormality, which can cause the terminal device to be unable to normally play the first color vibration information. By determining that the first color vibration information is in an abnormal state in a timely manner, the terminal device can obtain color vibration information through other ways to normally play the incoming call reminder message.

[0098] In step S103, according to the state information, the first color vibration information or the second color vibration information pre-stored in the terminal device is determined as the incoming call reminder message and played.

[0099] Optionally, in the case that the first color vibration information is in a normal state, the first color vibration information can provide normal audio and video data, and the application processor can determine the first color vibration information as the incoming call reminder message and play it; in the case that the first color vibration information is in an abnormal state, the second color vibration information pre-stored in the terminal device can be called and determined as the incoming call reminder message and played.

[0100] The terminal device can pre-store multiple second color vibration information, and in the case that the first color vibration information is in an abnormal state, randomly select one of the second color vibration information or select the second color vibration information in a predetermined order as the incoming call reminder message, so that the user can still obtain diversified color vibration information in the case that the first color vibration information is abnormal, and the user experience is improved.

[0101] The scheme of the present disclosure acquires state information of color vibration information, and selects one of the first color vibration information of the network side or the second color vibration information pre-stored locally as the incoming call reminder message according to the state information, so that the terminal device can determine the state of the currently received color vibration information in time, and select appropriate color vibration information as the incoming call message for playing, so that the terminal device can play the color vibration information after receiving the color vibration incoming call signal no matter what network environment it is in, and the user can process the incoming call reminder message in time.

[0102] In an optional embodiment, the state information of the first color vibration information can be determined in the manner as shown in Figure 2 The specific steps include steps S1021 to S1023.

[0103] In step S1021, at least one to-be-detected frame in the first color vibration information is acquired.

[0104] The to-be-detected frame is a key picture frame for determining whether the first color vibration information is in a normal state or an abnormal state, and can be determined by a pre-set frame number selection rule. For example, in the video data of the first color vibration information, at least one picture frame is extracted as the to-be-detected frame every X frames.

[0105] In step S1022, the pixel features of each to-be-detected frame pixel are extracted.

[0106] The pixel features are used to determine the picture condition of the to-be-detected frame. In an example, the pixel value of a pixel at a specific position in each to-be-detected frame can be taken as the pixel feature of the to-be-detected frame pixel. Specifically, at least one pixel value of a pixel can be extracted as the pixel feature of the to-be-detected frame pixel every Y pixels on a set number of rows of the to-be-detected frame.

[0107] In step S1023, the state information of the first color vibration information is determined according to the pixel features of each to-be-detected frame.

[0108] The pixel feature can be used to determine whether the video data in the first color vibrancy information is in a normal state, i.e., to determine the state information of the first color vibrancy information. For example, the pixel features of N frames to be detected are continuously acquired, and whether the video data has a picture frame abnormality is determined according to the change of the pixel features of the different frames to be detected at the corresponding positions, so as to determine the state information of the first color vibrancy information.

[0109] According to the pixel feature of each frame to be detected, the scheme provided in the present disclosure can determine whether the video data carried in the first color vibrancy information has a picture frame abnormality, so as to determine the state information of the first color vibrancy information.

[0110] In some optional embodiments of the present disclosure, the at least one frame to be detected includes a first frame to be detected and a second frame to be detected, and in the method provided in the present disclosure, one method for determining the state information of the first color vibrancy information includes steps S1023A to S1023C as shown. Figure 3

[0111] In step S1023A, a first deviation value between the first pixel feature of the first frame to be detected and the second pixel feature of the second frame to be detected is determined.

[0112] The first deviation value represents the picture deviation degree of the second frame to be detected and the first frame to be detected, and is used to determine whether the video data has a picture frame abnormality. For example, the pixel features of N pixels at a specific position of each row in the first frame to be detected and the second frame to be detected are extracted, the pixel value of the pixel of the second frame to be detected at each corresponding position is subtracted from the pixel value of the pixel of the first frame to be detected to obtain a pixel difference value, and the average value of all pixel difference values in the two frames to be detected is taken as the first deviation value.

[0113] In step S1023B, when the first deviation value is greater than a set threshold value, the state information of the first color vibrancy information is determined to be first state information.

[0114] The set threshold value represents the deviation degree between different picture frames in the color vibrancy information in the case of a picture frame abnormality. Optionally, when the first deviation value is greater than the set threshold value, the pictures of the first frame to be detected and the second frame to be detected have obvious differences, the video data in the first color vibrancy information can be normally played, it is determined that the first color vibrancy information does not have a picture frame abnormality, and the state information is the first state information.

[0115] In step S1023C, when the first deviation value is less than or equal to the set threshold value, the state information of the first color vibrancy information is determined to be second state information. ​

[0116] Optionally, in a case that the first deviation value is less than or equal to a set threshold, there is no obvious difference between the pictures of the first to-be-detected frame and the second to-be-detected frame, it is determined that the first color vibrancy information has a picture frame abnormality, and the state information is the second state information.

[0117] According to the comparison result of the deviation value between the pixel features of the two to-be-detected frames and the set threshold, the method determines whether the video data carried in the first color vibrancy information has a picture frame abnormality, thereby determining the state information of the first color vibrancy information. In addition, since the method does not involve a complex operation process, the operation pressure of the terminal device can be effectively reduced.

[0118] In the method, another method for determining the state information of the first color vibrancy information is as shown in Figure 4 The method specifically includes steps S1023a to S1023c.

[0119] In step S1023a, a plurality of second deviation values in the at least one to-be-detected frame are determined, wherein the second deviation value is a deviation value between pixel features of two adjacent to-be-detected frames.

[0120] The second deviation value represents the deviation degree of the pixel features of a plurality of groups of different to-be-detected frames at corresponding positions. Optionally, the second deviation values between a group of corresponding to-be-detected frames can be obtained according to a preset rule, such as every M frames, until three groups are obtained.

[0121] In step S1023b, in a case that each of the plurality of second deviation values is greater than a set threshold, it is determined that the state information of the first color vibrancy information is first state information.

[0122] In a case that each of the plurality of second deviation values is greater than a set threshold, the video data of the first color vibrancy information can be normally played in a relatively continuous picture frame, it is determined that the first color vibrancy information does not have a picture frame abnormality, and the state information is the first state information.

[0123] In step S1023c, in a case that at least one of the plurality of second deviation values is less than or equal to a set threshold, it is determined that the state information of the first color vibrancy information is second state information.

[0124] In a case that at least one of the plurality of second deviation values is less than or equal to a set threshold, the video data of the first color vibrancy information cannot be normally played due to a picture frame abnormality in a continuous picture frame, and the state information is the second state information.

[0125] The scheme disclosed in the present disclosure determines whether the video data of the first color vibrancy information can always remain normal playing within a relatively continuous picture frame by determining the relationship between the second deviation value of a plurality of groups of to-be-detected frames and the set threshold, thereby determining the state information of the first color vibrancy information, and improving the reliability of the state information determination result.

[0126] It can be understood that, in the scheme disclosed in the present disclosure, in addition to the above two methods of determining the state information of the first color vibrancy information, the above process can also be performed by a pre-trained detection model. Specifically, the detection model can be trained in the following manner:

[0127] The third color vibrancy information containing a large amount of video data with abnormal picture frames annotated by humans is used as training data of the detection model to train the detection model.

[0128] For example, in each video data in the third color vibrancy information, every X frames are extracted to obtain two adjacent picture frames as a group of training frames, and on a set number of rows of the training frames, every Y pixels are selected to obtain N pixel values as pixel features of the training frame pixels, the pixel values on the pixel positions corresponding to each group of training frames are subtracted to obtain pixel difference values, and the average value of the pixel difference values in each video information in the third color vibrancy information is used as the set threshold.

[0129] It can be understood that, in the process of training the detection model, the color vibrancy information of the video data with abnormal picture frames and the color vibrancy information of the video data with normal picture frames can also be used as training data to train the detection model. The detection model can be a machine learning model or other model that can realize classification and identification.

[0130] In response to the terminal device obtaining the first color vibrancy information, the detection model can be initialized and assigned values, and after extracting the pixel features of each to-be-detected frame pixel, the pixel features are input into the detection model to output the state information of the first color vibrancy information.

[0131] It can be understood that, in the scheme disclosed in the present disclosure, the state information of the first color vibrancy information can be determined by a pre-trained detection model, or the size relationship between the first deviation value and the set threshold can be calculated by a preset pixel matrix, or the state information of the first color vibrancy information can be obtained by comparing the pixel values of the to-be-detected frames obtained with the set threshold generated by the detection model. The present disclosure does not limit this.

[0132] The scheme disclosed in the present disclosure improves the operation efficiency of the terminal device by outputting the state information of the first color vibration information through a preset detection model. The terminal device can determine the state of the currently received color vibration information in time and select appropriate color vibration information as the incoming call message for playing.

[0133] In some optional embodiments of the present disclosure, the first color vibration information is composed of a plurality of data packets with sequence numbers. In the method disclosed in the present disclosure, another method for determining the state information of the first color vibration information includes steps S102A-S102C. Figure 5

[0134] In step S102A, the missing rate of the data packets is determined according to the sequence numbers of the data packet header identification (call id).

[0135] The data packets of the first color vibration information can be received by a baseband processor (modem), and the sequence numbers (SN) of the data packet header identification (call id) are traversed. When a sequence number is discontinuous, the number of missing data packets is accumulated and increased by one, so as to obtain the total number of missing data packets in the first color vibration information.

[0136] The maximum value of the sequence numbers of the data packet header identification traversed is determined as the total number of data packets in the first color vibration information.

[0137] The proportion of the total number of missing data packets in the total number of data packets is taken as the missing rate of the data packets.

[0138] In step S102B, in response to the missing rate being less than or equal to a missing rate threshold, the state information of the first color vibration information is determined to be first state information.

[0139] When the missing rate is less than or equal to the missing rate threshold, the first color vibration information does not have a large amount of missing data and can be normally played, and the state information is the first state information.

[0140] In step S102C, in response to the missing rate being greater than the missing rate threshold, the state information of the first color vibration information is determined to be second state information.

[0141] When the missing rate is greater than the missing rate threshold, the first color vibration information has a large amount of missing data and cannot be normally played, and the state information is the first state information.

[0142] The scheme disclosed in the present disclosure determines whether the first color vibration information has sufficient data quantity to maintain normal playing by determining the missing rate of the data packets in the first color vibration information, thereby determining the state information of the first color vibration information, and improving the reliability of the determination result of the state information.​

[0143] In an optional embodiment, the method further comprises two cases of determining the first ringtone information or the second ringtone information pre-stored in the terminal device as the incoming call reminding message and playing the same according to the state information.

[0144] In the first case, the first ringtone information is determined as the incoming call reminding message and played in response to the state information of the first ringtone information being the first state information, i.e. the first ringtone information from the network side is used as the incoming call reminding message to enable the user to obtain the ringtone information from the calling terminal device.

[0145] In the second case, the second ringtone information pre-stored in the terminal device is determined as the incoming call reminding message and played in response to the state information of the first ringtone information being the second state information, i.e. the second ringtone information pre-stored in the terminal device is used as the incoming call reminding message and played.

[0146] If the state information of the first ringtone information is the second state information and the terminal device does not pre-store the second ringtone information, a preset incoming call ringtone can be determined as the incoming call reminding message and played, thereby ensuring that the user can receive the incoming call reminding message from the calling terminal device in any case.

[0147] The scheme of the present disclosure enables the first ringtone information or the second ringtone information to be used as the incoming call reminding message and played in response to different state information of the first ringtone information, thereby enabling the terminal device to play the ringtone information after receiving the ringtone incoming call signal in any network environment. Further, in the case where the terminal device does not pre-store the second ringtone information, the preset incoming call ringtone can be used as the incoming call reminding message, thereby enabling the terminal device to provide the user with the incoming call reminding message in any setting case.

[0148] In an optional embodiment, after receiving the ringtone incoming call signal, the method further comprises:

[0149] adjusting the resource occupation of the terminal device and reserving the resource space of the first ringtone information.

[0150] Optionally, in response to receiving the invitation (INVITE) information carrying the "Alert-Info" header field from the network side as the color ring call signal, the terminal device adjusts the resource occupation and confirms the resource reservation of the initial call media negotiation, that is, under the preconditioning process, after the terminal device receives the resource reservation confirmation update information sent by the calling terminal through the network side, the terminal device returns the 200 update information to confirm that the self-resource reservation is completed and there is enough resource space to receive the first color ring information. Then, when the terminal device receives the audio and video data carrying the PEM: sendrecv, the video media line direction attribute is sendonly, the audio media line direction attribute is sendrecv, and the audio and video media lines both carry the a=content: g.3gpp.crs parameter, it is determined that the first color ring information is obtained.

[0151] The method disclosed in the present disclosure ensures that the terminal device has enough resource space to receive the first color ring information by reserving the resource space of the first color ring information in advance.

[0152] Figure 6 Another incoming call reminder method flowchart according to an exemplary embodiment of the present disclosure is shown.

[0153] In step S601, in response to receiving the color ring call signal, the resource occupation of the terminal device is adjusted, and the resource space of the first color ring information is reserved.

[0154] In step S602, the first color ring information is obtained by the baseband processor (modem) of the terminal device.

[0155] In step S603, the detection model is initialized.

[0156] In step S604, the pixel features of each of the to-be-detected frames are extracted.

[0157] In step S605, the pixel features are input into the detection model which is trained in advance, and the detection model outputs the state information of the first color ring information.

[0158] In step S606, the state information of the first color ring information is judged, in response to the state information being the first state information, step S607 is entered, and in response to the state information being the second state information, step S609 is entered.

[0159] In step S607, it is determined whether the number of times that the detection model determines the state information of the first color vibration information as the first state information has reached the set number threshold. In response to reaching the set number threshold, step S608 is entered. In response to not reaching the set number threshold, step S602 is returned to.

[0160] In step S608, the first state information is reported to the application processor of the terminal device.

[0161] In step S609, the second state information is reported to the application processor of the terminal device.

[0162] In step S610, in response to the state information of the first color vibration information being the first state information, the first color vibration information is determined as a call reminder message and played.

[0163] In response to the state information of the first color vibration information being the second state information, the second color vibration information pre-stored in the terminal device is determined as a call reminder message and played.

[0164] The scheme of the present disclosure acquires state information of color vibration information, and selects one of first color vibration information of the network side or second color vibration information pre-stored locally as a call reminder message according to the state information, so that the terminal device can determine the state of the currently received color vibration information in time, and select appropriate color vibration information as a call message for playing. In addition, by making the detection model determine the number of times that the state information of the first color vibration information is the first state information to reach a set number threshold, the reliability of the state information determination result is improved. The terminal device can play color vibration information after receiving a color vibration call signal regardless of the network environment, and the user can process the call reminder message in time.

[0165] For each of the foregoing method embodiments, in order to simply describe, they are all expressed as a combination of a series of actions, but those skilled in the art should know that the present disclosure is not limited by the order of the described actions, because according to the present disclosure, certain steps can be performed in other orders or simultaneously.

[0166] Secondly, those skilled in the art should know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present disclosure.

[0167] Corresponding to the foregoing application function implementation method embodiments, the present disclosure also provides application function implementation device and corresponding terminal embodiments.

[0168] A device block diagram of a call reminder according to an example embodiment of the present disclosure is shown in FIG. 8. Figure 7As shown, the device applied to a terminal device comprises:

[0169] a color vibration information acquisition module 701, configured to acquire first color vibration information of a network side in response to receiving a color vibration incoming call signal;

[0170] a state information determination module 702, configured to determine state information of the first color vibration information;

[0171] a reminding message determination module 703, configured to determine the first color vibration information or second color vibration information pre-stored in the terminal device as an incoming call reminding message and play the same according to the state information.

[0172] According to any one of the embodiments of the present disclosure, when determining the state information of the first color vibration information, the state information determination module is specifically configured to:

[0173] acquire at least one to-be-detected frame in the first color vibration information;

[0174] extract pixel features of pixels in each to-be-detected frame;

[0175] determine the state information of the first color vibration information according to the pixel features of each to-be-detected frame.

[0176] According to any one of the embodiments of the present disclosure, when extracting the pixel features of pixels in each to-be-detected frame, the state information determination module is specifically configured to:

[0177] extract pixel values of pixels at a specific position in each to-be-detected frame.

[0178] According to any one of the embodiments of the present disclosure, the at least one to-be-detected frame comprises a first to-be-detected frame and a second to-be-detected frame;

[0179] When determining the state information of the first color vibration information according to the pixel features of pixels in each to-be-detected frame, the state information determination module is specifically configured to:

[0180] determine a first deviation value between a first pixel feature of the first to-be-detected frame and a second pixel feature of the second to-be-detected frame;

[0181] determine that the state information of the first color vibration information is first state information in a case where the first deviation value is greater than a set threshold value;

[0182] determine that the state information of the first color vibration information is second state information in a case where the first deviation value is less than or equal to the set threshold value.

[0183] In combination with any of the embodiments of the present disclosure, the state information determination module, when determining the state information of the first color vibration information according to the pixel feature of each pixel of the to-be-detected frame, is specifically configured to:

[0184] determine a plurality of second deviation values in the at least one to-be-detected frame, wherein the second deviation value is a deviation value between pixel features of two adjacent to-be-detected frames;

[0185] in a case where each of the plurality of second deviation values is greater than a set threshold value, determine that the state information of the first color vibration information is first state information;

[0186] in a case where at least one of the plurality of second deviation values is less than or equal to the set threshold value, determine that the state information of the first color vibration information is second state information.

[0187] In combination with any of the embodiments of the present disclosure, the state information determination module, when determining the state information of the first color vibration information according to the pixel feature of each pixel of the to-be-detected frame, is specifically configured to:

[0188] input the pixel feature into a detection model that has been pre-trained, and the detection model outputs the state information of the first color vibration information.

[0189] In combination with any of the embodiments of the present disclosure, the device further comprises a training module configured to:

[0190] obtain third color vibration information, wherein the third color vibration information comprises color vibration information whose state information is second state information;

[0191] train the detection model according to the third color vibration information until the detection model converges.

[0192] In combination with any of the embodiments of the present disclosure, the first color vibration information is composed of a plurality of data packets with sequence numbers, and the state information determination module, when determining the state information of the first color vibration information, is specifically configured to:

[0193] determine a missing rate of the data packets according to the sequence numbers of the plurality of data packets;

[0194] in response to the missing rate being less than or equal to a missing rate threshold value, determine that the state information of the first color vibration information is first state information;

[0195] in response to the missing rate being greater than the missing rate threshold value, determine that the state information of the first color vibration information is second state information.

[0196] In combination with any of the embodiments of the present disclosure, the reminder message determination module is specifically configured to:

[0197] determine the first ring information as the incoming call reminder message and play it in response to the state information of the first ring information being the first state information;

[0198] determine the second ring information pre-stored in the terminal device as the incoming call reminder message and play it in response to the state information of the first ring information being the second state information.

[0199] In combination with any of the embodiments of the present disclosure, the apparatus further comprises a ringtone reminder module configured to:

[0200] determine a preset incoming call ringtone as the incoming call reminder message and play it in response to the state information of the first ring information being the second state information and the second ring information not being pre-stored in the terminal device.

[0201] In combination with any of the embodiments of the present disclosure, after receiving the ringtone incoming call signal, the apparatus further comprises a resource adjustment module configured to:

[0202] adjust resource occupation of the terminal device and reserve resource space of the first ring information.

[0203] For the apparatus embodiment, since it basically corresponds to the method embodiment, the relevant part can be referred to the part of the method embodiment. The apparatus embodiment described above is only illustrative, and the units described above as separate components can or can not be physically separated, and the components displayed as units can or can not be physical units, i.e. they can be located in one place or distributed on multiple network units. According to actual needs, part or all of the modules can be selected to achieve the purpose of the present disclosure. Those skilled in the art can understand and implement it without creative labor.

[0204] Figure 8 An electronic device block diagram according to an exemplary embodiment of the present disclosure is shown.

[0205] Please refer to the accompanying drawings Figure 8 which exemplarily shows a block diagram of an electronic device. For example, the apparatus 800 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0206] Please refer to the accompanying drawings Figure 8The device 800 can include one or more of the following components: a processing component 802, a memory 804, a power supply component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.

[0207] The processing component 802 generally controls the overall operation of the device 800 such as the operation of the display, the telephone call, the data communication, the camera operation and the recording operation. The processing component 802 can include one or more processors 820 to execute instructions to complete the steps of the methods described above. Furthermore, the processing component 802 can include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0208] The memory 804 is configured to store various types of data to support the operation of the device 800. Examples of these data include instructions for any application or methods operating on the device 800, contact data, phonebook data, messages, pictures, videos, and so on. The memory 804 can be implemented by any type of volatile or non-volatile storage devices or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0209] The power supply component 806 supplies the electric power for the various components of the device 800. The power supply component 806 can include a power supply management system, one or more power supplies, and other components associated with generating, managing and distributing electric power for the device 800.

[0210] The multimedia component 808 includes a screen providing an output interface between the device 800 and a user. In some embodiments, the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes the touch panel, the screen can be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense a touch, a slide and a gesture on the touch panel. The touch sensors can not only sense a boundary of a touching or a sliding action, but also detect duration and pressure related to the touching or sliding action. In some embodiments, the multimedia component 808 includes a front camera and / or a back camera. The front camera and / or the back camera can receive external multimedia data when the device 800 is in an operation mode, such as a shooting mode or a video mode. Each of the front and back cameras can be a fixed optical lens system or have a focal length and optical zoom capability.

[0211] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC) that is configured to receive an external audio signal when the device 800 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 includes a speaker for outputting an audio signal.

[0212] The I / O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which can be a keypad, a click wheel, buttons, and the like. The buttons can include, but are not limited to, a home button, a volume button, a start button, and a lock button.

[0213] The sensor component 814 includes one or more sensors for providing status assessments of various aspects of the device 800. For example, the sensor component 814 can detect an open / closed position of the device 800, relative positioning of components, such as a display and a keypad of the device 800, a change of position of the device 800 or a component of the device 800, presence or absence of user contact with the device 800, changes in orientation or acceleration / deceleration / velocity of the device 800, and temperature changes of the device 800, among a plethora of other examples. The sensor component 814 can include proximity sensor configured to detect presence of an object in a proximity without any physical touch. The sensor component 814 can include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 814 can include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0214] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G, or 5G, or a combination thereof. In an example embodiment, the communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In an example embodiment, the communication component 816 includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technology.

[0215] In an exemplary embodiment, the apparatus 800 can be implemented using one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components, for performing the power supply method of the electronic device.

[0216] In an exemplary embodiment, the present disclosure provides a non-transitory computer readable storage medium including instructions, for example, the memory 804 including instructions, which can be executed by the processor 820 of the apparatus 800 to accomplish the power supply method of the electronic device. For example, the non-transitory computer readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disc, and an optical data storage device, etc.

[0217] Other embodiments of the present disclosure will be readily apparent to those skilled in the art upon considering the disclosure herein, the generic principles defined herein can be applied to other embodiments without departing from the scope of the present disclosure. The present application is intended to cover any variations, uses or adaptive changes of the present disclosure following the general principles of the present disclosure and including common knowledge or conventional technical means in the art which are not disclosed by the present disclosure. The specification and embodiments are only considered as exemplary, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0218] It should be understood that the present disclosure is not limited to the precise structures as already described above and shown in the drawings, and various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is only limited by the appended claims.

Claims

1. A method for reminding incoming calls, characterized in that, Applied to a terminal device, the method includes: In response to receiving a color vibration incoming call signal, the first color vibration information from the network end is obtained; Determine the status information of the first color vibration information; Based on the status information, the first color vibration information or the second color vibration information pre-stored in the terminal device is determined as the incoming call reminder message and played. The determination of the status information of the first color vibration information includes: The status information of the first color vibration information is determined by judging whether there is an abnormal frame in the video data carried in the first color vibration information; The determination of the status information of the first color vibration information includes: After acquiring the first color vibration information, if the first deviation value is less than or equal to a set threshold, the status information of the first color vibration information is determined to be the second status information. The first deviation value represents the degree of image deviation between the first and second frames to be detected in the video data, and the second status information indicates that there is an image frame abnormality in the video data.

2. The method according to claim 1, characterized in that, The determination of the status information of the first color vibration information includes: Obtain at least one frame to be detected from the first color vibration information; Extract the pixel features of each pixel in the frame to be detected; The state information of the first color vibration information is determined based on the pixel features of each frame to be detected.

3. The method according to claim 2, characterized in that, The step of extracting pixel features for each pixel in the frame to be detected includes: Extract the pixel value of the pixel at a specific position in each frame to be detected.

4. The method according to claim 2, characterized in that, The at least one frame to be detected includes the first frame to be detected and the second frame to be detected; The step of determining the state information of the first color vibration information based on the pixel features of each pixel in the frame to be detected includes: Determine a first deviation value between the first pixel feature of the first frame to be detected and the second pixel feature of the second frame to be detected; If the first deviation value is greater than a set threshold, the state information of the first color vibration information is determined to be the first state information; If the first deviation value is less than or equal to the set threshold, the status information of the first color vibration information is determined to be the second status information.

5. The method according to claim 2, characterized in that, The step of determining the state information of the first color vibration information based on the pixel features of each pixel in the frame to be detected includes: Determine a plurality of second deviation values ​​in the at least one frame to be detected, wherein the second deviation values ​​are the deviation values ​​between pixel features of two adjacent frames to be detected; If each of the plurality of second deviation values ​​is greater than a set threshold, the state information of the first color vibration information is determined to be the first state information; If at least one of the plurality of second deviation values ​​is less than or equal to a set threshold, the state information of the first color vibration information is determined to be the second state information.

6. The method according to any one of claims 2 to 5, characterized in that, The step of determining the state information of the first color vibration information based on the pixel features of each frame to be detected includes: The pixel features are input into a pre-trained detection model, and the detection model outputs the state information of the first color vibration information.

7. The method according to claim 6, characterized in that, The method further includes: Obtain third color vibration information, wherein the third color vibration information includes color vibration information whose state information is the second state information; The detection model is trained based on the third color vibration information until the detection model converges.

8. The method according to claim 1, characterized in that, The first color vibration information consists of multiple data packets with sequence numbers, and determining the status information of the first color vibration information includes: The missing rate of the data packets is determined based on their sequence numbers. In response to the missing rate being less than or equal to the missing rate threshold, the state information of the first color vibration information is determined to be the first state information; In response to the missing rate being greater than the missing rate threshold, the state information of the first color vibration information is determined to be the second state information.

9. The method according to claim 1, characterized in that, The step of determining the first color vibration information or the second color vibration information pre-stored in the terminal device as an incoming call reminder message and playing it according to the status information includes: In response to the status information of the first color vibration information being the first status information, the first color vibration information is identified as an incoming call reminder message and played. In response to the first color vibration information being the second status information, the second color vibration information pre-stored in the terminal device is identified as an incoming call reminder message and played.

10. The method according to claim 9, characterized in that, The method further includes: In response to the first color vibration information being the second status information and the terminal device not having the second color vibration information pre-stored, the preset incoming call ringtone is determined as the incoming call reminder message and played.

11. The method according to claim 1, characterized in that, After receiving the color vibration incoming call signal, the method further includes: Adjust the resource usage of the terminal device to reserve resource space for the first color vibration information.

12. A call reminder device, characterized in that, Applied to a terminal device, the device includes: The color vibration information acquisition module is used to: in response to receiving a color vibration incoming signal, acquire the first color vibration information from the network end; The status information determination module is used to: determine the status information of the first color vibration information; The reminder message determination module is used to: determine the first color vibration information or the second color vibration information pre-stored in the terminal device as an incoming call reminder message and play it, based on the status information; When determining the status information of the first color vibration information, the status information determination module is specifically used for: The status information of the first color vibration information is determined by judging whether there is an abnormal frame in the video data carried in the first color vibration information; When determining the status information of the first color vibration information, the status information determination module is specifically used for: If the first deviation value is less than or equal to a set threshold, the status information of the first color vibration information is determined to be the second status information, wherein the first deviation value characterizes the degree of image deviation between the first and second frames to be detected in the video data, and the second status information indicates that there is an image frame abnormality in the video data.

13. The apparatus according to claim 12, characterized in that, When determining the status information of the first color vibration information, the status information determination module is specifically used for: Obtain at least one frame to be detected from the first color vibration information; Extract the pixel features of each pixel in the frame to be detected; The state information of the first color vibration information is determined based on the pixel features of each frame to be detected.

14. The apparatus according to claim 13, characterized in that, The at least one frame to be detected includes the first frame to be detected and the second frame to be detected; When determining the state information of the first color vibration information based on the pixel features of each pixel in the frame to be detected, the state information determination module is specifically used for: Determine a first deviation value between the first pixel feature of the first frame to be detected and the second pixel feature of the second frame to be detected; If the first deviation value is greater than a set threshold, the state information of the first color vibration information is determined to be the first state information; If the first deviation value is less than or equal to the set threshold, the status information of the first color vibration information is determined to be the second status information.

15. The apparatus according to claim 13, characterized in that, When determining the state information of the first color vibration information based on the pixel features of each pixel in the frame to be detected, the state information determination module is specifically used for: Determine a plurality of second deviation values ​​in the at least one frame to be detected, wherein the second deviation values ​​are the deviation values ​​between pixel features of two adjacent frames to be detected; If each of the plurality of second deviation values ​​is greater than a set threshold, the state information of the first color vibration information is determined to be the first state information; If at least one of the plurality of second deviation values ​​is less than or equal to a set threshold, the state information of the first color vibration information is determined to be the second state information.

16. The apparatus according to any one of claims 12 to 15, characterized in that, When determining the state information of the first color vibration information based on the pixel features of each pixel in the frame to be detected, the state information determination module is specifically used for: The pixel features are input into a pre-trained detection model, and the detection model outputs the state information of the first color vibration information.

17. The apparatus according to claim 12, characterized in that, The first color vibration information consists of multiple data packets with sequence numbers. When determining the status information of the first color vibration information, the status information determination module specifically performs the following: The missing rate of the data packets is determined based on their sequence numbers. In response to the missing rate being less than or equal to the missing rate threshold, the state information of the first color vibration information is determined to be the first state information; In response to the missing rate being greater than the missing rate threshold, the state information of the first color vibration information is determined to be the second state information.

18. The apparatus according to claim 12, characterized in that, When the reminder message determination module determines the first color vibration information or the second color vibration information pre-stored in the terminal device as an incoming call reminder message based on the status information and plays it, it is specifically used for: In response to the status information of the first color vibration information being the first status information, the first color vibration information is identified as an incoming call reminder message and played. In response to the first color vibration information being the second status information, the second color vibration information pre-stored in the terminal device is identified as an incoming call reminder message and played.

19. An electronic device, characterized in that, The electronic device includes: Memory is used to store processor-executable instructions; A processor is configured to execute executable instructions in the memory to implement the steps of the method according to any one of claims 1 to 10.

20. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Transportation platform information interaction monitoring method

    CN112712313A

  • Video playing method and video playing device

    CN114338922A

  • Jamming detection method and device and computer readable storage medium

    CN114490215A