Application scenario identification method, device, terminal and storage medium
By obtaining the usage status information and classification method of the terminal, and combining a variety of information to identify application scenarios, the problem of inaccurate recognition of complex application scenarios in the existing technology is solved, and more accurate application scenario recognition is achieved.
Patent Information
- Application Number
- CN202111125629.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-24
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2041-09-24
AI Technical Summary
It is difficult for the existing technology to accurately identify the application scenarios of complex applications, and the classification method based solely on black and white lists cannot meet the scenario classification needs of complex applications.
By obtaining the usage status information of the terminal, the classification method is determined, and the target application scenario of the terminal is determined based on the usage status information and classification method, using a variety of methods (top-level application information, touch information, cached data information, display information). Classification, combining configuration information and priority or weight to identify application scenarios.
It achieves accurate identification of functionally complex application scenarios, avoids errors in simple classification methods, and improves the accuracy of application scenario identification.
Smart Images

Figure CN115866129B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of terminal technology, and in particular to an application scenario identification method, device, terminal and storage medium. Background Art
[0002] With the development of smart phones, the performance of mobile phones is gradually improving, and mobile phone applications (APPs, referred to as applications) are becoming more and more complex, and each application includes many functions. For example, some complex applications may include video playback functions, information browsing functions, image shooting functions, etc. In other words, even if users use the same application, the terminal may be in different application scenarios.
[0003] Therefore, the simple classification method based on blacklists and whitelists can no longer meet the requirements of accurate application scenario classification. Summary of the invention
[0004] In order to overcome the problems existing in the related art, the present disclosure provides an application scenario identification method, device, terminal and storage medium.
[0005] According to a first aspect of an embodiment of the present disclosure, there is provided an application scenario recognition method, which is applied to a terminal, and the method includes:
[0006] Obtaining terminal usage status information;
[0007] A target application scenario of the terminal is determined according to the usage status information.
[0008] Optionally, determining a target application scenario of the terminal according to the usage status information includes:
[0009] Determining a classification method according to the usage status information;
[0010] The target application scenario is determined according to the usage status information and the classification method.
[0011] Optionally, determining a classification method according to the usage status information includes at least one of the following:
[0012] If the usage status information includes top-level application information, determining that the classification method includes a first method, wherein the first method is a method of classification based on the top-level application information;
[0013] If the usage status information includes touch information, determining that the classification method includes a second method, wherein the second method is a method of classification based on the touch information;
[0014] If the usage status information includes data information of cached data, determining that the classification method includes a third method, wherein the third method is a method of classification based on the data information;
[0015] If the usage status information includes display information, it is determined that the classification method includes a fourth method, wherein the fourth method is a method of classification based on the display information.
[0016] Optionally, determining the target application scenario according to the usage status information and the classification method includes:
[0017] Determine sub-state information corresponding to each of the classification methods from the usage state information;
[0018] According to each of the classification methods and the sub-state information corresponding to each of the classification methods, respectively determine the sub-application scenarios corresponding to each of the classification methods;
[0019] The target application scenario is determined according to the sub-application scenarios corresponding to the determined classification methods.
[0020] Optionally, determining the sub-application scenarios corresponding to each classification method according to each classification method and the sub-state information corresponding to each classification method includes:
[0021] Acquire configuration information corresponding to each of the classification modes, wherein the configuration information includes a mapping relationship between the set sub-state information and the set application scenario under each of the classification modes;
[0022] The set application scenarios corresponding to the sub-state information in the configuration information are respectively determined as the sub-application scenarios corresponding to the respective classification methods.
[0023] Optionally,
[0024] The determining, according to the usage status information and the classification method, a target application scenario in which the terminal is located includes:
[0025] The sub-application scenarios determined by all the classification methods are determined as the target application scenarios.
[0026] Optionally, the priority of the first method is higher than that of the second method, the priority of the second method is higher than that of the third method, and the priority of the third method is higher than that of the fourth method;
[0027] Determining the target application scenario according to the sub-application scenarios of all the classification methods includes:
[0028] The sub-application scenario determined in a manner corresponding to the highest priority is determined as the target application scenario.
[0029] Optionally, the weight of the first method is greater than the weight of the second method, the weight of the second method is greater than the weight of the third method, and the weight of the third method is greater than the weight of the fourth method;
[0030] Determining the target application scenario according to the sub-application scenarios of all the classification methods includes:
[0031] The sum of the weights of all the classification methods corresponding to each of the sub-application scenarios is determined as the scenario weight of the sub-application scenario;
[0032] The sub-application scenario corresponding to the largest scenario weight is determined as the target application scenario.
[0033] According to a second aspect of an embodiment of the present disclosure, there is provided an application scenario recognition device, which is applied to a terminal, and the device includes:
[0034] An acquisition module is used to acquire the usage status information of the terminal;
[0035] A determination module is used to determine the target application scenario of the terminal according to the usage status information.
[0036] Optionally, the determining module is used to:
[0037] Determining a classification method according to the usage status information;
[0038] The target application scenario is determined according to the usage status information and the classification method.
[0039] Optionally, the determining module is used to perform at least one of the following:
[0040] If the usage status information includes top-level application information, determining that the classification method includes a first method, wherein the first method is a method of classification based on the top-level application information;
[0041] If the usage status information includes touch information, determining that the classification method includes a second method, wherein the second method is a method of classification based on the touch information;
[0042] If the usage status information includes data information of cached data, determining that the classification method includes a third method, wherein the third method is a method of classification based on the data information;
[0043] If the usage status information includes display information, it is determined that the classification method includes a fourth method, wherein the fourth method is a method of classification based on the display information.
[0044] Optionally, the determining module is used to:
[0045] Determine sub-state information corresponding to each of the classification methods from the usage state information;
[0046] According to each of the classification methods and the sub-state information corresponding to each of the classification methods, respectively determine the sub-application scenarios corresponding to each of the classification methods;
[0047] The target application scenario is determined according to the sub-application scenarios corresponding to the determined classification methods.
[0048] Optionally,
[0049] The acquisition module is used to acquire configuration information corresponding to each classification method, wherein the configuration information includes a mapping relationship between the set sub-state information and the set application scenario under each classification method;
[0050] The determination module is used to determine the set application scenarios corresponding to the sub-state information in the configuration information as the sub-application scenarios corresponding to the respective classification methods.
[0051] Optionally,
[0052] The determining module is used to:
[0053] The sub-application scenarios determined by all the classification methods are determined as the target application scenarios.
[0054] Optionally, the priority of the first method is higher than that of the second method, the priority of the second method is higher than that of the third method, and the priority of the third method is higher than that of the fourth method;
[0055] The determining module is used to:
[0056] The sub-application scenario determined in a manner corresponding to the highest priority is determined as the target application scenario.
[0057] Optionally, the weight of the first method is greater than the weight of the second method, the weight of the second method is greater than the weight of the third method, and the weight of the third method is greater than the weight of the fourth method;
[0058] The determining module is used to:
[0059] The sum of the weights of all the classification methods corresponding to each of the sub-application scenarios is determined as the scenario weight of the sub-application scenario;
[0060] The sub-application scenario corresponding to the largest scenario weight is determined as the target application scenario.
[0061] According to a third aspect of an embodiment of the present disclosure, a terminal is provided, the terminal including:
[0062] processor;
[0063] a memory for storing instructions executable by the processor;
[0064] The processor is configured to execute the method as described in any one of the first aspects.
[0065] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of a terminal, the terminal is enabled to execute a method as described in any one of the first aspects.
[0066] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: In this method, the application scenario of the terminal can be determined based on the terminal's usage status information, rather than simply identifying the application scenario in the form of a blacklist or whitelist. For applications with complex functions, this method can more accurately identify the application scenario and accurately determine the application scenario of the terminal.
[0067] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0069] Figure 1 The figure is a flow chart of an application scenario identification method according to an exemplary embodiment.
[0070] Figure 2 The figure is a block diagram of an application scenario recognition device according to an exemplary embodiment.
[0071] Figure 3 is a block diagram of a terminal according to an exemplary embodiment. DETAILED DESCRIPTION
[0072] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0073] The present disclosure provides an application scenario identification method, which is applied to a terminal. In the method, the application scenario of the terminal can be determined based on the terminal's usage status information, rather than simply identifying the application scenario in the form of a blacklist or whitelist. For applications with complex functions, the method can more accurately identify the application scenario and accurately determine the application scenario of the terminal.
[0074] In an exemplary embodiment, a method for identifying an application scenario is provided, which is applied to a terminal. Figure 1 As shown, the method may include:
[0075] S110, obtaining the usage status information of the terminal;
[0076] S120: Determine a target application scenario of the terminal according to the usage status information.
[0077] In step S110, the usage status information may include at least one of the following: top-level application information, touch information, data information of cached data, display information, etc. The terminal may detect the above usage status information through corresponding hardware, and then transmit it to the processor of the terminal, so that the processor obtains the current usage status information of the above terminal.
[0078] For example, the scheduling of the camera module can be used to determine whether the top layer of the terminal is using a camera application, thereby determining the top layer application information. For another example, touch information can be detected by a sensor (such as a pressure sensor).
[0079] The type of usage status information to be obtained can be preset in the terminal, and the type preset in the terminal can be recorded as a setting type. The setting type can be set before the terminal leaves the factory, or after the terminal leaves the factory, and the setting type can be modified later to better meet the different needs of users.
[0080] Example 1,
[0081] The setting type is the first type, and the first type of usage status information refers to the top-level application information.
[0082] In this example, when the application scenario is identified, the usage status information obtained by the processor of the terminal may be the current top-level application information of the terminal.
[0083] Example 2,
[0084] The setting type includes a first type and a second type, wherein the first type of usage status information refers to top-level application information, and the second type of usage status information refers to touch information.
[0085] In this example, when the application scenario is identified, the usage status information acquired by the processor of the terminal may include the current top-level application information of the terminal and the current touch information of the terminal.
[0086] It should be noted that although the setting type includes the first type and the second type, if the terminal currently only has top-level application information (for example, the user currently does not perform any touch operation on the terminal and the terminal does not receive any touch information), the usage status information obtained by the processor may only include the above-mentioned top-level application information.
[0087] Example 3,
[0088] The setting types include the first type, the second type, the third type and the fourth type, wherein the first type of usage status information refers to the top-level application information, the second type of usage status information refers to the touch information, the third type of usage status information refers to the data information of the cached data, and the fourth type of usage status information refers to the display information.
[0089] In this example, when the application scenario is identified, the usage status information obtained by the processor of the terminal may include at least one of the current top-level application information of the terminal, touch information, data information of cached data, and display information.
[0090] In step S120, the target application scenario refers to the application scenario in which the terminal is currently located.
[0091] Different types of usage status information may use different classification methods to determine target application scenarios. Among them, the first type may correspond to the first method, that is, the first type of usage status information may use the first method to determine the target application scenario, and the first method is a method of classification based on top-level application information.
[0092] For example, the terminal may set first configuration information, and the first configuration information includes a mapping relationship between set top-level application information and set application scenarios. The processor of the terminal searches for set top-level application information that is the same as the top-level application information from the first configuration information, and then determines the set application scenario corresponding to the found set top-level application information as the target application scenario. The first configuration information may be set before the terminal leaves the factory, or may be set after the terminal leaves the factory, and the first configuration information may be modified later to better meet the different needs of users.
[0093] Correspondingly, the second type may correspond to the second method, the third type may correspond to the third method, and the fourth type may correspond to the fourth method.
[0094] If only one type of usage status information is set in the terminal, that is, the set type includes only one type among the first type, the second type, the third type and the fourth type, then only one classification method can be set in the terminal. In this case, after the terminal obtains the usage status information, it can directly determine the target application scenario of the terminal according to the obtained usage status information and the classification method preset in the terminal.
[0095] Example 4,
[0096] The setting type is the first type, and the first type of usage status information refers to the top-level application information. The terminal is preset with first configuration information, and the first configuration information includes a mapping relationship between the top-level application information and the application scenario, as shown in Table 1-1.
[0097] Table 1-1
[0098] Set top-level application information Set up application scenarios The top-level application is an input method application Social scenes The top-level application is a video call application Camera scenes The top-level application is a video player application Video scenes
[0099] In this example, when performing application scenario identification, if the terminal processor obtains top-level application information indicating that the top-level application of the terminal is an input method application, the social scenario can be determined as the target application scenario according to the first configuration information; if the top-level application information obtained indicates that the top-level application of the terminal is a video call application, the camera scenario is determined as the target application scenario; if the top-level application information obtained indicates that the top-level application of the terminal is a video playback application, the video scenario is determined as the target application scenario.
[0100] The top-level application information may include the type and name of the top-level application.
[0101] It should be noted that in this example, if the top-level application information indicates that the video floating window is located at the top level of the terminal, it can indicate that the top-level application of the terminal is a video playback application. If the top-level application information indicates that the video call floating window is located at the top level of the terminal, it can indicate that the top-level application of the terminal is a video call application.
[0102] For example, when a user uses an application on the terminal to make a video call and sets the video call window to a video call floating window, and at the same time, the user uses the application to browse news information, in this case, the top-level application of the terminal can be characterized as a video call application.
[0103] In addition, in addition to the above-mentioned methods, the top-level application information may also be determined by other methods, which are not limited here.
[0104] Example 5,
[0105] The setting type is the second type, and the second type of usage status information refers to touch information. The terminal is preset with second configuration information, and the second configuration information includes a mapping relationship between the set touch information and the set application scenario, which can be specifically referred to as shown in Table 2-1.
[0106] Table 2-1
[0107] Set touch information Set up application scenarios Touch information for continuous swiping up or down Information scenes Touch information of continuous touch in fixed area Game scenes
[0108] In this example, when identifying application scenarios, if the touch information obtained by the terminal processor is touch information of continuous sliding up or down, the information scene can be determined as the target application scene according to the second configuration information; if the touch information obtained is touch information of continuous touching a fixed area, the game scene can be determined as the target application scene.
[0109] The terminal may monitor the touch information through a sensor (eg, a pressure sensor), and then transmit the touch information to a processor of the terminal, so that the processor acquires the touch information.
[0110] Example 6,
[0111] The setting type is the third type, and the usage status information of the third type refers to the data information of the cached data. The terminal is preset with third configuration information, which includes a mapping relationship between the setting data information and the setting application scenario, as shown in Table 3-1.
[0112] Among them, information scenarios generally refer to application scenarios of text information.
[0113] In this example, when identifying an application scenario, if the processor of the terminal obtains data information of the cached data indicating that the cached data is in a video format, the video scenario can be determined as the target application scenario according to the third configuration information.
[0114] Table 3-1
[0115] Setting data information Set up application scenarios Video format data Video scenes Data in text format Information scenes Audio format data Audio scene
[0116] In this example, the video format may include MP4 format, MOV format, etc. The text format may include TXT format, XML format, etc. The audio format may include MP3 format, FLAC format, etc.
[0117] Example 7,
[0118] The setting type is the fourth type, and the fourth type of usage status information refers to display information, which generally may include pixel information of the display screen, frame rate information, etc. The terminal is preset with fourth configuration information, which includes a mapping relationship between setting display information and setting application scenarios, as shown in Table 4-1.
[0119] Table 4-1
[0120] Set display information Set up application scenarios The first display information Information scenes The second display information Video scenes or game scenes
[0121] Among them, information scenarios generally refer to application scenarios of text information.
[0122] The first type of display information indicates that the current display screen of the terminal is a text information screen. For example, if the pixels of the screen are evenly spaced, it indicates that the current display screen of the terminal is a text information screen. The second type of display information indicates that the current display screen of the terminal is a video screen. For example, if the display screen is displayed at a fixed frame rate and the display content is in a changing state, it indicates that the current display screen of the terminal is a video screen.
[0123] In this example, when identifying application scenarios, if the terminal processor obtains the first type of display information, it can determine the information type scene as the target application scenario based on the fourth configuration information; if the terminal processor obtains the second type of display information, it can determine the video type or game type scene as the target application scenario, that is, determine that the target application scenario belongs to a video type scene or a game type scene.
[0124] In this step, if more than one type of usage status information is set in the terminal, that is, more than one type is set, then more than one classification method can be set in the terminal. In this case, after the terminal obtains the usage status information, it can determine the classification method to be adopted according to the type of the usage status information obtained. Then, according to the classification method and the usage status information, the target application scenario of the terminal is determined.
[0125] In this method, the terminal's usage status information can be determined by combining software and hardware, and then the terminal's application scenario can be determined based on the usage status information, rather than simply identifying the application scenario based on a blacklist or whitelist. This method can identify the application scenario more accurately and accurately determine the application scenario of the terminal.
[0126] For example, an application can be used to browse news information, play videos, and chat and interact. When a user uses the application to browse news information, it can be determined that the terminal is in an information scenario based on the usage status information; when a user uses the application to play a video, it can be determined that the terminal is in a video scenario; when a user uses the application to chat, it can be determined that the terminal is in a social scenario. In other words, this method can more accurately identify the application scenario and accurately determine the application scenario in which the terminal is located.
[0127] In an exemplary embodiment, an application scenario identification method is provided, which is applied to a terminal. In the method, determining the target application scenario of the terminal according to the usage status information may include:
[0128] S210, determining a classification method according to the usage status information;
[0129] S220: Determine a target application scenario according to the usage status information and the classification method.
[0130] In this method, the terminal can generally set more than one type of usage status information. That is, the set type can include at least two types of the first type, the second type, the third type and the fourth type. Accordingly, the terminal can set more than one preset mode (ie, preset classification mode).
[0131] In step S210, the type of method included in the classification method may be determined according to the type of information included in the acquired usage status information.
[0132] For example,
[0133] If the usage status information acquired by the terminal includes top-level application information, determining the classification method includes a first method, wherein the first method is a method of classification based on the top-level application information;
[0134] If the acquired usage status information includes touch information, determining the classification method includes a second method, wherein the second method is a method of classification based on touch information;
[0135] If the acquired usage status information includes data information of cached data, determining the classification method includes a third method, wherein the third method is a method of classification based on data information;
[0136] If the acquired usage status information includes display information, it is determined that the classification method includes a fourth method, wherein the fourth method is a method of performing classification based on the display information.
[0137] It should be noted that the terminal can simultaneously set four types of usage status information and corresponding four types of classification methods. However, in actual application, the corresponding classification method can be selected for application scenario identification based on the specific type of usage status information obtained.
[0138] Example 1,
[0139] The setting types of the usage status information set by the terminal include a first type and a second type. Accordingly, the preset methods of the classification method set by the terminal may include a first method and a second method, wherein the first method corresponds to the first type and the second method corresponds to the second type.
[0140] In this example, during the application scenario identification process, if only the top-level application information is obtained, that is, only the first type of usage status information is obtained, the first method is determined as the classification method; if only touch information is obtained, that is, only the second type of usage status information is obtained, the second method is determined as the classification method; if both the top-level application information and the touch information are obtained, the first method and the second method are determined as the classification methods.
[0141] Example 2,
[0142] The setting types of the usage status information of the terminal settings include the first type, the second type, the third method and the fourth method. Correspondingly, the preset methods of the classification method of the terminal settings may include the first method, the second method, the third method and the fourth method, wherein the first method corresponds to the first type, the second method corresponds to the second type, the third method corresponds to the third type, and the fourth method corresponds to the fourth type.
[0143] In this example, during the application scenario identification process, if only some types of usage status information are obtained, the methods corresponding to the above parts of types are determined as classification methods. If all types of usage status information are obtained, all preset methods are determined as classification methods.
[0144] In step S220, after the classification method is determined, the usage status information corresponding to each of the above classification methods can be determined from the acquired usage status information (for example, it can be recorded as sub-status information). Then, according to each classification method and the sub-status information corresponding to each classification method, the sub-application scenarios corresponding to each classification method are determined respectively. That is, the sub-application scenarios obtained by using each classification method and the usage status information of the type corresponding to the classification method (for example, it can be recorded as sub-status information) can be first determined, so as to determine the sub-application scenarios corresponding to each classification method. Then, according to the sub-application scenarios corresponding to each determined classification method, the target application scenario is determined.
[0145] According to each classification method and the sub-state information corresponding to each classification method, the sub-application scenarios corresponding to each classification method are determined respectively, which may include:
[0146] S221, obtaining configuration information corresponding to each classification method, where the configuration information includes a mapping relationship between setting sub-state information and setting application scenarios under each classification method;
[0147] S222: Determine the set application scenarios corresponding to the sub-state information in the configuration information as sub-application scenarios corresponding to each classification method.
[0148] In step S221, each classification method may correspond to a type of configuration information, and each type of configuration information includes a mapping relationship between the set sub-state information and the set application scenario under the classification method.
[0149] For example, the first mode may correspond to the first configuration information, the second mode may correspond to the second configuration information, the third mode may correspond to the third configuration information, and the fourth mode may correspond to the fourth configuration information.
[0150] In step S222, if the determined classification method includes the first method, when the sub-application scenario is determined in the first method, the sub-application scenario corresponding to the first method can be determined based on the first configuration information and the first type of sub-state information (that is, the top-level application information in the usage state information).
[0151] The method of determining the sub-application scenario by other types of classification is similar to the method of determining the sub-application scenario by the first method, and will not be elaborated here.
[0152] Example 3,
[0153] The setting types of the usage status information set by the terminal include the first type, the second type, the third type and the fourth type. Accordingly, the preset methods of the classification methods set by the terminal may include the first method, the second method, the third method and the fourth method.
[0154] The terminal may preset the first configuration information, the second configuration information, the third configuration information and the fourth configuration information in advance. The first configuration information may refer to Table 1-2, the second configuration information may refer to Table 2-2, the third configuration information may refer to Table 3-2, and the fourth configuration information may refer to Table 4-2.
[0155] In this example, it is assumed that the user is using the input method to type and chat while listening to music.
[0156] The usage status information that can be obtained by the processor of the terminal includes top-level application information and data information of cached data, wherein the top-level application information indicates that the top-level application is an input method application, and the data information of cached data indicates that the cached data is data in audio format.
[0157] From this, it can be seen that the processor of the terminal can use the first method and the third method to identify application scenarios. In the first method, the social scene can be determined as a sub-application scene based on the first configuration information and the obtained top-level application information; in the second method, the audio scene can be determined as a sub-application scene based on the second configuration information and the data information of the obtained cached data.
[0158] Then, the social scene and the audio scene are determined as the target application scenes, that is, the target application scenes include the social scene and the audio scene, and the terminal is in the social scene and the audio scene at the same time.
[0159] Table 1-2
[0160] Set top-level application information Set up application scenarios The top-level application is an input method application Social scenes The top-level application is a video call application Camera scenes The top-level application is a video player application Video scenes
[0161] Table 2-2
[0162] Set touch information Set up application scenarios Touch information for continuous swiping up or down Information scenes Touch information of continuous touch in fixed area Game scenes
[0163] Table 3-2
[0164] Setting data information Set up application scenarios Video format data Video scenes Data in text format Information scenes Audio format data Audio scene
[0165] Table 4-2
[0166] Set display information Set up application scenarios The first display information Information scenes The second display information Video scenes or game scenes
[0167] In this method, more than one method can be used to identify the application scenario, which can not only improve the scope of application of the application scenario identification method, but also more accurately determine the application scenario in which the terminal is currently located, thereby improving the accuracy of application scenario identification.
[0168] In an exemplary embodiment, an application scenario identification method is provided, which is applied to a terminal. In the method, the classification method may include more than one method, that is, more than one classification method is determined according to the usage status information.
[0169] Among them, the priority of the first method is higher than the priority of the second method, the priority of the second method is higher than the priority of the third method, and the priority of the third method is higher than the priority of the fourth method. It should be noted that the above is only to introduce the priority levels of various classification methods, and does not limit the classification methods to only include the above four methods at the same time.
[0170] Example 1,
[0171] The determined classification methods may only include the first method and the third method. According to the above description, the priority of the first method is higher than the priority of the second method, and the priority of the second method is higher than the priority of the third method. Therefore, in this example, when identifying the application scenario, the priority of the first method is higher than the priority of the third method.
[0172] Example 2,
[0173] The determined classification methods include a first method, a second method and a fourth method. According to the introduction of the priorities of various classification methods, in this example, when identifying application scenarios, the priority of the first method is higher than that of the second method, and the priority of the second method is higher than that of the fourth method.
[0174] In addition, in the method, determining the target application scenario according to the sub-application scenarios corresponding to all classification methods may include:
[0175] S310: Determine the sub-application scenario determined in a manner corresponding to the highest priority as the target application scenario.
[0176] Example 3,
[0177] According to the usage status information, two classification methods are determined, namely the second method and the third method. Among them, the sub-application scenario determined according to the second method is recorded as the second application scenario, and the sub-application scenario determined according to the third method is recorded as the third application scenario. Since the priority of the second method is higher than that of the third method, the second application scenario can be determined as the target application scenario.
[0178] Example 4,
[0179] According to the usage status information, three classification methods are determined, namely the first method, the second method and the fourth method. Among them, the sub-application scenario determined according to the first method is recorded as the first application scenario, the sub-application scenario determined according to the second method is recorded as the second application scenario, and the sub-application scenario determined according to the fourth method is recorded as the fourth application scenario. Since the priority of the first method is higher than that of the second method, and the priority of the second method is higher than that of the fourth method, the first application scenario can be determined as the target application scenario.
[0180] Example 5,
[0181] According to the usage status information, four classification methods are determined, namely the first method, the second method, the third method and the fourth method. Among them, the sub-application scenario determined according to the first method is recorded as the first application scenario, the sub-application scenario determined according to the second method is recorded as the second application scenario, the sub-application scenario determined according to the third method is recorded as the third application scenario, and the sub-application scenario determined according to the fourth method is recorded as the fourth application scenario. Since the priority of the first method is higher than that of the second method, the priority of the second method is higher than that of the third method, and the priority of the third method is higher than that of the fourth method, the first application scenario can be determined as the target application scenario.
[0182] In this method, more than one classification method can be used to identify application scenarios, and various classification methods can be prioritized. The application scenario determined by the classification method with the highest priority can be determined as the target application scenario, which can not only improve the scope of application of the application scenario identification method, but also better meet the personalized needs of users.
[0183] It should be noted that the priorities of various classification methods can be set before the terminal leaves the factory, or after the terminal leaves the factory, and the priorities of various classification methods can be modified later to better meet the different needs of users.
[0184] In an exemplary embodiment, an application scenario identification method is provided, which is applied to a terminal. In the method, the classification method may include more than one method, that is, more than one classification method is determined according to the usage status information.
[0185] Among them, the weight of the first method is greater than the weight of the second method, the weight of the second method is greater than the weight of the third method, and the weight of the third method is greater than the weight of the fourth method. It should be noted that the above is only to introduce the weights of various classification methods, and does not limit the classification methods to only include the above four methods at the same time.
[0186] Example 1,
[0187] The determined classification method may only include the first method and the third method. According to the above introduction, the weight of the first method is greater than the weight of the second method, and the weight of the second method is greater than the weight of the third method. Therefore, in this example, when identifying the application scenario, the weight of the first method is greater than the weight of the third method.
[0188] Example 2,
[0189] The determined classification methods include the first method, the second method and the fourth method. According to the introduction of the weights of various classification methods, in this example, when identifying application scenarios, the weight of the first method is greater than the weight of the second method, and the weight of the second method is greater than the weight of the fourth method.
[0190] In addition, in the method, determining the target application scenario according to the sub-application scenarios corresponding to all classification methods may include:
[0191] S410: Determine the sum of the weights of all classification methods corresponding to each sub-application scenario as the scenario weight of the sub-application scenario;
[0192] S420: Determine the sub-application scenario corresponding to the largest scenario weight as the target application scenario.
[0193] In this method, the sub-application scenario determined according to the first method can be recorded as the first application scenario, the sub-application scenario determined according to the second method can be recorded as the second application scenario, the sub-application scenario determined according to the third method can be recorded as the third application scenario, and the sub-application scenario determined according to the fourth method can be recorded as the fourth application scenario.
[0194] Among them, the first application scenario, the second application scenario, the third application scenario and the fourth application scenario may be different, may be partially the same, or may be completely the same. If the above four sub-application scenarios are different, the scene weight of each sub-application scenario becomes the weight of the classification method corresponding to the sub-application scenario. If the above four sub-application scenarios are partially the same, the sum of the weights of the classification methods corresponding to the same seed application scenario can be determined as the scene weight of the seed application scenario.
[0195] Example 3,
[0196] The determined classification methods include the first method, the second method and the fourth method, wherein the weight of the first method is recorded as the first weight, the weight of the second method is recorded as the second weight, and the weight of the fourth method is recorded as the fourth weight. The first weight is greater than the second weight, and the second weight is greater than the fourth weight.
[0197] The sub-application scenario determined according to the first method is application scenario A. The sub-application scenario determined according to the second method is application scenario B. The sub-application scenario determined according to the fourth method is application scenario D.
[0198] In this example, the scenario weight of application scenario A is the first weight, the scenario weight of application scenario B is the second weight, and the weight of application scenario D is the fourth weight. Since the first weight is the largest, application scenario A can be determined as the target application scenario.
[0199] Example 4,
[0200] The determined classification methods include a first method, a second method and a fourth method, wherein the weight of the first method is 5, the weight of the second method is 4, and the weight of the fourth method is 2.
[0201] The sub-application scenario determined according to the first method is application scenario A. The sub-application scenario determined according to the second method is application scenario B. The sub-application scenario determined according to the fourth method is application scenario B.
[0202] In this example, the scenario weight of application scenario A is the first weight, that is, the scenario weight of application scenario A is 5, and the scenario weight of application scenario B is the sum of the second weight and the fourth weight, that is, the scenario weight of application scenario B is 6. Therefore, application scenario B can be determined as the target application scenario.
[0203] Example 5,
[0204] The determined classification methods include a first method, a second method, a third method and a fourth method, wherein the weight of the first method is 5, the weight of the second method is 4, the weight of the third method is 3, and the weight of the fourth method is 2.
[0205] The sub-application scenario determined according to the first method is application scenario A. The sub-application scenario determined according to the second method is application scenario B. The sub-application scenario determined according to the third method is application scenario B. The sub-application scenario determined according to the fourth method is application scenario A.
[0206] In this example, the scene weight of application scenario A is the sum of the first weight and the fourth weight, that is, the scene weight of application scenario A is 5-2=7, and the scene weight of application scenario B is the sum of the second weight and the third weight, that is, the scene weight of application scenario B is 4+3=7. Therefore, the scene weight of application scenario A is the same as the scene weight of application scenario B, so application scenario A and application scenario B can be determined as target application scenarios, that is, the target application scenario includes application scenario A and application scenario B, and the terminal is in application scenario A and application scenario B at the same time.
[0207] In this method, more than one classification method can be used to identify application scenarios, and a weight can be set for each classification method, that is, a weight is set for the sub-application scenario determined by each classification method, so as to determine the scene weight of each sub-application scenario, and the sub-application scenario corresponding to the largest scene weight can be determined as the target application scenario, which can not only improve the scope of application of the application scenario identification method, but also better meet the personalized needs of users.
[0208] It should be noted that the weights of various classification methods can be set before the terminal leaves the factory, or after the terminal leaves the factory, and the weights of various classification methods can be modified later to better meet the different needs of users.
[0209] In addition, in addition to determining the sub-application scenario corresponding to the largest scenario weight as the target application scenario, all types of sub-application scenarios can also be determined as target application scenarios, and the corresponding scenario weight can be marked for each sub-application scenario, so as to better understand the application scenario of the terminal and better meet the different needs of users.
[0210] Example 6,
[0211] The determined classification methods include a first method, a second method and a fourth method, wherein the weight of the first method is 5, the weight of the second method is 4, and the weight of the fourth method is 2.
[0212] The sub-application scenario determined according to the first method is application scenario A. The sub-application scenario determined according to the second method is application scenario B. The sub-application scenario determined according to the fourth method is application scenario B.
[0213] In this example, the scene weight of application scenario A is the first weight, that is, the scene weight of application scenario A is 5, and the scene weight of application scenario B is the sum of the second weight and the fourth weight, that is, the scene weight of application scenario B is 6.
[0214] In this example, application scenario A and application scenario B can be identified as target application scenarios, and the scenario weight of application scenario A is marked as 5 and the scenario weight of application scenario B is marked as 6, so that users can better understand the application scenario of the terminal and better meet the different needs of users.
[0215] In an exemplary embodiment, an application scenario recognition device is provided, which is applied to a terminal. The device is used to implement the above-mentioned application scenario recognition method. Figure 2 As shown, the device may include an acquisition module 101 and a determination module 102, wherein:
[0216] An acquisition module 101 is used to acquire the usage status information of the terminal;
[0217] The determination module 102 is used to determine the target application scenario of the terminal according to the usage status information.
[0218] In an exemplary embodiment, an application scenario recognition device is provided, which is applied to a terminal. Figure 2 As shown, in the device, the determination module 102 is used to:
[0219] Determine the classification method based on the usage status information;
[0220] Determine the target application scenario based on usage status information and classification method.
[0221] In an exemplary embodiment, an application scenario recognition device is provided, which is applied to a terminal. Figure 2 As shown, in the device, the determination module 102 is used to perform at least one of the following:
[0222] If the usage status information includes top-level application information, determining the classification method includes a first method, wherein the first method is a method of classification based on the top-level application information;
[0223] If the usage status information includes touch information, determining the classification method includes a second method, wherein the second method is a method of classification based on the touch information;
[0224] If the usage status information includes data information of the cached data, determining the classification method includes a third method, wherein the third method is a method of classification based on the data information;
[0225] If the usage status information includes display information, determining the classification method includes a fourth method, wherein the fourth method is a method of performing classification based on the display information.
[0226] In an exemplary embodiment, an application scenario recognition device is provided, which is applied to a terminal. Figure 2 As shown, in the device, the determination module 102 is used to:
[0227] Determine sub-state information corresponding to each classification method from the usage state information;
[0228] According to each classification method and the sub-state information corresponding to each classification method, the sub-application scenario corresponding to each classification method is determined respectively;
[0229] Determine the target application scenario based on the sub-application scenarios corresponding to each of the determined classification methods.
[0230] In an exemplary embodiment, an application scenario recognition device is provided, which is applied to a terminal. Figure 2 As shown, in the device,
[0231] The acquisition module 101 is used to acquire configuration information corresponding to each classification method, where the configuration information includes a mapping relationship between the set sub-state information and the set application scenario under each classification method;
[0232] The determination module 102 is used to determine the set application scenarios corresponding to the sub-state information in the configuration information as sub-application scenarios corresponding to each classification method.
[0233] In an exemplary embodiment, an application scenario recognition device is provided, which is applied to a terminal. In the device,
[0234] refer to Figure 2 As shown, the determination module 102 is used to:
[0235] The sub-application scenarios determined by all classification methods are determined as target application scenarios.
[0236] In an exemplary embodiment, an application scenario recognition device is provided, which is applied to a terminal. In the device, the priority of the first mode is higher than the priority of the second mode, the priority of the second mode is higher than the priority of the third mode, and the priority of the third mode is higher than the priority of the fourth mode;
[0237] refer to Figure 2 As shown, the determination module 102 is used to:
[0238] The sub-application scenario determined in a manner corresponding to the highest priority is determined as the target application scenario.
[0239] In an exemplary embodiment, an application scenario recognition device is provided, which is applied to a terminal. In the device, the weight of the first method is greater than the weight of the second method, the weight of the second method is greater than the weight of the third method, and the weight of the third method is greater than the weight of the fourth method;
[0240] refer to Figure 2As shown, the determination module 102 is used to:
[0241] The sum of the weights of all classification methods corresponding to each sub-application scenario is determined as the scenario weight of the sub-application scenario;
[0242] The sub-application scenario corresponding to the largest scenario weight is determined as the target application scenario.
[0243] In an exemplary embodiment, a terminal is provided, and the terminal is, for example, a mobile phone, a notebook computer, a tablet computer, a wearable device, etc.
[0244] refer to Figure 3 As shown, terminal 400 may include one or more of the following components: a processing component 402 , a memory 404 , a power component 406 , a multimedia component 408 , an audio component 410 , an input / output (I / O) interface 412 , a sensor component 414 , and a communication component 416 .
[0245] The processing component 402 generally controls the overall operation of the terminal 400, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 402 may include one or more modules to facilitate the interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate the interaction between the multimedia component 408 and the processing component 402.
[0246] The memory 404 is configured to store various types of data to support operations at the terminal 400. Examples of such data include instructions for any application or method operating on the terminal 400, contact data, phone book data, messages, pictures, videos, etc. The memory 404 may be implemented by any type of volatile or non-volatile storage terminal 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 memory, flash memory, magnetic disk or optical disk.
[0247] Power component 406 provides power to various components of terminal 400. Power component 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to terminal 400.
[0248] The multimedia component 408 includes a screen that provides an output interface between the terminal 400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front camera module and / or a rear camera module. When the terminal 400 is in an operating mode, such as a shooting mode or a video mode, the front camera module and / or the rear camera module may receive external multimedia data. Each front camera module and the rear camera module may be a fixed optical lens system or have a focal length and optical zoom capability.
[0249] The audio component 410 is configured to output and / or input audio signals. For example, the audio component 410 includes a microphone (MIC), and when the terminal 400 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 404 or sent via the communication component 416. In some embodiments, the audio component 410 also includes a speaker for outputting audio signals.
[0250] I / O interface 412 provides an interface between processing component 402 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0251] The sensor assembly 414 includes one or more sensors for providing various aspects of status assessment for the terminal 400. For example, the sensor assembly 414 can detect the open / closed state of the terminal 400, the relative positioning of the components, such as the display and keypad of the terminal 400, and the sensor assembly 414 can also detect the position change of the terminal 400 or a component of the terminal 400, the presence or absence of contact between the user and the terminal 400, the orientation or acceleration / deceleration of the terminal 400, and the temperature change of the terminal 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 414 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0252] The communication component 416 is configured to facilitate wired or wireless communication between the terminal 400 and other terminals. The terminal 700 can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G, 5G or a combination thereof. In an exemplary embodiment, the communication component 416 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 also 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 technologies.
[0253] In an exemplary embodiment, terminal 400 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing terminals (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above-mentioned methods.
[0254] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 404 including instructions, and the instructions can be executed by a processor 420 of a terminal 400 to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a tape, a floppy disk, and an optical data storage terminal, etc. When the instructions in the storage medium are executed by the processor of the terminal, the terminal is enabled to perform the method shown in the above embodiment.
[0255] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
[0256] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0257] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. An application scenario recognition method, applied to a terminal, characterized in that: The method comprises: Obtaining the terminal's usage status information; Determining a target application scenario of the terminal according to the usage status information; The determining, according to the usage status information, a target application scenario of the terminal includes: Determining a classification method according to the usage status information; Determining the target application scenario according to the usage status information and the classification method; The determining the target application scenario according to the usage status information and the classification method includes: Determine sub-state information corresponding to each of the classification methods from the usage state information; According to each of the classification methods and the sub-state information corresponding to each of the classification methods, respectively determine the sub-application scenarios corresponding to each of the classification methods; Determining the target application scenario according to the sub-application scenarios corresponding to the determined classification methods; The determining the target application scenario according to the sub-application scenarios corresponding to the determined classification methods includes: All types of the sub-application scenarios are determined as the target application scenarios, and a corresponding scenario weight is marked for each of the sub-application scenarios.
2. The method according to claim 1, characterized in that The determining of the classification method according to the usage status information includes at least one of the following: If the usage status information includes top-level application information, determining that the classification method includes a first method, wherein the first method is a method of classification based on the top-level application information; If the usage status information includes touch information, determining that the classification method includes a second method, wherein the second method is a method of classification based on the touch information; If the usage status information includes data information of cached data, determining that the classification method includes a third method, wherein the third method is a method of classification based on the data information; If the usage status information includes display information, it is determined that the classification method includes a fourth method, wherein the fourth method is a method of classification based on the display information.
3. The method according to claim 2, characterized in that Determining the sub-application scenarios corresponding to each classification method according to each classification method and the sub-state information corresponding to each classification method includes: Acquire configuration information corresponding to each of the classification modes, wherein the configuration information includes a mapping relationship between the set sub-state information and the set application scenario under each of the classification modes; The set application scenarios corresponding to the sub-state information in the configuration information are respectively determined as the sub-application scenarios corresponding to the respective classification methods.
4. The method according to claim 2, characterized in that: The weight of the first method is greater than the weight of the second method, the weight of the second method is greater than the weight of the third method, and the weight of the third method is greater than the weight of the fourth method; Determining the target application scenario according to the sub-application scenarios of all the classification methods includes: The sum of the weights of all the classification methods corresponding to each of the sub-application scenarios is determined as the scenario weight of the sub-application scenario; The sub-application scenario corresponding to the largest scenario weight is determined as the target application scenario.
5. An application scenario recognition device, applied to a terminal, characterized in that: The device comprises: An acquisition module is used to acquire the usage status information of the terminal; A determination module, configured to determine a target application scenario of the terminal according to the usage status information; The determining module is used to: Determining a classification method according to the usage status information; Determining the target application scenario according to the usage status information and the classification method; The determining module is used to: Determine sub-state information corresponding to each of the classification methods from the usage state information; According to each of the classification methods and the sub-state information corresponding to each of the classification methods, respectively determine the sub-application scenarios corresponding to each of the classification methods; Determining the target application scenario according to the sub-application scenarios corresponding to the determined classification methods; The determining the target application scenario according to the sub-application scenarios corresponding to the determined classification methods includes: All types of the sub-application scenarios are determined as the target application scenarios, and a corresponding scenario weight is marked for each of the sub-application scenarios.
6. The device according to claim 5, characterized in that The determining module is configured to perform at least one of the following: If the usage status information includes top-level application information, determining that the classification method includes a first method, wherein the first method is a method of classification based on the top-level application information; If the usage status information includes touch information, determining that the classification method includes a second method, wherein the second method is a method of classification based on the touch information; If the usage status information includes data information of cached data, determining that the classification method includes a third method, wherein the third method is a method of classification based on the data information; If the usage status information includes display information, it is determined that the classification method includes a fourth method, wherein the fourth method is a method of classification based on the display information.
7. The device according to claim 6, characterized in that The acquisition module is used to acquire configuration information corresponding to each classification method, wherein the configuration information includes a mapping relationship between the set sub-state information and the set application scenario under each classification method; The determination module is used to determine the set application scenarios corresponding to the sub-state information in the configuration information as the sub-application scenarios corresponding to the respective classification methods.
8. The device according to claim 6, characterized in that The weight of the first method is greater than the weight of the second method, the weight of the second method is greater than the weight of the third method, and the weight of the third method is greater than the weight of the fourth method; The determining module is used to: The sum of the weights of all the classification methods corresponding to each of the sub-application scenarios is determined as the scenario weight of the sub-application scenario; The sub-application scenario corresponding to the largest scenario weight is determined as the target application scenario.
9. A terminal, characterized in that: The terminal comprises: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the method according to any one of claims 1 to 4.
10. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of a terminal, the terminal is enabled to execute the method as claimed in any one of claims 1 to 4.
