CN106547639B - A kind of character string processing method and equipment - Google Patents

A kind of character string processing method and equipment Download PDF

Info

Publication number
CN106547639B
CN106547639B CN201611042231.4A CN201611042231A CN106547639B CN 106547639 B CN106547639 B CN 106547639B CN 201611042231 A CN201611042231 A CN 201611042231A CN 106547639 B CN106547639 B CN 106547639B
Authority
CN
China
Prior art keywords
string
processing
target string
terminal applies
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611042231.4A
Other languages
Chinese (zh)
Other versions
CN106547639A (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.)
Tencent Music Entertainment Technology Shenzhen Co Ltd
Original Assignee
Tencent Music Entertainment Technology Shenzhen 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 Tencent Music Entertainment Technology Shenzhen Co Ltd filed Critical Tencent Music Entertainment Technology Shenzhen Co Ltd
Priority to CN201611042231.4A priority Critical patent/CN106547639B/en
Publication of CN106547639A publication Critical patent/CN106547639A/en
Application granted granted Critical
Publication of CN106547639B publication Critical patent/CN106547639B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a kind of character string processing method and equipment, the character string processing method includes: that current target string to be presented is obtained in terminal applies interface;The target string is recorded, and processing is shown to the target string;When detecting that the terminal applies interface is in stopping responsive state in being shown the target string processing, the target string is carried out to filter out processing.Using the present invention, the crash issue in terminal applies operational process can be solved in time, terminal applies is enable to operate normally.

Description

