CN109086116A - Communication tool speech method of real-time and device based on miscellaneous function service - Google Patents

Communication tool speech method of real-time and device based on miscellaneous function service Download PDF

Info

Publication number
CN109086116A
CN109086116A CN201810951109.1A CN201810951109A CN109086116A CN 109086116 A CN109086116 A CN 109086116A CN 201810951109 A CN201810951109 A CN 201810951109A CN 109086116 A CN109086116 A CN 109086116A
Authority
CN
China
Prior art keywords
communication
information
communication interface
content
target
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
CN201810951109.1A
Other languages
Chinese (zh)
Other versions
CN109086116B (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.)
Hangzhou Dbappsecurity Technology Co Ltd
Original Assignee
Hangzhou Dbappsecurity 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 Hangzhou Dbappsecurity Technology Co Ltd filed Critical Hangzhou Dbappsecurity Technology Co Ltd
Priority to CN201810951109.1A priority Critical patent/CN109086116B/en
Publication of CN109086116A publication Critical patent/CN109086116A/en
Application granted granted Critical
Publication of CN109086116B publication Critical patent/CN109086116B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/284Lexical analysis, e.g. tokenisation or collocates
    • 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/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services

Abstract

The present invention provides a kind of communication tool speech method of real-time and device based on miscellaneous function service, are related to Communication Monitoring technical field, if method includes: to detect that the communication interface of communication tool refreshes, it is determined that the type information that communication interface refreshes;If the type information is that the content of communication interface changes, the communication interface after refreshing is determined as target communication interface;Communication information is obtained from the target communication interface, and the communication information is monitored, obtains monitoring result, wherein the communication information includes speech content, solves the communication message record of storage existing in the prior art and incomplete technical problem.

Description

