CN109951376A - A kind of instant message applications information collecting method, device, system and storage medium - Google Patents

A kind of instant message applications information collecting method, device, system and storage medium Download PDF

Info

Publication number
CN109951376A
CN109951376A CN201910152053.8A CN201910152053A CN109951376A CN 109951376 A CN109951376 A CN 109951376A CN 201910152053 A CN201910152053 A CN 201910152053A CN 109951376 A CN109951376 A CN 109951376A
Authority
CN
China
Prior art keywords
chat
user
chatting object
target
target chatting
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
CN201910152053.8A
Other languages
Chinese (zh)
Other versions
CN109951376B (en
Inventor
王兆国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Tiss Technology Co Ltd
Original Assignee
Beijing Tiss Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Tiss Technology Co Ltd filed Critical Beijing Tiss Technology Co Ltd
Priority to CN201910152053.8A priority Critical patent/CN109951376B/en
Publication of CN109951376A publication Critical patent/CN109951376A/en
Application granted granted Critical
Publication of CN109951376B publication Critical patent/CN109951376B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The present embodiments relate to technical field of data processing more particularly to a kind of instant message applications information collecting method, device, system and storage mediums.This method comprises: obtaining the IP address of the machine after receiving acquisition tasks instruction;According to the IP address of the machine, acquisition tasks are transferred from pre-established database;According to instant message applications title, user account, login password, log-in instant communication software;According to identification information corresponding with target chatting object to be checked, the chat window between user and target chatting object is searched, obtains and exports chat message.It is worked at the same time by all computers in distributed computer cluster.Each computer, can the automatic chat message obtained between target chatting object and user reliable in real time after log-in instant communication software according to oneself acquisition tasks.Supervision department is facilitated to supervise the chat content of a large number of users.

Description

A kind of instant message applications information collecting method, device, system and storage medium
Technical field
The present embodiments relate to technical field of data processing, and in particular to a kind of instant message applications information collection side Method, device, system and storage medium.
Background technique
With the continuous development of science and technology, electronic software form is also in variedization.Especially instant message applications Birth, so that the communication between people is become more convenient, the mutual distance between the people that furthered.But instant messaging While software offers convenience for people, there are also criminals to do some illegal business using instant message applications.Such as Pass through instant message applications wide-scale distribution flame.Use instant messaging soft for this purpose, supervision department needs to obtain user in time Chat content when part, is monitored chat content, prevents the wide-scale distribution of flame.
The mode that tradition obtains chat content of each user in instant message applications includes by manually acquiring.It is time-consuming Effort, cost of labor is big, and working efficiency is low.In addition, chat message can not be acquired in time, or even can exist and lose Leakage.This is very unfavorable for supervision of the supervision department for the chat content of a large number of users.
So, how to design it is a kind of automate stable method immediately reliably obtain user by instant message applications biography The chat content broadcast becomes the application technical problem urgently to be resolved.
Summary of the invention
It is situated between for this purpose, the embodiment of the present invention provides a kind of instant message applications information collecting method, device, system and storage Matter, time-consuming consumes in a manner of solving to obtain the chat content that user is propagated by instant message applications due to tradition in the prior art Power, cost of labor is big, and working efficiency is low, obtains the insecure problem of message.
In a first aspect, the embodiment of the invention provides a kind of instant message applications information collecting method, this method is applied to In distributed computer cluster, method is executed by the first computer in distributed computer cluster, and the first computer is distribution Any computer in formula computer cluster, this method comprises:
After receiving acquisition tasks instruction, the IP address of the machine is obtained;
According to the IP address of the machine, acquisition tasks are transferred from pre-established database, are wherein at least wrapped in acquisition tasks It includes: instant message applications title, user account, login password and mark corresponding with target chatting object to be checked letter Breath;
According to instant message applications title, user account, login password, log-in instant communication software;
According to identification information corresponding with target chatting object to be checked, search between user and target chatting object Chat window obtains and exports chat message.
The embodiment of the present invention is further characterized in that, after receiving acquisition tasks instruction, obtains the IP address of the machine, specifically Include:
After receiving acquisition tasks instruction, local IP address is obtained using Resolve function.
The embodiment of the present invention is further characterized in that, chat message include: target chatting object essential information and user with Chat content between target chatting object;According to identification information corresponding with target chatting object to be checked, user is searched With the chat window between target chatting object, target chatting object's essential information is obtained and is exported, is specifically included:
Instant message applications store path in the machine is obtained using AutomationElement.RootElement function Root node;
Using FindFirst function, according to instant message applications in the machine the root node of store path, straight comprising element It is that chat window between sub- grade parameter TreeScope.Children and user and target chatting object is corresponding RuntimeID obtains the identifier of the chat window between user and target chatting object, wherein TreeScope.Children and RuntimeID are input from the outside;
According to the identifier of the chat window between user and target chatting object, open user and target chatting object it Between chat window;
Using FindAll function, according to TreeScope.Children function lookup and user and target chatting object it Between chat window the corresponding lineal child node of identifier, wherein lineal child node is between user and target chatting object Panel window in chat window;
After being converted to conversion array element according to preset rules to panel window, all array elements are constituted into array;
Array is traversed, the first preset group element is obtained;
According to the first preset group element, the details of target chatting object are obtained.
The embodiment of the present invention is further characterized in that, chat message include: target chatting object essential information and user with Chat content between target chatting object;According to identification information corresponding with target chatting object to be checked, user is searched With the chat window between target chatting object, the chat content between user and target chatting object is obtained and exports, specifically Include:
Instant message applications store path in the machine is obtained using AutomationElement.RootElement function Root node;
Using FindFirst function, according to instant message applications in the machine the root node of store path, straight comprising element It is that chat window between sub- grade parameter TreeScope.Children and user and target chatting object is corresponding RuntimeID obtains the identifier of the chat window between user and target chatting object, wherein TreeScope.Children and RuntimeID are input from the outside;
According to the identifier of the chat window between user and target chatting object, open user and target chatting object it Between chat window;
Using FindAll function, according to TreeScope.Children function lookup and user and target chatting object it Between chat window the corresponding lineal child node of identifier, wherein lineal child node is between user and target chatting object Panel window in chat window;
After being converted to conversion array element according to preset rules to panel window, all array elements are constituted into array;
Array is traversed, obtains the second preset group element, the second preset group element is for recording pressing for " Message Record " The location information of button;
Using FindFirst function, according to the second predicted elemental, the current value parameter of searching attribute AutomationElement.NameProperty and preset keyword localization message record button, wherein The parameter that AutomationElement.NameProperty is an externally input;
Message record button is triggered, the chat content between target chatting object and user is obtained.
The embodiment of the present invention is further characterized in that, according to identification information corresponding with target chatting object to be checked, is looked into The chat window between user and target chatting object is looked for, after obtaining and exporting chat message, method further include:
Using character string processing method, chat message is converted according to preset data form.
The embodiment of the present invention is further characterized in that, according to identification information corresponding with target chatting object to be checked, is looked into The chat window between user and target chatting object is looked for, after obtaining and exporting chat message, method further include:
Close the chat window between target chatting object and user.
Second aspect, the embodiment of the invention also provides a kind of instant message applications information collecting device, device is applied to In distributed computer cluster, which corresponds to the first computer in distributed computer cluster, and the first computer is distribution Any computer in formula computer cluster, comprising:
Acquiring unit, for obtaining the IP address of the machine after receiving acquisition tasks instruction;
Call unit transfers acquisition tasks from pre-established database for the IP address according to the machine, wherein acquiring Included at least in task: instant message applications title, user account, login password and with target chatting object couple to be checked The identification information answered;
Unit is logged in, for according to instant message applications title, user account, login password, log-in instant communication software;
Processing unit, for searching user and target according to identification information corresponding with target chatting object to be checked Chat window between chatting object obtains and exports chat message.
The embodiment of the present invention is further characterized in that processing unit is also used to, and closes between target chatting object and user Chat window.
The third aspect, the embodiment of the invention also provides a kind of instant message applications information acquisition system, which includes: Processor and memory;
Memory is for storing one or more program instructions;
Processor, for running one or more program instructions, to execute a kind of instant messaging of first aspect as above Method step either in software information acquisition method.
Fourth aspect includes in computer storage medium the embodiment of the invention also provides a kind of computer storage medium One or more program instructions, one or more program instructions are used to be executed such as by a kind of instant message applications information acquisition system Method step either in a kind of instant message applications information collecting method of upper first aspect.
Embodiment according to the present invention has the advantages that same by computers all in distributed computer cluster When work.And when distributing task, it is the IP address by computer itself according to oneself, acquisition is transferred into pre-established database Task executes orderly without unrest.Each computer, can be real-time after log-in instant communication software according to oneself acquisition tasks The reliable automatic chat message obtained between target chatting object and user.Facilitate chat of the supervision department for a large number of users Content is supervised.
Detailed description of the invention
It, below will be to embodiment party in order to illustrate more clearly of embodiments of the present invention or technical solution in the prior art Formula or attached drawing needed to be used in the description of the prior art are briefly described.It should be evident that the accompanying drawings in the following description is only It is merely exemplary, it for those of ordinary skill in the art, without creative efforts, can also basis The attached drawing of offer, which is extended, obtains other implementation attached drawings.
Structure depicted in this specification, ratio, size etc., only to cooperate the revealed content of specification, for Those skilled in the art understands and reads, and is not intended to limit the invention enforceable qualifications, therefore does not have technical Essential meaning, the modification of any structure, the change of proportionate relationship or the adjustment of size are not influencing the function of the invention that can be generated Under effect and the purpose that can reach, should all still it fall in the range of disclosed technology contents obtain and can cover.
Fig. 1 is a kind of instant message applications information collecting method flow diagram that the embodiment of the present invention 1 provides;
Fig. 2 is a kind of instant message applications information collecting device structural schematic diagram that the embodiment of the present invention 2 provides;
Fig. 3 is a kind of instant message applications information acquisition system structural schematic diagram that the embodiment of the present invention 3 provides.
Specific embodiment
Embodiments of the present invention are illustrated by particular specific embodiment below, those skilled in the art can be by this explanation Content disclosed by book is understood other advantages and efficacy of the present invention easily, it is clear that described embodiment is the present invention one Section Example, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
The embodiment of the present invention 1 provides a kind of instant message applications information collecting method, specifically as shown in Figure 1, this method Applied in distributed computer cluster, method is executed by the first computer in distributed computer cluster, the first computer For any computer in distributed computer cluster, this method comprises:
Step 110, after receiving acquisition tasks instruction, the IP address of the machine is obtained.
Specifically, acquisition tasks instruction will be issued by the control centre in distributed computer cluster.In computer cluster Each computer respectively receive oneself acquisition tasks instruction.Control centre is in the task of distribution, it will equal according to load The principle of weighing apparatus issues assignment instructions.And after each computer receives acquisition tasks instruction, then it can actively obtain the IP of the machine Address.
Optionally, local IP address can be obtained using Resolve function.
Step 120, according to the IP address of the machine, acquisition tasks are transferred from pre-established database.
Specifically, control centre can store the task list distributed into pre-established database.Each is calculated Machine needs to communicate to connect with pre-established Database first, and the IP phase with itself is then found from pre-established database Matched task list, and then get acquisition tasks.
In acquisition tasks include but is not limited to: instant message applications title, user account, login password and with it is to be checked The corresponding identification information of target chatting object.
Step 130, according to instant message applications title, user account, login password, log-in instant communication software.
Step 140, according to identification information corresponding with target chatting object to be checked, user and target chat pair are searched Chat window as between obtains and exports chat message.
Optionally, chat message includes: between target chatting object essential information and user and target chatting object Chat content;According to identification information corresponding with target chatting object to be checked, search between user and target chatting object Chat window, obtain and export target chatting object's essential information, specifically include:
Instant message applications store path in the machine is obtained using AutomationElement.RootElement function Root node;
Using FindFirst function, according to instant message applications in the machine the root node of store path, straight comprising element It is that chat window between sub- grade parameter TreeScope.Children and user and target chatting object is corresponding RuntimeID obtains the identifier of the chat window between user and target chatting object, wherein TreeScope.Children and RuntimeID are input from the outside;
According to the identifier of the chat window between user and target chatting object, open user and target chatting object it Between chat window;
Using FindAll function, according to TreeScope.Children function lookup and user and target chatting object it Between chat window the corresponding lineal child node of identifier, wherein lineal child node is between user and target chatting object Panel window in chat window;
After being converted to conversion array element according to preset rules to panel window, all array elements are constituted into array;
Array is traversed, the first preset group element is obtained;
According to the first preset group element, the details of target chatting object are obtained.
Optionally, according to identification information corresponding with target chatting object to be checked, user and target chat pair are searched Chat window as between obtains and exports the chat content between user and target chatting object, specifically includes:
Instant message applications store path in the machine is obtained using AutomationElement.RootElement function Root node;
Using FindFirst function, according to instant message applications in the machine the root node of store path, straight comprising element It is that chat window between sub- grade parameter TreeScope.Children and user and target chatting object is corresponding RuntimeID obtains the identifier of the chat window between user and target chatting object, wherein TreeScope.Children and RuntimeID are input from the outside;
According to the identifier of the chat window between user and target chatting object, open user and target chatting object it Between chat window;
Using FindAll function, according to TreeScope.Children function lookup and user and target chatting object it Between chat window the corresponding lineal child node of identifier, wherein lineal child node is between user and target chatting object Panel window in chat window;
After being converted to conversion array element according to preset rules to panel window, all array elements are constituted into array;
Array is traversed, obtains the second preset group element, the second preset group element is for recording pressing for " Message Record " The location information of button;
Using FindFirst function, according to the second predicted elemental, the current value parameter of searching attribute AutomationElement.NameProperty and preset keyword localization message record button, wherein The parameter that AutomationElement.NameProperty is an externally input;
Message record button is triggered, the chat content between target chatting object and user is obtained.
Optionally, after executing step 140, this method further includes step 150: character string processing method is utilized, to merely Its information is converted according to preset data form.
Execute step 150 purpose be, after chat message is converted according to preset format, facilitate staff into Row is checked.Such as be converted to and meet the matched data format of tables of data framework, then data are filled into tables of data, facilitate work It is checked as personnel.
Optionally, after executing step 140, this method further includes step 160: close target chatting object and user it Between chat window.
The purpose for the chat window closed between current target chatting object and user is, can reduce computer fortune Row load promotes computer service ability.Certainly, if the instant message applications chat record has obtained completion, it is also necessary to The instant message applications is directly closed, computer operating load is further decreased.
It should be noted that the execution of step 150 and the execution of step 160 there is no sequencing, are not needed according to this Numerical order executes in text, and computer can be distributed freely and execute sequence.
In addition, target chatting object can be a member in instant message applications in the presence of the user account, It can be a group.Such as a good friend in QQ either one QQ groups.It sets with specific reference to actual conditions, does not do here Any restrictions.
In a specific example, when computer needs to obtain one QQ groups Message Records, then need to be implemented as follows Step:
After computer executed step 110 to step 130 logs on to QQ, 1) it utilizes The root node of AutomationElement.RootElement function acquisition QQ store path in the machine.2) it utilizes FindFirst function, according to QQ in the machine the root node of store path, include the lineal sub- grade parameter of element The corresponding RuntimeID of TreeScope.Children and QQ group chat skylight opening obtains the identifier of QQ group chat skylight opening;3) root According to the identifier of QQ group chat skylight opening, QQ group chat skylight opening is opened;4) FindAll function is utilized, according to TreeScope.Children function lookup lineal child node corresponding with the identifier of QQ group chat skylight opening, wherein lineal son section Point be QQ group chat skylight opening in panel window, panel window include chat interface, bulletin plate, photograph album plate, file column, Active plate, setting plate, message record button and QQ groups of details interface plates etc..5) to panel window according to default After rule is converted to conversion array element, all array elements are constituted into array.Array is traversed, the first present count constituent element is obtained Element, the first preset group element here that is to say array element corresponding with QQ groups of details interfaces.6) QQ is then opened The presetting child node of the first kind is searched according to TreeScope.Children using FindAll function in group's details interface Identifier, to head portrait, the pet name etc. for gradually obtaining user;7) FindFirst function is continued with, it is current according to searching attribute Value AutomationElement.NameProperty and specific keyword " gender ", " age " etc., to obtain the property of user Not, age, location, Q age, personal explanation.
Further, execute above 1) -5) the step of after, 6) open QQ groups of details interfaces, utilize FindAll letter Number searches the presetting sub-node identifiers of the second class according to TreeScope.Children, gradually to obtain QQ groups of introductions With the information such as QQ groups of head portraits.By the above process, the details for obtaining target chatting object be that is to say.
Further, execute above 1) -3) the step of after, 4) utilize FindAll function, according to TreeScope.Children function lookup lineal child node corresponding with the identifier of QQ group chat skylight opening, wherein lineal son section Point be QQ group chat skylight opening in panel window, panel window include chat interface, bulletin plate, photograph album plate, file column, Active plate, setting plate, message record button and QQ groups of details interface plates etc..5) to panel window according to default After rule is converted to conversion array element, all array elements are constituted into array.Array is traversed, the second present count constituent element is obtained Element, the location information of button of the second preset group element to record " Message Record " here.6) FindFirst letter is utilized Number, according to the second predicted elemental, the current value parameter AutomationElement.NameProperty of searching attribute and default pass Key word localization message record button, keyword here are " Message Record ".7) message record button is triggered, is opened in QQ window Chat record obtain the chat record in QQ groups using FindFirst function.
It further, further include using character string processing methods such as EndsWith, Split, at QQ group's data of acquisition It manages into and the matched data format of tables of data framework.Recently, by treated, data are stored into database.
A kind of instant message applications information collecting method provided in an embodiment of the present invention, by distributed computer cluster All computers work at the same time.And when distributing task, it is the IP address by computer itself according to oneself, to pre-established data Acquisition tasks are transferred in library, are executed orderly without unrest.Each computer is according to oneself acquisition tasks, log-in instant communication software It afterwards, can the automatic chat message obtained between target chatting object and user reliable in real time.Facilitate supervision department for big The chat content of amount user is supervised.
Corresponding with above-described embodiment 1, the embodiment of the present invention 2 additionally provides a kind of instant message applications information collection dress It sets, specific as shown in Fig. 2, the device corresponds to the first computer in distributed computer cluster, the first computer is distribution Any computer in computer cluster, comprising: acquiring unit 201, logs in unit 203 and processing unit at call unit 202 204。
Acquiring unit 201, for obtaining the IP address of the machine after receiving acquisition tasks instruction;
Call unit 202 transfers acquisition tasks from pre-established database for the IP address according to the machine, wherein Included at least in acquisition tasks: instant message applications title, user account, login password and with target chat pair to be checked As corresponding identification information;
Unit 203 is logged in, for according to instant message applications title, user account, login password, log-in instant communication to be soft Part;
Processing unit 204, for searching user and mesh according to identification information corresponding with target chatting object to be checked The chat window between chatting object is marked, obtains and exports chat message.
Optionally, acquiring unit 201 is specifically used for, and after receiving acquisition tasks instruction, is obtained using Resolve function Local IP address.
Optionally, chat message includes: between target chatting object essential information and user and target chatting object Chat content;Processing unit 204 is specifically used for, and obtains Instant Messenger using AutomationElement.RootElement function Interrogate the root node of software store path in the machine;
Using FindFirst function, according to instant message applications in the machine the root node of store path, straight comprising element It is that chat window between sub- grade parameter TreeScope.Children and user and target chatting object is corresponding RuntimeID obtains the identifier of the chat window between user and target chatting object, wherein TreeScope.Children and RuntimeID are input from the outside;
According to the identifier of the chat window between user and target chatting object, open user and target chatting object it Between chat window;
Using FindAll function, according to TreeScope.Children function lookup and user and target chatting object it Between chat window the corresponding lineal child node of identifier, wherein lineal child node is between user and target chatting object Panel window in chat window;
After being converted to conversion array element according to preset rules to panel window, all array elements are constituted into array;
Array is traversed, the first preset group element is obtained;
According to the first preset group element, the details of target chatting object are obtained.
Optionally, chat message includes: between target chatting object essential information and user and target chatting object Chat content;Processing unit 204 is specifically used for, and obtains Instant Messenger using AutomationElement.RootElement function Interrogate the root node of software store path in the machine;
Using FindFirst function, according to instant message applications in the machine the root node of store path, straight comprising element It is that chat window between sub- grade parameter TreeScope.Children and user and target chatting object is corresponding RuntimeID obtains the identifier of the chat window between user and target chatting object, wherein TreeScope.Children and RuntimeID are input from the outside;
According to the identifier of the chat window between user and target chatting object, open user and target chatting object it Between chat window;
Using FindAll function, according to TreeScope.Children function lookup and user and target chatting object it Between chat window the corresponding lineal child node of identifier, wherein lineal child node is between user and target chatting object Panel window in chat window;
After being converted to conversion array element according to preset rules to panel window, all array elements are constituted into array;
Array is traversed, obtains the second preset group element, the second preset group element is for recording pressing for " Message Record " The location information of button;
Using FindFirst function, according to the second predicted elemental, the current value parameter of searching attribute AutomationElement.NameProperty and preset keyword localization message record button, wherein The parameter that AutomationElement.NameProperty is an externally input;
Message record button is triggered, the chat content between target chatting object and user is obtained.
Optionally, processing unit 204 is also used to, using character string processing method, to chat message according to preset data lattice Formula is converted.
Optionally, processing unit 204 is also used to, and closes the chat window between target chatting object and user.
Function performed by each component is equal in a kind of instant message applications information collecting device provided in an embodiment of the present invention It is discussed in detail in above-described embodiment 1, therefore does not do excessively repeat here.
A kind of instant message applications information collecting device provided in an embodiment of the present invention, by distributed computer cluster All computers work at the same time.And when distributing task, it is the IP address by computer itself according to oneself, to pre-established data Acquisition tasks are transferred in library, are executed orderly without unrest.Each computer is according to oneself acquisition tasks, log-in instant communication software It afterwards, can the automatic chat message obtained between target chatting object and user reliable in real time.Facilitate supervision department for big The chat content of amount user is supervised.
Corresponding with above-described embodiment, the embodiment of the present invention 3 additionally provides a kind of instant message applications information collection system System, specifically as shown in figure 3, the system includes: processor 301 and memory 302;
Memory 302 is for storing one or more program instructions;
Processor 301, for running one or more program instructions, to execute one kind that embodiment as above is introduced i.e. When communication software information collecting method.
A kind of instant message applications information acquisition system provided in an embodiment of the present invention, by distributed computer cluster All computers work at the same time.And when distributing task, it is the IP address by computer itself according to oneself, to pre-established data Acquisition tasks are transferred in library, are executed orderly without unrest.Each computer is according to oneself acquisition tasks, log-in instant communication software It afterwards, can the automatic chat message obtained between target chatting object and user reliable in real time.Facilitate supervision department for big The chat content of amount user is supervised.
Corresponding with above-described embodiment, the embodiment of the invention also provides a kind of computer storage medium, the computers Include one or more program instructions in storage medium.Wherein, one or more program instructions are used for soft by a kind of instant messaging Part information acquisition system executes a kind of instant message applications information collecting method that embodiment as above is introduced.
Although above having used general explanation and specific embodiment, the present invention is described in detail, at this On the basis of invention, it can be made some modifications or improvements, this will be apparent to those skilled in the art.Therefore, These modifications or improvements without departing from theon the basis of the spirit of the present invention are fallen within the scope of the claimed invention.