A kind of character string processing method and equipment
Technical field
The present invention relates to Internet technical field more particularly to a kind of character string processing method and equipment.
Background technique
Terminal applies in terminal operating system in the process of running, due to the presence of system vulnerability, to some special Operation collapse, that is, the terminal being currently running can be generated when the displaying processing (such as: typesetting processing or drawing modification etc.) of character string The application interface of application can be changed into stopping responsive state.In the prior art, terminal operating system is by issuing relevant patch Software supplements the system vulnerability generated, to solve the problems, such as the operation collapse of the terminal applies due to caused by system vulnerability.However, Since the publication of the patch software of system vulnerability is limited with the regular hour, the crash issue in terminal applies operational process is not It can be solved in time, influence the normal operation of terminal applies.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of character string processing method and equipment, terminal can be solved in time and answered With the crash issue in operational process, terminal applies is enable to operate normally.
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of character string processing method, the method packets It includes:
Current target string to be presented is obtained in terminal applies interface;
The target string is recorded, and processing is shown to the target string;
Stop response when detecting that the terminal applies interface is in being shown processing to the target string When state, the target string is carried out to filter out processing.
Correspondingly, the embodiment of the invention also provides a kind of string processing equipment, the equipment includes:
Character string acquiring unit, for obtaining current target string to be presented in terminal applies interface;
Character string recording unit is shown processing for recording the target string, and to the target string;
Character string filters out unit, detects that the terminal is answered in being shown processing to the target string for working as When being in stopping responsive state with interface, the target string is carried out to filter out processing.
In embodiments of the present invention, by obtaining current target string to be presented in terminal applies interface;Record Target string, and processing is shown to target string;When target string is shown processing in detect end When application interface being held to be in stopping responsive state, target string is carried out to filter out processing.Due to being in terminal applies interface The target string for stopping responsive state having filtered out, will not be again to filtering out in the subsequent displaying processing to character string Target string is shown processing, and then will not stop response because the target string causes terminal applies interface to be in again State timely solves the crash issue in terminal applies operational process, terminal applies is enable to operate normally.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below Having needs attached drawing to be used to be briefly described in technical description, it should be apparent that, the accompanying drawings in the following description is only this hair Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of flow diagram of character string processing method provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another character string processing method provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of string processing equipment provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of another string processing equipment provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of character string acquiring unit provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another string processing equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this Embodiment in invention, those of ordinary skill in the art are obtained every other without making creative work Embodiment shall fall within the protection scope of the present invention.
Character string processing method provided in an embodiment of the present invention can apply the terminal applies in terminal operating system to transport In the scene of row collapse, such as: by obtaining current target string to be presented in terminal applies interface;Record target word Symbol string, and processing is shown to target string;When target string is shown processing in detect terminal applies When interface is in stopping responsive state, target string is carried out to filter out processing.Stop ringing due to being in terminal applies interface The target string of state is answered to filter out, target word that will not again to filtering out in the subsequent displaying processing to character string Symbol string is shown processing, and then will not stop responsive state because the target string causes terminal applies interface to be in again, It timely solves the crash issue in terminal applies operational process, terminal applies is enable to operate normally.
The equipment being related in the embodiment of the present invention may include tablet computer, smart phone, wearable device (such as intelligence Wrist-watch), palm PC and mobile internet device (MID) etc. have the equipment of terminal applies operation function;The application clothes Business device can be the background service equipment of response terminal applies;The terminal applies interface, which is in, stops the i.e. current fortune of responsive state Capable terminal applies are in the collapse conditions for being not responding to any operation.
Below in conjunction with attached drawing 1 and attached drawing 2, it is situated between in detail to character string processing method provided in an embodiment of the present invention It continues.
Fig. 1 is a kind of flow diagram of character string processing method provided in an embodiment of the present invention.As shown in Figure 1, this hair Bright method as described in the examples may comprise steps of S101- step S103.
S101 obtains current target string to be presented in terminal applies interface.
Specifically, the terminal applies interface is boundary shown by the terminal applies that run in the string processing equipment Face, the current target string to be presented are at least one words that the string processing equipment is obtained from application server Current character string to be presented in symbol string.
Preferably, the string processing equipment can be sent by the terminal applies interface to the application server For the content requests at the terminal applies interface, the application server can be by the corresponding interface content of the content requests It is back to the string processing equipment.It is understood that including at least one character string, the word in the interface content Symbol string processing equipment can determination be worked as at least one described character string according to displaying processing sequence preset in software program Preceding target string to be presented.
S102 records the target string, and is shown processing to the target string.
Specifically, after the string processing equipment gets current target string to be presented, it can be to the mesh Mark character string, which is recorded, is put into the target string in caching, while can be shown to the target string Processing.It is understood that when needing to be shown processing to the target string, the string processing equipment can be with The target string is obtained from caching and processing is shown to it.
It is understood that displaying processing be the typesetting processing that the target string is carried out, drawing modification or Any one in other processing modes.
S103 stops when detecting that the terminal applies interface is in being shown processing to the target string When responsive state, the target string is carried out to filter out processing.
It is run specifically, the terminal applies interface can be understood as the terminal applies in stopping responsive state The state of collapse, for example, the terminal applies occur in the process of running interface content do not show, interface content show it is imperfect Etc. the state of terminal applies operation collapse.It is understood that when the string processing equipment is to the target word Symbol string be shown processing in detect the terminal applies interface be in stop responsive state when, can be to the target character String carries out filtering out processing.
Preferably, the string processing equipment may is that the treatment process for filtering out processing of the target string The target string of the terminal applies operation collapse will be caused to report to the application server.Optionally, described to answer The target string received can be deleted from the data list of storage character string with server, it can also be to reception The target string arrived carries out special marking, and the special marking is mainly used for the target string and other characters String distinguishes;When receiving the content requests for the terminal applies interface again, the application server is to described The interface content character string that includes that string processing equipment returns does not include the target string, and then the terminal Using the state that will not be collapsed again because of target string appearance operation.
In embodiments of the present invention, by obtaining current target string to be presented in terminal applies interface;Record Target string, and processing is shown to target string;When target string is shown processing in detect end When application interface being held to be in stopping responsive state, target string is carried out to filter out processing.Due to being in terminal applies interface The target string for stopping responsive state having filtered out, will not be again to filtering out in the subsequent displaying processing to character string Target string is shown processing, and then will not stop response because the target string causes terminal applies interface to be in again State timely solves the crash issue in terminal applies operational process, terminal applies is enable to operate normally.
Fig. 2 is the flow diagram of another character string processing method provided in an embodiment of the present invention.As shown in Fig. 2, this Method described in inventive embodiments may comprise steps of S201- step S205.
S201 sends the content requests for being directed to the terminal applies interface to application server, obtains the application service The corresponding interface content of the content requests that device returns.
Specifically, the string processing equipment can be sent to the application server is directed to the terminal applies interface Content requests, described in the application server is received and can be returned to the string processing equipment after the content requests The corresponding interface content of content requests.
Further, the interface content includes at least one character string that the application server returns, it is possible to understand that , the interface content can be the result that the character string is shown processing in the terminal applies interface.
S202 obtains at least one character string in the interface content, and according to default displaying processing sequence described Current target string to be presented is determined at least one character string.
Specifically, after the string processing equipment receives the interface content that the application server returns, it can To obtain at least one character string for including in the interface content, and can according to default displaying processing sequence it is described at least Current target string to be presented is determined in one character string.It is understood that the default displaying processing sequence is institute State the preset displaying processing sequence to the character string of the character string routine stored in string processing equipment.
It is understood that the string processing equipment shows processing sequence at least one described character according to default Current target string to be presented is determined in string, can be accurately determined subsequent collapses the terminal applies operational process generation Routed target string occurs accidentally filtering out when avoiding filter out processing to the target string.
S203 records the target string, and is shown processing to the target string.
Specifically, after the string processing equipment determines currently pending target string, it can be to the mesh Mark character string, which is recorded, is put into the target string in caching, while can be shown to the target string Processing.It is understood that when needing to be shown processing to the target string, the string processing equipment can be with The target string is obtained from caching and processing is shown to it.
It is understood that displaying processing be the typesetting processing that the target string is carried out, drawing modification or Any one in other processing modes.
S204 stops when detecting that the terminal applies interface is in being shown processing to the target string When responsive state, the target string is sent to the application server.
It is run specifically, the terminal applies interface can be understood as the terminal applies in stopping responsive state The state of collapse, for example, the terminal applies occur in the process of running interface content do not show, interface content show it is imperfect Etc. the state of terminal applies operation collapse.It is understood that when the string processing equipment is to the target word Symbol string be shown processing in detect the terminal applies interface be in stop responsive state when, can be by the target character String is sent to the application server, so that the application server carries out the target string to filter out processing.
It is understood that the target string is sent to the application server by the string processing equipment, The application server can carry out the target string filtering out processing after receiving the target string.Optionally, The application server can delete the target string received from the data list of storage character string, can also be with Special marking is carried out to the target string received, the special marking is mainly used for the target string and its He distinguishes character string;When receiving the content requests for the terminal applies interface again, the application server The character string that the interface content returned to the string processing equipment includes does not include the target string, Jin Ersuo Stating terminal applies will not be again because there is the state of operation collapse in the target string.
S205 stops when the terminal applies interface is not detected in being shown processing to the target string and is in Only when responsive state, processing is purged to the target string of record.
Specifically, when institute is not detected in being shown processing to the target string in the string processing equipment Terminal applies interface is stated in when stopping responsive state, i.e., the described string processing equipment can be completed normally to the target When the displaying processing of character string, the string processing equipment, can be with after completing to the displaying of target string processing Processing is purged to the target string in caching.
It is understood that the string processing equipment can be the removing processing of the target string, will deposit The target string is deleted in the buffer for storage, can also carry out special marking to the target string.
It is understood that when the terminal applies because other are non-when target string causes operation to be collapsed, the word The target string for being purged processing will not be reported to the application server and filtered by symbol string processing equipment Except processing, to efficiently reduce accidentally filtering out to the target string.
In embodiments of the present invention, by obtaining current target string to be presented in terminal applies interface;Record Target string, and processing is shown to target string;When target string is shown processing in detect end When application interface being held to be in stopping responsive state, target string is carried out to filter out processing.Due to being in terminal applies interface The target string for stopping responsive state having filtered out, will not be again to filtering out in the subsequent displaying processing to character string Target string is shown processing, and then will not stop response because the target string causes terminal applies interface to be in again State timely solves the crash issue in terminal applies operational process, terminal applies is enable to operate normally;By default It shows that processing sequence determines target string, and place is purged to the target string for not causing terminal applies operation collapse Reason, can be effectively reduced accidentally filtering out to target string.
Below in conjunction with attached drawing 3- attached drawing 5, describe in detail to string processing equipment provided in an embodiment of the present invention. It should be noted that the attached string processing equipment shown in fig. 5 of attached drawing 3-, for executing Fig. 1 of the present invention and embodiment illustrated in fig. 2 Method, for ease of description, only parts related to embodiments of the present invention are shown, disclosed by specific technical details, asks Referring to Fig. 1 of the present invention and embodiment shown in Fig. 2.
Fig. 3 is referred to, for the embodiment of the invention provides a kind of structural schematic diagrams of string processing equipment.Such as Fig. 3 institute Show, the string processing equipment 1 of the embodiment of the present invention may include: character string acquiring unit 11, character string recording unit 12 and character string filter out unit 13.
Character string acquiring unit 11, for obtaining current target string to be presented in terminal applies interface.
In the specific implementation, the terminal applies interface is that the terminal applies run in the string processing equipment 1 are shown The interface shown, the current target string to be presented be the character string acquiring unit 11 obtained from application server to Current character string to be presented in a few character string.
Preferably, the character string acquiring unit 11 can be sent out by the terminal applies interface to the application server Send the content requests for the terminal applies interface, the application server can will be in the corresponding interface of the content requests Appearance is back to the character string acquiring unit 11.It is understood that including at least one character string, institute in the interface content Stating character string acquiring unit 11 can be according to displaying processing sequence preset in software program at least one described character string Determine current target string to be presented.
Character string recording unit 12 is shown place for recording the target string, and to the target string Reason.
In the specific implementation, after the character string acquiring unit 11 gets current target string to be presented, the word Symbol string recording unit 12, which can record the target string, is put into the target string in caching, while can To be shown processing to the target string.It is understood that when needing to be shown place to the target string When reason, the character string recording unit 12 can obtain the target string from caching and be shown processing to it.
It is understood that displaying processing be the typesetting processing that the target string is carried out, drawing modification or Any one in other processing modes.
Character string filters out unit 13, detects the terminal in being shown processing to the target string for working as When application interface is in stopping responsive state, the target string is carried out to filter out processing.
In the specific implementation, the terminal applies interface, which is in stopping responsive state, can be understood as the terminal applies appearance The state of collapse is run, interface content is not shown, interface content is shown not for example, the terminal applies occur in the process of running The state of the terminal applies operation collapse such as complete.It is understood that when the character string recording unit 12 is to described Target string, which is shown in processing, detects the terminal applies interface in when stopping responsive state, and the character string is filtered Except unit 13 can carry out the target string filtering out processing.
Preferably, the character string filter out unit 13 can be with to the treatment process for filtering out processing of the target string It is: the target string of the terminal applies operation collapse will be caused to report to the application server.Optionally, described Application server can delete the target string received from the data list of storage character string, can also dock The target string received carries out special marking, and the special marking is mainly used for the target string and other words Symbol string distinguishes;When receiving the content requests for the terminal applies interface again, the application server is to institute Stating the character string that the interface content that string processing equipment 1 returns includes does not include the target string, and then described Terminal applies will not be again because there is the state of operation collapse in the target string.
In embodiments of the present invention, by obtaining current target string to be presented in terminal applies interface;Record Target string, and processing is shown to target string;When target string is shown processing in detect end When application interface being held to be in stopping responsive state, target string is carried out to filter out processing.Due to being in terminal applies interface The target string for stopping responsive state having filtered out, will not be again to filtering out in the subsequent displaying processing to character string Target string is shown processing, and then will not stop response because the target string causes terminal applies interface to be in again State timely solves the crash issue in terminal applies operational process, terminal applies is enable to operate normally.
Fig. 4 is referred to, for the embodiment of the invention provides the structural schematic diagrams of another string processing equipment.Such as Fig. 4 Shown, the string processing equipment 1 of the embodiment of the present invention may include: character string acquiring unit 11, character string record Member 12, character string filter out unit 13 and character string clearing cell 14.
Character string acquiring unit 11, for obtaining current target string to be presented in terminal applies interface.
In the specific implementation, the terminal applies interface is that the terminal applies run in the string processing equipment 1 are shown The interface shown, the current target string to be presented be the character string acquiring unit 11 obtained from application server to Current character string to be presented in a few character string.
Please also refer to Fig. 5, for the embodiment of the invention provides the structural schematic diagrams of character string acquiring unit 11.Such as Fig. 5 Shown, the character string acquiring unit 11 may include:
Transmission sub-unit 111 is requested, for sending the content requests for being directed to the terminal applies interface to application server, Obtain the corresponding interface content of the content requests that the application server returns.
In the specific implementation, the request transmission sub-unit 111 can be sent to the application server is directed to the terminal The content requests of application interface, the application server can be to the string processing equipment after receiving the content requests 1 returns to the corresponding interface content of the content requests.
Further, the interface content includes at least one character string that the application server returns, it is possible to understand that , the interface content can be the result that the character string is shown processing in the terminal applies interface.
Character string obtains subelement 112, for obtaining at least one character string in the interface content, and according to default Show that processing sequence determines current target string to be presented at least one described character string.
In the specific implementation, the string processing equipment 1 receives the interface content that the application server returns Afterwards, the character string obtains at least one character string for including in the available interface content of subelement 112, and can root Current target string to be presented is determined at least one described character string according to default displaying processing sequence.It is understood that It is, it is described default to show that processing sequence is that the character string routine that stores in the string processing equipment 1 is preset to institute State the displaying processing sequence of character string.
It is understood that the character string obtains subelement 112 according to default displaying processing sequence described at least one Current target string to be presented is determined in a character string, can be accurately determined subsequent makes the terminal applies operational process The target string for generating collapse occurs accidentally filtering out when avoiding filter out processing to the target string.
Character string recording unit 12 is shown place for recording the target string, and to the target string Reason.
In the specific implementation, after determining currently pending target string in the character string acquiring unit 11, the word Symbol string recording unit 12, which can record the target string, is put into the target string in caching, while can To be shown processing to the target string.It is understood that when needing to be shown place to the target string When reason, the character string recording unit 12 can obtain the target string from caching and be shown processing to it.
It is understood that displaying processing be the typesetting processing that the target string is carried out, drawing modification or Any one in other processing modes.
Character string filters out unit 13, specifically for described when detecting in being shown processing to the target string When terminal applies interface is in stopping responsive state, the target string is sent to the application server.
In the specific implementation, the terminal applies interface, which is in stopping responsive state, can be understood as the terminal applies appearance The state of collapse is run, interface content is not shown, interface content is shown not for example, the terminal applies occur in the process of running The state of the terminal applies operation collapse such as complete.It is understood that when the character string recording unit 12 is to described Target string, which is shown in processing, detects the terminal applies interface in when stopping responsive state, and the character string is filtered Except the target string can be sent to the application server by unit 13, so that the application server is to the target Character string carries out filtering out processing.
It is understood that the character string, which filters out unit 13, is sent to the application service for the target string Device, the application server can carry out the target string filtering out processing after receiving the target string.It is optional , the application server can delete the target string received from the data list of storage character string, Special marking can be carried out to the target string received, the special marking is mainly used for the target string It is distinguished with other character strings;When receiving the content requests for the terminal applies interface again, the application clothes Be engaged in device to the character string that the interface content that the string processing equipment 1 returns includes do not include the target string, And then the terminal applies will not be again because there is the state of operation collapse in the target string.
The end is not detected in being shown processing to the target string for working as in character string clearing cell 14 When application interface being held to be in stopping responsive state, processing is purged to the target string of record.
In the specific implementation, when the character string recording unit 12 is not examined in being shown processing to the target string It measures the terminal applies interface to be in when stopping responsive state, i.e., the described character string recording unit 12 can be completed normally pair When the displaying processing of the target string, the character string recording unit 12 is completed at the displaying to the target string After reason, the character string clearing cell 14 can be purged processing to the target string in caching.
It is understood that the character string clearing cell 14 can be the removing processing of the target string, it will It is stored in target string described in caching to delete, special marking can also be carried out to the target string.
It is understood that when the terminal applies because other are non-when target string causes operation to be collapsed, the word Symbol string, which filters out unit 13, will not report to the target string for being purged processing the application server progress Processing is filtered out, to efficiently reduce accidentally filtering out to the target string.
In embodiments of the present invention, by obtaining current target string to be presented in terminal applies interface;Record Target string, and processing is shown to target string;When target string is shown processing in detect end When application interface being held to be in stopping responsive state, target string is carried out to filter out processing.Due to being in terminal applies interface The target string for stopping responsive state having filtered out, will not be again to filtering out in the subsequent displaying processing to character string Target string is shown processing, and then will not stop response because the target string causes terminal applies interface to be in again State timely solves the crash issue in terminal applies operational process, terminal applies is enable to operate normally;By default It shows that processing sequence determines target string, and place is purged to the target string for not causing terminal applies operation collapse Reason, can be effectively reduced accidentally filtering out to target string.
Fig. 6 is referred to, for the embodiment of the invention provides the structural schematic diagrams of another string processing equipment.Such as Fig. 6 Shown, the string processing equipment 1000 may include: at least one processor 1001, such as CPU, at least one network connects Mouth 1004, user interface 1003, memory 1005, at least one communication bus 1002.Wherein, communication bus 1002 for realizing Connection communication between these components.Wherein, user interface 1003 may include display screen (Display), keyboard (Keyboard), optional user interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 is optional May include standard wireline interface and wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, It is also possible to non-labile memory (non-volatile memory), for example, at least a magnetic disk storage.Memory 1005 optionally can also be that at least one is located remotely from the storage device of aforementioned processor 1001.As shown in fig. 6, as one kind It may include operating system, network communication module, Subscriber Interface Module SIM and word in the memory 1005 of computer storage medium Symbol string processing routine.
In string processing equipment 1000 shown in Fig. 6, user interface 1003 is mainly used for providing input for user Interface obtains the data of user's input;Network interface 1004 is mainly used for carrying out data transmission with application server;And processor 1001 can be used for calling the character string routine stored in memory 1005, and specifically execute following operation:
Current target string to be presented is obtained in terminal applies interface;
The target string is recorded, and processing is shown to the target string;
Stop response when detecting that the terminal applies interface is in being shown processing to the target string When state, the target string is carried out to filter out processing.
In one embodiment, the processor 1001 is executing the current mesh to be presented of the acquisition in terminal applies interface It is specific to execute following operation when marking character string:
The content requests for being directed to the terminal applies interface are sent to application server, are obtained the application server and are returned The corresponding interface content of the content requests;
At least one character string in the interface content is obtained, and according to default displaying processing sequence described at least one Current target string to be presented is determined in a character string.
In one embodiment, the processor 1001 also executes following operation:
Stop ringing when the terminal applies interface is not detected in being shown the target string processing and is in When answering state, processing is purged to the target string of record.
In one embodiment, the processor 1001 is worked as in execution and is shown in processing to the target string When detecting that the terminal applies interface is in stopping responsive state, when carrying out filtering out processing to the target string, specifically Execute following operation:
Stop response when detecting that the terminal applies interface is in being shown processing to the target string When state, the target string is sent to the application server, so that the application server is to the target character String carries out filtering out processing.
For the processor 1001 when executing the operation of above-described embodiment, the displaying processing includes that typesetting is handled and drawn Any one of processing.
In embodiments of the present invention, by obtaining current target string to be presented in terminal applies interface;Record Target string, and processing is shown to target string;When target string is shown processing in detect end When application interface being held to be in stopping responsive state, target string is carried out to filter out processing.Due to being in terminal applies interface The target string for stopping responsive state having filtered out, will not be again to filtering out in the subsequent displaying processing to character string Target string is shown processing, and then will not stop response because the target string causes terminal applies interface to be in again State timely solves the crash issue in terminal applies operational process, terminal applies is enable to operate normally;By default It shows that processing sequence determines target string, and place is purged to the target string for not causing terminal applies operation collapse Reason, can be effectively reduced accidentally filtering out to target string.
It should be noted that being stated that a series of actions for simple description for the above each method embodiment Combination, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described, and certain steps can be with It is serially or simultaneously carried out using other.Secondly, those skilled in the art should understand that, embodiment described in this description belongs to In preferred embodiment, related operation and unit are not necessarily essential to the invention.And in the above-described embodiments, to each The description of a embodiment all emphasizes particularly on different fields, and does not have the part being described in detail in some embodiment, may refer to the correlation of other embodiments Description.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in the unit handled at one It is that each unit physically exists alone, is also possible to two or more units and is integrated in one unit.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.The integrated unit is such as Fruit is realized in the form of SFU software functional unit and when sold or used as an independent product, and can store can in a computer It reads in storage medium.Based on this understanding, technical solution of the present invention substantially in other words contributes to the prior art Part or all or part of the technical solution can be embodied in the form of software products, the computer software product It is stored in a storage medium, including some instructions are used so that a computer equipment (can be personal computer, server Or network equipment etc.) perform all or part of the steps of the method described in the various embodiments of the present invention.Wherein the storage is situated between Matter includes: USB flash disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), mobile hard disk, the various media that can store program code such as magnetic or disk.
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (10)