Communication tool speech method of real-time and device based on miscellaneous function service
Technical field
The present invention relates to Communication Monitoring technical fields, say more particularly, to a kind of communication tool based on miscellaneous function service By method of real-time and device.
Background technique
Chat tool is also known as instant messaging (Instant Message, abbreviation IM) software work or tool IM software, refers to and mentions The tool of real-time text transmission etc. is carried out for the client based on internet.Technically, it is broadly divided into based on server IM tool software and be based on peer-to-peer computer network (P2P) technology IM tool software.
Currently, the real-time communications communication tool such as each office, chat software (such as nail nail, wechat, skype) has been work Common exchange way is linked up, these softwares largely reduce the communication cost between employee.Real-time communication and electronics postal The maximum difference of part is not having to waiting, not need every two minutes just by primary " transmission and reception ", as long as two people are same When it is online, text etc. can be transmitted to other side as mediaphone, as long as there is network, no matter both sides every how far distance all It can be communicated.
But if user uses functions, the key contents of communication such as " recalling " to be likely to lack, make chat record The communication message record of middle storage is simultaneously imperfect.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of communication tool speeches based on miscellaneous function service to supervise in real time Survey method and device, with solve storage existing in the prior art communication message record and incomplete technical problem.
In a first aspect, the embodiment of the invention provides a kind of communication tool speech real-time monitoring based on miscellaneous function service Method is applied to miscellaneous function service (Accessibility Service) tool, which comprises
If detecting, the communication interface of communication tool refreshes, it is determined that the type information that communication interface refreshes;
If the type information is that the content of communication interface changes, the communication interface after refreshing is determined as target Communication interface;
Communication information is obtained from the target communication interface, and the communication information is monitored, and obtains monitoring knot Fruit, wherein the communication information includes speech content.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, wherein institute Detect that the communication interface of communication tool refreshes if stating, it is determined that the type information that communication interface refreshes, comprising:
If detecting, the communication interface of communication tool refreshes, and triggers miscellaneous function event (Accessibility Event), and using the Accessibility Event type information that communication interface refreshes is determined.
With reference to first aspect, the embodiment of the invention provides second of possible embodiments of first aspect, wherein institute It states and obtains communication information from the target communication interface, comprising:
Target dialogue frame is determined from the target communication interface;
View layout analysis is carried out to the target communication interface, and then it is logical in the target to obtain the target dialogue frame Interrogate the layout identification information in interface;
The content information in the target dialogue frame is obtained according to the layout identification information, and the content information is true It is set to the communication information.
With reference to first aspect, the embodiment of the invention provides the third possible embodiments of first aspect, wherein institute Stating communication information further includes at least one of: message content, message sender, message sending time, message sink people, message Receiving time.
With reference to first aspect, the embodiment of the invention provides the 4th kind of possible embodiments of first aspect, wherein obtains Take preset field, wherein the preset field is for characterizing interest field.
With reference to first aspect, the embodiment of the invention provides the 5th kind of possible embodiments of first aspect, wherein institute It states and the communication information is monitored, obtain monitoring result, comprising:
The communication information and the preset field are compared, comparing result is obtained;
The interest word characterized in the communication information with the presence or absence of the preset field is judged according to the comparing result Section;
If it is, based on the preset field to content associated with the interest field in the communication information into Row record obtains record information, and the record information is determined as the monitoring result.
With reference to first aspect, the embodiment of the invention provides the 6th kind of possible embodiments of first aspect, wherein institute It states and content associated with the interest field in the communication information is recorded based on the preset field, recorded Information, comprising:
Determine time of occurrence of the preset field in the target communication interface;
In conjunction with the time of occurrence and preset range, the recording interval of the communication information is determined;
Content associated with the interest field in the communication information is recorded based on the recording interval, is obtained To record information.
Second aspect, the embodiment of the present invention also provide a kind of communication tool speech based on Accessibility Service By real-time monitoring device, it is applied to Accessibility Service tool, described device includes:
First determining module, for determining what communication interface refreshed when the communication interface for detecting communication tool refreshes Type information;
Second determining module, for when the type information be communication interface content change when, after refreshing Communication interface is determined as target communication interface;
Module is obtained, for obtaining communication information from the target communication interface;
Monitoring modular obtains monitoring result for being monitored to the communication information, wherein the packets Include speech content.
The third aspect, the embodiment of the present invention also provide a kind of electronic equipment, including memory, processor, the memory In be stored with the computer program that can be run on the processor, the processor is realized when executing the computer program The step of stating method as described in relation to the first aspect.
Fourth aspect, the embodiment of the present invention also provide a kind of meter of non-volatile program code that can be performed with processor Calculation machine readable medium, said program code make the method for the processor execution as described in relation to the first aspect.
Technical solution provided in an embodiment of the present invention brings following the utility model has the advantages that provided in an embodiment of the present invention based on auxiliary Help the communication tool speech method of real-time and device of function services, comprising: firstly, if detecting communication circle of communication tool The type information for then determining that communication interface refreshes is refreshed in face, will refresh if the content that type information is communication interface changes Communication interface afterwards is determined as target communication interface, then, communication information is obtained from target communication interface, moreover, to communication Information is monitored, to obtain monitoring result, wherein communication information includes speech content, therefore, as long as detecting communication work The communication interface of tool is refreshed, and obtains the communication information for the communication interface that after refreshing and content has changed, just with reality Now to the real-time monitoring of communication interface, communication information etc., so as to it is timely, obtain communication information in real time, to evade Function is recalled, is improved the integrality of log, so that the communication for solving storage existing in the prior art disappears Breath record and incomplete technical problem.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention are in specification and attached drawing Specifically noted structure is achieved and obtained.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 shows the communication tool speech real-time monitoring based on miscellaneous function service provided by the embodiment of the present invention one The flow chart of method;
Fig. 2 shows the communication tool speech real-time monitorings provided by the embodiment of the present invention two based on miscellaneous function service The flow chart of method;
It is real-time that Fig. 3 shows a kind of communication tool speech based on miscellaneous function service provided by the embodiment of the present invention three The structural schematic diagram of monitoring device;
Fig. 4 shows the structural schematic diagram of a kind of electronic equipment provided by the embodiment of the present invention four.
Icon: communication tool speech real-time monitoring device of the 3- based on miscellaneous function service;The first determining module of 31-;32- Second determining module;33- obtains module;34- monitoring modular;4- electronic equipment;41- memory;42- processor;43- bus; 44- communication interface.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention Technical solution be clearly and completely described, it is clear that described embodiments are some of the embodiments of the present invention, rather than Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Currently, there is no the chat records released completely to save derived function in communication software, although can chat Inquiry operation is carried out in its record, but can only also be searched in all chat records, efficiency and goal directness are lower.More Importantly, due to " recall " presence of function, key content may be lacked, and the Message Record stored in chat record is not Completely, when there is dispute, conflict, even more so that real-time monitoring communication speech is difficult to control, to can not restore whole A event procedure causes difficulty of calling to account.
Based on this, a kind of communication tool speech real-time monitoring side based on miscellaneous function service provided in an embodiment of the present invention Method and device can solve the communication message record of storage existing in the prior art and incomplete technical problem.
To be taken to one kind disclosed in the embodiment of the present invention based on miscellaneous function first convenient for understanding the present embodiment The communication tool speech method of real-time and device of business describe in detail.
Embodiment one:
A kind of communication work being based on miscellaneous function service (Accessibility Service) provided in an embodiment of the present invention Have speech method of real-time, is applied to Accessibility Service tool, can be used as one kind and be based on The communication software speech real-time monitoring and processing method of Accessibility Service, as shown in Figure 1, this method comprises:
S11: if detecting, the communication interface of communication tool refreshes, it is determined that the type information that communication interface refreshes.
As the preferred embodiment of the present embodiment, as long as detecting that the communication interface of communication tool is refreshed, just Start the process after executing, process later includes the type information that determining communication interface refreshes.
S12: if the content that type information is communication interface changes, the communication interface after refreshing is determined as target Communication interface.
As a preferred embodiment, if the content that type information is communication interface changes, illustrate occurred newly Situations such as chat message, occurs, then the communication interface after refreshing is determined as target communication interface.
S13: obtaining communication information from target communication interface, and be monitored to communication information, obtain monitoring result, In, communication information includes speech content.
In practical applications, the communication informations such as speech content are obtained, from the communication interface after refreshing to realize to speech The communication informations such as content are monitored, to obtain monitoring result.
For the prior art, if user uses functions, the key contents of communication such as " recalling " to be likely to lack Lose, make the communication message stored in chat record record and it is imperfect.Pass through the communication based on Accessibility Service Tool speech method of real-time realizes the side for carrying out the record of monitoring analysis in real time to speech in communication software and handling in time Method, based on call Accessibility Service class correlation technique mode, can effectively, monitor staff in real time Speech, it is accurate to call to account so as to also original event whole process realization.Furthermore this method may operate at mobile phone, plate etc. and set It is standby upper, it is simple and reliable and at low cost.Most of all, the communication tool speech based on Accessibility Service is real-time Monitoring method can in real time, timely save Content of communciation, thus evaded the presence of " recalling " function, it is crucial The case where content lacks is not sent further on, and largely ensure that the integrality to log evidence obtaining.
Embodiment two:
A kind of communication work being based on miscellaneous function service (Accessibility Service) provided in an embodiment of the present invention Have speech method of real-time, is applied to Accessibility Service tool, can be used as one kind and be based on The communication software speech real-time monitoring and processing method of Accessibility Service, as shown in Fig. 2, this method comprises:
S21: if detecting, the communication interface of communication tool refreshes, and triggers miscellaneous function event (Accessibility Event), and using Accessibility Event the type information that communication interface refreshes is determined.
It should be noted that miscellaneous function service (Accessibility Service) is an android system in fact A kind of service being supplied to is to inherit Service class in itself.This service provides the user interface of enhancing, it is intended to help The people that temporarily can not may be sufficiently interacted with equipment.The function that Accessibility Service is provided includes: to search interface Element realizes that simulation is clicked, to realize a miscellaneous function service request succession Accessibility Service class and realize Its abstract method.Specifically, customized miscellaneous function service class sample (such as Accessibility Sample Service, this name can be arbitrarily), the Accessibility Service of inheritance system simultaneously overrides triggering miscellaneous function thing (on Interrupt) method is interrupted in part (on Accessibility Event) and triggering.After writing service class, it is being Registration service in system configuration file (such as Android Manifest.xml).It completes the step of front two and just completes basic hair Miscellaneous function service registration and configuration, specific function, which is realized, to be needed to complete on Accessibility Event, according to The Accessibility Event object that on Accessibility Event callback method passes over can carry out event Filtering, the lookup node provided in conjunction with Accessibility Sample Service itself interface relevant with click is simulated is i.e. The lookup and click of permission node can be achieved.
Specifically, step S21 may include: that starting monitoring services, waits into chat interface, receives new chat message And interface refreshing and etc., the present embodiment is illustrated so that communication tool is chat software as an example.
Firstly, testing staff can be by clicking switch control key (switch) in " starting monitoring service " step It is monitored the control of the start and stop of service, is judged the case where in program by monitoring the control state;Then, The step of for " entering chat interface to wait ", main program interface is exited, the chat software is opened, the chat monitored into needs The page, is maintained at the page and device screen is always on;Later, in " receive new chat message and interface is refreshed " step, When content refresh in Chat page, the Accessibility Event in Accessibility Service will be adjusted With then by acquisition event type (the get Event for the event (event) being passed in Accessibility Event Type) method carries out the judgement that communication interface refreshes type.
S22: if the content that type information is communication interface changes, the communication interface after refreshing is determined as target Communication interface.
If it is that windows content changes (TYPE WINDOW CONTENT CHANGED) event that communication interface, which refreshes type, Communication interface after refreshing is determined as target communication interface, i.e., by Accessibility Service The TYPE WINDOW CONTENT CHANGED of Accessibility Event carries out the change of chat interface content to communication interface The real-time monitoring of change.
S23: target dialogue frame is determined from target communication interface.
The window is got by the method for obtaining root (get Root In Active Window) in active window The miscellaneous function nodal information (Accessibility Node Info) of mouth passes through get Root In Active Window Method get the dialog objects of the interfaces windows, such as dialog box A.
S24: view layout analysis is carried out to target communication interface, and then obtains target dialogue frame in target communication interface Layout identification information.
It, can be by using Supervision visual organ (Device Monitor, such as Android Device in this step Monitor) (such as the Dump View Hierarchy for UI of the automated procedures dump view hierarchical structure in tool Automator) function chooses control, to get required acquisition layout identification information (layout ID).
For example, by exploitation software (such as Android Studio) in carry Device Monitor (such as Android Device Monitor) the Dump View Hierarchy for UI Automator function in tool gets The layout identification information of required message box (such as dialog box A) control.
S25: the content information in target dialogue frame is obtained according to layout identification information, and content information is determined as communicating Information.
In practical applications, it calls and passes through view lookup accessibility miscellaneous function nodal information (find Accessibility Node Infos By ViewId) method be passed to control ID after, the control object can be got, after And get the communication informations such as required message content, sender, sending time.Wherein, communication information can also include following At least one: message content, message sender, message sending time, message sink people, message receipt times.Wherein, communication letter Breath includes speech content.
For example, the method for calling find Accessibility Node Infos By ViewId is passed to the cloth of dialog box A Office's identification information, can get framework node (Node) content information of the latest news of dialog box A, the object dialog box A is Accessibility Node Info type, different fields is arrived by the way that acquisition (get) method is available, for example, disappearing Cease content, sender etc., then by call the text of the object obtain (get Text) method can get message content, The communication informations such as sender, sending time.
As the another embodiment of the present embodiment, after this step, it can also carry out that " database leaves newest one It the step of chat content ", i.e., can be by soft after previous step gets required message content, sender, sending time Light-duty database (such as SQLite) in part system (such as Android) carries out the preservation of the data such as communication information, storage The occupancy resource deposited is very low, in embedded device, it is only necessary to less than the memory of 1,000 KB, can compile to application program Journey interface (API) is operated.
S26: preset field is obtained, wherein preset field is for characterizing interest field.
Certainly, step S26 can also be completed in the arbitrary process of this method, for example, just obtaining before step S21 Preset field.Preset field for characterizing interest field can be keyword, and therefore, this step is as " configuration keyword " Process, can carry out specific field contents configuration by the visualization interface of program, and monitoring personnel is arranged preset field click and mentions Keyword just configuration successful after friendship.
S27: communication information and preset field are compared, and obtain comparing result.
Preferably, communication information and preset field, that is, keyword of characterization interest field are compared, obtains comparison knot Fruit.For example, can be compared one by one to the keyword of message content and configuration after having saved data, to obtain comparing result.
S28: the interest field characterized in communication information with the presence or absence of preset field is judged according to comparing result.
As a preferred embodiment, judge whether keyword occur in the communication informations such as speech content, if do not occurred Matched keyword then returns in " entering chat interface to wait " step of step S21.
S29: if it is, content associated with interest field in communication information is recorded based on preset field, Record information is obtained, and record information is determined as monitoring result.
In this step, content associated with interest field in communication information is recorded based on preset field, is obtained Record information, comprising: determine time of occurrence of the preset field in target communication interface.In conjunction with time of occurrence and preset range, Determine the recording interval of communication information.Content associated with interest field in communication information is remembered based on recording interval Record obtains record information.
Wherein, recording interval can be several of the front and back message for the message for keyword occur.For example, having in program discovery When the keyword of successful match, first by the table of 30 message contents deposit exception record before the message for keyword occur In, then 30 message contents next after the message for keyword occur also are stored in the table of exception record, it certainly, can It is saved in database in the table of normal content simultaneously, completes 61 unexpected messages in total (including there is the message of keyword) Deposit after, can turn also in " enter chat interface wait " step of step S21.
It can be exited the program at any time as the another embodiment of the present embodiment according to the control of monitoring personnel, example Such as, monitoring personnel can open main program interface, click switch control and switch starting/halted state, with the service of closing, entirely The monitoring service of program can stop.
In the present embodiment, based on the methods of Accessibility Service, inexpensive solves Chat communication software In do not have official release chat record complete documentation derived from function, moreover, this method as in communication software speech it is real-time Analysis record and processing method, relate to usually commonly to handle official business, chat software.By the way that keyword is arranged, in Chat page Content and sender etc. be monitored and record, realization supervises internal communication group according to the keyword of configuration in real time It surveys, if there is the successful situation of keyword match, then the related content for recording front and back to this carries out being automatically saved to data In library, it can then transfer check when needed.Therefore, methodological function provided in this embodiment is practical, performance is stable and using flexible, The real-time monitoring to staff's speech content in internal communication group is realized, reduction event procedure is solved and calls to account difficult ask Topic.
Therefore, the middle communication software speech based on Accessibility Service provided is real-time through this embodiment Monitoring and processing method can carry out real-time monitoring in corresponding internal communication group after configuring to keyword, The content that then front and back can be recorded to this if any the appearance of keyword be automatically saved in database, even if sender uses " recalling " function carries out withdrawal operation to this content, since content has been automatically saved in database, so can't go out Now lead to not the case where completely restoring event procedure since content lacks, realizes the speech of real-time monitoring staff By to completely restore event procedure.
Embodiment three:
A kind of communication work being based on miscellaneous function service (Accessibility Service) provided in an embodiment of the present invention Have speech real-time monitoring device, be applied to Accessibility Service tool, as shown in figure 3, being based on miscellaneous function service Communication tool speech real-time monitoring device 3 include: the first determining module 31, the second determining module 32, obtain module 33 and Monitoring modular 34.
Further, the first determining module 31 is used to determine logical when the communication interface for detecting communication tool refreshes Interrogate the type information that interface is refreshed.Second determining module 32 is used for when the content that type information is communication interface changes, Communication interface after refreshing is determined as target communication interface.Module 33 is obtained to be used to obtain communication letter from target communication interface Breath.Monitoring modular 34 obtains monitoring result, wherein communication information includes speech content for being monitored to communication information.
Example IV:
A kind of electronic equipment provided in an embodiment of the present invention, as shown in figure 4, electronic equipment 4 includes memory 41, processor 42, the computer program that can be run on the processor is stored in the memory, the processor executes the calculating The step of method that above-described embodiment one or embodiment two provide is realized when machine program.
Referring to fig. 4, electronic equipment further include: bus 43 and communication interface 44, processor 42, communication interface 44 and memory 41 are connected by bus 43;Processor 42 is for executing the executable module stored in memory 41, such as computer program.
Wherein, memory 41 may include high-speed random access memory (RAM, Random Access Memory), It may further include nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.By at least One communication interface 44 (can be wired or wireless) realizes the communication between the system network element and at least one other network element Connection, can be used internet, wide area network, local network, Metropolitan Area Network (MAN) etc..
Bus 43 can be isa bus, pci bus or eisa bus etc..The bus can be divided into address bus, data Bus, control bus etc..Only to be indicated with a four-headed arrow convenient for indicating, in Fig. 4, it is not intended that an only bus or A type of bus.
Wherein, memory 41 is for storing program, and the processor 42 executes the journey after receiving and executing instruction Sequence, method performed by the device that the stream process that aforementioned any embodiment of the present invention discloses defines can be applied to processor 42 In, or realized by processor 42.
Processor 42 may be a kind of IC chip, the processing capacity with signal.During realization, above-mentioned side Each step of method can be completed by the integrated logic circuit of the hardware in processor 42 or the instruction of software form.Above-mentioned Processor 42 can be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network Processor (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital Signal Processing, abbreviation DSP), specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), ready-made programmable gate array (Field-Programmable Gate Array, abbreviation FPGA) or other are programmable Logical device, discrete gate or transistor logic, discrete hardware components.It may be implemented or execute in the embodiment of the present invention Disclosed each method, step and logic diagram.General processor can be microprocessor or the processor is also possible to appoint What conventional processor etc..The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly in hardware decoding processing Device executes completion, or in decoding processor hardware and software module combination execute completion.Software module can be located at Machine memory, flash memory, read-only memory, programmable read only memory or electrically erasable programmable memory, register etc. are originally In the storage medium of field maturation.The storage medium is located at memory 41, and processor 42 reads the information in memory 41, in conjunction with Its hardware completes the step of above method.
Embodiment five:
It is provided in an embodiment of the present invention it is a kind of with processor can be performed non-volatile program code it is computer-readable Medium, said program code make the method that the processor executes above-described embodiment one or embodiment two provides.
Unless specifically stated otherwise, the opposite step of the component and step that otherwise illustrate in these embodiments, digital table It is not limit the scope of the invention up to formula and numerical value.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description It with the specific work process of device, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In all examples being illustrated and described herein, any occurrence should be construed as merely illustratively, without It is as limitation, therefore, other examples of exemplary embodiment can have different values.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
The flow chart and block diagram in the drawings show the system of multiple embodiments according to the present invention, method and computer journeys The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, section or code of table, a part of the module, section or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two continuous boxes can actually base Originally it is performed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that It is the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart, can uses and execute rule The dedicated hardware based system of fixed function or movement is realized, or can use the group of specialized hardware and computer instruction It closes to realize.
The computer-readable medium of the non-volatile program code provided in an embodiment of the present invention that can be performed with processor, With communication tool speech method of real-time, device and the electronic equipment provided by the above embodiment based on miscellaneous function service Technical characteristic having the same reaches identical technical effect so also can solve identical technical problem.
In addition, term " first ", " second ", " third " are used for description purposes only, it is not understood to indicate or imply phase To importance.
The communication tool speech method of real-time based on miscellaneous function service is carried out provided by the embodiment of the present invention Computer program product, the computer readable storage medium including storing the executable non-volatile program code of processor, The instruction that said program code includes can be used for executing previous methods method as described in the examples, and specific implementation can be found in method Embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with It realizes by another way.The apparatus embodiments described above are merely exemplary, for example, the division of the unit, Only a kind of logical function partition, there may be another division manner in actual implementation, in another example, multiple units or components can To combine or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or beg for The mutual coupling, direct-coupling or communication connection of opinion can be through some communication interfaces, device or unit it is indirect Coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
Finally, it should be noted that embodiment described above, only a specific embodiment of the invention, to illustrate the present invention Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, those skilled in the art should understand that: anyone skilled in the art In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover in protection of the invention Within the scope of.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. a kind of communication tool speech method of real-time based on miscellaneous function service, which is characterized in that be applied to auxiliary function Accessibility Service tool can be serviced, which comprises
If detecting, the communication interface of communication tool refreshes, it is determined that the type information that communication interface refreshes;
If the type information is that the content of communication interface changes, the communication interface after refreshing is determined as target communication Interface;
Communication information is obtained from the target communication interface, and the communication information is monitored, and obtains monitoring result, In, the communication information includes speech content.
If 2. the method according to claim 1, wherein it is described detect communication tool communication interface refresh, Then determine the type information that communication interface refreshes, comprising:
If detecting, the communication interface of communication tool refreshes, and triggers miscellaneous function event Accessibility Event, and benefit The type information that communication interface refreshes is determined with the Accessibility Event.
3. the method according to claim 1, wherein described obtain communication letter from the target communication interface Breath, comprising:
Target dialogue frame is determined from the target communication interface;
View layout analysis is carried out to the target communication interface, and then obtains the target dialogue frame in target communication circle Layout identification information in face;
The content information in the target dialogue frame is obtained according to the layout identification information, and the content information is determined as The communication information.
4. method according to any one of claims 1 to 3, which is characterized in that the communication information further include it is following at least One of: message content, message sender, message sending time, message sink people, message receipt times.
5. the method according to claim 1, wherein further include:
Obtain preset field, wherein the preset field is for characterizing interest field.
6. according to the method described in claim 5, being monitored it is characterized in that, described be monitored the communication information As a result, comprising:
The communication information and the preset field are compared, comparing result is obtained;
The interest field characterized in the communication information with the presence or absence of the preset field is judged according to the comparing result;
If it is, being remembered based on the preset field to content associated with the interest field in the communication information Record obtains record information, and the record information is determined as the monitoring result.
7. according to the method described in claim 6, it is characterized in that, described be based on the preset field in the communication information Content associated with the interest field is recorded, and record information is obtained, comprising:
Determine time of occurrence of the preset field in the target communication interface;
In conjunction with the time of occurrence and preset range, the recording interval of the communication information is determined;
Content associated with the interest field in the communication information is recorded based on the recording interval, is remembered Record information.
8. a kind of communication tool speech real-time monitoring device based on Accessibility Service, which is characterized in that application In Accessibility Service tool, described device includes:
First determining module, for determining the type that communication interface refreshes when the communication interface for detecting communication tool refreshes Information;
Second determining module, for when the type information be communication interface content change when, by the communication after refreshing Interface is determined as target communication interface;
Module is obtained, for obtaining communication information from the target communication interface;
Monitoring modular obtains monitoring result for being monitored to the communication information, wherein the communication information includes speech By content.
9. a kind of electronic equipment, including memory, processor, be stored in the memory to run on the processor Computer program, which is characterized in that the processor realizes that the claims 1 to 7 are any when executing the computer program The step of method described in item.
10. a kind of computer-readable medium for the non-volatile program code that can be performed with processor, which is characterized in that described Program code makes the processor execute described any the method for claim 1 to 7.
CN201810951109.1A 2018-08-20 2018-08-20 Communication tool speech real-time monitoring method and device based on auxiliary function service Active CN109086116B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810951109.1A CN109086116B (en) 2018-08-20 2018-08-20 Communication tool speech real-time monitoring method and device based on auxiliary function service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810951109.1A CN109086116B (en) 2018-08-20 2018-08-20 Communication tool speech real-time monitoring method and device based on auxiliary function service

