CN107453978B - Group-based data statistical method, mobile terminal, server and storage medium - Google Patents

Group-based data statistical method, mobile terminal, server and storage medium Download PDF

Info

Publication number
CN107453978B
CN107453978B CN201710548501.7A CN201710548501A CN107453978B CN 107453978 B CN107453978 B CN 107453978B CN 201710548501 A CN201710548501 A CN 201710548501A CN 107453978 B CN107453978 B CN 107453978B
Authority
CN
China
Prior art keywords
server
statistical
message
mobile terminal
group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710548501.7A
Other languages
Chinese (zh)
Other versions
CN107453978A (en
Inventor
刘卫方
姜国定
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201710548501.7A priority Critical patent/CN107453978B/en
Publication of CN107453978A publication Critical patent/CN107453978A/en
Application granted granted Critical
Publication of CN107453978B publication Critical patent/CN107453978B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • H04L12/1831Tracking arrangements for later retrieval, e.g. recording contents, participants activities or behavior, network status
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a group-based data statistical method, a mobile terminal, a server and a storage medium. According to the method and the device, when the message input by the user in the target group is matched with the preset topic format, the starting information is sent to the server, when the activation identifier fed back by the server is received, the preset button is displayed in the display interface, when the condition that the user triggers the preset button is detected, the statistical instruction is generated, the statistical instruction is sent to the server, and the statistical result fed back by the server is received and displayed, so that the data in the group can be counted very conveniently, the user does not need to fill in a statistical webpage, and the group administrator does not need to spend a large amount of time on maintaining a background.

Description

Group-based data statistical method, mobile terminal, server and storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a group-based data statistics method, a mobile terminal, a server, and a storage medium.
Background
With the development of social tools such as WeChat and microblog, almost everyone joins some groups at present due to interests, hobbies, work and the like. Users of interest learning groups may sign in, check in, talk about topics, etc. within the group, while work groups may sign in, report workload, participate in activity statistics, etc. Thus statistics become more and more frequent and important within a group.
Most group administrators use professional statistical web pages for the convenience of statistics, so that users fill in the statistical web pages according to a fixed pattern, and then perform statistics in the background of the statistical web pages. This takes both a significant amount of time for the user and a significant amount of time for the group administrator to maintain the background.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a group-based data statistical method, a mobile terminal, a server and a storage medium, and aims to solve the technical problems that in the prior art, a professional statistical webpage is used for statistics, a user needs to fill in the statistical webpage, and a group administrator needs to spend a large amount of time on maintaining a webpage background.
Therefore, the data in the group can be counted very conveniently, a user does not need to fill in a counting webpage, and a group administrator does not need to spend a large amount of time on maintaining the background.
In order to achieve the above object, the present invention provides a group-based data statistics method, which comprises the following steps:
the mobile terminal acquires a message input by a user in a target group;
when the input message is matched with a preset topic format, sending starting information to a server, so that the server starts to record the message in the target group and feeds back an activation identifier when receiving the starting information;
when receiving an activation identifier fed back by the server, displaying a preset button in a display interface;
when detecting that the user triggers the preset button, generating a statistical instruction, and sending the statistical instruction to the server, so that the server performs message statistics according to the recorded message and feeds back a statistical result when receiving the statistical instruction;
and receiving and displaying the statistical result fed back by the server.
Preferably, when the input message matches a preset topic format, sending start information to a server, so that the server starts recording the message in the target group and feeds back an activation identifier when receiving the start information, specifically including:
when the input message is matched with a preset topic format, sending starting information comprising the preset topic format to a server, so that the server starts to record the message matched with the preset topic format in the target group when receiving the starting information, and feeding back an activation identifier.
Preferably, before the preset button is displayed in the display interface when the activation identifier fed back by the server is received, the method further includes:
extracting keywords from the input message, determining a topic type corresponding to the input message according to the extracted keywords, and sending the topic type to the server;
correspondingly, when it is detected that the user triggers the preset button, a statistical instruction is generated and sent to the server, so that the server performs message statistics according to the recorded message and feeds back a statistical result when receiving the statistical instruction, and the method specifically includes:
when the fact that the user triggers the preset button is detected, a statistical instruction is generated, the statistical instruction is sent to the server, so that when the server receives the statistical instruction, a statistical mode corresponding to the topic type is searched, message statistics is carried out through the searched statistical mode according to the recorded messages, and a statistical result is fed back.
In addition, to achieve the above object, the present invention also provides a mobile terminal, including: a memory, a processor, and a group-based data statistics program stored on the memory and executable on the processor, the group-based data statistics program configured to implement the steps of the group-based data statistics method.
In addition, to achieve the above object, the present invention further provides a computer-readable storage medium, on which a group-based data statistics program is stored, which, when executed by a processor, implements the steps of the group-based data statistics method.
In addition, to achieve the above object, the present invention further provides a group-based data statistics method, including the following steps:
when receiving the starting information sent by the mobile terminal, the server records the information in the target group;
feeding back an activation identifier to the mobile terminal so that the user terminal displays a preset button in a display interface when receiving the activation identifier;
when a statistical instruction sent by the mobile terminal is received, message statistics is carried out according to the recorded messages, a statistical result is sent to the mobile terminal, so that the mobile terminal receives and displays the statistical result, and the statistical instruction is generated when the mobile terminal detects that a user triggers the preset button.
Preferably, when receiving the start information sent by the mobile terminal, the server records the message in the target group, which specifically includes:
the method comprises the steps that when the server receives starting information which comprises a preset topic format and is sent by the mobile terminal, a message which is matched with the preset topic format in a target group is recorded.
Preferably, the feeding back an activation identifier to the mobile terminal so that the user terminal displays a preset button in a display interface when receiving the activation identifier, the method further includes:
receiving the topic type sent by the mobile terminal;
correspondingly, when receiving the statistical instruction sent by the mobile terminal, performing message statistics according to the recorded message, and sending a statistical result to the mobile terminal, so that the mobile terminal receives and displays the statistical result, specifically comprising:
and when a statistical instruction sent by the mobile terminal is received, searching a statistical mode corresponding to the topic type, performing message statistics according to the recorded messages through the searched statistical mode, and sending a statistical result to the mobile terminal so that the mobile terminal receives and displays the statistical result.
In addition, to achieve the above object, the present invention also provides a server, including: a memory, a processor, and a group-based data statistics program stored on the memory and executable on the processor, the group-based data statistics program configured to implement the steps of the group-based data statistics method.
In addition, to achieve the above object, the present invention further provides a computer-readable storage medium, on which a group-based data statistics program is stored, which, when executed by a processor, implements the steps of the group-based data statistics method.
According to the method and the device, when the message input by the user in the target group is matched with the preset topic format, the starting information is sent to the server, when the activation identifier fed back by the server is received, the preset button is displayed in the display interface, when the condition that the user triggers the preset button is detected, the statistical instruction is generated, the statistical instruction is sent to the server, and the statistical result fed back by the server is received and displayed, so that the data in the group can be counted very conveniently, the user does not need to fill in a statistical webpage, and the group administrator does not need to spend a large amount of time on maintaining a background.
Drawings
Fig. 1 is a schematic structural diagram of a mobile terminal in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a group-based data statistics method according to the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of the group-based data statistics method according to the present invention;
FIG. 4 is a flow chart illustrating a third embodiment of the group-based data statistics method of the present invention;
FIG. 5 is a diagram illustrating a first type of message in a target group according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating a second type of message in a target group according to an embodiment of the present invention;
FIG. 7 is a diagram illustrating a third message in the target group according to the present invention;
FIG. 8 is a diagram illustrating statistics of the first message shown in FIG. 5;
FIG. 9 is a diagram illustrating a statistical structure of the second message shown in FIG. 6;
FIG. 10 is a diagram illustrating a statistical structure of the third message shown in FIG. 7;
FIG. 11 is a schematic diagram of a server architecture of a hardware operating environment according to an embodiment of the present invention;
FIG. 12 is a flowchart illustrating a fourth embodiment of the group-based data statistics method according to the present invention;
FIG. 13 is a flowchart illustrating a fifth embodiment of a group-based data statistics method according to the present invention;
FIG. 14 is a flowchart illustrating a sixth embodiment of a group-based data statistics method according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, the mobile terminal may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the mobile terminal and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
In a specific implementation, the mobile terminal may be a terminal device such as a smart phone, a tablet computer, or a notebook computer, and certainly, may also be another terminal device having a similar function, which is not limited in this embodiment.
As shown in fig. 1, the memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a group-based data statistics program.
In the mobile terminal shown in fig. 1, the network interface 1004 is mainly used for connecting a server and performing data communication with the server; the user interface 1003 is mainly used for receiving an operation instruction of a user; the mobile terminal invokes the group-based data statistics program stored in the memory 1005 via the processor 1001 and performs the following operations:
acquiring a message input by a user in a target group;
when the input message is matched with a preset topic format, sending starting information to a server, so that the server starts to record the message in the target group and feeds back an activation identifier when receiving the starting information;
when receiving an activation identifier fed back by the server, displaying a preset button in a display interface;
when detecting that the user triggers the preset button, generating a statistical instruction, and sending the statistical instruction to the server, so that the server performs message statistics according to the recorded message and feeds back a statistical result when receiving the statistical instruction;
and receiving and displaying the statistical result fed back by the server.
Further, the processor 1001 may call the group-based data statistics program stored in the memory 1005, and also perform the following operations:
when the input message is matched with a preset topic format, sending starting information comprising the preset topic format to a server, so that the server starts to record the message matched with the preset topic format in the target group when receiving the starting information, and feeding back an activation identifier.
Further, the processor 1001 may call the group-based data statistics program stored in the memory 1005, and also perform the following operations:
extracting keywords from the input message, determining a topic type corresponding to the input message according to the extracted keywords, and sending the topic type to the server;
when the fact that the user triggers the preset button is detected, a statistical instruction is generated, the statistical instruction is sent to the server, so that when the server receives the statistical instruction, a statistical mode corresponding to the topic type is searched, message statistics is carried out through the searched statistical mode according to the recorded messages, and a statistical result is fed back.
According to the scheme, when the message input by the user in the target group is matched with the preset topic format, the starting information is sent to the server, the preset button is displayed in the display interface when the activation identifier fed back by the server is received, the statistical instruction is generated when the preset button is detected to be triggered by the user, the statistical instruction is sent to the server, and the statistical result fed back by the server is received and displayed, so that the statistics of the data in the group can be carried out very conveniently, the user does not need to fill in a statistical webpage, and the group administrator does not need to spend a large amount of time on maintaining the background.
Based on the hardware structure, the embodiment of the group-based data statistical method is provided.
Referring to fig. 2, fig. 2 is a flowchart illustrating a group-based data statistics method according to a first embodiment of the present invention.
In a first embodiment, the group-based data statistics method comprises the steps of:
s10: acquiring a message input by a user in a target group;
it should be noted that, in order to facilitate communication in social tools such as wechat and microblog, a group is established in the social tools, users in the group can communicate with each other, and the target group is a group of the user input message.
It is understood that the message input by the user may be a message input by the user at the current time, and of course, the message may also be a message input by the user in history, which is not limited in this embodiment.
S20: when the input message is matched with a preset topic format, sending starting information to a server, so that the server starts to record the message in the target group and feeds back an activation identifier when receiving the starting information;
it will be appreciated that when a user needs to initiate a certain topic, for example: initiating topics such as card punching, sign-in, or discussion topic, the message may be edited according to a predetermined topic format, where the predetermined topic format may be set to "# xxx #", that is, the message is set between two "#", and of course, the predetermined topic format may also be other formats as long as it can be distinguished from a conventional message, which is not limited in this embodiment.
In a specific implementation, when an input message is matched with a preset topic format, a user can be identified as a topic initiator, and at this time, start information can be sent to a server, so that the server starts to record the message in the target group and feeds back an activation identifier when receiving the start information.
S30: when receiving an activation identifier fed back by the server, displaying a preset button in a display interface;
it should be noted that the preset button may be a button, a word, a picture, or the like, which is not limited in this embodiment, so as to make the user understand the meaning of the preset button, taking the button as an example, a mark of "one-key statistics" may be displayed on the button.
In order to facilitate the user to view the preset button, the preset button may be displayed in a display interface where the target group is located.
In a specific implementation, the group administrator having the highest authority in the target group is usually the group administrator, and therefore, the group administrator may need to have the authority for group statistics, so that the group administrator can receive the activation flag fed back by the server in addition to the topic originator, and display a preset button on a display interface of the mobile terminal used by the group administrator, and similarly, the mobile terminal used by the group administrator can also execute the following steps S40 to S50, so that the group administrator has the authority for group statistics.
S40: when detecting that the user triggers the preset button, generating a statistical instruction, and sending the statistical instruction to the server, so that the server performs message statistics according to the recorded message and feeds back a statistical result when receiving the statistical instruction;
it can be understood that, when the user needs to perform statistics, the preset button is triggered, and therefore, when it is detected that the user triggers the preset button, a statistical instruction is generated and sent to the server, so that the server performs message statistics according to the recorded message and feeds back a statistical result when receiving the statistical instruction.
S50: and receiving and displaying the statistical result fed back by the server.
In a specific implementation, the statistical result may be a text statistical result, and certainly, in order to display the statistical result more intuitively, the statistical result may also be a chart statistical result.
It should be noted that, in order to facilitate data transmission of the statistical result, in this embodiment, json data or xml data may be used as the statistical result.
According to the embodiment, when the message input by the user in the target group is matched with the preset topic format, the starting information is sent to the server, the preset button is displayed in the display interface when the activation identifier fed back by the server is received, the statistical instruction is generated when the preset button is detected to be triggered by the user, the statistical instruction is sent to the server, and the statistical result fed back by the server is received and displayed, so that the data in the group can be counted very conveniently, the user does not need to fill in a statistical webpage, and the group administrator does not need to spend a large amount of time on maintaining the background.
Further, as shown in fig. 3, a second embodiment of the group-based data statistics method of the present invention is proposed based on the first embodiment, and in this embodiment, step S20 specifically includes:
s20': when the input message is matched with a preset topic format, sending starting information comprising the preset topic format to a server, so that the server starts to record the message matched with the preset topic format in the target group when receiving the starting information, and feeding back an activation identifier.
It should be noted that, because there may be conventional chat information and the like in the group in addition to the information related to the topic, if the server records the information, the amount of the recorded information data is too large, which affects the statistical efficiency, in a specific implementation, the message in the target group also carries the preset topic format in order to ensure that the message is responded to the topic, in other words, when the message in the preset topic format first appears in a preset time period (which may be set as required, for example, 8 hours, 12 hours or 24 hours, or may be set by the user itself) in the target group, the user sending the message may be determined as a message initiator, and the messages in the preset topic format that appear subsequently may be determined as response messages to the topic, so in this embodiment, the preset topic format may be carried in the start information, therefore, when the server receives the starting information, the server starts to record the information matched with the preset topic format in the target group, so that the condition that the recorded information data volume is overlarge is avoided, and the statistical efficiency is improved.
Further, as shown in fig. 4, a third embodiment of the group-based data statistics method of the present invention is proposed based on the first or second embodiment, and fig. 4 is based on the first embodiment as an example;
in this embodiment, before step S30, the method further includes:
s60: extracting keywords from an input message, determining a topic type corresponding to the message according to the extracted keywords, and sending the topic type to the server;
understandably, there will typically be keywords in the incoming message that can reflect the topic subject matter.
As for fig. 5, the user 1 inputs a message "# AAA punch a card #" in the group through the mobile terminal, and assuming that the predetermined topic format is set to "# xxx #", at this time, the user 1 is considered as a topic originator, keyword extraction is performed on the message, the topic type corresponding to the input message is determined to be "punch a card" according to the extracted keyword "punch a card", and the topic type is transmitted to the server.
As for fig. 6, the user 1 inputs a message "# XXX topic #" in the group through the mobile terminal, and assuming that the predetermined topic format is set to "# XXX #", at this time, the user 1 is considered as a topic originator, and performs keyword extraction on the message, determines the topic type corresponding to the input message as "topic" according to the extracted keyword "topic", and transmits the topic type to the server.
With regard to fig. 7, the user 1 inputs a message "# XXX sign-in #" in the group through the mobile terminal, and assuming that the predetermined topic format is set to "# XXX #", at this time, the user 1 is considered as a topic originator, and keyword extraction is performed on the message, and the topic type corresponding to the input message is determined as "sign-in" according to the extracted keyword "sign-in", and the topic type is transmitted to the server.
Correspondingly, step S40 specifically includes:
s40': when the fact that the user triggers the preset button is detected, a statistical instruction is generated, the statistical instruction is sent to the server, so that when the server receives the statistical instruction, a statistical mode corresponding to the topic type is searched, message statistics is carried out through the searched statistical mode according to the recorded messages, and a statistical result is fed back.
It should be noted that, for different types of topics, generally, different statistical manners need to be adopted, and therefore, when the server receives the statistical instruction, the server may search the statistical manner corresponding to the topic type, perform message statistics according to the recorded messages in the searched statistical manner, and feed back the statistical result.
For the topic type "card punching" shown in fig. 5, a statistical approach of "user-time" may be adopted, and fig. 8 may be specifically referred to.
For the topic type "topic" shown in fig. 6, a statistical manner of "user-speaking times-specific data" may be adopted, and fig. 9 may be specifically referred to.
For the topic type "check-in" shown in fig. 7, a statistical approach of "user-time-location" may be adopted, and fig. 10 may be specifically referred to.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a group-based data statistics program is stored on the computer-readable storage medium, and when executed by a processor, the group-based data statistics program implements the following operations:
acquiring a message input by a user in a target group;
when the input message is matched with a preset topic format, sending starting information to a server, so that the server starts to record the message in the target group and feeds back an activation identifier when receiving the starting information;
when receiving an activation identifier fed back by the server, displaying a preset button in a display interface;
when detecting that the user triggers the preset button, generating a statistical instruction, and sending the statistical instruction to the server, so that the server performs message statistics according to the recorded message and feeds back a statistical result when receiving the statistical instruction;
and receiving and displaying the statistical result fed back by the server.
Further, the group-based data statistics program when executed by the processor further performs the following operations:
when the input message is matched with a preset topic format, sending starting information comprising the preset topic format to a server, so that the server starts to record the message matched with the preset topic format in the target group when receiving the starting information, and feeding back an activation identifier.
Further, the group-based data statistics program when executed by the processor further performs the following operations:
extracting keywords from the input message, determining a topic type corresponding to the input message according to the extracted keywords, and sending the topic type to the server;
when the fact that the user triggers the preset button is detected, a statistical instruction is generated, the statistical instruction is sent to the server, so that when the server receives the statistical instruction, a statistical mode corresponding to the topic type is searched, message statistics is carried out through the searched statistical mode according to the recorded messages, and a statistical result is fed back.
According to the scheme, when the message input by the user in the target group is matched with the preset topic format, the starting information is sent to the server, the preset button is displayed in the display interface when the activation identifier fed back by the server is received, the statistical instruction is generated when the preset button is detected to be triggered by the user, the statistical instruction is sent to the server, and the statistical result fed back by the server is received and displayed, so that the statistics of the data in the group can be carried out very conveniently, the user does not need to fill in a statistical webpage, and the group administrator does not need to spend a large amount of time on maintaining the background.
As shown in fig. 11, the server may include: a processor 2001, e.g., a CPU, a communication bus 2002, a user interface 2003, a network interface 2004, a memory 2005. The communication bus 2002 is used to implement connection communication between these components. The user interface 2003 may include a Display (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 2003 may also include a standard wired interface, a wireless interface. The network interface 2004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 2005 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). The memory 2005 may alternatively be a storage device separate from the aforementioned processor 2001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the mobile terminal and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 11, the memory 2005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a group-based data statistics program.
In the server shown in fig. 11, the network interface 2004 is mainly used for connecting the mobile terminal and communicating data with the mobile terminal; the user interface 2003 is mainly used for receiving an operation instruction of an administrator; the mobile terminal invokes, via the processor 2001, the group-based data statistics program stored in the memory 2005 and performs the following operations:
when receiving starting information sent by a mobile terminal, recording a message in a target group;
feeding back an activation identifier to the mobile terminal so that the user terminal displays a preset button in a display interface when receiving the activation identifier;
when a statistical instruction sent by the mobile terminal is received, message statistics is carried out according to the recorded messages, a statistical result is sent to the mobile terminal, so that the mobile terminal receives and displays the statistical result, and the statistical instruction is generated when the mobile terminal detects that a user triggers the preset button.
Further, the processor 2001 may call the group-based data statistics program stored in the memory 2005, and also perform the following operations:
when receiving starting information which comprises a preset topic format and is sent by a mobile terminal, recording a message which is matched with the preset topic format in a target group.
Further, the processor 2001 may call the group-based data statistics program stored in the memory 2005, and also perform the following operations:
receiving the topic type sent by the mobile terminal;
and when a statistical instruction sent by the mobile terminal is received, searching a statistical mode corresponding to the topic type, performing message statistics according to the recorded messages through the searched statistical mode, and sending a statistical result to the mobile terminal so that the mobile terminal receives and displays the statistical result.
Based on the hardware structure, the embodiment of the group-based data statistical method is provided.
Referring to fig. 12, fig. 12 is a flowchart illustrating a fourth embodiment of the group-based data statistics method according to the present invention.
In a fourth embodiment, the group-based data statistics method comprises the steps of:
s100: when receiving the starting information sent by the mobile terminal, the server records the information in the target group;
it should be noted that, in order to facilitate communication in social tools such as wechat and microblog, a group is established in the social tools, users in the group can communicate with each other, and the target group is a group of the user input message.
It is understood that the message input by the user may be a message input by the user at the current time, and of course, the message may also be a message input by the user in history, which is not limited in this embodiment.
S200: feeding back an activation identifier to the mobile terminal so that the user terminal displays a preset button in a display interface when receiving the activation identifier;
it should be noted that the preset button may be a button, a word, a picture, or the like, which is not limited in this embodiment, so as to make the user understand the meaning of the preset button, taking the button as an example, a mark of "one-key statistics" may be displayed on the button.
In order to facilitate the user to view the preset button, the preset button may be displayed in a display interface where the target group is located.
S300: when a statistical instruction sent by the mobile terminal is received, message statistics is carried out according to the recorded messages, a statistical result is sent to the mobile terminal, so that the mobile terminal receives and displays the statistical result, and the statistical instruction is generated when the mobile terminal detects that a user triggers the preset button.
It can be understood that, when the user needs to perform statistics, the preset button is triggered, and therefore, when it is detected that the user triggers the preset button, a statistical instruction is generated and sent to the server, so that the server performs message statistics according to the recorded message and feeds back a statistical result when receiving the statistical instruction.
In a specific implementation, the statistical result may be a text statistical result, and certainly, in order to display the statistical result more intuitively, the statistical result may also be a chart statistical result.
It should be noted that, in order to facilitate data transmission of the statistical result, in this embodiment, json data or xml data may be used as the statistical result.
In this embodiment, when receiving start information sent by a mobile terminal, a message in a target group is recorded, and an activation identifier is fed back to the mobile terminal, so that a preset button is displayed in a display interface when the user terminal receives the activation identifier; when a statistical instruction sent by the mobile terminal is received, message statistics is carried out according to the recorded message, and a statistical result is sent to the mobile terminal so that the statistical result can be received and displayed by the mobile terminal, the statistical instruction is generated when the mobile terminal detects that a user triggers the preset button, and therefore data in a group can be counted very conveniently, the user does not need to fill in a statistical webpage, and a group administrator does not need to spend a large amount of time on maintaining a background.
Further, as shown in fig. 13, a fifth embodiment of the group-based data statistics method according to the present invention is proposed based on the fourth embodiment, and in this embodiment, step S100 specifically includes:
s100': the method comprises the steps that when the server receives starting information which comprises a preset topic format and is sent by the mobile terminal, a message which is matched with the preset topic format in a target group is recorded.
It should be noted that, because there may be conventional chat information and the like in the group in addition to the information related to the topic, if the server records the information, the amount of the recorded information data may be too large, which affects the statistical efficiency, in a specific implementation, in order to ensure that the information in the target group is responded to the topic, the information in the target group also carries the preset topic format, in other words, when the message in the preset topic format first appears in a preset time period (which may be set as required, for example, 8 hours, 12 hours or 24 hours, or may be set by the user itself) in the target group, the user sending the message may be determined as the message initiator, and the messages in the subsequent preset topic format may be determined as the response message to the topic, therefore, in this embodiment, when the start information including the preset topic format sent by the mobile terminal is received, and recording the message matched with the preset topic format in the target group, thereby avoiding overlarge recorded information data and improving the statistical efficiency.
Further, as shown in fig. 14, a sixth embodiment of the group-based data statistics method of the present invention is proposed based on the fourth or fifth embodiment, and fig. 14 is based on the fourth embodiment as an example.
In this embodiment, before step S200, the method further includes:
s400: receiving the topic type sent by the mobile terminal;
as for fig. 5, the user 1 inputs a message "# AAA punch-in #" in the group through the mobile terminal, and assuming that the predetermined topic format is set to "# xxx #", at this time, the mobile terminal may regard the user 1 as a topic originator, perform keyword extraction on the message, determine that the topic type corresponding to the message is "punch-in" according to the extracted keyword "punch-in", and transmit the topic type to the server, at this time, the server may receive the topic type "punch-in" transmitted by the mobile terminal.
As for fig. 6, the user 1 inputs a message "# XXX topic #" in the group through the mobile terminal, and assuming that the predetermined topic format is set to "# XXX #", at this time, the mobile terminal may recognize the user 1 as a topic originator, perform keyword extraction on the message, determine the topic type corresponding to the message as "topic" according to the extracted keyword "topic", and transmit the topic type to the server, at this time, the server may receive the topic type "topic" transmitted by the mobile terminal.
As for fig. 7, the user 1 inputs a message "# XXX sign-in #" in the group through the mobile terminal, and assuming that the predetermined topic format is set to "# XXX #", at this time, the mobile terminal may regard the user 1 as a topic originator, perform keyword extraction on the message, determine that the topic type corresponding to the message is "sign-in" according to the extracted keyword "sign-in", and transmit the topic type to the server, at this time, the server may receive the topic type "sign-in" transmitted by the mobile terminal.
Correspondingly, step S300 specifically includes:
s300': and when a statistical instruction sent by the mobile terminal is received, searching a statistical mode corresponding to the topic type, performing message statistics according to the recorded messages through the searched statistical mode, and sending a statistical result to the mobile terminal so that the mobile terminal receives and displays the statistical result.
It should be noted that, for different types of topics, generally, different statistical manners need to be adopted, and therefore, when the server receives the statistical instruction, the server may search the statistical manner corresponding to the topic type, perform message statistics according to the recorded messages in the searched statistical manner, and feed back the statistical result.
For the topic type "card punching" shown in fig. 5, a statistical approach of "user-time" may be adopted, and fig. 8 may be specifically referred to.
For the topic type "topic" shown in fig. 6, a statistical manner of "user-speaking times-specific data" may be adopted, and fig. 9 may be specifically referred to.
For the topic type "check-in" shown in fig. 7, a statistical approach of "user-time-location" may be adopted, and fig. 10 may be specifically referred to.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where a group-based data statistics program is stored on the computer-readable storage medium, and when executed by a processor, the group-based data statistics program implements the following operations:
when receiving starting information sent by a mobile terminal, recording a message in a target group;
feeding back an activation identifier to the mobile terminal so that the user terminal displays a preset button in a display interface when receiving the activation identifier;
when a statistical instruction sent by the mobile terminal is received, message statistics is carried out according to the recorded messages, a statistical result is sent to the mobile terminal, so that the mobile terminal receives and displays the statistical result, and the statistical instruction is generated when the mobile terminal detects that a user triggers the preset button.
Further, the group-based data statistics program when executed by the processor further performs the following operations:
when receiving starting information which comprises a preset topic format and is sent by a mobile terminal, recording a message which is matched with the preset topic format in a target group.
Further, the group-based data statistics program when executed by the processor further performs the following operations:
receiving the topic type sent by the mobile terminal;
and when a statistical instruction sent by the mobile terminal is received, searching a statistical mode corresponding to the topic type, performing message statistics according to the recorded messages through the searched statistical mode, and sending a statistical result to the mobile terminal so that the mobile terminal receives and displays the statistical result.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A group-based data statistics method, characterized in that the method comprises the steps of:
the mobile terminal acquires a message input by a user in a target group;
when the input message is matched with a preset topic format, sending starting information to a server, so that the server starts to record the message in the target group and feeds back an activation identifier when receiving the starting information;
extracting keywords from the input message, determining a topic type corresponding to the input message according to the extracted keywords, and sending the topic type to the server;
when receiving an activation identifier fed back by the server, displaying a preset button in a display interface;
when detecting that the user triggers the preset button, generating a statistical instruction, and sending the statistical instruction to the server, so that the server performs message statistics according to the recorded message and feeds back a statistical result when receiving the statistical instruction;
receiving and displaying a statistical result fed back by the server;
when detecting that the user triggers the preset button, generating a statistical instruction, and sending the statistical instruction to the server, so that the server performs message statistics according to the recorded message and feeds back a statistical result when receiving the statistical instruction, specifically comprising:
when the fact that the user triggers the preset button is detected, a statistical instruction is generated, the statistical instruction is sent to the server, so that when the server receives the statistical instruction, a statistical mode corresponding to the topic type is searched, message statistics is carried out through the searched statistical mode according to the recorded messages, and a statistical result is fed back.
2. The method as claimed in claim 1, wherein when the input message matches a preset topic format, sending start information to a server, so that the server starts recording the message in the target group and feeds back an activation identifier when receiving the start information, specifically comprising:
when the input message is matched with a preset topic format, sending starting information comprising the preset topic format to a server, so that the server starts to record the message matched with the preset topic format in the target group when receiving the starting information, and feeding back an activation identifier.
3. A mobile terminal, characterized in that the mobile terminal comprises: memory, a processor and a group-based data statistics program stored on the memory and executable on the processor, the group-based data statistics program being configured to implement the steps of the group-based data statistics method as claimed in claim 1 or 2.
4. A computer-readable storage medium, on which a group-based data statistics program is stored, which when executed by a processor implements the steps of the group-based data statistics method according to claim 1 or 2.
5. A group-based data statistics method, characterized in that the method comprises the steps of:
when receiving the starting information sent by the mobile terminal, the server records the information in the target group;
receiving the topic type sent by the mobile terminal;
feeding back an activation identifier to the mobile terminal so that the mobile terminal displays a preset button in a display interface when receiving the activation identifier;
when a statistical instruction sent by the mobile terminal is received, performing message statistics according to the recorded message, and sending a statistical result to the mobile terminal so that the mobile terminal receives and displays the statistical result, wherein the statistical instruction is generated when the mobile terminal detects that a user triggers the preset button;
when receiving a statistical instruction sent by the mobile terminal, performing message statistics according to the recorded message, and sending a statistical result to the mobile terminal, so that the mobile terminal receives and displays the statistical result, specifically comprising:
and when a statistical instruction sent by the mobile terminal is received, searching a statistical mode corresponding to the topic type, performing message statistics according to the recorded messages through the searched statistical mode, and sending a statistical result to the mobile terminal so that the mobile terminal receives and displays the statistical result.
6. The method according to claim 5, wherein the server records the message in the target group when receiving the start information sent by the mobile terminal, and specifically comprises:
the method comprises the steps that when the server receives starting information which comprises a preset topic format and is sent by the mobile terminal, a message which is matched with the preset topic format in a target group is recorded.
7. A server, characterized in that the server comprises: memory, a processor and a group-based data statistics program stored on the memory and executable on the processor, the group-based data statistics program being configured to implement the steps of the group-based data statistics method as claimed in claim 5 or 6.
8. A computer-readable storage medium, on which a group-based data statistics program is stored, which when executed by a processor implements the steps of the group-based data statistics method according to claim 5 or 6.
CN201710548501.7A 2017-07-06 2017-07-06 Group-based data statistical method, mobile terminal, server and storage medium Active CN107453978B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710548501.7A CN107453978B (en) 2017-07-06 2017-07-06 Group-based data statistical method, mobile terminal, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710548501.7A CN107453978B (en) 2017-07-06 2017-07-06 Group-based data statistical method, mobile terminal, server and storage medium

Publications (2)

Publication Number Publication Date
CN107453978A CN107453978A (en) 2017-12-08
CN107453978B true CN107453978B (en) 2021-04-27

Family

ID=60487845

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710548501.7A Active CN107453978B (en) 2017-07-06 2017-07-06 Group-based data statistical method, mobile terminal, server and storage medium

Country Status (1)

Country Link
CN (1) CN107453978B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110059304B (en) * 2018-01-19 2024-05-24 北京搜狗科技发展有限公司 Data processing method, device, electronic equipment and storage medium
CN108494572B (en) * 2018-03-19 2021-10-01 北京三快在线科技有限公司 Topic group creation method and device based on group
CN111130983B (en) * 2018-10-31 2022-02-08 上海掌门科技有限公司 Method and equipment for sending information and generating result information
CN110557325A (en) * 2019-09-12 2019-12-10 长江师范学院 Network group notification issuing and receiving method
CN112636993B (en) * 2019-10-08 2022-09-02 腾讯科技(深圳)有限公司 Information display method and device, terminal and server
CN112865986B (en) * 2019-11-27 2022-07-15 腾讯科技(深圳)有限公司 Message processing method and device
CN112185490A (en) * 2020-10-29 2021-01-05 清远市树文化信息科技有限公司 Healthy card punching mode
CN112711936A (en) * 2020-12-30 2021-04-27 维沃移动通信有限公司 Information display method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812249A (en) * 2016-05-12 2016-07-27 常州市武进恒辉通信设备有限公司 College intern attendance system based on communication network
CN106503061A (en) * 2016-09-27 2017-03-15 维沃移动通信有限公司 One population message display method and mobile terminal
CN106533891A (en) * 2015-09-09 2017-03-22 阿里巴巴集团控股有限公司 Information processing method based on groups and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100410943C (en) * 2005-12-15 2008-08-13 腾讯科技(深圳)有限公司 Extraction for instant message subject content
CN101079829A (en) * 2006-06-30 2007-11-28 腾讯科技(深圳)有限公司 A system and method for vote in group
US9281952B2 (en) * 2007-10-05 2016-03-08 International Business Machines Corporation System and method for adding members to chat groups based on analysis of chat content
CN104794166A (en) * 2015-03-27 2015-07-22 努比亚技术有限公司 Short message statistics method and device
CN105427443B (en) * 2015-10-29 2018-11-06 小米科技有限责任公司 Vote information sending method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106533891A (en) * 2015-09-09 2017-03-22 阿里巴巴集团控股有限公司 Information processing method based on groups and device
CN105812249A (en) * 2016-05-12 2016-07-27 常州市武进恒辉通信设备有限公司 College intern attendance system based on communication network
CN106503061A (en) * 2016-09-27 2017-03-15 维沃移动通信有限公司 One population message display method and mobile terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"WeChat in the Development and Application of the hospital Scheduling Attendance system";胡睿麟;《电脑知识与技术》;20161231;第012卷(第010期);全文 *

Also Published As

Publication number Publication date
CN107453978A (en) 2017-12-08

Similar Documents

Publication Publication Date Title
CN107453978B (en) Group-based data statistical method, mobile terminal, server and storage medium
CN108400924B (en) Reading state display method of group message, instant communication client and server
CN105871690B (en) Method and device for realizing instant messaging
CN102999334B (en) A kind of shortcut based on Android platform realizes method, device and terminal
CN103945009A (en) Software sharing method and device
US10496354B2 (en) Terminal device, screen sharing method, and screen sharing system
EP2658189B1 (en) Electronic device and method for updating message body content based on recipient changes
CN104052655A (en) Group chatting method and instant messaging client-side
CN104253741A (en) Information sending method and device and system thereof
JP2014170397A (en) Message system
WO2017166464A1 (en) Information interaction method and terminal
US20080056458A1 (en) Message system for conducting message
CN107911483A (en) A kind of information transferring method and device
CN110290218B (en) File annotation method and system, and computer readable medium
US11641317B2 (en) Activity stream based collaboration
CN112165390B (en) Information processing method and device, electronic equipment and computer readable storage medium
CN110120908B (en) Group message processing method and device and server
CN113342235A (en) Information processing method, information processing device, electronic equipment and storage medium
CN109547322A (en) System prompt control method, device, computer and computer readable storage medium
CN112291414B (en) Message display method and device and electronic equipment
CN112260933B (en) Communication method, communication device, electronic equipment and medium
CN112788090B (en) Network resource transmission method, device and system
CN109582253B (en) Connection method and device of Bluetooth printer, printer and storage medium
CN105450510A (en) Friend management method, device and server for social network platform
CN112162961B (en) Message processing method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant