CN109993075A - Chat application session content storage method, system and device - Google Patents

Chat application session content storage method, system and device Download PDF

Info

Publication number
CN109993075A
CN109993075A CN201910194158.XA CN201910194158A CN109993075A CN 109993075 A CN109993075 A CN 109993075A CN 201910194158 A CN201910194158 A CN 201910194158A CN 109993075 A CN109993075 A CN 109993075A
Authority
CN
China
Prior art keywords
session
image
chat application
text
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910194158.XA
Other languages
Chinese (zh)
Other versions
CN109993075B (en
Inventor
张星亮
李艳
吴剑文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Niga Technology Co Ltd Of Six Degree Shenzhen
Original Assignee
Niga Technology Co Ltd Of Six Degree Shenzhen
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Niga Technology Co Ltd Of Six Degree Shenzhen filed Critical Niga Technology Co Ltd Of Six Degree Shenzhen
Priority to CN201910194158.XA priority Critical patent/CN109993075B/en
Publication of CN109993075A publication Critical patent/CN109993075A/en
Application granted granted Critical
Publication of CN109993075B publication Critical patent/CN109993075B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • G06V30/41Analysis of document content
    • G06V30/413Classification of content, e.g. text, photographs or tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/216Handling conversation history, e.g. grouping of messages in sessions or threads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Artificial Intelligence (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Computation (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Human Computer Interaction (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention is suitable for technical field of information storage, a kind of chat application session content storage method, system and device is provided, this method comprises: judging whether target chat application is in session use state;When determining target chat application and being in session use state, it is spaced the display picture to terminal device at preset timed intervals and carries out screenshotss, to obtain multiple session images;Text region sequentially is carried out to every session image, to obtain more session texts, and sequentially session text is stored in terminal device, to obtain session content.The present invention passes through the design sequentially to every session image progress Text region, the text information in session image is obtained with effective identification, pass through the design sequentially session text being stored in terminal device, so that user is without obtaining the corresponding trade company's authorization privilege of chat application, inquiry and downloading of the user to session content can be effectively facilitated by carrying out inquiry acquisition directly in terminal device.

Description

Chat application session content storage method, system and device
Technical field
The invention belongs to technical field of information storage more particularly to a kind of chat application session content storage methods, system And device.
Background technique
With the development of internet technology, chat sessions mode is also more and more diversified, can be by the station of web system Message function conversates, and can also be conversated by the chat application of profession.User can choose to be chatted using different Its conversational mode or different chat sessions applications are linked up, however, user carry out in the session chat process of good friend, When all session contents for being frequently necessary to check in chat application with specified good friend, therefore, in user and good friend's chat process Session content storing step be just particularly important.
In existing chat application session content storing process, be chat application automatically by the session content of user store to Memory space, subsequent user need to conversate content search when, need to obtain the corresponding trade company's authorization privilege of chat application, i.e., It obtains root and reads the permission of memory space, and then cause the session content inquiry operation of user cumbersome, and inquire higher cost.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of chat application session content storage method, system and device, purport In solving existing chat application session content storing process, being stored in using subsequent caused by included storage location Session content inquires cumbersome problem.
The embodiments of the present invention are implemented as follows, a kind of chat application session content storage method, comprising:
When either objective chat application is in operation use state on the terminal device for determining user, the mesh is judged Whether mark chat application is in session use state;
When determining the target chat application and being in the session use state, it is spaced at preset timed intervals to the end The display picture of end equipment carries out screenshotss, to obtain multiple session images;
Text region sequentially is carried out to session image described in every, to obtain more session texts, and sequentially by the meeting Words text is stored in the terminal device, to obtain session content.
Further, described to judge that the step of whether the target chat application is in session use state includes:
The display image of the target chat application is obtained, and judges the whole image and default sample on the display image Whether this image matches;
When determining the whole image and matching with the default sample image, the background of the display image is obtained Rgb value, and judge whether the background rgb value is within the scope of default rgb value;
If so, determining that the target chat application is in the session use state.
Further, before described the step of sequentially carrying out Text region to session image described in every, the method Further include:
The whole image is matched with the display mark sheet being locally pre-stored, it is described aobvious to obtain display feature Show that feature is that data shows or chat display.
Further, described the step of sequentially carrying out Text region to session image described in every, includes:
When the corresponding display feature of the session image to be identified is chat display, to the session diagram Each conversation message as in sequentially carries out Text region, to obtain multiple session texts;
It is corresponding to the conversation message described when the session background colour in the conversation message is the first pre-set color Session text carries out transmission label;
It is corresponding to the conversation message described when the session background colour in the conversation message is the second pre-set color Session text carries out receiving end label.
Further, described the step of sequentially carrying out Text region to session image described in every, includes:
When the corresponding display feature of the session image to be identified is that the data is shown, directly to the meeting Text in words image is identified, to obtain multistage written historical materials;
Characters matching, to obtain profile, institute are carried out to written historical materials described in every section respectively according to default feature vocabulary Stating default feature vocabulary includes one of the pet name, WeChat ID, area and telephone number or a variety of combinations;
The profile is directly stored, to obtain the session content.
Further, described sequentially to include: by the step that the session text is stored in the terminal device
Friend information is obtained according to the session image, and is deposited the friend information is corresponding with the session text Storage.
Further, before described the step of sequentially carrying out Text region to session image described in every, the method Further include:
Judge between the session image with the presence or absence of multiimage;
If so, by the duplicate session image-erasing to one.
The another object of the embodiment of the present invention is to provide a kind of chat application session content storage system, the system packet It includes:
Condition judgment module is in operation use for working as either objective chat application on the terminal device for determining user When state, judge whether the target chat application is in session use state;
Image interception module, for when determining the target chat application and being in the session use state, by pre- If time interval carries out screenshotss to the display picture of the terminal device, to obtain multiple session images;
Text region module, for sequentially carrying out Text region to session image described in every, to obtain more session texts Word, and sequentially the session text is stored in the terminal device, to obtain session content.
The another object of the embodiment of the present invention is to provide a kind of chat application session content storage device, including storage is set Standby and processor, the storage equipment for storing computer program, the processor run the computer program so that The chat application session content storage device executes above-mentioned chat application session content storage method.
The another object of the embodiment of the present invention is to provide a kind of storage medium, which is characterized in that it is stored with above-mentioned Computer program used in chat application session content storage device is realized when the computer program is executed by processor The step of chat application session content storage method stated.
The embodiment of the present invention, by sequentially carrying out the design of Text region to session image described in every, effectively to know The text information in the session image is not obtained, by the way that the session text is sequentially stored in setting in the terminal device Meter, so that user can be looked into without obtaining the corresponding trade company's authorization privilege of chat application by directly in terminal device It askes and obtains, effectively facilitate inquiry and downloading of the user to session content, and reduce the use cost of user.
Detailed description of the invention
Fig. 1 is the flow chart for the chat application session content storage method that first embodiment of the invention provides;
Fig. 2 is the flow chart for the chat application session content storage method that second embodiment of the invention provides;
Fig. 3 is the flow chart for the chat application session content storage method that third embodiment of the invention provides;
Fig. 4 is the structural schematic diagram for the chat application session content storage system that fourth embodiment of the invention provides;
Fig. 5 is the structural schematic diagram for the chat application session content storage device that fifth embodiment of the invention provides.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Embodiment one
Referring to Fig. 1, being the flow chart for the chat application session content storage method that first embodiment of the invention provides, packet Include step:
Step S10 sentences when either objective chat application is in operation use state on the terminal device for determining user Whether the target chat application of breaking is in session use state;
Wherein, be stored with multiple and different chat applications on the terminal device, the target chat application can according to Family demand is independently configured, and set-up mode can be configured according to the mode of Apply Names, which can Think any application with chat sessions function such as " wechat application ", " QQ application " or " YY application ";
Specifically, when determining, the target chat application is in operating status, and shows on terminal device in the step Interface be the target chat application using interface when, then determine that the target chat application is in operation use state, Preferably, in the step, when user is in as with good friend's chat state in the use process of the target chat application, then Determine that the target chat application is in the session use state, i.e., is for judging that user chats in the target in the step Whether in the session chat state with user in its application;
When determining the target chat application and being in the session use state, step S20 is executed;
Step S20 is spaced carries out screenshotss to the display picture of the terminal device at preset timed intervals, to obtain multiple sessions Image;
Wherein, the prefixed time interval can independently carry out the setting of numerical value according to user demand, such as can be set It is 1 second, 2 seconds or 3 seconds, in the step, the design of screenshotss is carried out by the display picture to the terminal device, it is effective to ensure The subsequent acquisition to session content information between user and good friend stores;
Step S30 sequentially carries out Text region to session image described in every, to obtain more session texts, and sequentially The session text is stored in the terminal device, to obtain session content;
Wherein, the session image is identified by using OCR character recognition technology, has effectively been ensured to described The accuracy of session image recognition, the session image includes chat display image and data shows image, the chat display Image is the user that arrives of the screenshotss currently image with the chat interface of good friend, and the data shows that image is user to any good friend Data check shown interface image, when the session image is chat display image, in the session image Multiple chat messages are shown, the transmitting terminal of the chat message is the good friend of user or user, specifically, in the step, it is described The storage of session text can be stored by the way of word or notepad;
The present embodiment is obtained by sequentially carrying out the design of Text region to session image described in every with effective identification The text information in the session image is taken, by the way that the session text is sequentially stored in the design in the terminal device, So that user without obtaining the corresponding trade company's authorization privilege of chat application, can be obtained by carrying out inquiry directly in terminal device It takes, effectively facilitates inquiry and downloading of the user to session content, and reduce the use cost of user.
Embodiment two
Referring to Fig. 2, being the flow chart for the chat application session content storage method that second embodiment of the invention provides, packet Include step:
Step S11 is obtained when either objective chat application is in operation use state on the terminal device for determining user Take the display image of the target chat application;
Wherein, be stored with multiple and different chat applications on the terminal device, the target chat application can according to Family demand is independently configured, and set-up mode can be configured according to the mode of Apply Names, which can Think any application with chat sessions function such as " wechat application ", " QQ application " or " YY application ";
Specifically, when determining, the target chat application is in operating status, and shows on terminal device in the step Interface be the target chat application using interface when, then determine that the target chat application is in operation use state, Preferably, the display image can be obtained by the way of screenshotss;
Step S21, judges whether whole image on the display image matches with default sample image;
Wherein, the whole image includes the background block diagram and background color of the display image, it is preferred that the step is also It can be matched using by the apex angle image on the display image with the default sample image, the apex angle image includes Left side apex angle image and right side apex angle image, to carry out whether display image is in meeting by way of images match in the step The judgement for talking about use state, when user is in as with good friend's chat state in the use process of the target chat application, Then determine that the target chat application is in the session use state, i.e., is for judging user in the target in the step Whether in the session chat state with user in chat application;
Specifically, for example when the target chat application is wechat in application, being in wechat application and good friend's chat shape When state, the interface of display is preset specified interface, therefore, in the step, by judging whole on the display image Image and the whether matched mode of default sample image, to determine whether the display image is that the session of user and good friend is chatted Image;
When step S21, which determines the whole image, to be matched with the default sample image, step S31 is executed;
Step S31, obtains the background rgb value of the display image, and judges whether the background rgb value is in default Within the scope of rgb value;
It should be understood that the section of display is preset specified when in wechat application in good friend's chat state Interface, therefore, in the step, by judging whether the background rgb value is in the mode within the scope of default rgb value, with again Determine the display image whether be user and good friend session chat image;
When step S31, which determines the background rgb value, to be within the scope of the default rgb value, determine that the target is chatted Its application is in the session use state, and executes step S41;
Step S41 is spaced carries out screenshotss to the display picture of the terminal device at preset timed intervals, to obtain multiple sessions Image;
Wherein, the prefixed time interval can independently carry out the setting of numerical value according to user demand, such as can be set It is 1 second, 2 seconds or 3 seconds, in the step, the design of screenshotss is carried out by the display picture to the terminal device, it is effective to ensure The subsequent acquisition to session content information between user and good friend stores;
Step S51 matches the whole image with the display mark sheet being locally pre-stored, special to obtain display Sign, the display feature show or chat display for data;
Wherein, when the display feature is that the data is shown, then determine user currently in the money for carrying out any good friend Material is checked, when the display feature is that the chat is shown, then determines that user currently chats in progress and the session of any good friend It;
Step S61, when the corresponding display feature of the session image to be identified is chat display, to institute The each conversation message stated in session image sequentially carries out Text region, to obtain multiple session texts;
Wherein, the session image is identified by using OCR character recognition technology, has effectively been ensured to described The accuracy of session image recognition, the Text region are used to carry out identification translation to the character image in the session image, with Obtain text information;
Step S71, when the session background colour in the conversation message is the first pre-set color, to the conversation message pair The session text answered carries out transmission label;It is right when the session background colour in the conversation message is the second pre-set color The corresponding session text of the conversation message carries out reception label;
Wherein, the session background colour is the color inside the message box of the conversation message, first pre-set color It can be independently configured according to user demand with second pre-set color, in the present embodiment, first pre-set color is Green, first pre-set color are white, it is preferred that are used between session background colour and pre-set color described in the step The mode that rgb value compares is judged;
The session text is sequentially stored in the terminal device, to obtain session content by step S81;
Specifically, the storage of the session text can be stored by the way of word or notepad in the step;
The present embodiment is obtained by sequentially carrying out the design of Text region to session image described in every with effective identification The text information in the session image is taken, by the way that the session text is sequentially stored in the design in the terminal device, So that user without obtaining the corresponding trade company's authorization privilege of chat application, can be obtained by carrying out inquiry directly in terminal device It takes, effectively facilitates inquiry and downloading of the user to session content, and reduce the use cost of user.
Embodiment three
Referring to Fig. 3, being the flow chart for the chat application session content storage method that third embodiment of the invention provides, packet Include step:
Step S12 is obtained when either objective chat application is in operation use state on the terminal device for determining user Take the display image of the target chat application;
Step S22, judges whether whole image on the display image matches with default sample image;
When step S22, which determines the whole image, to be matched with the default sample image, step S31 is executed;
Step S32, obtains the background rgb value of the display image, and judges whether the background rgb value is in default Within the scope of rgb value;
When step S32, which determines the background rgb value, to be within the scope of the default rgb value, determine that the target is chatted Its application is in the session use state, and executes step S42;
Step S42 is spaced carries out screenshotss to the display picture of the terminal device at preset timed intervals, to obtain multiple sessions Image;
Step S52 judges between the session image with the presence or absence of multiimage;
Wherein, weight analysis is carried out to all session images by using cosine similarity algorithm, described in determining It whether there is multiimage between session image;
When the judging result of step S52, which is, is, step S62 is executed;
Step S62, by the duplicate session image-erasing to one;
Step S72 matches the whole image with the display mark sheet being locally pre-stored, special to obtain display Sign, the display feature show or chat display for data;
Wherein, when the display feature is that the data is shown, then determine user currently in the money for carrying out any good friend Material is checked, when the display feature is that the chat is shown, then determines that user currently chats in progress and the session of any good friend It;
Step S82, when the corresponding display feature of the session image to be identified is that the data is shown, directly Text in the session image is identified, to obtain multistage written historical materials;
Wherein, when the display feature is that the data is shown, then determine that the content in the session image is user The information material of the good friend currently checked, in the step, by way of carrying out Text region, so as to be carried out to the information material Translation obtains;
Step S92 carries out characters matching to written historical materials described in every section respectively according to default feature vocabulary, to obtain feature Data;
Specifically, the default feature vocabulary includes one of the pet name, WeChat ID, area and telephone number or a variety of Combination, when in the written historical materials there are when the default feature vocabulary, to the text information stored in this section of written historical materials into Row obtain, to obtain the profile, the step be used for in the written historical materials nickname information, WeChat ID information, Area's information and telephone number information are effectively obtained;
Step S102 obtains friend information according to the session image, and by the friend information and the profile Correspondence is stored;
Wherein, the friend information be user in the target application to the remarks title of good friend;
In the present embodiment, by sequentially carrying out the design of Text region to session image described in every, effectively to identify The text information in the session image is obtained, by the way that the session text is sequentially stored in setting in the terminal device Meter, so that user can be looked into without obtaining the corresponding trade company's authorization privilege of chat application by directly in terminal device It askes and obtains, effectively facilitate inquiry and downloading of the user to session content, and reduce the use cost of user.
Embodiment 4
Referring to Fig. 4, being that the structure of chat application session content storage system 100 that fourth embodiment of the invention provides is shown It is intended to, comprising:
Condition judgment module is in operation use for working as either objective chat application on the terminal device for determining user When state, judge whether the target chat application is in session use state, wherein be stored on the terminal device multiple Different chat applications, the target chat application can be independently configured according to user demand, and set-up mode can basis The mode of Apply Names is configured, which can appoint for " wechat application ", " QQ application " or " YY application " etc. One application with chat sessions function;Specifically, being in operation shape when determining the target chat application in the module State, and the interface shown on terminal device is the target chat application when using interface, then determines that the target chat is answered With in operation use state, it is preferred that in the module, be when user is in the use process of the target chat application When with good friend's chat state, then determines that the target chat application is in the session use state, i.e., be to be used in the module Judge user in the target chat application whether in the session chat state with user.
Preferably, condition judgment module described in the present embodiment is also used to: obtaining the display figure of the target chat application Picture, and judge whether whole image on the display image matches with default sample image;When determining the whole image When matching with the default sample image, the background rgb value of the display image is obtained, and whether judges the background rgb value Within the scope of default rgb value;If so, determining that the target chat application is in the session use state.
Image interception module, for when determining the target chat application and being in the session use state, by pre- If time interval carries out screenshotss to the display picture of the terminal device, to obtain multiple session images, wherein when described default Between interval the setting of numerical value can be independently carried out according to user demand, such as can be set to 1 second, 2 seconds or 3 seconds, in the module, The design that screenshotss are carried out by the display picture to the terminal device, has effectively ensured subsequent between user and good friend The acquisition of session content information stores.
Further, described image interception module is also used to: by the whole image and locally pre-stored display feature Table is matched, and to obtain display feature, the display feature shows or chat display for data.
Text region module, for sequentially carrying out Text region to session image described in every, to obtain more session texts Word, and sequentially the session text is stored in the terminal device, to obtain session content, wherein by using OCR text Word identification technology identifies the session image, has effectively ensured the accuracy to the session image recognition, described Session image includes chat display image and data shows image, the chat display image be the user that arrives of screenshotss currently with it is good The image of the chat interface of friend, the data show that image is that user checks shown surface chart to the data of any good friend Picture shows multiple chat messages in the session image, the chat when the session image is that the chat shows image The transmitting terminal of information is the good friend of user or user, specifically, the storage of the session text can use word in the module Or the mode of notepad is stored.
In addition, the Text region module is also used to: when the corresponding display feature of the session image to be identified When showing for the chat, Text region is sequentially carried out to each conversation message in the session image, to obtain multiple institutes State session text;It is corresponding to the conversation message when the session background colour in the conversation message is the first pre-set color The session text carries out transmission label;When the session background colour in the conversation message is the second pre-set color, to described The corresponding session text of conversation message carries out receiving end label.
Further, the Text region module is also used to: when the session image to be identified is corresponding described aobvious When showing that feature is data display, directly the text in the session image is identified, to obtain multistage written historical materials; Characters matching is carried out to written historical materials described in every section respectively according to default feature vocabulary, to obtain profile, the default spy Levying vocabulary includes one of the pet name, WeChat ID, area and telephone number or a variety of combinations;By the profile directly into Row storage, to obtain the session content.
It should be noted that the Text region module is also used in the present embodiment: being obtained according to the session image Friendly information, and store the friend information is corresponding with the session text.
Preferably, the chat application session content storage system further include:
Duplicate checking module, for judging between the session image with the presence or absence of multiimage;If so, by duplicate described Session image-erasing is to one.
In the present embodiment, by sequentially carrying out the design of Text region to session image described in every, effectively to identify The text information in the session image is obtained, by the way that the session text is sequentially stored in setting in the terminal device Meter, so that user can be looked into without obtaining the corresponding trade company's authorization privilege of chat application by directly in terminal device It askes and obtains, effectively facilitate inquiry and downloading of the user to session content, and reduce the use cost of user.
Embodiment five
Referring to Fig. 5, being the chat application session content storage device 101 that fifth embodiment of the invention provides, including deposit Equipment and processor are stored up, the chat application session content storage device 101 and the terminal device of user are electrically connected, described Storage equipment runs the computer program so that in the chat application session for storing computer program, the processor It stores storage device 101 and executes above-mentioned chat application session content storage method.
The present embodiment additionally provides a kind of storage medium, is stored thereon in above-mentioned chat application session content storage device Used computer program, the program when being executed, include the following steps:
When either objective chat application is in operation use state on the terminal device for determining user, the mesh is judged Whether mark chat application is in session use state;
When determining the target chat application and being in the session use state, it is spaced at preset timed intervals to the end The display picture of end equipment carries out screenshotss, to obtain multiple session images;
Text region sequentially is carried out to session image described in every, to obtain more session texts, and sequentially by the meeting Words text is stored in the terminal device, to obtain session content.The storage medium, such as: ROM/RAM, magnetic disk, CD Deng.
It is apparent to those skilled in the art that for convenience and simplicity of description, only with above-mentioned each function The division progress of unit, module can according to need and for example, in practical application by above-mentioned function distribution by different function Energy unit or module are completed, i.e., the internal structure of storage device is divided into different functional unit or module, more than completing The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, It can be each unit to physically exist alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.
It will be understood by those skilled in the art that composed structure shown in Fig. 4 is not constituted to chat application of the invention The restriction of session content storage system may include perhaps combining certain components or not than illustrating more or fewer components With component layout, and the chat application session content storage method in Fig. 1-3 also use it is more or fewer shown in Fig. 4 Component combines certain components or different component layouts perhaps to realize.The so-called unit of the present invention, module etc. refer to one Kind can performed by the processor (not shown) in the chat application session content storage system and function enough complete it is specific The series of computation machine program of function can be stored in the storage equipment (figure of the chat application session content storage system Do not show) in.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.

Claims (10)

1. a kind of chat application session content storage method characterized by comprising
When either objective chat application is in operation use state on the terminal device for determining user, judge that the target is chatted Whether its application is in session use state;
When determining the target chat application and being in the session use state, it is spaced at preset timed intervals and the terminal is set Standby display picture carries out screenshotss, to obtain multiple session images;
Text region sequentially is carried out to session image described in every, to obtain more session texts, and sequentially by the session text Word is stored in the terminal device, to obtain session content.
2. chat application session content storage method as described in claim 1, which is characterized in that the judgement target is chatted It application whether be in session use state the step of include:
The display image of the target chat application is obtained, and judges the whole image and default sample graph on the display image It seem no matching;
When determining the whole image and matching with the default sample image, the background rgb value of the display image is obtained, And judge whether the background rgb value is within the scope of default rgb value;
If so, determining that the target chat application is in the session use state.
3. chat application session content storage method as claimed in claim 2, which is characterized in that described sequentially to described in every Before session image carries out the step of Text region, the method also includes:
The whole image is matched with the display mark sheet being locally pre-stored, to obtain display feature, the display is special Sign is that data shows or chat display.
4. chat application session content storage method as claimed in claim 3, which is characterized in that described sequentially to described in every Session image carry out Text region the step of include:
When the corresponding display feature of the session image to be identified is chat display, in the session image Each conversation message sequentially carry out Text region, to obtain multiple session texts;
When the session background colour in the conversation message is the first pre-set color, the session corresponding to the conversation message Text carries out transmission label;
When the session background colour in the conversation message is the second pre-set color, the session corresponding to the conversation message Text carries out receiving end label.
5. chat application session content storage method as claimed in claim 3, which is characterized in that described sequentially to described in every Session image carry out Text region the step of include:
When the corresponding display feature of the session image to be identified is that the data is shown, directly to the session diagram Text as in is identified, to obtain multistage written historical materials;
Characters matching is carried out to written historical materials described in every section respectively according to default feature vocabulary, it is described pre- to obtain profile If feature vocabulary includes one of the pet name, WeChat ID, area and telephone number or a variety of combinations;
The profile is directly stored, to obtain the session content.
6. chat application session content storage method as described in claim 1, which is characterized in that described sequentially by the session The step that text is stored in the terminal device includes:
Friend information is obtained according to the session image, and is stored the friend information is corresponding with the session text.
7. chat application session content storage method as described in claim 1, which is characterized in that described sequentially to described in every Before session image carries out the step of Text region, the method also includes:
Judge between the session image with the presence or absence of multiimage;
If so, by the duplicate session image-erasing to one.
8. a kind of chat application session content storage system, which is characterized in that the system comprises:
Condition judgment module is in operation use state for working as either objective chat application on the terminal device for determining user When, judge whether the target chat application is in session use state;
Image interception module, for when determining the target chat application and being in the session use state, by it is default when Between interval screenshotss are carried out to the display picture of the terminal device, to obtain multiple session images;
Text region module, for sequentially carrying out Text region to session image described in every, to obtain more session texts, and Sequentially the session text is stored in the terminal device, to obtain session content.
9. a kind of chat application session content storage device, which is characterized in that including storage equipment and processor, the storage Equipment runs the computer program so that the chat application session content is deposited for storing computer program, the processor Storage device executes chat application session content storage method according to any one of claims 1 to 7.
10. a kind of storage medium, which is characterized in that it is stored with chat application session content storage dress as claimed in claim 9 Computer program used in setting realizes that claim 1 to 7 is described in any item when the computer program is executed by processor The step of chat application session content storage method.
CN201910194158.XA 2019-03-14 2019-03-14 Chat application session content storage method, system and device Active CN109993075B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910194158.XA CN109993075B (en) 2019-03-14 2019-03-14 Chat application session content storage method, system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910194158.XA CN109993075B (en) 2019-03-14 2019-03-14 Chat application session content storage method, system and device

Publications (2)

Publication Number Publication Date
CN109993075A true CN109993075A (en) 2019-07-09
CN109993075B CN109993075B (en) 2022-09-23

Family

ID=67129426

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910194158.XA Active CN109993075B (en) 2019-03-14 2019-03-14 Chat application session content storage method, system and device

Country Status (1)

Country Link
CN (1) CN109993075B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110472624A (en) * 2019-07-23 2019-11-19 深圳市六度人和科技有限公司 A kind of automatic identification content uploading method, apparatus, electronic equipment and storage medium
CN111126301A (en) * 2019-12-26 2020-05-08 腾讯科技(深圳)有限公司 Image processing method and device, computer equipment and storage medium
CN112364196A (en) * 2020-11-30 2021-02-12 深圳市六度人和科技有限公司 Notification information data analysis method and device, electronic equipment and storage medium
CN115022268A (en) * 2022-06-24 2022-09-06 深圳市六度人和科技有限公司 Session identification method and device, readable storage medium and computer equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150288632A1 (en) * 2013-06-28 2015-10-08 Tencent Technology (Shenzhen) Company Limited Systems and Methods for Image Sharing
US20160127287A1 (en) * 2013-02-08 2016-05-05 Sk Planet Co., Ltd. Method of providing instant messaging service, recording medium that records program therefor, and terminal
US20170034226A1 (en) * 2015-07-29 2017-02-02 International Business Machines Corporation Group chat with dynamic background images and content from social media
CN106791022A (en) * 2016-11-30 2017-05-31 努比亚技术有限公司 A kind of mobile terminal and screenshot method
WO2017128254A1 (en) * 2016-01-28 2017-08-03 吕璇 Picture processing method and smart mobile terminal
CN107465813A (en) * 2017-07-14 2017-12-12 上海青橙实业有限公司 Information-reading method, mobile terminal and onboard system
CN109032726A (en) * 2018-06-29 2018-12-18 北京明朝万达科技股份有限公司 The acquisition methods and device of chat message

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160127287A1 (en) * 2013-02-08 2016-05-05 Sk Planet Co., Ltd. Method of providing instant messaging service, recording medium that records program therefor, and terminal
US20150288632A1 (en) * 2013-06-28 2015-10-08 Tencent Technology (Shenzhen) Company Limited Systems and Methods for Image Sharing
US20170034226A1 (en) * 2015-07-29 2017-02-02 International Business Machines Corporation Group chat with dynamic background images and content from social media
WO2017128254A1 (en) * 2016-01-28 2017-08-03 吕璇 Picture processing method and smart mobile terminal
CN106791022A (en) * 2016-11-30 2017-05-31 努比亚技术有限公司 A kind of mobile terminal and screenshot method
CN107465813A (en) * 2017-07-14 2017-12-12 上海青橙实业有限公司 Information-reading method, mobile terminal and onboard system
CN109032726A (en) * 2018-06-29 2018-12-18 北京明朝万达科技股份有限公司 The acquisition methods and device of chat message

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王国娟等: "一种面向即时通讯的图片管理方法及其在税务通讯软件上的实现", 《电子设计工程》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110472624A (en) * 2019-07-23 2019-11-19 深圳市六度人和科技有限公司 A kind of automatic identification content uploading method, apparatus, electronic equipment and storage medium
CN111126301A (en) * 2019-12-26 2020-05-08 腾讯科技(深圳)有限公司 Image processing method and device, computer equipment and storage medium
CN111126301B (en) * 2019-12-26 2022-01-11 腾讯科技(深圳)有限公司 Image processing method and device, computer equipment and storage medium
CN112364196A (en) * 2020-11-30 2021-02-12 深圳市六度人和科技有限公司 Notification information data analysis method and device, electronic equipment and storage medium
CN115022268A (en) * 2022-06-24 2022-09-06 深圳市六度人和科技有限公司 Session identification method and device, readable storage medium and computer equipment
CN115022268B (en) * 2022-06-24 2023-05-12 深圳市六度人和科技有限公司 Session identification method and device, readable storage medium and computer equipment

Also Published As

Publication number Publication date
CN109993075B (en) 2022-09-23

Similar Documents

Publication Publication Date Title
KR101872863B1 (en) Business support method using a chatting bot
CN109145204B (en) Portrait label generation and use method and system
WO2019098409A1 (en) Machine learning based data adding device for chatbot
CN109993075A (en) Chat application session content storage method, system and device
CN108521525A (en) Intelligent robot customer service marketing method and system based on user tag system
CN106230689A (en) Method, device and the server that a kind of voice messaging is mutual
CN110222265A (en) A kind of method, system, user terminal and the server of information push
CN110060663A (en) A kind of method, apparatus and system of answer service
CN106973075A (en) Share comment method and system, domain name code-transferring method, client and server
CN105939327A (en) Auditing log generation method and device
CN107341157B (en) Customer service conversation clustering method and device
CN107277244A (en) Screenshot processing method and device
CN107729549A (en) A kind of robot client service method and system comprising elements recognition
CN109636570A (en) Risk analysis method, device, equipment and the readable storage medium storing program for executing of cell-phone number
CN108023912A (en) A kind of recognition methods of signature, device, mobile terminal and cloud server
KR102281245B1 (en) Method for providing answer service based on chatbot service
CN104394169A (en) Method and server for anonymously sending private messages by both parties
CN106886593A (en) Information processing method, device and server
CN110109594A (en) A kind of draw data sharing method, device, storage medium and equipment
CN109145092B (en) Database updating and intelligent question and answer management method, device and equipment
CN105574112A (en) Comment information processing method and system of communication process
CN115687754B (en) Active network information mining method based on intelligent dialogue
CN111859154A (en) Application recommendation method and device
CN110210015A (en) Electronic business card generation method, device, electronic equipment and storage medium
CN110287384A (en) Intelligent Service method, device and equipment

Legal Events

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