1. a kind of character string processing method characterized by comprising
Current target string to be presented is obtained in terminal applies interface;
The target string is recorded, and processing is shown to the target string;
Stop responsive state when detecting that the terminal applies interface is in being shown processing to the target string When, the target string is carried out to filter out processing.
2. the method as described in claim 1, which is characterized in that described to obtain current mesh to be presented in terminal applies interface Mark character string, comprising:
The content requests for being directed to the terminal applies interface are sent to application server, obtain the institute that the application server returns State the corresponding interface content of content requests;
At least one character string in the interface content is obtained, and according to default displaying processing sequence at least one described word Current target string to be presented is determined in symbol string.
3. the method as described in claim 1, which is characterized in that further include:
Stop response shape when the terminal applies interface is not detected in being shown processing to the target string and is in When state, processing is purged to the target string of record.
4. the method as described in claim 1, which is characterized in that described to be shown in processing to the target string When detecting that the terminal applies interface is in stopping responsive state, the target string is carried out to filter out processing, comprising:
Stop responsive state when detecting that the terminal applies interface is in being shown processing to the target string When, the target string is sent to application server, so that the application server filters the target string Except processing.
5. method according to any of claims 1-4, which is characterized in that the displaying processing includes that typesetting is handled and drawn Any one of processing.
6. a kind of string processing equipment characterized by comprising
Character string acquiring unit, for obtaining current target string to be presented in terminal applies interface;
Character string recording unit is shown processing for recording the target string, and to the target string;
Character string filters out unit, detects terminal applies circle in being shown processing to the target string for working as When face is in stopping responsive state, the target string is carried out to filter out processing.
7. equipment as claimed in claim 6, which is characterized in that the character string acquiring unit includes:
Transmission sub-unit is requested, for sending the content requests for being directed to terminal applies interface to application server, is answered described in acquisition The corresponding interface content of the content requests returned with server;
Character string obtain subelement, for obtaining at least one character string in the interface content, and according to default displaying at It makes sequence in order and determines current target string to be presented at least one described character string.
8. equipment as claimed in claim 6, which is characterized in that further include:
The terminal applies are not detected in being shown processing to the target string for working as in character string clearing cell When interface is in stopping responsive state, processing is purged to the target string of record.
9. equipment as claimed in claim 6, which is characterized in that the character string filters out unit and is specifically used for:
Stop responsive state when detecting that the terminal applies interface is in being shown processing to the target string When, the target string is sent to application server, so that the application server filters the target string Except processing.
10. equipment as claim in any one of claims 6-9, which is characterized in that the displaying processing includes that typesetting is handled and drawn Any one of system processing.
CN201611042231.4A 2016-11-11 2016-11-11 A kind of character string processing method and equipment Active CN106547639B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611042231.4A CN106547639B (en) 2016-11-11 2016-11-11 A kind of character string processing method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611042231.4A CN106547639B (en) 2016-11-11 2016-11-11 A kind of character string processing method and equipment

