CN107357507B - method, device and storage medium for sharing information - Google Patents

method, device and storage medium for sharing information Download PDF

Info

Publication number
CN107357507B
CN107357507B CN201710518107.9A CN201710518107A CN107357507B CN 107357507 B CN107357507 B CN 107357507B CN 201710518107 A CN201710518107 A CN 201710518107A CN 107357507 B CN107357507 B CN 107357507B
Authority
CN
China
Prior art keywords
user account
current user
information
keyboard operation
keyboard
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
CN201710518107.9A
Other languages
Chinese (zh)
Other versions
CN107357507A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710518107.9A priority Critical patent/CN107357507B/en
Publication of CN107357507A publication Critical patent/CN107357507A/en
Application granted granted Critical
Publication of CN107357507B publication Critical patent/CN107357507B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • 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/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/08Annexed information, e.g. attachments
    • 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/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

the present disclosure relates to a method, an apparatus, and a storage medium for sharing information. The method comprises the following steps: after a current user account is detected, acquiring a keyboard operation record corresponding to the current user account according to the current user account; the keyboard operation record comprises all operation information of the current user account on each key position in the keyboard; determining the character tag of the current user account according to the corresponding relation between different character tags and preset keyboard operation conditions and the keyboard operation record; generating information to be shared according to the character tag of the current user account, wherein the information to be shared comprises information used for representing the character tag; and sharing the information to be shared. The content sharing method and device expand the range of the shared content and improve user experience.

Description

