CN107888781B - Information sharing method and device and computer storage medium - Google Patents

Information sharing method and device and computer storage medium Download PDF

Info

Publication number
CN107888781B
CN107888781B CN201711244176.1A CN201711244176A CN107888781B CN 107888781 B CN107888781 B CN 107888781B CN 201711244176 A CN201711244176 A CN 201711244176A CN 107888781 B CN107888781 B CN 107888781B
Authority
CN
China
Prior art keywords
information
display information
instruction
terminal
target display
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
CN201711244176.1A
Other languages
Chinese (zh)
Other versions
CN107888781A (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.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer 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 Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201711244176.1A priority Critical patent/CN107888781B/en
Publication of CN107888781A publication Critical patent/CN107888781A/en
Application granted granted Critical
Publication of CN107888781B publication Critical patent/CN107888781B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an information sharing method, an information sharing device and a computer storage medium, belongs to the technical field of terminals, and is applied to a first terminal, wherein the method comprises the following steps: when a sharing instruction is detected, acquiring a network address of first information to be shared by the sharing instruction; when an adding instruction is detected, target display information to be added by the adding instruction is obtained; generating second information carrying the target display information and the network address of the first information; and sending the second information to a second terminal, and displaying the target display information and the network address of the first information by the second terminal. According to the invention, the user of the first terminal can disguise the content of the first information to be shared through the customized target display information, so that the sharing flexibility can be increased, and the information sharing effect is improved.

Description

Information sharing method and device and computer storage medium
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to an information sharing method and apparatus, and a computer storage medium.
Background
With the rapid development of terminal technology, the terminal such as a mobile phone and a tablet computer has increasingly powerful functions, and becomes an indispensable tool in work and life of people gradually. Entertainment applications such as music applications and the like can be installed in the terminal, and a user can browse information in the entertainment applications and can share the browsed information to other users. For example, a user hears an auditive song in a music application, and may share the song with other users.
In the related art, the first terminal may send the shared information to the second terminal, and when the second terminal receives the shared information, the title or the picture included in the shared information may be displayed first, and then, when the click operation on the title or the picture is detected, the specific content of the shared information is displayed. For example, the first terminal shares the song "i are very ugly but i are very gentle" with the second terminal, and when the second terminal receives the song, the song name "i are very ugly but i are very gentle" of the song or the album cover of the song may be displayed first, and then when the song name "i are very ugly but i are very gentle" or a click operation on the album cover is detected, the song play page of the song is displayed.
Disclosure of Invention
In order to solve the problem of poor information sharing effect in the related art, embodiments of the present invention provide an information sharing method and apparatus, and a computer storage medium. The technical scheme is as follows:
according to a first aspect of the embodiments of the present invention, there is provided an information sharing method applied to a first terminal, the method including:
when a sharing instruction is detected, acquiring a network address of first information to be shared by the sharing instruction;
when an adding instruction is detected, target display information to be added by the adding instruction is obtained;
generating second information carrying the target display information and the network address of the first information;
and sending the second information to a second terminal, and displaying the target display information and the network address of the first information by the second terminal.
Optionally, when the adding instruction is detected, before the target display information to be added by the adding instruction is acquired, the method further includes:
displaying an information selection page, wherein the information selection page comprises at least one piece of display information;
when a selection instruction is detected in the information selection page, determining display information selected by the selection instruction from the at least one piece of display information as target display information.
Optionally, before the displaying the information selection page, the method further includes:
acquiring a keyword in the first information, and acquiring at least one piece of display information corresponding to the keyword from a preset display information base; alternatively, the first and second electrodes may be,
at least one piece of information belonging to a specified type is acquired from a plurality of pieces of information stored, and each piece of the at least one piece of information is determined as display information.
Optionally, when the adding instruction is detected, before the target display information to be added by the adding instruction is acquired, the method further includes:
displaying an information input page, wherein the information input page comprises an input frame;
when an input instruction is detected in the information input page, determining characters in the input box as target display information.
Optionally, the first information is a song or a song list;
correspondingly, the sending the second information to a second terminal, and displaying, by the second terminal, the target display information and the network address of the first information includes:
and sending the second information to a second terminal, displaying the target display information and the network address of the first information by the second terminal, playing the song or the song in the song list when a selection instruction of the network address of the first information is detected, and displaying the song information of the played song.
According to a second aspect of the embodiments of the present invention, there is provided an information sharing apparatus, including:
the first acquisition module is used for acquiring a network address of first information to be shared by a sharing instruction when the sharing instruction is detected;
the second acquisition module is used for acquiring target display information to be added by the adding instruction when the adding instruction is detected;
the generating module is used for generating second information carrying the target display information and the network address of the first information;
and the first display module is used for sending the second information to a second terminal, and the second terminal displays the target display information and the network address of the first information.
Optionally, the apparatus further comprises:
the second display module is used for displaying an information selection page, and the information selection page comprises at least one piece of display information;
the first determination module is used for determining the display information selected by the selection instruction from the at least one piece of display information as target display information when the selection instruction is detected in the information selection page.
Optionally, the apparatus further comprises:
the third acquisition module is used for acquiring keywords in the first information and acquiring at least one piece of display information corresponding to the keywords from a preset display information base; alternatively, the first and second electrodes may be,
and the fourth acquisition module is used for acquiring at least one piece of information belonging to a specified type from the stored plurality of pieces of information and determining each piece of information in the at least one piece of information as the display information.
Optionally, the apparatus further comprises:
the third display module is used for displaying an information input page, and the information input page comprises an input frame;
and the second determination module is used for determining the characters in the input box as target display information when an input instruction is detected in the information input page.
Optionally, the first information is a song or a song list;
accordingly, the first display module comprises:
and the display sub-module is used for sending the second information to a second terminal, displaying the target display information and the network address of the first information by the second terminal, playing the song or the song in the song list when a selection instruction of the network address of the first information is detected, and displaying the song information of the played song.
According to a third aspect of embodiments of the present invention, there is provided an apparatus comprising a processor, a memory, and program code stored on the memory and executable on the processor, the processor implementing the method of the first aspect when executing the program code.
According to a fourth aspect of embodiments of the present invention, there is provided a computer-readable storage medium having stored thereon instructions which, when executed by a processor, implement the steps of the method of the first aspect described above.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
in the embodiment of the present invention, when the first terminal detects the sharing instruction, the network address of the first information to be shared by the sharing instruction may be acquired. And then, when the first terminal detects the adding instruction, the target display information to be added by the adding instruction can be obtained, then second information carrying the target display information and the network address of the first information is generated, and the second information is sent to the second terminal. And when the second information is received by the second terminal, the target display information and the network address of the first information can be displayed. In the information sharing process, a user of the first terminal can disguise the content of the first information to be shared through the customized target display information, so that the sharing flexibility can be increased, and the information sharing effect is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of an information sharing method according to an embodiment of the present invention;
fig. 2A is a flowchart of another information sharing method according to an embodiment of the present invention;
fig. 2B is a schematic diagram of an information selection page according to an embodiment of the present invention;
FIG. 2C is a diagram of an information input page according to an embodiment of the present invention;
fig. 2D is a schematic diagram of a first information adding page according to an embodiment of the present invention;
fig. 2E is a schematic diagram of a second information adding page according to an embodiment of the present invention;
fig. 2F is a schematic diagram of an information determination page according to an embodiment of the present invention;
FIG. 2G is a diagram illustrating second information according to an embodiment of the present invention;
FIG. 2H is a diagram illustrating another second message according to an embodiment of the present invention;
fig. 3A is a schematic structural diagram of a first sharing device according to an embodiment of the present invention;
fig. 3B is a schematic structural diagram of a second sharing device according to an embodiment of the present invention;
fig. 3C is a schematic structural diagram of a third sharing device according to an embodiment of the present invention;
fig. 3D is a schematic structural diagram of a fourth sharing device according to an embodiment of the present invention;
fig. 3E is a schematic structural diagram of a first display module according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a fifth sharing device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Before explaining the embodiments of the present invention in detail, an application scenario related to the embodiments of the present invention will be described.
Entertainment applications such as music applications are usually installed in the terminal, and the user can share information browsed in the entertainment applications to other users. In the related art, when the second terminal receives the shared information sent by the first terminal, a title or a picture included in the shared information may be displayed first, and then, when a click operation on the title or the picture is detected, specific content of the shared information is displayed. However, since the title or the picture included in the shared information is often a summary of the specific content of the shared information, after the title or the picture is displayed on the second terminal, the user of the second terminal can know the approximate content of the shared information through the title or the picture, so that the user of the second terminal may possibly lose a desire to click and view the specific content of the shared information, and the sharing effect of the shared information is reduced. Therefore, the embodiment of the invention provides an information sharing method to improve the sharing effect of shared information.
Next, the information sharing method provided by the embodiment of the present invention will be described in detail with reference to the accompanying drawings.
Fig. 1 is a flowchart of an information sharing method provided in an embodiment of the present invention, as shown in fig. 1, applied to a first terminal, where the method includes the following steps:
step 101: when the sharing instruction is detected, the network address of the first information to be shared by the sharing instruction is obtained.
Step 102: when an adding instruction is detected, target display information to be added by the adding instruction is acquired.
Step 103: and generating second information carrying the target display information and the network address of the first information.
Step 104: and sending the second information to a second terminal, and displaying the target display information and the network address of the first information by the second terminal.
In the embodiment of the present invention, when the first terminal detects the sharing instruction, the network address of the first information to be shared by the sharing instruction may be acquired. And then, when the first terminal detects the adding instruction, the target display information to be added by the adding instruction can be obtained, then second information carrying the target display information and the network address of the first information is generated, and the second information is sent to the second terminal. And when the second information is received by the second terminal, the target display information and the network address of the first information can be displayed. In the information sharing process, a user of the first terminal can disguise the content of the first information to be shared through the customized target display information, so that the sharing flexibility can be increased, and the information sharing effect is improved.
Optionally, when the add instruction is detected, before the target display information to be added by the add instruction is acquired, the method further includes:
displaying an information selection page, wherein the information selection page comprises at least one piece of display information;
when a selection instruction is detected in the information selection page, the display information selected by the selection instruction from the at least one piece of display information is determined as target display information.
Optionally, before displaying the information selection page, the method further includes:
acquiring a keyword in the first information, and acquiring at least one piece of display information corresponding to the keyword from a preset display information base; alternatively, the first and second electrodes may be,
at least one piece of information belonging to a specified type is acquired from the stored plurality of pieces of information, and each piece of the at least one piece of information is determined as display information.
Optionally, when the add instruction is detected, before the target display information to be added by the add instruction is acquired, the method further includes:
displaying an information input page, wherein the information input page comprises an input frame;
when an input instruction is detected in the information input page, the character in the input box is determined as target display information.
Optionally, the first information is a song or a song list;
correspondingly, the second information is sent to the second terminal, and the second terminal displays the target display information and the network address of the first information, and the method comprises the following steps:
and sending the second information to a second terminal, displaying the target display information and the network address of the first information by the second terminal, playing the song or the song in the song list when detecting a selection instruction of the network address of the first information, and displaying the song information of the played song.
All the above optional technical solutions can be combined arbitrarily to form an optional embodiment of the present invention, which is not described in detail herein.
Fig. 2A is a flowchart of an information sharing method according to an embodiment of the present invention. Embodiments of the present invention will be discussed in conjunction with FIG. 2A for the embodiment provided in FIG. 1. As shown in fig. 2A, the method includes the steps of:
step 201: when the first terminal detects the sharing instruction, the network address of the first information to be shared by the sharing instruction is obtained.
It should be noted that the sharing instruction is used to instruct to share the first information, the sharing instruction may be triggered by a user of the first terminal, and the user of the first terminal may be triggered by a first specified operation, where the first specified operation may be a click operation, a sliding operation, a voice operation, and the like.
The network address of the first information is information required for sharing the first information, the network address of the first information is used for indicating a location of the first information in the network, and is used for locating the first information, and when the network address of the first information is opened, the content of the first information is displayed, for example, the network address of the first information may be a UR L (Uniform Resource L locator) address of the first information, and the like.
Furthermore, the first information is information that can be shared in the network, for example, the first information may be a song, a song list, and the like, which is not limited in the embodiment of the present invention.
For example, a user of a first terminal wants to share a song "i am ugly but i am very soft" with other users, the user of the first terminal may click a share button in a music application to trigger a share instruction, and when the first terminal detects the share instruction, the first terminal may obtain a network address of the song "i am ugly but i are very soft".
It should be noted that, after the first terminal acquires the network address of the first information to be shared by the sharing instruction in step 201, the target display information to be displayed first by the second terminal after the first information is shared with the second terminal may also be acquired in step 202 as follows.
Step 202: when the first terminal detects the adding instruction, the target display information to be added by the adding instruction is obtained.
It should be noted that the adding instruction is used to instruct to add the target display information to the information to be displayed when the first information is shared, the adding instruction may be triggered by a user of the first terminal, and the user of the first terminal may be triggered by a second specified operation, where the second specified operation may be a click operation, a slide operation, a voice operation, or the like.
In addition, the target display information is information added according to an addition instruction triggered by the user of the first terminal, that is, the target display information is self-defined information when the user of the first terminal shares the first information, and at this time, the content association between the target display information and the first information is relatively small.
Further, before step 202, the first terminal may further determine target display information, and specifically, the determining, by the first terminal, the target display information may include the following five implementation manners:
the first implementation mode comprises the following steps: and displaying an information selection page, wherein the information selection page comprises at least one piece of display information, and when a selection instruction is detected on the information selection page, the display information selected by the selection instruction from the at least one piece of display information is determined as target display information.
It should be noted that the information selection page is a page for indicating at least one piece of display information that can be added, and each piece of display information in the at least one piece of display information may be a text, a picture, or the like.
In addition, the selection instruction is used for selecting the target display information from the at least one display information, the selection instruction may be triggered by a user of the first terminal, and the user of the first terminal may be triggered by a third specifying operation, where the third specifying operation may be a click operation, a slide operation, a voice operation, or the like.
For example, as shown in fig. 2B, the information selection page includes display information 1, display information 2, display information 3, and a selection button, where a user of the first terminal may select display information 1 and click the selection button to trigger a selection instruction, and when the first terminal detects the selection instruction, the display information 1 selected by the selection instruction may be determined as the target display information.
It should be noted that, in the embodiment of the present invention, after the first terminal acquires the network address of the first information to be shared, the information selection page may be further displayed, and the target display information is determined from the information selection page, that is, after the first terminal acquires the network address required when sharing the first information, the user of the first terminal may further customize the target display information to be displayed when sharing the first information, so that the sharing flexibility of the first information may be improved.
Further, before the first terminal displays the information selection page according to the first implementation manner, the first terminal may further determine the at least one piece of display information according to the following manner 1 or manner 2.
Mode 1: and acquiring a keyword in the first information, and acquiring at least one piece of display information corresponding to the keyword from a preset display information base.
It should be noted that the keyword in the first information is information included in the first information and may indicate the rough content of the first information, for example, when the first information is a song, the keyword in the first information may be a song name of the first information, or the like.
In addition, the preset display information base may be set in advance according to different usage habits of the user of the first terminal, for example, the preset display information base may include display information 1, display information 2, display information 3, display information 4, display information 5, and the like.
Furthermore, since the preset display information base is preset by the user of the first terminal according to the use habit of the user, when the first terminal obtains at least one piece of display information corresponding to the keyword from the preset display information base, some pieces of display information which the user of the first terminal may want to add to the keyword is actually determined from the display information range preset by the user of the first terminal, so that the determination efficiency of the at least one piece of display information is high, and the pertinence is strong.
For example, the preset display information base includes display information 1, display information 2, display information 3, display information 4, display information 5, and the like, and assuming that the keyword for obtaining the first information is the keyword 1 and the display information corresponding to the keyword 1 is the display information 1, the display information 2, and the display information 3, the display information 1, the display information 2, and the display information 3 may be obtained from the preset information base at this time.
Mode 2: at least one piece of information belonging to a specified type is acquired from the stored plurality of pieces of information, and each piece of the at least one piece of information is determined as display information.
It should be noted that the specified type may be set in advance, and the specified type may be a type of display information, for example, when the display information is a picture, the specified type may be a picture type.
In addition, the embodiment of the invention can determine at least one piece of information belonging to the appointed type in the stored plurality of pieces of information as the display information, and the determination operation is simple and convenient, so that the determination efficiency of the at least one piece of display information is higher, and the range of the at least one piece of display information is larger.
For example, if the type of the display information is a picture, the type is designated as a picture type, and all stored pictures may be determined as the display information.
Further, after the first terminal determines the display information selected by the selection instruction from the at least one piece of display information as the target display information according to the first implementation manner, an addition instruction may be triggered according to the target display information. Specifically, the selection instruction may be directly used as an addition instruction after the display information selected by the selection instruction from the at least one piece of display information is determined as the target display information; alternatively, an information preview page may be displayed, in which target display information is displayed, and when a determination instruction is detected in the information preview page, the determination instruction is used as an addition instruction.
The determination instruction is used to determine to add target display information displayed in the information preview page, and the determination instruction may be triggered by a user of the first terminal, and the user of the first terminal may be triggered by a fourth specifying operation, where the fourth specifying operation may be a click operation, a slide operation, a voice operation, and the like.
It should be noted that, in the embodiment of the present invention, after determining the target display information, an information preview page may be displayed first, so that a user of the first terminal previews the target display information, if the user of the first terminal triggers the determination instruction in the information preview page, the first terminal may determine that the addition instruction is detected, and if the user of the first terminal does not trigger the determination instruction in the information preview page, the user of the first terminal may further modify the target display information, which is more flexible in operation and more adaptable to various requirements of the user of the first terminal.
The second implementation mode comprises the following steps: and displaying an information input page, wherein the information input page comprises an input box, and when an input instruction is detected in the information input page, the characters in the input box are determined as target display information.
The information input page is a page for indicating that characters input in the input box can be added, and in this case, the target display information is a character.
In addition, the input instruction refers to an instruction for adding a character input in the input box, the input instruction may be triggered by a user of the first terminal, and the user of the first terminal may trigger through a fifth specified operation, and the fifth specified operation may be a click operation, a slide operation, a voice operation, or the like.
For example, as shown in fig. 2C, the information input page includes an input box and a determination button, at this time, the user of the first terminal may input the character "text 1" in the input box and click the determination button beside the input box to trigger an input instruction, and when the first terminal detects the input instruction, the character "text 1" in the input box may be determined as the target display information.
It should be noted that, in the embodiment of the present invention, after the first terminal acquires the network address of the first information to be shared, the information input page may be further displayed, and the target display information is input in an input box included in the information input page, that is, after the first terminal acquires the network address required when the first information is shared, the user of the first terminal may further customize the target display information to be displayed when the first information is shared, so that the flexibility of sharing the first information may be improved.
Further, after the first terminal determines the character in the input box as the target display information according to the second implementation manner, the adding instruction may be triggered according to the target display information. Specifically, the input instruction may be directly taken as an addition instruction after the character in the input box is determined as the target display information; alternatively, an information preview page may be displayed, in which target display information is displayed, and when a determination instruction is detected in the information preview page, the determination instruction is used as an addition instruction.
The third implementation mode comprises the following steps: the method includes displaying an information selection page, the information selection page including at least one piece of display information, determining display information selected by a selection instruction from the at least one piece of display information as first display information when the selection instruction is detected in the information selection page, displaying a first information addition page, the first information addition page including the first display information and an input box, determining characters in the input box as second display information when the input instruction is detected in the first information addition page, and determining the first display information and the second display information as target display information.
It should be noted that, in this implementation manner, the at least one display information and the first display information may be pictures, characters, and the like, and the second display information may be characters.
In addition, the first information addition page is a page for displaying the first display information and for indicating that a character input in the input box can be added.
Furthermore, in the embodiment of the present invention, after the first terminal acquires the network address of the first information to be shared, the information selection page may be further displayed, the first display information is determined from the information selection page, then, the first information addition page may be displayed, the second display information is input in the input box included in the first information addition page, and the first display information and the second display information are determined as the target display information, that is, after the first terminal acquires the network address required when sharing the first information, the user of the first terminal may further customize the target display information to be displayed when sharing the first information, so that the sharing flexibility of the first information may be improved.
For example, an information selection page as shown in fig. 2B is displayed first, where the information selection page includes display information 1, display information 2, display information 3, and a selection button, at this time, a user of the first terminal may select display information 1 and click the selection button to trigger a selection instruction, and when the first terminal detects the selection instruction, the display information 1 selected by the selection instruction may be determined as the first display information. After that, the first terminal may display a first information adding page as shown in fig. 2D, where the first information adding page includes display information 1, an input box, and a determination button, at this time, a user of the first terminal may input a character "text 1" in the input box to trigger an input instruction, and when the first terminal detects the input instruction, the character "text 1" in the input box may be determined as the second display information, and the first display information and the second display information may be determined as the target display information.
Further, after the first terminal determines the first display information and the second display information as the target display information according to the third implementation manner, an addition instruction may be triggered according to the target display information. Specifically, the input instruction may be directly taken as an addition instruction after the first display information and the second display information are determined as the target display information; alternatively, an information preview page may be displayed, in which target display information is displayed, and when a determination instruction is detected in the information preview page, the determination instruction is used as an addition instruction.
The fourth implementation mode comprises the following steps: and displaying an information input page, wherein the information input page comprises an input frame, when an input instruction is detected in the information input page, the characters in the input frame are determined as second display information, then, a second information adding page is displayed, the second information adding page comprises the second display information and at least one piece of display information, when a selection instruction is detected in the second information adding page, the display information selected by the selection instruction from the at least one piece of display information is determined as first display information, and the second display information and the first display information are determined as target display information.
It should be noted that the second information adding page is a page for displaying the second display information and indicating at least one piece of display information that can be added.
In addition, in the embodiment of the present invention, after the first terminal acquires the network address of the first information to be shared, an information input page may be further displayed, second display information is input in an input box included in the information input page, then, a second information addition page may be displayed, the first display information is determined from the second information addition page, and the second display information and the first display information are determined as the target display information, that is, after the first terminal acquires the network address required when sharing the first information, the user of the first terminal may further customize the target display information to be displayed when sharing the first information, so that the sharing flexibility of the first information may be improved.
For example, an information input page as shown in fig. 2C is displayed, where the information input page includes an input box and a determination button, and at this time, the user of the first terminal may input the character "text 1" in the input box to trigger an input instruction, and when the first terminal detects the input instruction, the character "text 1" in the input box may be determined as the second display information. Then, the first terminal may display a second information adding page as shown in fig. 2E, where the second information adding page includes a text 1, a display information 2, a display information 3, and a selection button, and at this time, a user of the first terminal may select the display information 1 and click the selection button to trigger a selection instruction, and when the first terminal detects the selection instruction, the display information 1 selected by the selection instruction may be determined as the first display information, and the second display information and the first display information may be determined as the target display information.
Further, after the first terminal determines the second display information and the first display information as the target display information according to the fourth implementation manner, the adding instruction may be triggered according to the target display information. Specifically, the selection instruction may be directly taken as the addition instruction after the second display information and the first display information are determined as the target display information; alternatively, an information preview page may be displayed, in which target display information is displayed, and when a determination instruction is detected in the information preview page, the determination instruction is used as an addition instruction.
The fifth implementation manner: and a display information determination page including an input box and at least one piece of display information, determining characters in the input box as second display information when an input instruction is detected in the information determination page, and determining display information selected by a selection instruction from the at least one piece of display information as first display information and determining the second display information and the first display information as target display information when the selection instruction is detected in the information determination page.
It should be noted that the information determination page is a page for indicating that characters input in the input box can be added, and for indicating at least one piece of display information that can be added.
In addition, in the embodiment of the present invention, after the first terminal acquires the network address of the first information to be shared, the information determining page may be further displayed, the second display information is input in an input box included in the information determining page, the first display information is determined from the information determining page, and the second display information and the first display information are determined as the target display information, that is, after the first terminal acquires the network address required when sharing the first information, the user of the first terminal may further customize the target display information to be displayed when sharing the first information, so that the sharing flexibility of the first information may be improved.
For example, the first terminal may display an information determination page as shown in fig. 2F, where the information determination page includes an input box, display information 1, display information 2, display information 3, a selection button, and a determination button, where a user of the first terminal may input a character "text 1" in the input box to trigger an input instruction, when the first terminal detects the input instruction, the character "text 1" in the input box may be determined as the second display information, and the user of the first terminal may also select display information 1 and click the selection button to trigger a selection instruction, and when the first terminal detects the selection instruction, the display information 1 selected by the selection instruction may be determined as the first display information, and the first display information and the second display information may be determined as the target display information.
Further, after the first terminal determines the second display information and the first display information as the target display information according to the fifth implementation manner, the adding instruction may be triggered according to the target display information. Specifically, after the second display information and the first display information are determined as the target display information, a post-triggered instruction of the selection instruction and the input instruction may be used as an addition instruction; alternatively, an information preview page may be displayed, in which target display information is displayed, and when a determination instruction is detected in the information preview page, the determination instruction is used as an addition instruction.
It should be further noted that, after the target display information to be added by the add instruction is obtained in step 202, second information of the network address carrying the target display information and the first information may also be generated according to step 203 as follows.
Step 203: the first terminal generates second information carrying the target display information and the network address of the first information, and sends the second information to the second terminal.
It should be noted that, since the target display information is the self-defined information of the user of the first terminal when sharing the first information, the first terminal generates the second information carrying the target display information and the network address of the first information, and sends the second information to the second terminal, and actually disguises the content of the first information to be shared through the user-defined target display information of the first terminal, thereby increasing the unknown property of the shared information and improving the interest of the sharing.
For example, the first information is a song "i are ugly but i are very gentle", the target display information is "this singing is you", and the second information generated at this time is information carrying a network address of "this singing is you" and a song "i are ugly but i are very gentle".
Step 204: and when the second terminal receives the second information sent by the first terminal, displaying the target display information and the network address of the first information.
The second terminal displays the target display information and the network address of the first information, that is, displays the shared information. In this case, since the target display information is the user-defined information of the first terminal when the user shares the first information, after the second terminal displays the target display information, the user of the second terminal cannot know the content of the first information according to the target display information, so that the exploration desire of the user of the second terminal can be improved, the probability that the user of the second terminal clicks to check the content of the first information is improved, the entertainment and flexibility of sharing can be improved, and the information sharing effect is improved.
Further, after the second terminal displays the target display information and the network address of the first information, when the first information is a song or a song list, the second terminal may also directly play the song or the song in the song list and display the song information of the played song when detecting a selection instruction for the network address of the first information.
The selection instruction is an instruction for displaying the web content corresponding to the network address of the first information, and the selection instruction may be triggered by the user of the second terminal, and the user of the second terminal may be triggered by a sixth specific operation, where the sixth specific operation may be a click operation, a slide operation, a voice operation, or the like.
In addition, when the second terminal displays the network address of the first information, the network address can be directly displayed, when a selection instruction triggered by the user of the second terminal to the network address of the first information is detected, a webpage corresponding to the network address is opened, the song or the song in the song list is played in the webpage, and the song information of the played song is displayed.
It should be noted that the song information of the song includes a song name, lyrics, a singer name, an album name, and the like, which is not limited in the embodiment of the present invention.
For example, the second information is information carrying a network address of "this song is you" and a song "i very ugly but i very gentle", as shown in fig. 2G, at this time, the shared information displayed by the second terminal is information of a network address with the title "this song is you" and a network address of a song "i very ugly but i very gentle", when the user of the second terminal clicks the network address of the song "i very ugly but i very gentle", a web page corresponding to the network address is opened, the song "i very ugly but i very gentle" is played in the web page, and information of the song "i very ugly but i very gentle" is displayed.
Of course, in practical application, the network address of the first information may also be displayed in the form of an icon, and when a selection instruction triggered by the icon by the user of the second terminal is detected, the song or the song in the song list is played, and the song information of the played song is displayed on the target display information in an overlaying manner.
For example, the second information is information carrying a network address of "this song is what you are singing" and a song "i are very ugly but i are very gentle", then as shown in fig. 2H, the shared information displayed by the second terminal at this time is information titled as "this singing is what you is singing" and a triangular icon, where the triangular icon is a network address of the song "i are very ugly but i are very gentle", when the user of the second terminal clicks the triangular icon, the song "i are very ugly but i are very gentle" is played, and information of the song "i are very ugly but i are very gentle" is displayed in a position where the title "this song is singing is you" is currently displayed in an overlaid manner.
In the embodiment of the present invention, when the first terminal detects the sharing instruction, the network address of the first information to be shared by the sharing instruction may be acquired. And then, when the first terminal detects the adding instruction, the target display information to be added by the adding instruction can be obtained, then second information carrying the target display information and the network address of the first information is generated, and the second information is sent to the second terminal. And when the second information is received by the second terminal, the target display information and the network address of the first information can be displayed. In the information sharing process, a user of the first terminal can disguise the content of the first information to be shared through the customized target display information, so that the sharing flexibility can be increased, and the information sharing effect is improved.
Next, an information sharing apparatus provided in an embodiment of the present invention is described.
Fig. 3A is a schematic structural diagram of an information sharing apparatus according to an embodiment of the present invention. As shown in fig. 3A, the apparatus is applied to a first terminal and includes a first obtaining module 301, a second obtaining module 302, a generating module 303, and a first displaying module 304.
The first obtaining module 301 is configured to, when a sharing instruction is detected, obtain a network address of first information to be shared by the sharing instruction.
The second obtaining module 302 is configured to, when an add instruction is detected, obtain target display information to be added by the add instruction.
The generating module 303 is configured to generate second information carrying the target display information and the network address of the first information.
And the first display module 304 is configured to send the second information to the second terminal, and the second terminal displays the target display information and the network address of the first information.
Optionally, referring to fig. 3B, the apparatus further comprises:
a second display module 305, configured to display an information selection page, where the information selection page includes at least one piece of display information.
The first determining module 306 is configured to determine, when a selection instruction is detected in the information selection page, display information selected by the selection instruction from the at least one piece of display information as target display information.
Optionally, referring to fig. 3C, the apparatus further comprises:
a third obtaining module 307, configured to obtain a keyword in the first information, and obtain at least one piece of display information corresponding to the keyword from a preset display information base; alternatively, the first and second electrodes may be,
a fourth obtaining module 308, configured to obtain at least one piece of information belonging to a specified type from the stored plurality of pieces of information, and determine each piece of information in the at least one piece of information as display information.
Optionally, referring to fig. 3D, the apparatus further comprises:
a third display module 309, configured to display an information input page, where the information input page includes an input box;
the second determining module 310 is configured to determine the character in the input box as the target display information when the input instruction is detected in the information input page.
Optionally, the first information is a song or a song list;
accordingly, referring to fig. 3E, the first display module 304 includes:
the display sub-module 3041 is configured to send the second information to the second terminal, and the second terminal displays the target display information and the network address of the first information, and when a selection instruction for the network address of the first information is detected, plays the song or the song in the song list, and displays song information of the played song.
In the embodiment of the present invention, when the first terminal detects the sharing instruction, the network address of the first information to be shared by the sharing instruction may be acquired. And then, when the first terminal detects the adding instruction, the target display information to be added by the adding instruction can be obtained, then second information carrying the target display information and the network address of the first information is generated, and the second information is sent to the second terminal. And when the second information is received by the second terminal, the target display information and the network address of the first information can be displayed. In the information sharing process, a user of the first terminal can disguise the content of the first information to be shared through the customized target display information, so that the sharing flexibility can be increased, and the information sharing effect is improved.
It should be noted that: in the information sharing device provided in the above embodiment, only the division of the functional modules is illustrated when sharing information, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the information sharing apparatus and the information sharing method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Fig. 4 is a block diagram illustrating an information sharing apparatus according to an example embodiment. For example, the apparatus 400 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. 4, the apparatus 400 may include one or more of the following components: processing components 402, memory 404, power components 406, multimedia components 408, audio components 410, input/output (I/O) interfaces 412, sensor components 414, and communication components 416.
The processing component 402 generally controls overall operation of the apparatus 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 402 can include one or more modules that facilitate interaction between the processing component 402 and other components. For example, the processing component 402 can include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
The memory 404 is configured to store various types of data to support operations at the apparatus 400. Examples of such data include instructions for any application or method operating on the device 400, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 404 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 supply components 406 provide power to the various components of device 400. The power components 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power supplies for the apparatus 400.
The multimedia component 408 includes a screen that provides an output interface between the device 400 and a user, in some embodiments, the screen may include a liquid crystal display (L CD) and a Touch Panel (TP). if the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user.
The audio component 410 is configured to output and/or input audio signals. For example, audio component 410 includes a Microphone (MIC) configured to receive external audio signals when apparatus 400 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 404 or transmitted via the communication component 416. In some embodiments, audio component 410 also includes a speaker for outputting audio signals.
The I/O interface 412 provides an interface between the processing component 402 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 component 414 includes one or more sensors for providing various aspects of status assessment for the apparatus 400. For example, the sensor assembly 414 may detect an open/closed state of the apparatus 400, the relative positioning of the components, such as a display and keypad of the apparatus 400, the sensor assembly 414 may also detect a change in the position of the apparatus 400 or a component of the apparatus 400, the presence or absence of user contact with the apparatus 400, orientation or acceleration/deceleration of the apparatus 400, and a change in the temperature of the apparatus 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 414 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 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 416 is configured to facilitate wired or wireless communication between the apparatus 400 and other devices. The apparatus 400 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 416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 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 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), programmable logic devices (P L D), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the information sharing methods provided by the embodiments shown in fig. 1 or fig. 2A and described above.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as a memory comprising instructions, executable by a processor of an apparatus 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.
That is, when executed by a processor of an apparatus, the instructions in the computer-readable storage medium may implement the information sharing method provided in the embodiment of fig. 1 or fig. 2A.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (11)

