Disclosure of Invention
The embodiment of the application provides a group member processing method and device, computer equipment and a storage medium, which can improve the interactive atmosphere in a group and improve the interactive experience. The technical scheme is as follows:
in one aspect, a group member handling method is provided, including:
acquiring user behavior data of a user in a target group;
determining the group activity category of the user according to the user behavior data;
and when the group activity category of the user is a target category, carrying out group member processing based on the user, wherein the target category is a group category which does not meet the activity condition.
In one aspect, a group member handling method is provided, including:
displaying a group setting interface of a target group, wherein the group setting interface comprises a group quitting setting option which is used for setting a prompting mode of prompting group quitting of the target group;
when the setting operation of the group quitting setting option is detected, sending the group quitting processing setting information corresponding to the setting operation to a group server;
and when the group quitting processing setting information indicates that a management user is prompted, displaying a first quitting prompting message received from the group server, wherein the first quitting prompting message is used for prompting the management user to clearly quit a user in a target class from the target group, and the target class is a group class which does not meet an activity degree condition.
In one aspect, a group member processing apparatus is provided, including:
the data acquisition module is used for acquiring user behavior data of a user in a target group;
the category determination module is used for determining the group active category of the user according to the user behavior data;
and the prompting module is used for carrying out group member processing based on the user when the group active category of the user is a target category, wherein the target category is a group category which does not meet the activity condition.
In one possible implementation, the apparatus further includes:
a setting information obtaining module for obtaining the group setting information of the user to the target group;
the category determination module is used for determining the group activity category of the user according to the user behavior data and the group setting information.
In one possible implementation, the group setting information for the target group includes at least one of: whether the user sets the target group as a non-disturbing group, whether the user sets the target group as a set-top group, and whether the user sets the target group as a storage group to an address list group.
In one possible implementation, the user behavior data of the user in the target group includes at least one of: the message publishing data of the user in the target group; dwell time data of the user in the target group; interaction data of the user with other member users in the target group; the time when the user last entered the target group; the time when the user last published the message in the target group; the user sets the target group to a do not disturb group time.
In a possible implementation manner, the category determining module is configured to perform cluster analysis on the users in the target group according to the user behavior data to obtain a group activity category of the user.
In one possible implementation, the processing module is configured to:
sending a first quit prompting message to a management user of the target group, wherein the first quit prompting message is used for prompting the management user to clearly quit the user from the target group; or the like, or, alternatively,
sending a second quit prompting message to the user, wherein the second quit prompting message is used for prompting the user to quit the target group by himself;
and clearing the user from the target group.
In one possible implementation, the apparatus further includes: the device comprises a setting information acquisition module, a group returning processing setting module and a group member processing module, wherein the setting information acquisition module is used for acquiring group returning processing setting information of the target group, and the group returning processing setting information is used for indicating a group member processing mode;
the processing module is used for executing the step of processing the group members based on the user according to the group member processing mode indicated by the group quitting processing setting information.
In one aspect, a group member processing apparatus is provided, including:
the display module is used for displaying a group setting interface of a target group, the group setting interface comprises a group quitting setting option, and the group quitting setting option is used for setting a prompting mode for prompting group quitting of the target group;
the sending module is used for sending the group quitting processing setting information corresponding to the setting operation to the group server after the setting operation of the group quitting setting option is detected;
the display module is further configured to display a first quit prompting message received from the group server when the quit processing setting information indicates that a management user is prompted, where the first quit prompting message is used to prompt the management user to clearly quit a user in a target category from the target group, and the target category is a group category that does not meet an activity condition.
In one possible implementation manner, the display module is further configured to display a target user list of the target group, where the target user list includes users of the target category.
In a possible implementation manner, one item content in the target user list includes a user in the target category and group activity description information of the user, and the group activity description information is used for representing historical behaviors of the user in the target group.
In a possible implementation manner, the sending module is further configured to send a clearing request to a group server when detecting a clearing operation on any user in the target user list, where the clearing request carries a user identifier of a user corresponding to the clearing operation.
In one aspect, a computer device is provided that includes one or more processors and one or more memories having at least one program code stored therein, the program code being loaded and executed by the one or more processors to perform the operations performed by the group member processing method as described above.
In one aspect, a computer-readable storage medium is provided, in which at least one program code is stored, the program code being loaded and executed by a processor to implement the operations performed by the group member processing method as described above.
According to the technical scheme provided by the embodiment of the application, the group quitting processing is carried out on the users by detecting the active condition of the users in the group. For the group, the number of people occupying the group by an inactive user can be avoided, the participation of the user in the group is improved, and the interactive atmosphere in the group is improved, so that the interactive experience of the group is improved.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an implementation environment of a group member processing method provided in an embodiment of the present application, and referring to fig. 1, the implementation environment includes a terminal 110 and a server 140.
The terminal 110 is connected to the server 110 through a wireless network or a wired network. The terminal 110 may be a smart phone, a tablet computer, a portable computer, or the like. The terminal 110 is installed and operated with an application program supporting the session processing technology. The application program can be a social application program, and the application program of the social application can also have functions of audio and video playing and the like. Illustratively, the terminal 110 is a terminal used by a user, and an application running in the terminal 110 is logged with a user account.
The terminal 110 is connected to the server 140 through a wireless network or a wired network.
The server 140 may be a cloud computing platform, a virtualization center, or the like. The server 140 is used to provide background services for applications that support group services. Optionally, the server 140 undertakes the primary group service processing work, and the terminal 110 undertakes the secondary group service processing work; or, the server 140 undertakes the secondary group service processing work, and the terminal 110 undertakes the primary group service processing work; alternatively, the server 140 or the terminal 110 may respectively undertake the group service processing work individually.
Optionally, the server 140 comprises: an access server, a group server and a database. The access server is used to provide access services for the terminal 110. The group server is used for providing background services related to group business processing. The database can include a group behavior database, a user information database and the like, different databases can be corresponded based on different services provided by the server, and one or more group servers can be provided. When the group server is multiple, there are at least two group servers for providing different services, and/or there are at least two group servers for providing the same service, for example, providing the same service in a load balancing manner, which is not limited in the embodiments of the present application.
The terminal 110 may be generally referred to as one of a plurality of terminals, and the embodiment is only illustrated by the terminal 110.
Those skilled in the art will appreciate that the number of terminals described above may be greater or fewer. For example, the number of the terminal may be only one, or several tens or hundreds, or more, and in this case, other terminals are also included in the implementation environment. The number of terminals and the type of the device are not limited in the embodiments of the present application.
Referring to a schematic method principle shown in fig. 2, in the group member processing method provided in the embodiment of the present application, a management user may set a group quitting mode, and a group server side may detect an active situation, so that the active situation is displayed on a client of the management user based on the detected active situation, and the group quitting processing is performed on the user based on the group quitting mode set by the management user, for example, the user is directly cleared or the user is recommended to perform group quitting by himself. For the group, the number of the group occupied by the inactive user can be avoided, the participation of the user in the group is improved, the interaction atmosphere in the group is improved, for the inactive user, the intelligentization degree of the group can be improved, the storage space can be effectively saved for the user, and the message issued in the group which is not concerned by the user does not need to be stored. A specific implementation of the group member processing method is exemplarily described below based on the above-described principle.
Fig. 3 is a flowchart of a group member processing method according to an embodiment of the present application. Referring to fig. 3, the interaction between the first terminal logged in by the management user of the target group, the group server, and the second terminal logged in by the group member user is only used as an example in fig. 3, and the process may specifically include the following steps.
301. The first terminal displays a group setting interface of the target group, wherein the group setting interface comprises a group quitting setting option which is used for setting a group member processing mode based on the active condition detection in the group.
In the embodiment of the present application, for any group, how to perform group quitting processing based on active condition detection in the group may be performed by a management user of the group, and the setting may be performed through a group setting interface. For example, referring to the group setting interface of fig. 4, the group setting interface may provide, for example, a group active group withdrawal detection option 400, and when a trigger operation on the option 400 is detected, the interface shown in fig. 5 may be displayed to set a group withdrawal processing mode. In fig. 5, a prompting manner based on group activity detection may be provided, for example, an "inactive automatic group quitting" option may be provided, when the option is turned on, any user may be automatically quitted if it is detected that any user meets the group quitting condition, and for example, a "sending group quitting notification member manual group quitting" option may be provided, when the option is turned on, and when it is detected that any user meets the group quitting condition, a group quitting prompt may be sent to the member user, and the member user is recommended to push out the group. Of course, the embodiment of the present application may also provide selection of other group quitting prompting manners, for example, prompting the management user to perform a quitting operation, and the like.
The group returning setting option may be provided as one or more options, when one option is provided, multiple processing modes may be provided through the group returning setting option, and the processing mode selected by the user is determined as the member processing mode of the target group, and when multiple options are provided, one option may correspond to one processing mode, and the processing mode corresponding to the option selected by the user is determined as the member processing mode of the target group.
302. And when the setting operation of the group quitting setting option is detected, the first terminal sends the group quitting processing setting information corresponding to the setting operation to the group server.
303. The group server sets the target group after receiving the group quitting processing setting information of the target group.
After the management user performs the relevant settings, the detection of the active condition of the target group may be triggered by the group server. After the group server receives the group processing setting information, a setting regarding active condition detection may be performed for the target group, for example, a detection period may be set, so that the target group may perform periodic detection based on the detection period, thereby ensuring continuous detection within the target group. For example, when the number of existing members of the target group reaches the upper limit of the group members, a first detection period lower than the standard detection period may be set to achieve frequent detection to determine inactive users, thereby increasing the activity level in the group, and when the ratio between the existing members and the upper limit of the group members is less than half, a second detection period higher than the standard detection period may be set to avoid resource waste caused by frequent detection. The specific period duration is not limited, and the standard detection period can be the duration which can meet the detection requirement and is obtained based on experiments.
304. The group server acquires user behavior data in a target group and group setting information of a user to the target group.
When any target group reaches the detection period of the group activity detection, the group server may obtain the behavior data of the member user and the group setting information of the user on the target group from the behavior database based on the user identifier of the member user in the target group.
Wherein the user behavior data of the user in the target group comprises at least one of the following items:
(1) the message publishing data of the user in the target group can refer to the number of published messages and the publishing time, and can be used for measuring the message publishing frequency of the user in the group;
(2) the dwell time data of the user in the target group, which may be the sum of the time from each time the user enters the group session to the time the user leaves the group session, may be used to measure the user's interest level in the group;
(3) the interactive data of the user and other member users in the target group can be the information that the user prompts others to see the user, such as @ other users;
the above points (1) to (3) can be used to measure the activity of the user in the group from multiple aspects. The data may be data in a time period with the current detection time as the end point, for example, the message sending amount in the last 3 months, the staying time in the last 3 months, the @ amount in the last 3 months, and the like, and the index may determine the degree of importance of the user to the group.
(4) The last time the user entered the target group, may be used to measure the user's stickiness to the group;
(5) the time that the user last published a message in the target group can be used to measure the user's stickiness to the group.
The above points (4) and (5) can be used to measure the stickiness of the user to the group, i.e. whether the user has lost interest in the group. If the number of days from the current time is very different, this indicates that the user has little to no use of the group. Of course, the data may also include information such as the date the group was last set as a silent group, to measure the stickiness of the user in the group,
wherein the group setting information for the target group includes at least one of: whether the user sets the target group as a non-disturbing group, whether the user sets the target group as a set-top group, and whether the user sets the target group as a storage group to an address list group. The user's viscosity can be seen by the settings made by the users to the group, and therefore, the user's viscosity can also be used as reference data for measuring the user activity.
305. And the group server performs cluster analysis on the user based on the user behavior data in the target group and the group setting information of the user to the target group to obtain the group activity category of the user.
The embodiment of the present invention is described by taking this way as an example, and in some possible implementations, the recognition may be performed by establishing a recognition model, where the recognition model may be trained based on user behavior data of users in a sample group, group setting information, and the like, so as to learn whether data such as user behavior and group setting are lost for the users, so as to achieve the recognition purpose.
It should be noted that the cluster analysis refers to cluster analysis of member users in a group, and since there is no comparability between different groups, clustering the active situations of the member users in the group can identify users that are relatively active or inactive, so as to provide a relative reference for the management user. For example, for a target group, the user group with the lowest viscosity and liveness in the group can be positioned as the lost user through cluster analysis in the group, and according to the index, member users are recommended to automatically quit the group or recommend to quit the group according to the situation, and the like.
306. The group server sends a first quit prompting message to the first terminal, wherein the first quit prompting message is used for prompting the management user to quit the user from the target group.
If the group quitting processing mode is set as the clearing quit of the management user by the management user, the user belonging to the target category can be recommended to the management user, and the clearing quit is carried out by the management user. For example, the group server may send a first exit prompt message to the first terminal of the administrative user, where the first exit prompt message may include users belonging to the target category and an exit trigger option, and when the administrative user triggers the exit trigger option, all the users belonging to the target category may be exited by one key. Of course, the first quit prompting message may also be a user belonging to the target category and a quit selection option for each user, and when a user belonging to the target category is selected by the management user, a user may be singly quit.
In one possible implementation, the administrative user may also perform the clearing of the member users based on a target user list of the target group, which includes users of the target category. Wherein, an entry content in the target user list includes a user of the target category and group activity description information of the user, and the group activity description information is used for representing historical behaviors of the user in the target group. As shown in the lower half of fig. 5, for user small a, etc., the time of last entering the group or speaking can be displayed in the entry content of the user, thereby providing a data reference for managing the user's clearing process. And when the first terminal detects the clearing operation on any user in the target user list, sending a clearing request to the group server, wherein the clearing request carries the user identifier of the user corresponding to the clearing operation. The group server can control the corresponding user to quit the target group based on the carried user identification after receiving the clearing request, thereby providing a more flexible group management function for the management user.
307. And for the target class of users, the group server sends a second quit prompting message to a second terminal logged in by the user, wherein the second quit prompting message is used for prompting the user to quit the target group by himself.
If the management user sets the group quitting processing mode as recommending that the user quits by himself, a second quitting prompting message can be sent to the user belonging to the target category, the second quitting prompting message can carry a quitting option, and when the user receives the second quitting prompting message, the purpose of quickly quitting the group can be achieved by clicking the quitting option.
Of course, in addition to the above setting selection, the administrative user may set the quit processing mode to automatic quit, that is, when the user belongs to the target category, the administrative user or the user himself does not need to quit, but the group server directly controls the user to quit the target group, thereby achieving the purpose of quick quit.
When any user exits the target group, the exit event can be displayed in the session of the target group so as to remind other member users to improve the activity and avoid influencing the group session experience.
It should be noted that the group referred to in the embodiments of the present application may refer to a temporary group or any form of group, and the concrete representation thereof may include that members in the group may communicate in the same session, and therefore, the group may also be a session.
All the above optional technical solutions may be combined arbitrarily to form optional embodiments of the present application, and are not described herein again.
With reference to the foregoing embodiment, the process of the group member processing method is exemplarily described by taking the data shown in table 1 as an example, as shown in table 1 below, the user identifier is used to uniquely identify one user, and the session identifier (or group identifier) is used to uniquely identify one session (or group), referring to the flowchart shown in fig. 6, for a user, user behavior data of its client may be collected, such as some recent times, including recent group entering time, recent speaking time, and time for the group to be muted last, and information capable of indicating the activity of the user may also be collected, including message sent in the last 3 months, stay time in the last 3 months, and interaction amount in the last 3 months, such as usage amount of operation of @ (reminder to view).
TABLE 1
The server can perform cluster analysis on the member users in the group based on the collected information to obtain a plurality of user groups belonging to different categories, wherein the user in each user group corresponds to a category, and the category can be a category for representing the activity degree of the user in the group, and can be defined as a lost user for a user belonging to a target category, recommend the lost user to quit the group, and present the recommendation on the client.
Fig. 7 is a schematic structural diagram of a group member processing device according to an embodiment of the present application. Referring to fig. 7, the apparatus includes:
a data obtaining module 701, configured to obtain user behavior data of a user in a target group;
a category determining module 702, configured to determine, according to the user behavior data, a group active category of the user;
a processing module 703, configured to perform group member processing based on the user when the group active category of the user is a target category, where the target category is a group category that does not meet an activity condition.
In one possible implementation, the apparatus further includes:
a setting information obtaining module for obtaining the group setting information of the user to the target group;
the category determination module is used for determining the group activity category of the user according to the user behavior data and the group setting information.
In one possible implementation, the group setting information for the target group includes at least one of: whether the user sets the target group as a non-disturbing group, whether the user sets the target group as a set-top group, and whether the user sets the target group as a storage group to an address list group.
In one possible implementation, the user behavior data of the user in the target group includes at least one of: the message publishing data of the user in the target group; dwell time data of the user in the target group; interaction data of the user with other member users in the target group; the time when the user last entered the target group; the time when the user last published the message in the target group; the user sets the target group to a do not disturb group time.
In a possible implementation manner, the category determining module is configured to perform cluster analysis on the users in the target group according to the user behavior data to obtain a group activity category of the user.
In one possible implementation, the processing module is configured to:
sending a first quit prompting message to a management user of the target group, wherein the first quit prompting message is used for prompting the management user to clearly quit the user from the target group; or the like, or, alternatively,
sending a second quit prompting message to the user, wherein the second quit prompting message is used for prompting the user to quit the target group by himself;
and clearing the user from the target group.
In one possible implementation, the apparatus further includes: the device comprises a setting information acquisition module, a group returning processing setting module and a group member processing module, wherein the setting information acquisition module is used for acquiring group returning processing setting information of the target group, and the group returning processing setting information is used for indicating a group member processing mode;
the processing module is used for executing the step of processing the group members based on the user according to the group member processing mode indicated by the group quitting processing setting information.
It should be noted that: the group member processing apparatus provided in the foregoing embodiment is only illustrated by the division of the functional modules when the group member processes, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the group member processing apparatus and the group member processing method provided in the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
Fig. 8 is a schematic structural diagram of a group member processing device according to an embodiment of the present application. Referring to fig. 8, the apparatus includes:
a display module 801, configured to display a group setting interface of a target group, where the group setting interface includes a group quitting setting option, and the group quitting setting option is used to set a prompt mode for performing a group quitting prompt on the target group;
a sending module 802, configured to send group quitting processing setting information corresponding to the setting operation to a group server after the setting operation on the group quitting setting option is detected;
the display module 801 is further configured to display a first quit prompting message received from the group server when the quit processing setting information indicates that a management user is prompted, where the first quit prompting message is used to prompt the management user to clearly quit a user in a target category from the target group, and the target category is a group category that does not meet an activity condition.
In one possible implementation manner, the display module is further configured to display a target user list of the target group, where the target user list includes users of the target category.
In one possible implementation manner, one item content in the target user list includes a user in the target category and group activity description information of the user, and the group activity description information is used for representing historical behaviors of the user in the target group.
In a possible implementation manner, the sending module is further configured to send a clearing request to the group server when detecting a clearing operation on any user in the target user list, where the clearing request carries a user identifier of a user corresponding to the clearing operation.
It should be noted that: the group member processing apparatus provided in the foregoing embodiment is only illustrated by the division of the functional modules when the group member processes, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the group member processing apparatus and the group member processing method provided in the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
For the computer device provided in this embodiment of the present application, a server may be provided, where the server may be configured to execute the method on the group server side in the foregoing embodiments, fig. 9 is a schematic structural diagram of a server provided in this embodiment of the present application, where the server 900 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 901 and one or more memories 902, where the one or more memories 902 store at least one instruction, and the at least one instruction is loaded and executed by the one or more processors 901 to implement the method provided in each method embodiment described above. Certainly, the server 900 may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input and output, and the server 900 may also include other components for implementing device functions, which are not described herein again.
For the computer device provided in the embodiment of the present application, it may be provided as a terminal, for example, fig. 10 is a schematic structural diagram of a terminal provided in the embodiment of the present application, and the terminal may be configured to execute the method on the terminal side in the above embodiment. The terminal 1000 can be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group audio Layer III, motion Picture Experts compression standard audio Layer 3), an MP4 player (Moving Picture Experts Group audio Layer IV, motion Picture Experts compression standard audio Layer 4), a notebook computer, or a desktop computer. Terminal 1000 can also be referred to as user equipment, portable terminal, laptop terminal, desktop terminal, or the like by other names.
In general, terminal 1000 can include: one or more processors 1001 and one or more memories 1002.
Processor 1001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The processor 1001 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1001 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1001 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 1001 may further include an AI (Artificial Intelligence) processor for processing a computing operation related to machine learning.
Memory 1002 may include one or more computer-readable storage media, which may be non-transitory. The memory 1002 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1002 is used to store at least one instruction for execution by processor 1001 to implement the group member processing methods provided by method embodiments herein.
In some embodiments, terminal 1000 can also optionally include: a peripheral interface 1003 and at least one peripheral. The processor 1001, memory 1002 and peripheral interface 1003 may be connected by a bus or signal line. Various peripheral devices may be connected to peripheral interface 1003 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1004, display screen 1005, camera 1006, audio circuitry 1007, positioning components 1008, and power supply 1009.
The peripheral interface 1003 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 1001 and the memory 1002. In some embodiments, processor 1001, memory 1002, and peripheral interface 1003 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1001, the memory 1002, and the peripheral interface 1003 may be implemented on separate chips or circuit boards, which are not limited by this embodiment.
The Radio Frequency circuit 1004 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 1004 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1004 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1004 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1004 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 1004 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 1005 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1005 is a touch display screen, the display screen 1005 also has the ability to capture touch signals on or over the surface of the display screen 1005. The touch signal may be input to the processor 1001 as a control signal for processing. At this point, the display screen 1005 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, display screen 1005 can be one, providing a front panel of terminal 1000; in other embodiments, display 1005 can be at least two, respectively disposed on different surfaces of terminal 1000 or in a folded design; in still other embodiments, display 1005 can be a flexible display disposed on a curved surface or on a folded surface of terminal 1000. Even more, the display screen 1005 may be arranged in a non-rectangular irregular figure, i.e., a shaped screen. The Display screen 1005 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The camera assembly 1006 is used to capture images or video. Optionally, the camera assembly 1006 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1006 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 1007 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1001 for processing or inputting the electric signals to the radio frequency circuit 1004 for realizing voice communication. For stereo sound collection or noise reduction purposes, multiple microphones can be provided, each at a different location of terminal 1000. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1001 or the radio frequency circuit 1004 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuit 1007 may also include a headphone jack.
A location component 1008 is employed to locate a current geographic location of terminal 1000 for navigation or LBS (location based Service). The positioning component 1008 may be a positioning component based on the GPS (global positioning System) in the united states, the beidou System in china, the graves System in russia, or the galileo System in the european union.
Power supply 1009 is used to supply power to various components in terminal 1000. The power source 1009 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When the power source 1009 includes a rechargeable battery, the rechargeable battery may support wired charging or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 1000 can also include one or more sensors 1010. The one or more sensors 1010 include, but are not limited to: acceleration sensor 1011, gyro sensor 1012, pressure sensor 1013, fingerprint sensor 1014, optical sensor 1015, and proximity sensor 1016.
Acceleration sensor 1011 can detect acceleration magnitudes on three coordinate axes of a coordinate system established with terminal 1000. For example, the acceleration sensor 1011 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 1001 may control the display screen 1005 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1011. The acceleration sensor 1011 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1012 may detect a body direction and a rotation angle of the terminal 1000, and the gyro sensor 1012 and the acceleration sensor 1011 may cooperate to acquire a 3D motion of the user on the terminal 1000. From the data collected by the gyro sensor 1012, the processor 1001 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensor 1013 can be disposed on a side frame of terminal 1000 and/or underneath display screen 1005. When pressure sensor 1013 is disposed on a side frame of terminal 1000, a user's grip signal on terminal 1000 can be detected, and processor 1001 performs left-right hand recognition or shortcut operation according to the grip signal collected by pressure sensor 1013. When the pressure sensor 1013 is disposed at a lower layer of the display screen 1005, the processor 1001 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 1005. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1014 is used to collect a fingerprint of the user, and the processor 1001 identifies the user according to the fingerprint collected by the fingerprint sensor 1014, or the fingerprint sensor 1014 identifies the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, the processor 1001 authorizes the user to perform relevant sensitive operations including unlocking a screen, viewing encrypted information, downloading software, paying, and changing settings, etc. Fingerprint sensor 1014 can be disposed on the front, back, or side of terminal 1000. When a physical key or vendor Logo is provided on terminal 1000, fingerprint sensor 1014 can be integrated with the physical key or vendor Logo.
The optical sensor 1015 is used to collect the ambient light intensity. In one embodiment, the processor 1001 may control the display brightness of the display screen 1005 according to the ambient light intensity collected by the optical sensor 1015. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1005 is increased; when the ambient light intensity is low, the display brightness of the display screen 1005 is turned down. In another embodiment, the processor 1001 may also dynamically adjust the shooting parameters of the camera assembly 1006 according to the intensity of the ambient light collected by the optical sensor 1015.
Proximity sensor 1016, also known as a distance sensor, is typically disposed on a front panel of terminal 1000. Proximity sensor 1016 is used to gather the distance between the user and the front face of terminal 1000. In one embodiment, when proximity sensor 1016 detects that the distance between the user and the front surface of terminal 1000 is gradually reduced, processor 1001 controls display screen 1005 to switch from a bright screen state to a dark screen state; when proximity sensor 1016 detects that the distance between the user and the front of terminal 1000 is gradually increased, display screen 1005 is controlled by processor 1001 to switch from a breath-screen state to a bright-screen state.
Those skilled in the art will appreciate that the configuration shown in FIG. 10 is not intended to be limiting and that terminal 1000 can include more or fewer components than shown, or some components can be combined, or a different arrangement of components can be employed.
In an exemplary embodiment, a computer-readable storage medium, such as a memory, is also provided that includes instructions executable by a processor to perform the group member processing methods of the above embodiments. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.