Publications (2)

Publication Number Publication Date
CN109086116A true CN109086116A (en) 2018-12-25
CN109086116B CN109086116B (en) 2021-07-30

Family

ID=64793952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810951109.1A Active CN109086116B (en) 2018-08-20 2018-08-20 Communication tool speech real-time monitoring method and device based on auxiliary function service

Country Status (1)

Country Link
CN (1) CN109086116B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110730120A (en) * 2019-10-31 2020-01-24 北京小米移动软件有限公司 Instant communication message processing method, device, equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102882762A (en) * 2011-07-11 2013-01-16 腾讯科技(深圳)有限公司 Method and system for synchronizing chat status information in multiple pages
CN105490919A (en) * 2015-11-24 2016-04-13 小米科技有限责任公司 Message withdrawal method and device
CN105933215A (en) * 2016-07-09 2016-09-07 东莞市华睿电子科技有限公司 Chat message withdraw control method based on instant messaging
CN106302136A (en) * 2016-10-21 2017-01-04 珠海格力电器股份有限公司 The control method of mobile terminal, device and mobile terminal
CN106294541A (en) * 2016-07-22 2017-01-04 深圳天珑无线科技有限公司 A kind of communication information collection method and device
US20170034106A1 (en) * 2014-01-31 2017-02-02 Whatsapp Inc. Automated message recall from a sender's device
CN106685797A (en) * 2016-07-09 2017-05-17 东莞市华睿电子科技有限公司 Method for verifying identity based on instant communication
CN107222632A (en) * 2017-06-23 2017-09-29 北京金山安全软件有限公司 Instant messaging method and device
CN107659490A (en) * 2017-09-27 2018-02-02 广东欧珀移动通信有限公司 Method, terminal and the storage medium that a kind of file is sent

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102882762A (en) * 2011-07-11 2013-01-16 腾讯科技(深圳)有限公司 Method and system for synchronizing chat status information in multiple pages
US20170034106A1 (en) * 2014-01-31 2017-02-02 Whatsapp Inc. Automated message recall from a sender's device
CN105490919A (en) * 2015-11-24 2016-04-13 小米科技有限责任公司 Message withdrawal method and device
CN105933215A (en) * 2016-07-09 2016-09-07 东莞市华睿电子科技有限公司 Chat message withdraw control method based on instant messaging
CN106685797A (en) * 2016-07-09 2017-05-17 东莞市华睿电子科技有限公司 Method for verifying identity based on instant communication
CN106294541A (en) * 2016-07-22 2017-01-04 深圳天珑无线科技有限公司 A kind of communication information collection method and device
CN106302136A (en) * 2016-10-21 2017-01-04 珠海格力电器股份有限公司 The control method of mobile terminal, device and mobile terminal
CN107222632A (en) * 2017-06-23 2017-09-29 北京金山安全软件有限公司 Instant messaging method and device
CN107659490A (en) * 2017-09-27 2018-02-02 广东欧珀移动通信有限公司 Method, terminal and the storage medium that a kind of file is sent

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李冰雪: ""微商合同订立问题研究"", 《中国优秀硕士学位论文全文数据库 社会科学Ⅰ辑》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110730120A (en) * 2019-10-31 2020-01-24 北京小米移动软件有限公司 Instant communication message processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN109086116B (en) 2021-07-30

