Information sharing method and device and electronic equipment
Through the text generation model, the sharing copy is generated and shared by combining user emotions, personality and language habits, and the problem of low communication efficiency in long text or image sharing is solved, and efficient information sharing is achieved.
Patent Information
- Application Number
- CN202510536653.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-25
- Publication Date
- 2025-08-08
AI Technical Summary
Because there are a lot of text in long text or pictures, other users are unwilling to spend time reading, resulting in the inability of sharing and receivers to communicate smoothly.
By entering the information to be shared, user emotional type information, user personality characteristics information and user language expression habit information into the text generation model, generate sharing copy and directly output sharing text.
Users can generate personalized sharing copy without reading the original text content, improving the efficiency of information sharing.
Smart Images

Figure CN120448635A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of artificial intelligence technology, and specifically relates to an information sharing method, device and electronic equipment. Background Art
[0002] With the development of electronic devices and applications, long texts or pictures with a lot of text content often appear in applications. After reading the long texts or pictures with a lot of text content, the sharer may share the long texts or pictures with a lot of text content.
[0003] However, since long texts or pictures with a lot of text content contain a lot of text, other users may not be willing to spend more time reading these texts, resulting in other users not understanding the content of the long texts or pictures with a lot of text content shared by the sharer, which makes it impossible for the sharer and other users to communicate smoothly about the content shared by the sharer. Summary of the Invention
[0004] The purpose of the embodiments of the present application is to provide an information sharing method, device and electronic device, which can improve the efficiency of information sharing.
[0005] In a first aspect, an embodiment of the present application provides an information sharing method, comprising:
[0006] Input the information to be shared, user emotion type information, user personality characteristics information, and user language expression habit information into the text generation model, and output the sharing copy; the user emotion type information is used to describe the emotion type generated by the user's opinion on the shared information;
[0007] Share the information to be shared and the sharing text.
[0008] In a second aspect, an embodiment of the present application provides an information sharing device, comprising:
[0009] A generation module is used to input the information to be shared, user emotion type information, user personality characteristics information, and user language expression habit information into a text generation model, and output a sharing copy; wherein the user emotion type information is used to describe the emotion type generated by the user's opinion on the shared information;
[0010] The sharing module is used to share the information to be shared and the sharing copy.
[0011] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the information sharing method provided in the embodiment of the present application are implemented.
[0012] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the information sharing method provided in the embodiment of the present application are implemented.
[0013] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the steps of the information sharing method provided in the embodiment of the present application.
[0014] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps of the information sharing method provided in the embodiment of the present application.
[0015] In an embodiment of the present application, the information to be shared, the user's emotional type information, the user's personality characteristics information, and the user's language expression habits information are input into a text generation model to output a sharing copy; wherein the user's emotional type information is used to describe the type of emotion generated by the user's opinion on the shared information; and the information to be shared and the sharing copy are shared. In this way, the user does not need to read the text content of the information to be shared, nor does the user need to summarize and refine the text content. The text generation model can be used to generate a directly shareable text based on the information to be shared, the user's emotional type information, the user's personality characteristics information, and the user's language expression habits information, thereby improving the efficiency of information sharing. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 is a flowchart of an information sharing method provided in some embodiments of the present application;
[0017] Figure 2 is a schematic diagram showing at least two emotion type labels provided by some embodiments of the present application;
[0018] Figure 3A is a schematic diagram of input emotion types provided by some embodiments of the present application;
[0019] Figure 3B is a schematic diagram showing a second emotion type label provided by some embodiments of the present application;
[0020] Figure 4A This is a first schematic diagram of a program interface provided by some embodiments of the present application;
[0021] Figure 4B This is a first schematic diagram of displaying an AI assistant dialogue window provided by some embodiments of the present application;
[0022] Figure 4CThis is a second schematic diagram showing an AI assistant floating control provided by some embodiments of the present application;
[0023] Figure 5 is a schematic diagram of selecting and inputting shared information provided in some embodiments of the present application;
[0024] Figure 6 This is a first schematic diagram provided by some embodiments of the present application to display the emotions that the user needs to use;
[0025] Figure 7 This is a first schematic diagram for displaying sharing text provided by some embodiments of the present application;
[0026] Figure 8 This is a second schematic diagram of a program interface provided by some embodiments of the present application;
[0027] Figure 9 This is a second schematic diagram showing an AI assistant floating control provided by some embodiments of the present application;
[0028] Figure 10 This is a second schematic diagram of displaying an AI assistant dialogue window provided by some embodiments of the present application;
[0029] Figure 11 is a schematic diagram of a thumbnail-to-AI assistant dialogue window provided in some embodiments of the present application;
[0030] Figure 12 is a schematic diagram showing emotion type labels provided by some embodiments of the present application;
[0031] Figure 13 This is a second schematic diagram provided by some embodiments of the present application for displaying the emotions that the user needs to use;
[0032] Figure 14 This is a second schematic diagram for displaying sharing text provided by some embodiments of the present application;
[0033] Figure 15 is a schematic diagram of the structure of an information sharing device provided in some embodiments of the present application;
[0034] Figure 16 is a schematic structural diagram of an electronic device provided by some embodiments of the present application;
[0035] Figure 17 It is a schematic diagram of the hardware structure of an electronic device implementing some embodiments of the present application. DETAILED DESCRIPTION
[0036] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.
[0037] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0038] The terms used in the implementation section of this application are only used to explain the specific embodiments of this application and are not intended to limit this application.
[0039] The following is an explanation of the terms involved in the embodiments of the present application.
[0040] The information to be shared is the information that the user is about to share.
[0041] The user emotion type information is information used to represent the user emotion type, and the user emotion type is, for example, happy, excited, curious, angry, sad, etc.
[0042] The user personality characteristic information is information used to represent the user's personality characteristics, and the user's personality characteristics are, for example, cheerfulness, integrity, compassion, humor, etc.
[0043] The user's language expression habit information is information used to represent the user's language expression habit. For example, the user's language expression habit is: usually using declarative sentences and rarely using interrogative sentences.
[0044] The text generation model is a model used to generate sharing text based on information input into the text generation model.
[0045] The sharing copy is the text content that needs to be shared.
[0046] Prompts are inputs provided to artificial intelligence (AI) models through natural language to guide the models to complete specific tasks.
[0047] The text extraction model is a model used to extract summary descriptions from the information input to the text extraction model. The summary description is a concise statement formed by refining complex information.
[0048] A label is a control used to display text or an image.
[0049] AI assistants are intelligent software or tools developed based on artificial intelligence technology. They can simulate and enhance human cognitive and decision-making capabilities, and provide users with efficient and personalized services through natural language interaction, data analysis, and automated task execution.
[0050] A control is a reusable component used in software development to encapsulate data and methods. It can implement user interaction or specific functions through properties, events, and methods, such as buttons and drop-down list boxes.
[0051] A window is the core interactive unit in a graphical user interface (GUI). It represents the user interface for an application or file, presented as a rectangular area on the screen. Through visual elements and interactive features, it enables users to intuitively manage data, run programs, and perform multitasking.
[0052] The information sharing method, apparatus and device provided in the embodiments of the present application are described in detail below with reference to specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0053] It should be noted that the information sharing method provided in the embodiments of this application can be executed by electronic devices such as mobile phones, tablet computers, laptops, PDAs, and in-vehicle electronic devices. In some embodiments of this application, the information sharing method provided in the embodiments of this application is described by taking an electronic device as the execution subject to execute the information sharing method.
[0054] The information sharing method provided in the embodiments of the present application can be applied to information sharing scenarios, wherein one specific application scenario is a scenario in which users share long texts with a lot of text content, and another specific application scenario is a scenario in which users share pictures with a lot of text content.
[0055] It should be noted that the above application scenario is only an example. Actual application may also include other application scenarios, for example, a user shares text and a picture at the same time, and the text has more text content or the picture has more text content.
[0056] Figure 1 : is a flowchart of an information sharing method provided by some embodiments of the present application. The information sharing method may include:
[0057] Step 101: Input the information to be shared, user emotion type information, user personality characteristics information, and user language expression habit information into a text generation model, and output a sharing copy; wherein the user emotion type information is used to describe the emotion type generated by the user's opinion on the shared information;
[0058] In some embodiments of the present application, the user emotion type information may be the emotion type information obtained by the AI assistant through content understanding of the shared information, or the emotion type information input by the user.
[0059] When the AI assistant understands the content of the shared information and only obtains one emotion type information, the emotion type information can be used as the user emotion type information.
[0060] When the AI assistant understands the content of the information to be shared and obtains at least two emotion type information, the user can select emotion type information from the at least two emotion type information and use the selected emotion type information as the user emotion type information. Based on this, before step 101, the information sharing method provided by the embodiment of the present application may also include: the AI assistant understands the content of the information to be shared and outputs at least two alternative emotion types corresponding to the information to be shared; wherein the alternative emotion type is the emotion type generated by the view on the shared information; displays at least two emotion type labels, wherein one emotion type label is used to indicate an alternative emotion type; receives a label selection input for a first emotion type label among the at least two emotion type labels; in response to the label selection input, determines the alternative emotion type indicated by the first emotion type label as the user emotion type information.
[0061] The AI assistant in the embodiment of the present application can be a sentiment analysis model, which can analyze the sentiment type corresponding to the information to be shared through the AI assistant; the embodiment of the present application does not elaborate on the process of the AI assistant understanding the content of the shared information and outputting at least two alternative sentiment types corresponding to the information to be shared. For the specific process, please refer to the description in the relevant technology.
[0062] For example, Figure 2 As shown, Figure 2 This is a schematic diagram showing at least two emotion type labels provided by some embodiments of the present application. Figure 2 The emotion type labels displayed in the diagram include a happy label 201, a funny label 202, and an envious label 203, wherein the happy label indicates that the emotion type is happy, the funny label indicates that the emotion type is funny, and the envious label indicates that the emotion type is envious. When the user clicks on the happy label 201 with a touch device such as a finger or a stylus, the emotion type "happy" indicated by the happy label 201 is determined as the user's emotion type information, and the happy label is displayed in a specific manner, for example, in Figure 2Displayed in bold font.
[0063] After the AI assistant understands the content of the information to be shared and obtains emotion type information, the obtained emotion type information may not contain emotion type information that matches the user's emotion. In this case, the user can enter emotion type information, and the emotion type entered by the user is determined as the user emotion type information. Based on this, before step 101, the information sharing method provided in this embodiment of the application may also include: determining the emotion type entered by the user as the user emotion type information; and displaying a second emotion type label; wherein the label content of the second emotion type label is the emotion type entered by the user.
[0064] In some embodiments of the present application, the user can input the emotion type via text or voice. When the user inputs the emotion type via voice, the emotion type can be recognized from the user's voice input by automatic speech recognition (ASR). The second emotion type label can be a newly created label based on the emotion type input by the user.
[0065] For example, Figure 3A and Figure 3B As shown, Figure 3A is a schematic diagram of the input emotion type provided by some embodiments of the present application. Figure 3A In , the user can input the emotion type through the voice input control 301 and the text input control 302. Figure 3B The emotion type label corresponding to the emotion type "excited" input by the user through the text input control 302 is displayed in Figure 3B The emotion type label corresponding to the emotion type “excited” is the excited label 303 .
[0066] In some embodiments of the present application, the user's language expression habit information is language expression habit information that matches the user's emotion type information; accordingly, before step 101, the sharing method provided by the embodiment of the present application may also include: determining the language expression habit information that matches the user's emotion type information based on the correlation between the emotion type information and the language expression habit information.
[0067] In some embodiments of the present application, the association relationship between emotion type information and language expression habit information may be pre-stored. For example, for a piece of information "39-year-old doctor from a certain place died of drinking", the user's comment on the information is "It's a pity that a talent at such a young age passed away. I should drink less in the future". The AI assistant performs emotion recognition on "It's a pity that a talent at such a young age passed away. I should drink less in the future", and the user's emotion type is obtained as "sad, sympathetic". Then "It's a pity that a talent at such a young age passed away. I should drink less in the future" is used as the language expression habit information associated with the emotion type "sad, sympathetic", and the correlation between the emotion type "sad, sympathetic" and the language expression habit information "It's a pity that a talent at such a young age passed away. I should drink less in the future" is obtained; for a piece of information "A woman was sentenced for embezzling 14 million yuan from a company to buy bags", the user's comment on the information is "I really don't understand those who are obsessed with big-name bags. Maybe I don't have money. Hahahahahaha". The AI assistant performs emotion recognition on "I really don't understand those who are obsessed with big-name bags. Maybe I don't have money. Hahahahahahaha" and the user's emotion type is obtained. For example, if the emotion type is "shocked, confused", "I really don't understand people who are obsessed with luxury bags. Maybe I don't have money, hahahahaha" is used as the language expression habit information associated with the emotion type "shocked, confused", and the association between the emotion type "shocked, confused" and the language expression habit information "I really don't understand people who are obsessed with luxury bags. Maybe I don't have money, hahahahaha" is obtained; for the information "Actor X is about to start a New Year's tour concert", the user's comment on the information is "Wow wow wow, I'm going to have a concert la la la, tour tour tour!!!", and the AI assistant performs emotion recognition on "Wow wow wow, I'm going to have a concert la la la, tour tour tour!!!" and obtains the user's emotion type as "excited, excited", then "Wow wow wow, I'm going to have a concert la la la, tour tour tour!!!" is used as the language expression habit information associated with the emotion type "excited, excited", and the association between the emotion type "excited, excited" and the language expression habit information "Wow wow wow, I'm going to have a concert la la la, tour tour!!!" is obtained.
[0068] After the user's emotion type information is acquired, the language expression habit information that matches the user's emotion type information may be determined based on the association between the emotion type information and the language expression habit information.
[0069] In some embodiments of the present application, the information to be shared is information displayed in a program interface of an application, or the information to be shared is information selected by a user in the program interface of an application.
[0070] When the information to be shared is information displayed in the program interface of an application, the user can directly share the program interface; when the information to be shared is information selected by the user in the program interface of an application, the user can select the information to be shared from the program interface when sharing the information, for example, selecting a certain text in the program interface, or selecting a certain image in the program interface, etc.
[0071] In some embodiments of the present application, the data type of the information to be shared is text or image. For example, a user may copy a text from a program interface and use the copied text as the information to be shared; another example may be a user taking a screenshot of a program interface and using the screenshot image as the information to be shared; another example may be a user selecting an image from a program interface and using it as the information to be shared.
[0072] In some embodiments of the present application, when the information to be shared is information selected by the user in the program interface of the application, before step 101, the information sharing provided by the embodiments of the present application may also include: displaying the program interface of the application, wherein the program interface includes text or images; receiving AI assistant wake-up input; in response to the AI assistant wake-up input, displaying the AI assistant dialogue window or the AI assistant floating control; receiving the user's sharing information selection input for the program interface and the AI assistant dialogue window, or receiving the user's sharing information selection input for the program interface and the AI assistant floating control; accordingly, step 101 may include: in response to the sharing information selection input, inputting the information to be shared, user emotion type information, user personality characteristic information and user language expression habit information into the text generation model, and outputting the sharing copy.
[0073] In some possible implementations of the present application, the AI assistant wake-up input in the embodiment of the present application is, for example, long pressing the content selected by the user in the program interface and sliding down. The sharing information selection input in the embodiment of the present application is, for example, dragging the content selected by the user to the AI assistant dialogue window or the AI assistant floating control.
[0074] For example, Figure 4A and Figure 4B As shown, Figure 4A is a schematic diagram of a program interface provided by some embodiments of the present application; Figure 4B This is a schematic diagram of the AI assistant dialogue window provided by some embodiments of the present application. Figure 4A When the program interface is displayed and you slide down, Figure 4B The AI assistant dialogue window 401 is displayed.
[0075] For example, Figure 4A and Figure 4C As shown, Figure 4CThis is a schematic diagram showing the AI assistant floating control provided by some embodiments of the present application. When the user long presses the touch device such as a finger or a stylus Figure 4A When the program interface is displayed and you slide down, Figure 4C The AI assistant floating control 402 is displayed.
[0076] Figure 5 This is a schematic diagram of selecting and inputting information to be shared provided by some embodiments of the present application. Figure 5 In the example, the user selects content by long pressing, and the selected content appears in the form of a small floating window at the place where the finger is long pressed. The small floating window moves to the AI assistant floating control 402 as the finger moves.
[0077] In some possible implementations of the present application, step 101 may include: generating a first prompt word based on the information to be shared, user emotion type information, user personality characteristic information, user language expression habit information and a first prompt word template; wherein the first prompt word is used to instruct the text generation model to generate a sharing copy that matches the user emotion type information, user personality characteristic information and user language expression habit information and is used to share the information to be shared; inputting the first prompt word into the text generation model, and outputting a sharing copy that matches the user emotion type information, user personality characteristic information and user language expression habit information and is used to share the information to be shared.
[0078] In some possible implementations of the present application, when generating the first prompt word based on the information to be shared, user emotion type information, user personality characteristic information, user language expression habit information and the first prompt word template, the information to be shared, user emotion type information, user personality characteristic information and user language expression habit information can be assigned to the corresponding parameters of the first prompt word template to obtain the first prompt word.
[0079] For example, in some embodiments of the present application, the first prompt word template provided in the embodiments of the present application is as follows:
[0080] "You are an expert in generating personalized sharing content. You can generate sharing copy based on information such as <information to be shared>, <user emotional type information>, <user personality characteristics information>, and <user language expression habits information>.
[0081] The information to be shared is: <information to be shared>;
[0082] User emotion type information is: <user emotion type information>;
[0083] User personality characteristic information is: <user personality characteristic information>;
[0084] User language expression habit information is: <user language expression habit information>;
[0085] Notice:
[0086] 1. The content you generate should be completely relevant to the information you want to share;
[0087] 2. The generated content should be consistent with the user’s emotions, personality traits and language expression habits.
[0088] Start now and generate personalized sharing copy."
[0089] The information to be shared is: "News Network [#Actor A responds to becoming a high-definition picture quality unit#: You put a lot of pressure on female stars!] On the evening of February 22, @Actor A held a concert at location X. That night, Actor A responded for the first time to the fact that he had become a "high-definition picture quality" unit. Actor A said, "I have recently seen a lot of high-definition videos of my own concerts. Sometimes I think they are even higher-definition than our official ones. The staff told me that it seems like everyone is competing recently and competing with equipment." "You are really amazing, everyone's equipment is very good, and you are very happy to shoot, but you know that female stars are under a lot of pressure." Afterwards, Actor A joked to himself: "I can only call my lighting technician to turn on the lights now, and quickly help me lay reflectors all over this road. "It is understood that recently, actor A's concerts in many cities across the country have attracted the attention of a large number of loyal fans, especially a group of fans known as "domineering presidents". Initially, their competition was mainly focused on video quality and duration. The "Actor A quality" refers to the outrageous high-definition quality of some direct-shot videos of actor A's fans at the concert. At first, fans only shared their own live videos, and later, after netizens compared the picture quality in the comment area, her "domineering president" fan group even developed an "equipment competition" because of the clarity of the video. It is precisely this kind of involutionary behavior that makes the related videos of actor A have a clarity that almost exceeds the platform limitations, so this unique video picture quality that is better than HD and UHD options is jokingly called "Actor A quality."
[0090] User emotion type information is: "happy", "funny".
[0091] The user's personality characteristic information is: "cheerful personality".
[0092] The user's language expression habit information is: "Someone said I was cute, and I spent the whole night thinking about who leaked the news."
[0093] The first prompt word generated is as follows:
[0094] "You are an expert in generating personalized sharing content. You can generate sharing copy based on information such as <information to be shared>, <user emotional type information>, <user personality characteristics information>, and <user language expression habits information>.
[0095] The information to be shared is: <News Network [#Actor A Responds to Being Named a HD Quality Unit#: You're Putting a Lot of Pressure on Female Stars!] On the evening of February 22nd, @Actor A held a concert at Location X. That evening, Actor A addressed the issue of being named a "HD Quality Unit" for the first time. Actor A stated, "I've been seeing a lot of incredibly high-definition videos of my own concerts lately. Sometimes I think some are even higher-definition than our official livestreams. The staff told me it's like everyone's competing with each other lately, trying to outdo each other in equipment." "You guys are really amazing! Everyone has great equipment, and you're having a blast filming, but you know how much pressure female stars put on them." Actor A then jokingly said, "All I can do now is call my lighting technician to turn on the lights and quickly lay reflectors all over this road." Recently, Actor A's concerts in several cities across the country have attracted a large number of loyal fans, particularly those known as "Ba Zongs." Initially, the competition focused on video quality and length. Actor A's quality refers to the incredibly high-definition livestreams of Actor A's fans at the concerts. Initially, fans simply shared their own live videos. Later, after netizens compared the quality in the comments section, her fan base even engaged in a "device competition" over the clarity of the videos. This internal competition led to videos featuring actor A having a clarity that almost exceeded the platform's limits. This unique video quality, surpassing even HD and UHD options, was jokingly referred to as "Actor A quality."
[0096] User emotion type information is: <“happy”, “funny”>;
[0097] The user's personality characteristics are: <cheerful personality>;
[0098] User language expression habits: <Someone said I was cute, and I spent the whole night wondering who leaked the news>;
[0099] Notice:
[0100] 1. The content you generate should be completely relevant to the information you want to share;
[0101] 2. The generated content should be consistent with the user’s emotions, personality traits and language expression habits.
[0102] Start now and generate personalized sharing text. "
[0103] The generated sharing copy is: "Actor A's fans are really domineering, so funny. 4K is just the limit of the platform, but not the limit of the domineering fans."
[0104] In some embodiments of the present application, before step 101, the information sharing method provided by the embodiments of the present application may further include: identifying original text information in the information to be shared; generating a second prompt word based on the original text information and the second prompt word template; wherein the second prompt word is used to instruct the text extraction model to extract summary description information of the information to be shared from the original text information; inputting the second prompt word into the text extraction model, and outputting summary description information of the information to be shared; accordingly, step 101 may include: inputting the original text information, summary description information, user emotion type information, user personality characteristic information and user language expression habit information into the text generation model, and outputting a sharing copy.
[0105] In some embodiments of the present application, the original text information in the embodiments of the present application is the entire text information in the information to be shared. When the type of the information to be shared is text, the original text information in the information to be shared can be directly identified from the information to be shared; when the type of the information to be shared is an image, the original text information in the information to be shared can be identified through optical character recognition (OCR).
[0106] For example, in some embodiments of the present application, the second prompt word template provided in the embodiments of the present application is as follows:
[0107] “You are an expert in extracting summary descriptions of document topics and can extract summary descriptions of documents;
[0108] The document content is: <original text information>;
[0109] Now, extract a summary description of the document."
[0110] The original text of the information to be shared is: "News Network [#Actor A responds to becoming a high-definition picture quality unit#: You put a lot of pressure on female stars!] On the evening of February 22, @Actor A held a concert at location X. That night, Actor A responded for the first time to the fact that he had become a "high-definition picture quality" unit. Actor A said, "I have recently seen a lot of high-definition videos of my own concerts. Sometimes I think they are even higher-definition than our official ones. The staff told me that it seems like everyone is competing with each other recently and competing with each other for equipment." "You are really amazing, everyone's equipment is very good, and you are having a lot of fun shooting, but you know that female stars are under a lot of pressure." Afterwards, Actor A joked to himself: "I can only call my lighting technician to turn on the lights now, and quickly help me lay reflectors all over this road. "It is understood that recently, actor A's concerts in many cities across the country have attracted the attention of a large number of loyal fans, especially a group of fans known as "domineering presidents". Initially, their competition was mainly focused on video quality and duration. The "Actor A quality" refers to the outrageous high-definition quality of some direct-shot videos of actor A's fans at the concert. At first, fans only shared their own live videos, and later, after netizens compared the picture quality in the comment area, her "domineering president" fan group even developed an "equipment competition" because of the clarity of the video. It is precisely this kind of involutionary behavior that makes the related videos of actor A have a clarity that almost exceeds the platform limitations, so this unique video picture quality that is better than HD and UHD options is jokingly called "Actor A quality."
[0111] The generated second prompt word is as follows:
[0112] “You are an expert in extracting summary descriptions of document topics and can extract summary descriptions of documents;
[0113] The document reads: <News Network [#Actor A Responds to Becoming a HD Quality Unit#: You're Putting a Lot of Pressure on Female Stars!] On the evening of February 22nd, @ActorA held a concert at Location X. That evening, ActorA addressed the issue of being a "HD Quality Unit" for the first time. ActorA stated, "I've been seeing a lot of incredibly high-definition videos of my concerts lately. Sometimes I think some are even higher-definition than our official livestreams. The staff told me it's like everyone's competing with each other lately, trying to outdo each other in equipment." "You guys are really amazing! Everyone has great equipment, and you're having a blast filming, but you know how much pressure female stars put on them." ActorA then jokingly added, "All I can do now is call my lighting technician to turn on the lights and quickly lay reflectors all over this road." Recently, ActorA's concerts in several cities across the country have attracted a large number of loyal fans, particularly those known as "Ba Zongs." Initially, the competition focused on video quality and length. ActorA's quality refers to the incredibly high-definition quality of some of ActorA's fans' livestreams from the concerts. Initially, fans simply shared their own live videos. Later, after netizens compared the quality in the comments section, her fan base even engaged in a "device competition" over the clarity of the videos. This internal competition led to videos featuring actor A having a clarity that almost exceeded the platform's limits. This unique video quality, surpassing even HD and UHD options, was jokingly referred to as "Actor A quality."
[0114] Now, let’s extract a summary description of the document.”
[0115] The extracted document summary is described as: "Actor A responded to become a high-definition quality unit. The competition among Actor A's fans, known as the "Ba Zong", mainly focused on video quality and duration. The relevant videos of Actor A exceeded the clarity limit of the platform."
[0116] The first prompt word template provided in this embodiment of the application is as follows:
[0117] "You are an expert in generating personalized sharing content. You can generate sharing copy based on information such as <original text information>, <summary description information>, <user emotional type information>, <user personality characteristics information>, and <user language expression habits information>.
[0118] The original text information is: <original text information>;
[0119] The summary description information is: <summary description information>;
[0120] User emotion type information is: <user emotion type information>;
[0121] User personality characteristic information is: <user personality characteristic information>;
[0122] User language expression habit information is: <user language expression habit information>;
[0123] Notice:
[0124] 1. The content you generate should be completely relevant to the information you want to share;
[0125] 2. The generated content should be consistent with the user’s emotions, personality traits and language expression habits.
[0126] Start now and generate personalized sharing copy."
[0127] The original text of the information to be shared is: "News Network [#Actor A responds to becoming a high-definition picture quality unit#: You put a lot of pressure on female stars!] On the evening of February 22, @Actor A held a concert at location X. That night, Actor A responded for the first time to the fact that he had become a "high-definition picture quality" unit. Actor A said, "I have recently seen a lot of high-definition videos of my own concerts. Sometimes I think they are even higher-definition than our official ones. The staff told me that it seems like everyone is competing with each other recently and competing with each other for equipment." "You are really amazing, everyone's equipment is very good, and you are having a lot of fun shooting, but you know that female stars are under a lot of pressure." Afterwards, Actor A joked to himself: "I can only call my lighting technician to turn on the lights now, and quickly help me lay reflectors all over this road. "It is understood that recently, actor A's concerts in many cities across the country have attracted the attention of a large number of loyal fans, especially a group of fans known as "domineering presidents". Initially, their competition was mainly focused on video quality and duration. The "Actor A quality" refers to the outrageous high-definition quality of some direct-shot videos of actor A's fans at the concert. At first, fans only shared their own live videos, and later, after netizens compared the picture quality in the comment area, her "domineering president" fan group even developed an "equipment competition" because of the clarity of the video. It is precisely this kind of involutionary behavior that makes the related videos of actor A have a clarity that almost exceeds the platform limitations, so this unique video picture quality that is better than HD and UHD options is jokingly called "Actor A quality."
[0128] The summary description information extracted from the original text information is: "Actor A responded to become a high-definition quality unit. The competition among the fans of actor A, known as the "domineering president", mainly focuses on the quality and duration of the video. The relevant videos of actor A exceed the clarity limit of the platform."
[0129] User emotion type information is: "happy", "funny".
[0130] The user's personality characteristic information is: "cheerful personality".
[0131] The user's language expression habit information is: "Someone said I was cute, and I spent the whole night thinking about who leaked the news."
[0132] The first prompt word generated is as follows:
[0133] "You are an expert in generating personalized sharing content. You can generate sharing copy based on information such as <original text information>, <summary description information>, <user emotional type information>, <user personality characteristics information>, and <user language expression habits information>.
[0134] The original message reads: <News Network [#Actor A Responds to Becoming a HD Quality Unit#: You're Putting a Lot of Pressure on Female Stars!] On the evening of February 22nd, @ActorA held a concert at Location X. That evening, ActorA addressed the "HD Quality" unit for the first time. ActorA stated, "I've been seeing a lot of incredibly high-definition videos of my concerts lately. Sometimes I think some are even higher-definition than our official livestreams. The staff told me it's like everyone's competing with each other lately, trying to outdo each other in equipment." "You guys are really amazing! Everyone has great equipment, and you're having a blast filming, but you know how much pressure female stars put on them." ActorA then jokingly added, "All I can do now is call my lighting technician to turn on the lights and quickly lay reflectors all over this road." Recently, ActorA's concerts in several cities across the country have attracted a large number of loyal fans, particularly those known as "Ba Zongs." Initially, the competition focused on video quality and length. ActorA's quality refers to the incredibly high-definition livestreams of ActorA's fans at the concerts. Initially, fans simply shared their own live videos. Later, after netizens compared the quality in the comments section, her fan base even engaged in a "device competition" over the clarity of the videos. This internal competition led to videos featuring actor A having a clarity that almost exceeded the platform's limits. This unique video quality, surpassing even HD and UHD options, was jokingly referred to as "Actor A quality."
[0135] The summary description reads: <Actor A responded to becoming a high-definition quality unit. The competition among Actor A's fans, known as "Ba Zong," mainly focused on video quality and length. Actor A's related videos exceeded the platform's definition limit.>
[0136] User emotion type information is: <“happy”, “funny”>;
[0137] The user's personality characteristics are: <cheerful personality>;
[0138] User language expression habits: <Someone said I was cute, and I spent the whole night wondering who leaked the news>;
[0139] Notice:
[0140] 1. The generated content must be completely relevant to the original text and summary description;
[0141] 2. The generated content should be consistent with the user’s emotions, personality traits and language expression habits.
[0142] Start now and generate personalized sharing text."
[0143] The generated sharing copy is: "Actor A's fans are really domineering, so funny. 4K is just the limit of the platform, but not the limit of the domineering fans."
[0144] Step 102: Share the information to be shared and the sharing text.
[0145] In some embodiments of the present application, the user can share the information to be shared and the sharing text with other users, or share it to the server of the application by clicking a sharing control or using a voice command.
[0146] In some embodiments of the present application, when a user shares information and a text to be shared with other users, the user can share it with other users through chat messages; when a user shares information and a text to be shared to the server of an application, the user can send the information and a text to be shared to a circle of friends, upload it to Weibo, etc.
[0147] In an embodiment of the present application, the information to be shared, the user's emotional type information, the user's personality characteristics information, and the user's language expression habits information are input into a text generation model to output a sharing copy; wherein the user's emotional type information is used to describe the type of emotion generated by the user's opinion on the shared information; and the information to be shared and the sharing copy are shared. In this way, the user does not need to read the text content of the information to be shared, nor does the user need to summarize and refine the text content. The text generation model can be used to generate a directly shareable text based on the information to be shared, the user's emotional type information, the user's personality characteristics information, and the user's language expression habits information, thereby improving the efficiency of information sharing.
[0148] The information method provided in the embodiments of the present application is described below with reference to two specific examples.
[0149] In the text sharing scenario, the user opens an application. When the user uses the application, the electronic device displays a program interface, as shown in FIG3. When the user long presses the program interface and slides down, the AI assistant floating control 402 is displayed, as shown in FIG3. Figure 4C As shown. The user selects the text to be shared by long pressing or selecting the text, and the text to be shared appears in the form of a small floating window at the place where the finger is long pressed. The small floating window moves with the movement of the finger, as shown Figure 5As shown. When the small floating window moves with the finger to the display area of the AI assistant floating control 402, the AI assistant directly obtains the text content from the small floating window as the original text information, generates a second prompt word based on the original text information and the second prompt word template, inputs the second prompt word into the text extraction model, and obtains summary description information. Emotion recognition is performed on the original text information, and the recognized emotion is displayed on the screen, as shown. Figure 2 When the user selects an emotion from the displayed emotions or inputs an emotion, the emotion the user wants to use is displayed. Figure 6 As shown, Figure 6 This is the first schematic diagram provided by the embodiment of the present application to display the emotions that the user needs to use. Then, the user's personality characteristics information and the language expression habits corresponding to the user's emotions are obtained; the first prompt word is generated according to the original text information, the summary description information, the user's emotional information, the user's personality characteristics information, the user's language expression habit information and the first prompt word template, and the first prompt word is input into the text generation model. The text generation model outputs the sharing copy and displays it, such as Figure 7 As shown, Figure 7 This is a first schematic diagram of displaying shared text provided by some embodiments of the present application. Figure 7 In the video, the sharing text is "Actor A's fans are really domineering, so funny, 4K is just the baseline of the platform, but not the limit of domineering". When the user clicks Figure 7 After the sharing control 701 in the figure or the voice sharing command is input through the voice control 702, the content selected by the user and the sharing text are shared.
[0150] In the picture sharing scenario, the application program interface includes pictures, such as Figure 8 As shown, Figure 8 This is the second schematic diagram of the program interface provided in the embodiment of the present application. Figure 8 When the picture in the program interface shown is slid down, the AI assistant floating control 901 or the AI assistant dialogue window 902 is displayed, as shown in FIG. Figure 9 and Figure 10 As shown, Figure 9 This is a second schematic diagram showing an AI assistant floating control provided by some embodiments of the present application. Figure 10 This is a second schematic diagram of the AI assistant dialogue window provided by some embodiments of the present application. Then, the user long presses the picture, and the picture is suspended on the screen in the form of a thumbnail at the place where the finger is long pressed. The thumbnail moves with the movement of the finger, such as Figure 11 As shown, Figure 11This is a schematic diagram of the movement of thumbnails to the AI assistant dialogue window provided by some embodiments of the present application. When the thumbnail 1101 is moved to the area of the AI assistant dialogue window 902 as the finger moves to the thumbnail 1101, the AI assistant obtains the text content from the image corresponding to the thumbnail 1101 through OCR as the original text information. The original text information is "Actor B officially announced X and Y locations. Who is it at this moment? Just like me, my desire to meet actor B has reached its peak!! After the first stop at Z location, we finally ushered in the official announcement of X and Y locations in two cities! What we mean is that the cultural and tourism industry is really big and has made fancy invitations! If making a wish is really useful, please take a look at it! Whether we can dream of a certain actor's offline performance this year depends on our cultural and tourism industry. Where is the next cultural and tourism industry that will apply for the performance!!!"; a second prompt word is generated based on the original text information and the second prompt word template, and the second prompt word is input into the text extraction model to obtain summary description information. Emotion recognition is performed on the original text information, and the emotion type labels corresponding to the four recognized emotions "excited, expected, angry, surprised" are displayed on the screen, and a text input control 1201 is provided for the user to input emotions, such as Figure 12 As shown, Figure 12 This is a second schematic diagram of displaying emotion type labels provided in an embodiment of the present application.
[0151] When the user selects an emotion from the displayed emotions or the user inputs an emotion through the text input control 1201 or the voice control 1202 in the AI assistant dialogue window 902, the emotion that the user needs to use is displayed, such as Figure 13 As shown, Figure 13 This is a second schematic diagram showing the emotions that the user needs to use, provided in some embodiments of the present application. Figure 13 In the example, the user needs to use emotions such as excitement and anticipation. Then, the user's personality characteristics and language expression habits corresponding to the user's emotions are obtained; a first prompt word is generated based on the original text information, summary description information, user emotion information, user personality characteristics, user language expression habit information, and the first prompt word template. The first prompt word is input into the text generation model, and the text generation model outputs the sharing copy and displays it, such as Figure 14 As shown, Figure 14 This is a second schematic diagram of displaying sharing text provided by the embodiment of the present application. Figure 14 In the example, the sharing copy is "The cultural tourism of X and Y places is really awesome, the Cultural Tourism Bureau is here for me! I want to see the concert too." When the user clicks Figure 14 After clicking the share control 1401 in the image, share the image and the text.
[0152] The information sharing method provided in the embodiment of the present application can be executed by an information sharing device. In the embodiment of the present application, the information sharing device provided in the embodiment of the present application is described by taking the information sharing device executing the information sharing method as an example.
[0153] Figure 15 Schematic diagram of the structure of the information sharing device provided in the embodiment of the present application. The information sharing device 1500 may include:
[0154] Generation module 1501 is used to input the information to be shared, user emotion type information, user personality characteristics information, and user language expression habit information into a text generation model, and output a sharing copy; wherein the user emotion type information is used to describe the emotion type generated by the user's opinion on the shared information;
[0155] The sharing module 1502 is used to share the information to be shared and the sharing copy.
[0156] In some embodiments of the present application, the generating module 1501 is specifically configured to:
[0157] Generate a first prompt word based on the information to be shared, the user's emotional type information, the user's personality characteristics information, the user's language expression habit information, and the first prompt word template; wherein the first prompt word is used to instruct the text generation model to generate a sharing copy that matches the user's emotional type information, the user's personality characteristics information, and the user's language expression habit information and is used to share the information to be shared;
[0158] The first prompt word is input into the text generation model, and a sharing copy that matches the user's emotion type information, the user's personality characteristic information, and the user's language expression habit information and is used to share the information to be shared is output.
[0159] In some embodiments of the present application, the information sharing device provided in the embodiments of the present application further includes:
[0160] A recognition module is used to identify the original text information in the information to be shared before inputting the information to be shared, the user's emotional type information, the user's personality characteristics information, and the user's language expression habit information into the text generation model and outputting the sharing copy;
[0161] Accordingly, the generation module 1501 is further used to:
[0162] A second prompt word is generated based on the original text information and the second prompt word template; wherein the second prompt word is used to instruct the text extraction model to extract summary description information of the information to be shared from the original text information; the second prompt word is input into the text extraction model, and the summary description information of the information to be shared is output; the original text information, summary description information, user emotion type information, user personality characteristic information and user language expression habit information are input into the text generation model, and the sharing copy is output.
[0163] In some embodiments of the present application, the information sharing device provided in the embodiments of the present application further includes:
[0164] An analysis module is configured to input the information to be shared, the user's emotional type information, the user's personality characteristics information, and the user's language expression habits information into the text generation model. Before outputting the sharing copy, the AI assistant understands the content of the information to be shared and outputs at least two alternative emotional types corresponding to the information to be shared; the alternative emotional types are the emotional types generated by the views on the shared information;
[0165] A first display module is configured to display at least two emotion type labels, wherein one emotion type label is configured to indicate an alternative emotion type;
[0166] A first receiving module is configured to receive a label selection input of a first emotion type label among at least two emotion type labels;
[0167] The first determining module is configured to determine, in response to a tag selection input, the candidate emotion type indicated by the first emotion type tag as the user emotion type information.
[0168] In some embodiments of the present application, the information sharing device provided in the embodiments of the present application further includes:
[0169] The second determination module is used to input the information to be shared, the user's emotion type information, the user's personality characteristics information and the user's language expression habit information into the text generation model and determine the emotion type input by the user as the user's emotion type information before outputting the sharing copy;
[0170] The second display module is used to display a second emotion type label; wherein the label content of the second emotion type label is the emotion type input by the user.
[0171] In some embodiments of the present application, the user's language expression habit information is language expression habit information that matches the user's emotion type information; the information sharing device provided in the embodiment of the present application further includes:
[0172] The third determination module is used to determine the language expression habit information that matches the user's emotional type information based on the correlation between the emotional type information and the language expression habit information before inputting the information to be shared, the user's emotional type information, the user's personality characteristic information and the user's language expression habit information into the text generation model and outputting the sharing copy.
[0173] In some embodiments of the present application, the information to be shared is information displayed in a program interface of an application, or the information to be shared is information selected by a user in the program interface of an application.
[0174] In some embodiments of the present application, the information sharing device provided in the embodiments of the present application further includes:
[0175] a third display module, configured to input the information to be shared, user emotion type information, user personality characteristic information, and user language expression habit information into the text generation model when the information to be shared is information selected by the user in the program interface of the application, and display the program interface of the application before outputting the sharing text, wherein the program interface includes text or images;
[0176] The second receiving module is used to receive the AI assistant wake-up input;
[0177] The third display module is further configured to display an AI assistant dialogue window or an AI assistant floating control in response to an AI assistant wake-up input;
[0178] The second receiving module is further used to receive the user's sharing information selection input for the program interface and the AI assistant dialogue window, or receive the user's sharing information selection input for the program interface and the AI assistant floating control;
[0179] The generation module is specifically used to:
[0180] In response to the sharing information selection input, the information to be shared, user emotion type information, user personality characteristic information and user language expression habit information are input into the text generation model to output the sharing copy.
[0181] In some embodiments of the present application, the data type of the information to be shared is text or image.
[0182] The information sharing device in the embodiment of the present application can be an electronic device or a component in an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other device other than a terminal. For example, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc. It can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., and the embodiment of the present application does not make specific limitations.
[0183] The information sharing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0184] The information sharing device provided in the embodiment of the present application can achieve Figures 1 to 14 To avoid repetition, the various processes implemented in the information sharing method embodiment are not described here.
[0185] Alternatively, as Figure 16 As shown, an embodiment of the present application further provides an electronic device 1600, including a processor 1601 and a memory 1602, wherein the memory 1602 stores a program or instruction that can be run on the processor 1601. When the program or instruction is executed by the processor 1601, the various steps of the information sharing method embodiment provided in the embodiment of the present application are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0186] Figure 17 It is a schematic diagram of the hardware structure of an electronic device implementing some embodiments of the present application.
[0187] The electronic device 1700 includes but is not limited to: a radio frequency unit 1701, a network module 1702, an audio output unit 1703, an input unit 1704, a sensor 1705, a display unit 1706, a user input unit 1707, an interface unit 1708, a memory 1709, and a processor 1710.
[0188] Those skilled in the art will understand that the electronic device 1700 may also include a power source (such as a battery) to power each component, and the power source may be logically connected to the processor 1710 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system. Figure 17 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be repeated here.
[0189] Among them, processor 1710 is used to: input the information to be shared, user emotion type information, user personality characteristic information and user language expression habit information into the text generation model, and output the sharing copy; among them, the user emotion type information is used to describe the emotion type generated by the user's view on the shared information; share the information to be shared and the sharing copy.
[0190] In some embodiments of the present application, the processor 1710 is specifically configured to:
[0191] Generate a first prompt word based on the information to be shared, the user's emotional type information, the user's personality characteristics information, the user's language expression habit information, and the first prompt word template; wherein the first prompt word is used to instruct the text generation model to generate a sharing copy that matches the user's emotional type information, the user's personality characteristics information, and the user's language expression habit information and is used to share the information to be shared;
[0192] The first prompt word is input into the text generation model, and a sharing copy that matches the user's emotion type information, the user's personality characteristic information, and the user's language expression habit information and is used to share the information to be shared is output.
[0193] In some embodiments of the present application, the processor 1710 is further configured to:
[0194] Before inputting the information to be shared, the user's emotional type information, the user's personality characteristics information, and the user's language expression habit information into the text generation model and outputting the sharing copy, identifying the original text information in the information to be shared;
[0195] A second prompt word is generated based on the original text information and the second prompt word template; wherein the second prompt word is used to instruct the text extraction model to extract summary description information of the information to be shared from the original text information; the second prompt word is input into the text extraction model, and the summary description information of the information to be shared is output; the original text information, summary description information, user emotion type information, user personality characteristic information and user language expression habit information are input into the text generation model, and the sharing copy is output.
[0196] In some embodiments of the present application, the processor 1710 is further configured to:
[0197] After inputting the information to be shared, user emotion type information, user personality characteristics information, and user language expression habit information into the text generation model and outputting the sharing copy, the AI assistant understands the content of the information to be shared and outputs at least two candidate emotion types corresponding to the information to be shared; the candidate emotion types are the emotion types generated by the opinions on the shared information;
[0198] The display unit 1706 is configured to: display at least two emotion type labels, wherein one emotion type label is used to indicate an alternative emotion type;
[0199] The user input unit 1707 is used to: receive a tag selection input for a first emotion type tag among at least two emotion type tags;
[0200] The processor 1710 is further configured to: in response to a tag selection input, determine the candidate emotion type indicated by the first emotion type tag as the user emotion type information.
[0201] In some embodiments of the present application, the processor 1710 is further configured to:
[0202] Before inputting the information to be shared, the user's emotion type information, the user's personality characteristics information, and the user's language expression habit information into the text generation model and outputting the sharing copy, the emotion type input by the user is determined as the user's emotion type information;
[0203] The display unit 1706 is further configured to display a second emotion type label; wherein the label content of the second emotion type label is the emotion type input by the user.
[0204] In some embodiments of the present application, the user language expression habit information is language expression habit information that matches the user emotion type information; the processor 1710 is further configured to:
[0205] Before inputting the information to be shared, user emotion type information, user personality characteristic information and user language expression habit information into the text generation model and outputting the sharing copy, the language expression habit information that matches the user emotion type information is determined based on the correlation between the emotion type information and the language expression habit information.
[0206] In some embodiments of the present application, the information to be shared is information displayed in a program interface of an application, or the information to be shared is information selected by a user in the program interface of an application.
[0207] In some embodiments of the present application, the display unit 1706 is further configured to:
[0208] In the case where the information to be shared is information selected by the user in a program interface of an application, the information to be shared, user emotion type information, user personality characteristic information, and user language expression habit information are input into a text generation model, and before outputting the sharing text, the program interface of the application is displayed, wherein the program interface includes text or images;
[0209] The user input unit 1707 is further used to: receive an AI assistant wake-up input;
[0210] The display unit 1706 is further configured to: display an AI assistant dialogue window or an AI assistant floating control in response to an AI assistant wake-up input;
[0211] The user input unit 1707 is further configured to: receive user input for selecting sharing information between the program interface and the AI assistant dialog window, or receive user input for selecting sharing information between the program interface and the AI assistant floating control;
[0212] Accordingly, the processor 1710 is specifically configured to:
[0213] In response to the sharing information selection input, the information to be shared, user emotion type information, user personality characteristic information and user language expression habit information are input into the text generation model to output the sharing copy.
[0214] In some embodiments of the present application, the data type of the information to be shared is text or image.
[0215] It should be understood that in an embodiment of the present application, the input unit 1704 may include a graphics processing unit (GPU) 17041 and a microphone 17042, and the graphics processor 17041 processes image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 1706 may include a display panel 17061, and the display panel 17061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1707 includes a touch panel 17071 and at least one of other input devices 17072. The touch panel 17071 is also called a touch screen. The touch panel 17071 may include two parts: a touch detection device and a touch controller. Other input devices 17072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0216] The memory 1709 can be used to store software programs and various data. The memory 1709 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 1709 may include a volatile memory or a non-volatile memory, or the memory 1709 may include both volatile and non-volatile memory. The non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 1709 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0217] Processor 1710 may include one or more processing units. Optionally, processor 1710 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 1710.
[0218] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the information sharing method embodiment provided in the embodiment of the present application are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0219] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer-readable storage medium, and examples of computer-readable storage media include non-transitory computer-readable media, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0220] An embodiment of the present application also provides a chip, which includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the information sharing method embodiment provided in the embodiment of the present application, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0221] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0222] An embodiment of the present application also provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the information sharing method embodiment provided in the embodiment of the present application, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0223] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0224] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0225] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.
Claims
1. An information sharing method, characterized in that: The method comprises: Input the information to be shared, user emotion type information, user personality characteristics information and user language expression habit information into the text generation model, and output the sharing copy; wherein the user emotion type information is used to describe the emotion type generated by the user's opinion on the information to be shared; Share the information to be shared and the sharing text.
2. The method according to claim 1, characterized in that The information to be shared, user emotion type information, user personality characteristics information and user language expression habit information are input into the text generation model to output the sharing copy, including: generating a first prompt word based on the information to be shared, the user's emotion type information, the user's personality characteristics information, the user's language expression habit information, and a first prompt word template; wherein the first prompt word is used to instruct the text generation model to generate a sharing copy that matches the user's emotion type information, the user's personality characteristics information, and the user's language expression habit information and is used to share the information to be shared; The first prompt word is input into the text generation model, and a sharing copy that matches the user emotion type information, the user personality characteristic information, and the user language expression habit information and is used to share the information to be shared is output.
3. The method according to claim 1, characterized in that Before inputting the information to be shared, the user's emotion type information, the user's personality characteristics information, and the user's language expression habit information into the text generation model and outputting the sharing copy, the method further includes: Identifying original text information in the information to be shared; Generate a second prompt word based on the original text information and the second prompt word template; wherein the second prompt word is used to instruct the text extraction model to extract summary description information of the information to be shared from the original text information; Inputting the second prompt word into the text extraction model to output summary description information of the information to be shared; The information to be shared, user emotion type information, user personality characteristics information and user language expression habit information are input into the text generation model to output the sharing copy, including: The original text information, the summary description information, the user emotion type information, the user personality characteristic information and the user language expression habit information are input into the text generation model to output a sharing copy.
4. The method according to claim 1, wherein Before inputting the information to be shared, the user's emotion type information, the user's personality characteristics information, and the user's language expression habit information into the text generation model and outputting the sharing copy, the method further includes: The artificial intelligence (AI) assistant understands the content of the information to be shared and outputs at least two candidate emotion types corresponding to the information to be shared; wherein the candidate emotion types are emotion types generated by opinions on the information to be shared; displaying at least two emotion type labels, wherein one emotion type label is used to indicate an alternative emotion type; receiving a tag selection input for a first emotion type tag among the at least two emotion type tags; In response to the tag selection input, the candidate emotion type indicated by the first emotion type tag is determined as user emotion type information.
5. The method according to claim 1, wherein Before inputting the information to be shared, the user's emotion type information, the user's personality characteristics information, and the user's language expression habit information into the text generation model and outputting the sharing copy, the method further includes: Determining the emotion type input by the user as user emotion type information; A second emotion type label is displayed; wherein the label content of the second emotion type label is the emotion type input by the user.
6. The method according to claim 1, characterized in that The user language expression habit information is language expression habit information that matches the user emotion type information; Before inputting the information to be shared, the user's emotion type information, the user's personality characteristics information, and the user's language expression habit information into the text generation model and outputting the sharing copy, the method further includes: According to the association relationship between the emotion type information and the language expression habit information, the language expression habit information matching the user emotion type information is determined.
7. The method according to claim 1, characterized in that The information to be shared is information displayed in a program interface of an application, or the information to be shared is information selected by a user in a program interface of an application.
8. The method according to claim 1 or 7, characterized in that In a case where the information to be shared is information selected by the user in a program interface of an application, before inputting the information to be shared, the user's emotion type information, the user's personality characteristics information, and the user's language expression habit information into a text generation model and outputting a sharing text, the method further includes: Displaying a program interface of an application program, wherein the program interface includes text or images; Receive AI assistant wake-up input; In response to the AI assistant wake-up input, displaying an AI assistant dialogue window or an AI assistant floating control; Receive user input of information sharing selection between the program interface and the AI assistant dialogue window, or receive user input of information sharing selection between the program interface and the AI assistant floating control; The information to be shared, user emotion type information, user personality characteristics information and user language expression habit information are input into the text generation model to output the sharing copy, including: In response to the sharing information selection input, the information to be shared, user emotion type information, user personality characteristic information and user language expression habit information are input into the text generation model to output the sharing copy.
9. The method according to claim 1, characterized in that The data type of the information to be shared is text or image.
10. An information sharing device, characterized in that: The device comprises: A generation module is configured to input the information to be shared, user emotion type information, user personality characteristics information, and user language expression habit information into a text generation model, and output a sharing copy; wherein the user emotion type information is used to describe the emotion type generated by the user's opinion on the information to be shared; The sharing module is used to share the information to be shared and the sharing copy.
11. The device according to claim 10, characterized in that The generation module is specifically used for: generating a first prompt word based on the information to be shared, the user's emotion type information, the user's personality characteristics information, the user's language expression habit information, and a first prompt word template; wherein the first prompt word is used to instruct the text generation model to generate a sharing copy that matches the user's emotion type information, the user's personality characteristics information, and the user's language expression habit information and is used to share the information to be shared; The first prompt word is input into the text generation model, and a sharing copy that matches the user emotion type information, the user personality characteristic information, and the user language expression habit information and is used to share the information to be shared is output.
12. The device according to claim 10, characterized in that Before inputting the information to be shared, the user's emotional type information, the user's personality characteristics information, and the user's language expression habit information into the text generation model and outputting the sharing copy, the device further includes: An identification module is used to identify the original text information in the information to be shared before inputting the information to be shared, the user's emotional type information, the user's personality characteristics information and the user's language expression habit information into the text generation model and outputting the sharing copy; The generating module is further configured to: A second prompt word is generated based on the original text information and the second prompt word template; wherein the second prompt word is used to instruct a text extraction model to extract summary description information of the information to be shared from the original text information; the second prompt word is input into the text extraction model, and the summary description information of the information to be shared is output; the original text information, the summary description information, the user emotion type information, the user personality characteristic information and the user language expression habit information are input into the text generation model, and the sharing copy is output.
13. The device according to claim 10, characterized in that Before inputting the information to be shared, the user's emotional type information, the user's personality characteristics information, and the user's language expression habit information into the text generation model and outputting the sharing copy, the device further includes: An analysis module configured to, before inputting the information to be shared, user emotion type information, user personality characteristics information, and user language expression habit information into the text generation model and outputting the sharing copy, cause the AI assistant to understand the content of the information to be shared and output at least two candidate emotion types corresponding to the information to be shared; wherein the candidate emotion types are emotion types generated by opinions on the information to be shared; A first display module is configured to display at least two emotion type labels, wherein one emotion type label is configured to indicate an alternative emotion type; A first receiving module is configured to receive a label selection input for a first emotion type label among the at least two emotion type labels; The first determining module is configured to determine, in response to the tag selection input, the candidate emotion type indicated by the first emotion type tag as the user emotion type information.
14. The device according to claim 10, characterized in that Before inputting the information to be shared, the user's emotional type information, the user's personality characteristics information, and the user's language expression habit information into the text generation model and outputting the sharing copy, the device further includes: A second determination module is configured to determine the emotion type input by the user as the user emotion type information before inputting the information to be shared, the user emotion type information, the user personality characteristic information, and the user language expression habit information into the text generation model and outputting the sharing copy; The second display module is used to display a second emotion type label; wherein the label content of the second emotion type label is the emotion type input by the user.
15. The device according to claim 10, characterized in that The user's language expression habit information is language expression habit information that matches the user's emotion type information; the device further includes: The third determination module is used to determine the language expression habit information that matches the user emotion type information based on the correlation between the emotion type information and the language expression habit information before inputting the information to be shared, the user emotion type information, the user personality characteristic information and the user language expression habit information into the text generation model and outputting the sharing copy.
16. The device according to claim 10, characterized in that The information to be shared is information displayed in a program interface of an application, or the information to be shared is information selected by a user in a program interface of an application.
17. The device according to claim 10 or 16, characterized in that The device further comprises: a third display module, configured to, when the information to be shared is information selected by the user in a program interface of the application, input the information to be shared, the user's emotion type information, the user's personality characteristics information, and the user's language expression habit information into the text generation model, and display the program interface of the application before outputting the sharing text, wherein the program interface includes text or images; The second receiving module is used to receive the AI assistant wake-up input; The third display module is further configured to display an AI assistant dialogue window or an AI assistant floating control in response to the AI assistant wake-up input; The second receiving module is further configured to receive a user's input of a sharing information selection between the program interface and the AI assistant dialogue window, or receive a user's input of a sharing information selection between the program interface and the AI assistant floating control; The generation module is specifically used for: In response to the sharing information selection input, the information to be shared, user emotion type information, user personality characteristic information and user language expression habit information are input into the text generation model to output the sharing copy.
18. The device according to claim 10, characterized in that The data type of the information to be shared is text or image.
19. An electronic device, characterized in that: The electronic device includes a processor and a memory, the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the information sharing method according to any one of claims 1 to 9 are implemented.