method, device and storage medium for sharing information
Technical Field
The present disclosure relates to internet technologies, and in particular, to a method, an apparatus, and a storage medium for sharing information.
Background
with the continuous development of network technology, more and more people share information through networks.
In the related art, when a user browses a certain content, such as a webpage, a video, a photo, and the like, the browsed content may be shared to a friend or a social circle, such as a WeChat friend circle. Or the user can actively upload characters or pictures so as to obtain the approval or resonance of other users. Generally, the content shared by the users is the content browsed by the users.
disclosure of Invention
to overcome the problems in the related art, the present disclosure provides a method, an apparatus, and a storage medium for sharing information.
according to a first aspect of the embodiments of the present disclosure, there is provided a method for sharing information, including:
After a current user account is detected, acquiring a keyboard operation record corresponding to the current user account according to the current user account; the keyboard operation record comprises all operation information of each key position in the keyboard of the current user account;
Determining the character label of the current user account according to the corresponding relation between different character labels and preset keyboard operation conditions and the keyboard operation record;
generating information to be shared according to the character tag of the current user account, wherein the information to be shared comprises information used for representing the character tag;
And sharing the information to be shared.
the technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: after the current user account is detected, the keyboard operation record corresponding to the user account is obtained according to the current user account, the character tag of the user account is determined according to the corresponding relation between different character tags and preset keyboard operation conditions and the keyboard operation record, information to be shared including the character tag used for representing the character tag is generated according to the character tag of the user account, and the information to be shared is shared, so that the sharing of the character tag determined according to the keyboard operation record corresponding to the user account is realized, the range of the shared content is expanded, and the user experience is improved.
Further, after the current user account is detected, obtaining a keyboard operation record corresponding to the current user account according to the current user account includes:
determining that the current user account is detected according to the input account information;
Acquiring a keyboard identifier of a keyboard with a control relation at present;
and acquiring a stored keyboard operation record corresponding to the keyboard identification corresponding to the current user account.
the technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the method comprises the steps of determining that a current user account is detected according to input account information, obtaining a keyboard identifier of a keyboard with a control relation, and obtaining a stored keyboard operation record corresponding to the keyboard identifier corresponding to the current user account, so that after the current user account is detected, obtaining the keyboard operation record corresponding to the current user account according to the current user account.
further, the determining the person label of the current user account according to the corresponding relationship between different person labels and the preset keyboard operation condition and the keyboard operation record includes:
Comparing the operation information in the keyboard operation record with the preset keyboard operation condition;
if the preset keyboard operation condition is met, determining a character tag corresponding to the preset keyboard operation condition;
And taking the determined character tag as the character tag of the current user account.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: comparing the operation information in the keyboard operation record with the preset keyboard operation condition, if the operation information meets the preset keyboard operation condition, determining the character tag corresponding to the preset keyboard operation condition, and taking the determined character tag as the character tag of the current user account, so that the character tag of the current user account is determined according to the corresponding relation between different character tags and the preset keyboard operation condition and the keyboard operation record.
further, when a plurality of preset keyboard operation conditions are met, a plurality of character tags of the user account are determined.
Further, the generating of the information to be shared according to the character tag of the user account includes:
If the number of the person labels of the user account is one, generating information to be shared with the person label information;
if the number of the person labels of the user account is multiple, generating information to be shared with the information of the person labels; and presenting the character tag information in an equal proportion according to the number of the character tags.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for sharing information, including:
the acquisition module is configured to acquire a keyboard operation record corresponding to a current user account according to the current user account after the current user account is detected; the keyboard operation record comprises all operation information of each key position in the keyboard of the current user account;
The determining module is configured to determine the character tag of the current user account according to the corresponding relation between different character tags and preset keyboard operation conditions and the keyboard operation record;
the generation module is configured to generate information to be shared according to the character tag of the current user account, wherein the information to be shared comprises information used for representing the character tag;
And the sharing module is configured to share the information to be shared.
the technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: after the acquisition module detects a current user account, a keyboard operation record corresponding to the user account is acquired according to the current user account, the determination module determines a character tag of the user account according to the corresponding relation between different character tags and preset keyboard operation conditions and the keyboard operation record, the generation module generates information to be shared including information used for representing the character tag according to the character tag of the user account, and the sharing module shares the information to be shared.
further, the obtaining module includes:
the determining submodule is configured to determine that a current user account is detected according to the input account information;
the first obtaining sub-module is configured to obtain a keyboard identifier of a keyboard currently having a control relation;
And the second obtaining sub-module is configured to obtain a stored keyboard operation record corresponding to the keyboard identifier corresponding to the current user account.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the method comprises the steps that a current user account is determined and detected through a first determining sub-module according to input account information, a keyboard identifier of a keyboard with a control relation is obtained through a first obtaining sub-module, a stored keyboard operation record corresponding to the keyboard identifier corresponding to the current user account is obtained through a second obtaining sub-module, and therefore after the current user account is detected, the keyboard operation record corresponding to the current user account is obtained according to the current user account.
Further, the determining module includes:
the comparison sub-module is configured to compare the operation information in the keyboard operation record with the preset keyboard operation condition;
the first determining sub-module is configured to determine a character tag corresponding to the preset keyboard operation condition if the preset keyboard operation condition is met;
and the second determining submodule is configured to use the determined person tag as the person tag of the current user account.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the operation information in the keyboard operation record is compared with the preset keyboard operation condition through the comparison sub-module, if the first determination sub-module meets the preset keyboard operation condition, the figure label corresponding to the preset keyboard operation condition is determined, the second determination sub-module takes the determined figure label as the figure label of the current user account, and therefore the figure label of the current user account is determined according to the corresponding relation between different figure labels and the preset keyboard operation condition and the keyboard operation record.
Further, the determining module further includes: and the third determining submodule is configured to determine a plurality of character tags of the user account when the plurality of preset keyboard operation conditions are met.
Further, the generating module includes:
The first generation submodule is configured to generate information to be shared with the character tag information if one character tag of the user account is available;
the second generation submodule is configured to generate information to be shared with the information of the plurality of character tags if the number of the character tags of the user account is multiple; and presenting the character tag information in an equal proportion according to the number of the character tags.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for sharing information, including: a processor and a memory for storing computer instructions; the processor executes the computer instructions to perform the method of any of the first aspect above.
according to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the method of any one of the above first aspects.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
the accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow diagram illustrating a method of sharing information in accordance with an example embodiment;
FIG. 2 is a flow diagram illustrating a method of sharing information in accordance with another illustrative embodiment;
FIG. 3 is a flow chart illustrating a method of sharing information in accordance with yet another exemplary embodiment;
FIG. 4 is a block diagram illustrating an apparatus for sharing information in accordance with an example embodiment;
FIG. 5 is a block diagram illustrating an apparatus for sharing information in accordance with another exemplary embodiment;
FIG. 6 is a block diagram illustrating an apparatus for sharing information in accordance with yet another illustrative embodiment;
FIG. 7 is a block diagram illustrating an apparatus for sharing information in accordance with yet another illustrative embodiment;
FIG. 8 is a block diagram illustrating an apparatus for sharing information in accordance with yet another illustrative embodiment;
FIG. 9 is a block diagram illustrating an apparatus for sharing information in accordance with yet another illustrative embodiment;
Fig. 10 is a block diagram illustrating an apparatus 800 for sharing information according to yet another example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
fig. 1 is a flowchart illustrating a method of sharing information according to an exemplary embodiment, where an execution subject of the method may be a terminal. As shown in fig. 1, the method comprises the following steps:
In step 101, after the current user account is detected, a keyboard operation record corresponding to the current user account is obtained according to the current user account.
in this step, the keyboard operation record may include all operation information, such as operation time, of each key of the keyboard for the current user account. The user account may specifically be an account of a user logging in a social application, such as a wechat account, a microblog account, and the like. The current user account may be a logged-in user account or a ready-to-log-in user account. Specifically, when a user is inputting account information of a certain user account, it may be determined that the user is ready to log in to the user account. The keyboard operation record can be stored in the local of the terminal and can be obtained by inquiring the local storage space; alternatively, the keyboard operation record may be stored in a server, and may be acquired from the server. The keyboard operation record locally stored in the terminal may be stored locally after the terminal acquires the keyboard operation record from the server, or may be generated and stored by the terminal. Optionally, the keyboard operation record may be specifically a keyboard operation record within a specific time range, for example, a keyboard operation record of the last month. Optionally, the keyboard operation record corresponding to the current user account may be a keyboard operation record of each of N keyboards used for the current user account, where the N keyboards may be all keyboards used by the current user account or all keyboards used by the current user account and connected to the terminal, and N is a positive integer.
in step 102, the person tag of the current user account is determined according to the corresponding relationship between different person tags and the preset keyboard operation conditions and the keyboard operation record.
In this step, a plurality of character tags may be preset, and each character tag corresponds to a preset keyboard operation condition. The character tag may be a tag related to the use of a keyboard and capable of representing characters. For example, the keyboard is required to be used for playing games and code words, and for people who frequently play games, the corresponding character tags can be game enthusiasts; for people with frequent codewords, the corresponding people tag may be a writing high hand. Different character labels have corresponding preset keyboard operation conditions capable of showing the characteristics of the character labels. For example, for a game fan, it may be characterized that the direction key position is frequently used, and thus the preset keyboard operation condition may be a condition relating to the direction key position. For another example, for a game enthusiast, it may also be characterized by a particularly high frequency of keyboard strokes, so that the preset keyboard operating conditions may also be conditions related to the operating frequency. For another example, for writing high hands, it may be characterized in that the letter keys are frequently used and input is frequently performed for a long time, and thus the preset keyboard operation condition may be a condition related to the letter keys and the time length. Specifically, the person tag corresponding to the preset keyboard operation condition that is met by the keyboard operation record may be determined as the person tag of the current user account.
In step 103, information to be shared is generated according to the person tag of the current user account, where the information to be shared includes information used for representing the person tag.
in this step, the information used for representing the character tag in the information to be shared may be at least one of text information, picture information, sound information, or the like. For example, when the character tag is "game fan", the message may be ". x." is game fan "several words, or a picture of the several words is displayed, or a voice of the several words is played, or a picture of the user playing a game madly, or a combination of at least two of the above.
In step 104, the information to be shared is shared.
In this step, the information to be shared may be specifically shared with friends of the user, or the information to be shared may be shared with a social circle of the user, such as a WeChat friend circle, a microblog, or the like.
according to the method for sharing information, after the current user account is detected, the keyboard operation record corresponding to the user account is obtained according to the current user account, the character tag of the user account is determined according to the corresponding relation between different character tags and the preset keyboard operation condition and the keyboard operation record, the information to be shared including the character tag is generated according to the character tag of the user account, and the information to be shared is shared, so that sharing of the character tags determined according to the keyboard operation record corresponding to the user account is achieved, the range of the shared content is expanded, and user experience is improved.
Fig. 2 is a flow chart illustrating a method of sharing information according to another example embodiment. The present embodiment mainly describes an optional implementation manner of obtaining, after detecting a current user account, a keyboard operation record corresponding to the user account according to the current user account on the basis of the embodiment shown in fig. 1. As shown in fig. 2, the method comprises the following steps:
In step 201, it is determined that the current user account is detected according to the input account information.
In this step, when the user inputs account information in the login interface of the social application, the current user account may be determined and detected according to the input account information. The input account information may include a user account, and the user account included in the account information is a current user account.
in step 202, the keyboard identification of the keyboard having the control relationship is obtained.
in this step, when a keyboard has a control relationship with the terminal, the user may control the terminal using the keyboard, for example, copy by inputting shortcut key Ctrl + C, select all by inputting shortcut key Ctrl + a, and so on. The keyboard identification is used to uniquely identify the keyboard, which may be, for example, the device number of the keyboard. The number of the keyboards having the control relationship may be one or more. Because the external equipment (peripheral for short) of the keyboard input terminal, the keyboard with the control relation can be replaced. Here, the keypad having a control relationship may be considered as a keypad connected to the terminal.
in step 203, a stored keyboard operation record corresponding to the keyboard identifier corresponding to the current user account is obtained.
in this step, the keyboard identifier corresponding to the current user account may be part or all of the keyboard identifiers of the keyboards with control relationships obtained in step 202, and is specifically used to represent the keyboard identifier of the keyboard that is used by the current user account and has control relationships. Correspondingly, the number of the keyboard operation records corresponding to the keyboard identifier corresponding to the current user account may be one or more. Specifically, the storage space of the terminal may store keyboard operation records of a plurality of keyboards, and the keyboard operation records are distinguished by keyboard identifiers. When obtaining the keyboard operation record corresponding to the keyboard identifier corresponding to the current user account, the corresponding keyboard record may be obtained according to the keyboard identifier corresponding to the current user account. In this step, the stored keyboard operation record corresponding to the keyboard identifier corresponding to the current user account is obtained, so that the keyboard operation record corresponding to the current user account is obtained.
According to the method for sharing information, a current user account is determined to be detected according to input account information, a keyboard identifier of a keyboard with a control relationship is obtained, and a stored keyboard operation record corresponding to the keyboard identifier corresponding to the current user account is obtained, so that the keyboard operation record corresponding to the current user account is obtained according to the current user account after the current user account is detected.
Fig. 3 is a flow chart illustrating a method of sharing information according to yet another example embodiment. The embodiment mainly describes an optional implementation manner for determining the character tag of the current user account according to the corresponding relationship between different character tags and preset keyboard operation conditions and the keyboard operation record on the basis of the embodiment shown in fig. 1. As shown in fig. 3, the method comprises the following steps:
In step 301, the operation information in the keyboard operation record is compared with the preset keyboard operation condition.
in this step, since the preset keyboard operation condition is a preset condition related to the keyboard operation, and the keyboard operation record includes all the operation information of the current user account for each key in the keyboard, the operation information in the keyboard operation record can be compared with the preset keyboard operation condition. Optionally, the preset keyboard operation condition includes at least one of the following: the operation key position is a preset key position; the operating frequency is greater than or equal to a preset frequency; the operation times are more than or equal to the preset times; the operation time length is greater than or equal to the preset time length. For example, the preset keyboard operation condition corresponding to the character tag "game fan" may be "the operation key position is a direction key position, and the operation times is more than 1000 times". For another example, the preset keyboard operation condition corresponding to the character tag "accountant" may be that "the operation key is a numeric key, and the operation times is more than 2000 times". For another example, the preset keyboard operation condition corresponding to the character label "writing high hand" may be that "the operation key is a letter key, and the operation duration is longer than 2 hours". It should be noted that when the number of the preset keyboard operation conditions is multiple, the keyboard operation records need to be compared with the preset keyboard operation conditions one by one, and when the number of the keyboard operation records corresponding to the current user account is multiple, the keyboard operation records need to be compared with the preset keyboard operation conditions one by one.
in step 302, if the preset keyboard operation condition is met, the character tag corresponding to the preset keyboard operation condition is determined.
In this step, since the preset keyboard operation condition corresponds to the character tag, if the keyboard operation record meets a preset keyboard operation condition, the character tag corresponding to the preset keyboard operation condition may be considered as the character tag of the current user account, and therefore, when the preset keyboard operation condition is met, the character tag corresponding to the preset keyboard operation condition needs to be determined. Optionally, the number of the preset keyboard operation conditions can be one or more.
in step 303, the determined person tag is used as the person tag of the current user account.
optionally, when a plurality of preset keyboard operation conditions are met, a plurality of character tags of the current user account are determined.
In the method for sharing information according to this embodiment, the operation information in the keyboard operation record is compared with the preset keyboard operation condition, if the operation information meets the preset keyboard operation condition, the person tag corresponding to the preset keyboard operation condition is determined, and the determined person tag is used as the person tag of the current user account, so that the person tag of the current user account is determined according to the correspondence between different person tags and the preset keyboard operation condition and the keyboard operation record.
It can be seen that the number of the person tags of the current user account may be one or more, and in the above embodiment, optionally, step 103 may specifically be: if the number of the character tags of the current user account is one, generating information to be shared with the character tag information; and if the number of the character tags of the current user account is multiple, generating information to be shared with the plurality of character tag information, wherein the character tag information is presented in an equal ratio according to the number of the character tags.
Optionally, the information to be shared may further include a model of the keyboard, and the information to be shared includes the model of the keyboard, so that other users can obtain the character tag of the current user account and also know the keyboard used by the user, thereby promoting popularization of the keyboard used by the current user account, and promoting propagation and secondary sale of goods. For example, the character tag of the current user account is "crazy" and the keyboard is model "V510S", and other users may know that the keyboard used by the game crapers is model V510S. If other users also like playing games, the user can choose to change to the "V510S" keyboard used by "game reach".
the following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods. For details not disclosed in the embodiments of the apparatus of the present disclosure, refer to the embodiments of the method of the present disclosure.
fig. 4 is a block diagram illustrating an apparatus for sharing information according to an example embodiment. The apparatus may be implemented as part or all of the terminal by software, hardware or a combination of both. Referring to fig. 4, the apparatus includes: an acquisition module 401, a determination module 402, a generation module 403, and a sharing module 404. Wherein the content of the first and second substances,
An obtaining module 401, configured to, after detecting a current user account, obtain, according to the current user account, a keyboard operation record corresponding to the current user account; the keyboard operation record comprises all operation information of each key position in the keyboard of the current user account;
a determining module 402, configured to determine a character tag of the current user account according to a corresponding relationship between different character tags and preset keyboard operation conditions and the keyboard operation record acquired by the acquiring module 401;
A generating module 403, configured to generate information to be shared according to the person tag of the current user account determined by the determining module 402, where the information to be shared includes information used for representing the person tag;
A sharing module 404 configured to share the information to be shared generated by the generating module 403.
To sum up, according to the device for sharing information provided by the embodiment of the disclosure, after the current user account is detected by the obtaining module, the keyboard operation record corresponding to the user account is obtained according to the current user account, the determining module determines the character tag of the user account according to the corresponding relationship between different character tags and the preset keyboard operation conditions and the keyboard operation record, the generating module generates the information to be shared including the character tag according to the character tag of the user account, and the sharing module shares the information to be shared, so that the sharing of the character tag determined according to the keyboard operation record corresponding to the user account is realized, the range of the shared content is expanded, and the user experience is improved.
Fig. 5 is a block diagram illustrating an apparatus for sharing information according to another exemplary embodiment. Referring to fig. 5, on the basis of the block diagram shown in fig. 4, optionally, the obtaining module 401 includes: a determination submodule 4011, a first acquisition submodule 4012 and a second acquisition submodule 4013.
The determining sub-module 4011 is configured to determine that the current user account is detected according to the input account information;
A first obtaining sub-module 4012 configured to obtain a keyboard identifier of a keyboard currently having a control relationship;
The second obtaining sub-module 4013 is configured to obtain a stored keyboard operation record corresponding to the keyboard identifier corresponding to the current user account.
In summary, according to the device for sharing information provided by the embodiment of the present disclosure, a current user account is determined and detected by a first determining sub-module according to input account information, a keyboard identifier of a keyboard having a control relationship is acquired by a first acquiring sub-module, and a stored keyboard operation record corresponding to the keyboard identifier corresponding to the current user account is acquired by a second acquiring sub-module, so that after the current user account is detected, the keyboard operation record corresponding to the current user account is acquired according to the current user account.
fig. 6 is a block diagram illustrating an apparatus for sharing information according to yet another exemplary embodiment. Referring to fig. 6, the apparatus is based on the block diagram shown in fig. 4, and optionally, the determining module 402 includes: an alignment sub-module 4021, a first determination sub-module 4022, and a second determination sub-module 4023.
A comparison sub-module 4021 configured to compare the operation information in the keyboard operation record with the preset keyboard operation condition;
The first determining sub-module 4022 is configured to determine a character tag corresponding to the preset keyboard operation condition if the preset keyboard operation condition is met;
a second determining sub-module 4023 configured to determine the person tag as the person tag of the current user account.
to sum up, in the device for sharing information provided in the embodiment of the present disclosure, the comparison sub-module compares the operation information in the keyboard operation record with the preset keyboard operation condition, if the first determining sub-module meets the preset keyboard operation condition, the person tag corresponding to the preset keyboard operation condition is determined, and the second determining sub-module uses the determined person tag as the person tag of the current user account, so that the person tag of the current user account is determined according to the correspondence between different person tags and the preset keyboard operation condition and the keyboard operation record.
fig. 7 is a block diagram illustrating an apparatus for sharing information according to yet another exemplary embodiment. Referring to fig. 7, on the basis of the block diagram shown in fig. 6, optionally, the determining module 402 may further include a third determining sub-module 4024 configured to determine a plurality of person tags of the current user account when the plurality of preset keyboard operation conditions are met.
Fig. 8 is a block diagram illustrating an apparatus for sharing information according to yet another exemplary embodiment. Referring to fig. 8, the apparatus is based on the block diagram shown in fig. 4, and optionally, the generating module 403 may include: a first generation submodule 4031 and a second generation submodule 4032.
the first generation submodule 4031 is configured to generate information to be shared with the personal tag information if the personal tag of the current user account is one;
A second generating sub-module 4032 configured to generate information to be shared with the multiple pieces of personal tag information if the number of the personal tags of the current user account is multiple; and presenting the character tag information in an equal proportion according to the number of the character tags.
it should be noted that, on the basis of the block diagram shown in fig. 7, the first generation sub-module 4031 and the second generation sub-module 4032 may also be included.
with regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 9 is a block diagram illustrating an apparatus for sharing information according to still another exemplary embodiment, which may include, as illustrated in fig. 9: a processor 901 and a memory 902 for storing computer instructions.
wherein, the processor 901 executes the computer instructions to execute the following method:
After a current user account is detected, acquiring a keyboard operation record corresponding to the current user account according to the current user account; the keyboard operation record comprises all operation information of each key position in the keyboard of the current user account;
Determining the character label of the current user account according to the corresponding relation between different character labels and preset keyboard operation conditions and the keyboard operation record;
generating information to be shared according to the character tag of the current user account, wherein the information to be shared comprises information used for representing the character tag;
And sharing the information to be shared.
optionally, after the current user account is detected, obtaining, according to the current user account, a keyboard operation record corresponding to the current user account, where the keyboard operation record includes:
determining that the current user account is detected according to the input account information;
Acquiring a keyboard identifier of a keyboard with a control relation at present;
And acquiring a stored keyboard operation record corresponding to the keyboard identification corresponding to the current user account.
optionally, the determining the person label of the current user account according to the corresponding relationship between different person labels and the preset keyboard operation condition and the keyboard operation record includes:
comparing the operation information in the keyboard operation record with the preset keyboard operation condition;
If the preset keyboard operation condition is met, determining a character tag corresponding to the preset keyboard operation condition;
and taking the determined character tag as the character tag of the current user account.
optionally, when a plurality of preset keyboard operation conditions are met, a plurality of character tags of the current user account are determined.
Optionally, the generating of the information to be shared according to the person tag of the current user account includes:
If the number of the character tags of the current user account is one, generating information to be shared with the character tag information;
if the number of the character tags of the current user account is multiple, generating information to be shared with the information of the character tags; and presenting the character tag information in an equal proportion according to the number of the character tags.
fig. 10 is a block diagram illustrating a shared device 800 according to yet another example embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 10, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
the processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
the multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
the sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed state of the device 800, the relative positioning of the components, such as a display and keypad of the apparatus 800, the sensor assembly 814 may also detect a change in position of the apparatus 800 or a component of the apparatus 800, the presence or absence of user contact with the apparatus 800, orientation or acceleration/deceleration of the apparatus 800, and a change in temperature of the apparatus 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
the communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
in an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the methods shown in fig. 1 and 2 and described above.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of a terminal, enable the terminal to perform a method of sharing information, the method comprising:
After a current user account is detected, acquiring a keyboard operation record corresponding to the current user account according to the current user account; the keyboard operation record comprises all operation information of each key position in the keyboard of the current user account;
determining the character label of the current user account according to the corresponding relation between different character labels and preset keyboard operation conditions and the keyboard operation record;
Generating information to be shared according to the character tag of the current user account, wherein the information to be shared comprises information used for representing the character tag;
and sharing the information to be shared.
optionally, after the current user account is detected, obtaining, according to the current user account, a keyboard operation record corresponding to the current user account, where the keyboard operation record includes:
determining that the current user account is detected according to the input account information;
Acquiring a keyboard identifier of a keyboard with a control relation at present;
and acquiring a stored keyboard operation record corresponding to the keyboard identification corresponding to the current user account.
Optionally, the determining the person label of the current user account according to the corresponding relationship between different person labels and the preset keyboard operation condition and the keyboard operation record includes:
Comparing the operation information in the keyboard operation record with the preset keyboard operation condition;
If the preset keyboard operation condition is met, determining a character tag corresponding to the preset keyboard operation condition;
and taking the determined character tag as the character tag of the current user account.
Optionally, when a plurality of preset keyboard operation conditions are met, a plurality of character tags of the current user account are determined.
Optionally, the generating of the information to be shared according to the person tag of the current user account includes:
If the number of the character tags of the current user account is one, generating information to be shared with the character tag information;
If the number of the character tags of the current user account is multiple, generating information to be shared with the information of the character tags; and presenting the character tag information in an equal proportion according to the number of the character tags.
other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. a method of sharing information, comprising:
After a current user account is detected, acquiring a keyboard operation record corresponding to the current user account according to the current user account; the keyboard operation record comprises all operation information of the current user account on each key position in the keyboard;
Determining the character tag of the current user account according to the corresponding relation between different character tags and preset keyboard operation conditions and the keyboard operation record;
generating information to be shared according to the character tag of the current user account, wherein the information to be shared comprises information used for representing the character tag;
And sharing the information to be shared.
2. The method according to claim 1, wherein after detecting the current user account, acquiring a keyboard operation record corresponding to the current user account according to the current user account includes:
determining that the current user account is detected according to the input account information;
Acquiring a keyboard identifier of a keyboard with a control relation at present;
And acquiring a stored keyboard operation record corresponding to the keyboard identification corresponding to the current user account.
3. the method of claim 1, wherein the determining the person tag of the current user account according to the correspondence between different person tags and preset keyboard operation conditions and the keyboard operation record comprises:
comparing the operation information in the keyboard operation record with the preset keyboard operation condition;
If the preset keyboard operation condition is met, determining a character tag corresponding to the preset keyboard operation condition;
And taking the determined person label as a person label of the current user account.
4. the method of claim 3, wherein the plurality of character tags of the current user account are determined when a plurality of preset keyboard operation conditions are met.
5. the method according to claim 1 or 4, wherein the generating information to be shared according to the person tag of the current user account includes:
if the number of the person labels of the current user account is one, generating information to be shared with the person label information;
if the number of the person labels of the current user account is multiple, generating information to be shared with the information of the person labels; and presenting the character tag information in an equal proportion according to the number of the character tags.
6. An apparatus for sharing information, comprising:
the acquisition module is configured to acquire a keyboard operation record corresponding to a current user account according to the current user account after the current user account is detected; the keyboard operation record comprises all operation information of the current user account on each key position in the keyboard;
the determining module is configured to determine the character tags of the current user account according to the corresponding relations between different character tags and preset keyboard operation conditions and the keyboard operation records;
the generating module is configured to generate information to be shared according to the person tag of the current user account, wherein the information to be shared comprises information used for representing the person tag;
The sharing module is configured to share the information to be shared.
7. The apparatus of claim 6, wherein the obtaining module comprises:
the determining submodule is configured to determine that a current user account is detected according to the input account information;
The first obtaining sub-module is configured to obtain a keyboard identifier of a keyboard currently having a control relation;
and the second obtaining sub-module is configured to obtain a stored keyboard operation record corresponding to the keyboard identifier corresponding to the current user account.
8. the apparatus of claim 6, wherein the determining module comprises:
the comparison sub-module is configured to compare the operation information in the keyboard operation record with the preset keyboard operation condition;
The first determining sub-module is configured to determine a character tag corresponding to the preset keyboard operation condition if the preset keyboard operation condition is met;
A second determining submodule configured to use the determined person tag as a person tag of the current user account.
9. The apparatus of claim 8, wherein the determining module further comprises: and the third determining submodule is configured to determine a plurality of character tags of the current user account when the plurality of preset keyboard operation conditions are met.
10. The apparatus of claim 6 or 9, wherein the generating module comprises:
The first generation submodule is configured to generate information to be shared with the character tag information if one character tag of the current user account is available;
the second generation submodule is configured to generate information to be shared with the information of the plurality of character tags if the number of the character tags of the current user account is multiple; and presenting the character tag information in an equal proportion according to the number of the character tags.
11. An apparatus for sharing information, comprising:
A processor and a memory for storing computer instructions; the processor executes the computer instructions to perform the method of any of claims 1-5.
12. a computer readable storage medium having computer instructions stored thereon, wherein the computer instructions, when executed by a processor, implement the method of any of claims 1-5.
CN201710518107.9A 2017-06-29 2017-06-29 method, device and storage medium for sharing information Active CN107357507B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710518107.9A CN107357507B (en) 2017-06-29 2017-06-29 method, device and storage medium for sharing information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710518107.9A CN107357507B (en) 2017-06-29 2017-06-29 method, device and storage medium for sharing information