Claims (10)

1. a kind of instant message applications information collecting method, which is characterized in that the method is applied to distributed computer cluster In, the method is executed by the first computer in distributed computer cluster, and first computer is the distributed meter Any computer in calculation machine cluster, which comprises
After receiving acquisition tasks instruction, the IP address of the machine is obtained;
According to the IP address of the machine, acquisition tasks are transferred from pre-established database, wherein at least wrapping in the acquisition tasks It includes: instant message applications title, user account, login password and mark corresponding with target chatting object to be checked letter Breath;
According to the instant message applications title, user account, login password, the instant message applications is logged in;
According to identification information corresponding with target chatting object to be checked, the chat between user and target chatting object is searched Window obtains and exports chat message.
2. the method according to claim 1, wherein described after receiving acquisition tasks instruction, acquisition the machine IP address, specifically include:
After receiving acquisition tasks instruction, local IP address is obtained using Resolve function.
3. the method according to claim 1, wherein the chat message includes: that target chatting object believes substantially Breath and the chat content between user and target chatting object;The basis is corresponding with target chatting object to be checked Identification information searches the chat window between user and target chatting object, obtains and export target chatting object's essential information, It specifically includes:
The root of instant message applications store path in the machine is obtained using AutomationElement.RootElement function Node;
Using FindFirst function, according to instant message applications in the machine the root node of store path, include the lineal son of element The corresponding RuntimeID of chat window between grade parameter TreeScope.Children and user and target chatting object, is obtained Take the identifier of the chat window between family and target chatting object, wherein the TreeScope.Children and RuntimeID is input from the outside;
According to the identifier of the chat window between the user and target chatting object, the user and target chat pair are opened Chat window as between;
Using FindAll function, according to TreeScope.Children function lookup and the user and target chatting object it Between chat window the corresponding lineal child node of identifier, wherein the direct line child node is the user and target chat pair The panel window in chat window as between;
After being converted to conversion array element according to preset rules to the panel window, all array elements are constituted into array;
The array is traversed, the first preset group element is obtained;
According to the first preset group element, the details of the target chatting object are obtained.
4. the method according to claim 1, wherein the chat message includes: that target chatting object believes substantially Breath and the chat content between user and target chatting object;The basis is corresponding with target chatting object to be checked Identification information searches the chat window between user and target chatting object, obtain and export user and target chatting object it Between chat content, specifically include:
The root of instant message applications store path in the machine is obtained using AutomationElement.RootElement function Node;
Using FindFirst function, according to instant message applications in the machine the root node of store path, include the lineal son of element The corresponding RuntimeID of chat window between grade parameter TreeScope.Children and user and target chatting object, is obtained Take the identifier of the chat window between family and target chatting object, wherein the TreeScope.Children and RuntimeID is input from the outside;
According to the identifier of the chat window between the user and target chatting object, the user and target chat pair are opened Chat window as between;
Using FindAll function, according to TreeScope.Children function lookup and the user and target chatting object it Between chat window the corresponding lineal child node of identifier, wherein the direct line child node is the user and target chat pair The panel window in chat window as between;
After being converted to conversion array element according to preset rules to the panel window, all array elements are constituted into array;
The array is traversed, obtains the second preset group element, the second preset group element is for recording " Message Record " Button location information;
Using FindFirst function, according to second predicted elemental, the current value parameter of searching attribute AutomationElement.NameProperty and preset keyword localization message record button, wherein described The parameter that AutomationElement.NameProperty is an externally input;
The message record button is triggered, the chat content between the target chatting object and user is obtained.
5. method according to claim 1-4, which is characterized in that according to target chatting object couple to be checked The identification information answered searches the chat window between user and target chatting object, described after obtaining and exporting chat message Method further include:
Using character string processing method, the chat message is converted according to preset data form.
6. method according to claim 1-4, which is characterized in that the basis and target chat pair to be checked As corresponding identification information, the chat window between user and target chatting object is searched, after obtaining and exporting chat message, The method also includes:
Close the chat window between the target chatting object and the user.
7. a kind of instant message applications information collecting device, which is characterized in that described device is applied to distributed computer cluster In, described device corresponds to the first computer in distributed computer cluster, and first computer is the distributed computing Any computer in machine cluster, described device include:
Acquiring unit, for obtaining the IP address of the machine after receiving acquisition tasks instruction;
Call unit transfers acquisition tasks from pre-established database for the IP address according to the machine, wherein the acquisition Included at least in task: instant message applications title, user account, login password and with target chatting object couple to be checked The identification information answered;
Unit is logged in, for logging in the instant messaging according to the instant message applications title, user account, login password Software;
Processing unit, for searching user and target being chatted according to identification information corresponding with target chatting object to be checked Chat window between object obtains and exports chat message.
8. device according to claim 7, which is characterized in that the processing unit is also used to, and closes the target chat Chat window between object and the user.
9. a kind of instant message applications information acquisition system, which is characterized in that the system comprises: processor and memory;
The memory is for storing one or more program instructions;
The processor, for running one or more of program instructions, to execute as described in claim any one of 1-6 Method.
10. a kind of computer storage medium, which is characterized in that refer in the computer storage medium comprising one or more programs It enables, one or more of program instructions are used to execute such as claim 1-6 by a kind of instant message applications information acquisition system Described in any item method and steps.
CN201910152053.8A 2019-02-28 2019-02-28 Instant messaging software information acquisition method, device, system and storage medium Active CN109951376B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910152053.8A CN109951376B (en) 2019-02-28 2019-02-28 Instant messaging software information acquisition method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910152053.8A CN109951376B (en) 2019-02-28 2019-02-28 Instant messaging software information acquisition method, device, system and storage medium