Similar Documents

Publication Publication Date Title
US11627053B2 (en) Continuous data sensing of functional states of networked computing devices to determine efficiency metrics for servicing electronic messages asynchronously
US11233709B2 (en) Method and system for monitoring performance of an application system
Yang et al. A time efficient approach for detecting errors in big sensor data on cloud
CN102402481B (en) The fuzz testing of asynchronous routine code
US8732302B2 (en) Method and system for monitoring performance of an application system
CN111835582B (en) Configuration method and device of Internet of things inspection equipment and computer equipment
CN109344170B (en) Stream data processing method, system, electronic device and readable storage medium
CN106502902A (en) Web page operational efficiency monitoring method and device
CN105740133B (en) A kind of Distributed Application method for monitoring performance based on service call topology
Pravilovic et al. Process mining to forecast the future of running cases
CN107370806A (en) HTTP conditional codes monitoring method, device, storage medium and electronic equipment
CN105579976B (en) Webpage automated testing method and device
Mayer et al. A magic lens for revealing device interactions in smart environments
CN109558297A (en) EMS memory management process and device
CN114356692A (en) Visual processing method and device for application monitoring link and storage medium
CN109062769A (en) The method, apparatus and equipment of IT system performance risk trend prediction
US10826965B2 (en) Network monitoring to identify network issues
CN106294345A (en) The treating method and apparatus of the log content of application program
CN109086116A (en) Communication tool speech method of real-time and device based on miscellaneous function service
CN105849703B (en) Pass through the categorized event monitor of context partition
CN115794545A (en) Automatic processing method of operation and maintenance data and related equipment thereof
CN107798009A (en) Data aggregation method, apparatus and system
CN111597091A (en) Data monitoring method and system, electronic equipment and computer storage medium
CN111045757A (en) Visual display system and method for IT resource operation state and storage medium
CN113590604A (en) Service data processing method and device and server

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