Publications (2)

Publication Number Publication Date
CN107357507A CN107357507A (en) 2017-11-17
CN107357507B true CN107357507B (en) 2019-12-13

Family

ID=60273285

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710518107.9A Active CN107357507B (en) 2017-06-29 2017-06-29 method, device and storage medium for sharing information

Country Status (1)

Country Link
CN (1) CN107357507B (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170142119A1 (en) * 2015-11-12 2017-05-18 Le Holdings (Beijing) Co., Ltd. Method for creating group user profile, electronic device, and non-transitory computer-readable storage medium
CN105892672A (en) * 2016-04-25 2016-08-24 山东大学 Method and system for analyzing Chinese writing process based on keyboard recording and eye tracker
CN106407346A (en) * 2016-09-06 2017-02-15 百度在线网络技术(北京)有限公司 Retrieval processing method and apparatus based on artificial intelligence

Also Published As

Publication number Publication date
CN107357507A (en) 2017-11-17

Similar Documents

Publication Publication Date Title
US10152207B2 (en) Method and device for changing emoticons in a chat interface
US10509540B2 (en) Method and device for displaying a message
US20180121040A1 (en) Method and device for managing notification messages
CN109521918B (en) Information sharing method and device, electronic equipment and storage medium
CN107463643B (en) Barrage data display method and device and storage medium
US10334282B2 (en) Methods and devices for live broadcasting based on live broadcasting application
CN107423386B (en) Method and device for generating electronic card
CN107454204B (en) User information labeling method and device
US11335348B2 (en) Input method, device, apparatus, and storage medium
CN108495168B (en) Bullet screen information display method and device
CN106331328B (en) Information prompting method and device
CN110781813A (en) Image recognition method and device, electronic equipment and storage medium
CN106656746B (en) Information output method and device
CN108011990B (en) Contact management method and device
CN107493366B (en) Address book information updating method and device and storage medium
US20190095163A1 (en) Method and device for displaying an input interface and an electronic device
CN112445906A (en) Method and device for generating reply message
CN106447747B (en) Image processing method and device
CN107295167B (en) Information display method and device
CN111368329B (en) Message display method and device, electronic equipment and storage medium
CN106506808B (en) Method and device for prompting communication message
CN110213062B (en) Method and device for processing message
US20170201479A1 (en) Group message display method, device and medium
US9832342B2 (en) Method and device for transmitting image
CN109639561B (en) Sharing method and device based on information feedback, electronic 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