Publications (2)

Publication Number Publication Date
CN109951376A true CN109951376A (en) 2019-06-28
CN109951376B CN109951376B (en) 2021-07-16

Family

ID=67008210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910152053.8A Active CN109951376B (en) 2019-02-28 2019-02-28 Instant messaging software information acquisition method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN109951376B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110399065A (en) * 2019-07-23 2019-11-01 北京字节跳动网络技术有限公司 Message treatment method, device and electronic equipment
CN110505072A (en) * 2019-09-27 2019-11-26 连尚(新昌)网络科技有限公司 For backing up method, terminal device and the computer-readable medium of chat record

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070058631A1 (en) * 2005-08-12 2007-03-15 Microsoft Corporation Distributed network management
CN104811352A (en) * 2015-04-21 2015-07-29 广州多益网络科技有限公司 Enterprise cluster information detection method and system
CN105282094A (en) * 2014-06-16 2016-01-27 北京神州泰岳软件股份有限公司 Data collection method and system
CN107276887A (en) * 2017-07-06 2017-10-20 北京北信源软件股份有限公司 It is a kind of that the method and apparatus that instant communication message is not read are reminded by short message
CN108769115A (en) * 2018-04-19 2018-11-06 中国科学院计算技术研究所 Distributed RSS data acquisition method and system
CN108880988A (en) * 2018-06-12 2018-11-23 深圳华讯网络科技有限公司 Monitoring method, system, computer equipment and the storage medium of instant communication information

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070058631A1 (en) * 2005-08-12 2007-03-15 Microsoft Corporation Distributed network management
CN105282094A (en) * 2014-06-16 2016-01-27 北京神州泰岳软件股份有限公司 Data collection method and system
CN104811352A (en) * 2015-04-21 2015-07-29 广州多益网络科技有限公司 Enterprise cluster information detection method and system
CN107276887A (en) * 2017-07-06 2017-10-20 北京北信源软件股份有限公司 It is a kind of that the method and apparatus that instant communication message is not read are reminded by short message
CN108769115A (en) * 2018-04-19 2018-11-06 中国科学院计算技术研究所 Distributed RSS data acquisition method and system
CN108880988A (en) * 2018-06-12 2018-11-23 深圳华讯网络科技有限公司 Monitoring method, system, computer equipment and the storage medium of instant communication information

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110399065A (en) * 2019-07-23 2019-11-01 北京字节跳动网络技术有限公司 Message treatment method, device and electronic equipment
CN110505072A (en) * 2019-09-27 2019-11-26 连尚(新昌)网络科技有限公司 For backing up method, terminal device and the computer-readable medium of chat record
CN110505072B (en) * 2019-09-27 2021-05-25 连尚(新昌)网络科技有限公司 Method, terminal device and computer readable medium for backing up chat records