1. An information sharing method is applied to a first terminal, and is characterized by comprising the following steps:
when a sharing instruction triggered by a first specified operation is detected, acquiring a network address of first information to be shared by the sharing instruction, wherein the first specified operation is a sliding operation or a voice operation, and the first information is a song or a song list;
when an adding instruction is detected, acquiring target display information to be added by the adding instruction, wherein after the target display information is determined, an information preview page is displayed, the target display information is displayed in the information preview interface, and when a determining instruction is detected in the information preview page, the determining instruction is used as the adding instruction, so that the target display information to be added by the adding instruction is acquired;
generating second information carrying the target display information and the network address of the first information, so that the content of the first information to be shared is disguised through the target display information customized by the user of the first terminal;
and sending the second information to a second terminal, and displaying the target display information and the network address of the first information by the second terminal, wherein when the second terminal plays the song corresponding to the network address of the first information, the song information of the played song covers and displays the target display information.
2. The method according to claim 1, wherein when the adding instruction is detected, before the target display information to be added by the adding instruction is acquired, further comprising:
displaying an information selection page, wherein the information selection page comprises at least one piece of display information;
when a selection instruction is detected in the information selection page, determining display information selected by the selection instruction from the at least one piece of display information as target display information.
3. The method of claim 2, wherein prior to displaying the information selection page, further comprising:
acquiring a keyword in the first information, and acquiring at least one piece of display information corresponding to the keyword from a preset display information base; alternatively, the first and second electrodes may be,
at least one piece of information belonging to a specified type is acquired from a plurality of pieces of information stored, and each piece of the at least one piece of information is determined as display information.
4. The method according to claim 1, wherein when the adding instruction is detected, before the target display information to be added by the adding instruction is acquired, further comprising:
displaying an information input page, wherein the information input page comprises an input frame;
when an input instruction is detected in the information input page, determining characters in the input box as target display information.
5. The method according to any one of claims 1 to 4, wherein the sending the second information to a second terminal, and the displaying, by the second terminal, the target display information and the network address of the first information comprises:
and sending the second information to a second terminal, displaying the target display information and the network address of the first information by the second terminal, playing the song or the song in the song list when a selection instruction of the network address of the first information is detected, and displaying the song information of the played song.
6. The utility model provides an information sharing device, is applied to first terminal, its characterized in that, the device includes:
the device comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a network address of first information to be shared by a sharing instruction when the sharing instruction triggered by a first specified operation is detected, the first specified operation is sliding operation or voice operation, and the first information is a song or a song list;
the second obtaining module is used for obtaining target display information to be added by the adding instruction when the adding instruction is detected, wherein an information preview page is displayed after the target display information is determined, the target display information is displayed in the information preview interface, and when the determining instruction is detected in the information preview page, the determining instruction is used as the adding instruction so as to obtain the target display information to be added by the adding instruction;
the generating module is used for generating second information carrying the target display information and the network address of the first information, so that the content of the first information to be shared is disguised through the target display information defined by the user of the first terminal;
and the first display module is used for sending the second information to a second terminal, and the second terminal displays the target display information and the network address of the first information, wherein when the second terminal plays the song corresponding to the network address of the first information, the song information of the played song covers and displays the target display information.
7. The apparatus of claim 6, further comprising:
the second display module is used for displaying an information selection page, and the information selection page comprises at least one piece of display information;
the first determination module is used for determining the display information selected by the selection instruction from the at least one piece of display information as target display information when the selection instruction is detected in the information selection page.
8. The apparatus of claim 7, further comprising:
the third acquisition module is used for acquiring keywords in the first information and acquiring at least one piece of display information corresponding to the keywords from a preset display information base; alternatively, the first and second electrodes may be,
and the fourth acquisition module is used for acquiring at least one piece of information belonging to a specified type from the stored plurality of pieces of information and determining each piece of information in the at least one piece of information as the display information.
9. The apparatus of claim 6, further comprising:
the third display module is used for displaying an information input page, and the information input page comprises an input frame;
and the second determination module is used for determining the characters in the input box as target display information when an input instruction is detected in the information input page.
10. The apparatus of any of claims 6-9, wherein the first display module comprises:
and the display sub-module is used for sending the second information to a second terminal, displaying the target display information and the network address of the first information by the second terminal, playing the song or the song in the song list when a selection instruction of the network address of the first information is detected, and displaying the song information of the played song.
11. A computer-readable storage medium having instructions stored thereon, wherein the instructions, when executed by a processor, implement the steps of any of the methods of claims 1-5.
CN201711244176.1A 2017-11-30 2017-11-30 Information sharing method and device and computer storage medium Active CN107888781B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711244176.1A CN107888781B (en) 2017-11-30 2017-11-30 Information sharing method and device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711244176.1A CN107888781B (en) 2017-11-30 2017-11-30 Information sharing method and device and computer storage medium