Publications (2)

Publication Number Publication Date
CN106547639A CN106547639A (en) 2017-03-29
CN106547639B true CN106547639B (en) 2019-11-22

Family

ID=58394913

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611042231.4A Active CN106547639B (en) 2016-11-11 2016-11-11 A kind of character string processing method and equipment

Country Status (1)

Country Link
CN (1) CN106547639B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109413504B (en) * 2018-09-30 2021-04-09 武汉斗鱼网络科技有限公司 Bullet screen checking method, device, terminal and storage medium based on character string replacement

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6665824B1 (en) * 2000-05-15 2003-12-16 Microsoft Corporation System and method for handling a failure reporting conversation
CN103678019A (en) * 2012-09-17 2014-03-26 腾讯科技(深圳)有限公司 Method and device for automatically restoring browser
CN105320572A (en) * 2014-06-27 2016-02-10 腾讯科技(深圳)有限公司 Browser abnormity processing method, device and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6665824B1 (en) * 2000-05-15 2003-12-16 Microsoft Corporation System and method for handling a failure reporting conversation
CN103678019A (en) * 2012-09-17 2014-03-26 腾讯科技(深圳)有限公司 Method and device for automatically restoring browser
CN105320572A (en) * 2014-06-27 2016-02-10 腾讯科技(深圳)有限公司 Browser abnormity processing method, device and system