Also Published As

Publication number Publication date
CN109951376B (en) 2021-07-16

Similar Documents

Publication Publication Date Title
US11799969B2 (en) Forming activity streams across heterogeneous applications
US11188397B2 (en) Mobile application for an information technology (IT) and security operations application
CN111435344B (en) Big data-based drilling acceleration influence factor analysis model
US8788942B2 (en) Enterprise social networking software architecture
CN112732811A (en) Data open platform
US10671283B2 (en) Systems, methods, and apparatuses for implementing intelligently suggested keyboard shortcuts for web console applications
US10599654B2 (en) Method and system for determining unique events from a stream of events
CN107798038A (en) Data response method and data response apparatus
CN103631931B (en) A kind of data classification storage and system
US10877941B2 (en) Methods and systems for migrating public folders to online mailboxes
US11487513B1 (en) Reusable custom functions for playbooks
CN106790060A (en) The right management method and device of a kind of role-base access control
CN109951376A (en) A kind of instant message applications information collecting method, device, system and storage medium
Stergiou et al. Algorithms for big data in advanced communication systems and cloud computing
CN116340269A (en) Method for acquiring and searching Flink task logs in real time based on elastic search
CN106682071A (en) University library digital resource sharing method based on big data
Großmann et al. SensIoT: an extensible and general Internet of Things monitoring framework
Peng et al. A load balancing method for massive data processing under cloud computing environment
CN106570699A (en) Client contact information excavation method and server
US20150127402A1 (en) Method and system for structuring information background of the invention
Ribeiro et al. A scalable data integration architecture for smart cities: implementation and evaluation
CN104751256B (en) The method and system of message structure
De Giorgio et al. An approach to enable replacement of SOAP services and REST services in lightweight processes
Zhang et al. Intelligent business cloud service platform based on SpringBoot framework
Pan et al. Quality monitoring and measuring for internet of services

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