Publications (2)

Publication Number Publication Date
CN107888781A CN107888781A (en) 2018-04-06
CN107888781B true CN107888781B (en) 2020-07-24

Family

ID=61776424

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711244176.1A Active CN107888781B (en) 2017-11-30 2017-11-30 Information sharing method and device and computer storage medium

Country Status (1)

Country Link
CN (1) CN107888781B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108256128A (en) * 2018-04-13 2018-07-06 Oppo广东移动通信有限公司 Processing method, device, storage medium and the electronic equipment of page link

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102111454A (en) * 2011-03-11 2011-06-29 创博亚太科技(山东)有限公司 Method and system for sharing webpage or multimedia information
KR102005315B1 (en) * 2012-07-23 2019-07-30 삼성전자 주식회사 Support System And Method For Cloud Service
CN104104574A (en) * 2013-04-03 2014-10-15 腾讯科技(深圳)有限公司 Webpage information sharing method and system
WO2016173647A1 (en) * 2015-04-29 2016-11-03 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for enabling sharing of an asset
CN105653717B (en) * 2015-12-30 2019-09-13 Oppo广东移动通信有限公司 A kind of method and device that information is shared
CN105791084A (en) * 2016-01-14 2016-07-20 北京乐动卓越科技有限公司 Song on-demand method and system based on instant messaging
CN106095217A (en) * 2016-05-26 2016-11-09 努比亚技术有限公司 Application sharing apparatus, system and method
CN105959828A (en) * 2016-06-27 2016-09-21 乐视控股(北京)有限公司 Audio/video sharing method and device, audio/video playing method and device and electronic equipment
CN106790202A (en) * 2017-01-03 2017-05-31 努比亚技术有限公司 A kind of multimedia file shares processing method, device and terminal