Also Published As

Publication number Publication date
CN106547639A (en) 2017-03-29

Similar Documents

Publication Publication Date Title
EP3531290B1 (en) Data backup method, apparatus, electronic device, storage medium, and system
CN105573733B (en) Method, web front-end and the system that browser is communicated with web front-end
CN108063818B (en) Data downloading method, device, terminal and computer readable storage medium
CN105871587A (en) Log uploading method and device
CN109359091B (en) File management method, device, terminal and computer readable storage medium
JP2017515186A (en) Metadata and photo and / or video animation
US10193989B2 (en) Visualization of user behavior
CN103853326A (en) Dynamic augmented reality media creation
CN106453402A (en) Data processing method and device
CN108366098A (en) A kind of data interactive method and device of network node
CN109246467A (en) Label is to the method, apparatus of sharing video frequency, video camera and smart phone
CN106547639B (en) A kind of character string processing method and equipment
CN104346460B (en) Carry out the method, apparatus and browser client of file download
CN106875162B (en) Data capture method, data capture device, soft cash register docking interface and terminal
CN110633443B (en) Method, device, equipment and medium for intra-page data communication
CN105094810B (en) Data processing method and device based on CGI(Common gateway interface) plug-in unit
WO2017133229A1 (en) Mobile terminal image display method and device
CN110070389B (en) Service promotion statistical method, device and computer readable storage medium
CN104158696A (en) Determination method and device for measuring delayed operation time and terminal
CN106657544A (en) Incoming call recording method and terminal equipment
CN112306592A (en) Message processing method and device, storage medium and electronic device
CN115757639A (en) Data source synchronization method and device, electronic equipment and storage medium
CN104767880A (en) Communication number management method
CN104811529A (en) Mobile terminal or intelligent handling method based on movement mode
CN112449057B (en) Message prompting method and device, storage medium and electronic device

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