Also Published As

Publication number Publication date
CN107888781A (en) 2018-04-06

Similar Documents

Publication Publication Date Title
US10728196B2 (en) Method and storage medium for voice communication
JP7414842B2 (en) How to add comments and electronic devices
CN105979312B (en) Information sharing method and device
CN107193606B (en) Application distribution method and device
CN107193441B (en) Desktop pendant previewing method and device
CN107203398B (en) Application distribution method and device
JP2017517828A (en) Audio information identification method and apparatus
CN104536935B (en) Calculate display methods, calculate edit methods and device
CN108804179B (en) Method, device, terminal and storage medium for displaying notification bar message
US10831514B2 (en) Display method and device of application interface
CN105898573B (en) Multimedia file playing method and device
CN105739834B (en) Menu display method and device
CN104881304B (en) Resource downloading method and device
US20220391446A1 (en) Method and device for data sharing
CN108803892B (en) Method and device for calling third party application program in input method
CN105407160A (en) Interface display method and device
CN111427449A (en) Interface display method, device and storage medium
CN104951522B (en) Method and device for searching
CN104636064A (en) Gesture generating method and device
CN104750478B (en) The display methods and device of application interface
CN106447747B (en) Image processing method and device
JP2017520877A5 (en)
CN107888781B (en) Information sharing method and device and computer storage medium
CN105260088B (en) Information classification display processing method and device
CN107679205B (en) Multimedia data playing method and 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