CN110460636A - Data response method, device, computer equipment and storage medium - Google Patents

Data response method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN110460636A
CN110460636A CN201910602390.2A CN201910602390A CN110460636A CN 110460636 A CN110460636 A CN 110460636A CN 201910602390 A CN201910602390 A CN 201910602390A CN 110460636 A CN110460636 A CN 110460636A
Authority
CN
China
Prior art keywords
information
push
data
audit
msu message
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
CN201910602390.2A
Other languages
Chinese (zh)
Other versions
CN110460636B (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.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China 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 Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN201910602390.2A priority Critical patent/CN110460636B/en
Publication of CN110460636A publication Critical patent/CN110460636A/en
Application granted granted Critical
Publication of CN110460636B publication Critical patent/CN110460636B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • G06F21/46Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of data response method, device, computer equipment and storage mediums to be sent to corresponding audit end for the information to be pushed according to the push type information after obtaining data-pushing request;And the msu message that the audit end returns is obtained, the msu message is verified, information is verified;If the verification information is to be verified, the msu message is added in the information to be pushed;The msu message is parsed, data-pushing request is responded according to parsing result.It ensure that the flexibility of push chain by push type information, and the response data push request after parsing to msu message, also ensure the efficiency of stream compression.

Description

Data response method, device, computer equipment and storage medium
Technical field
The present invention relates to intelligent decision field more particularly to a kind of data response method, device, computer equipment and storages Medium.
Background technique
With the continuous development of computer technology, the application in daily life or work is all increasingly toward more intelligentized Direction is developed.In many stream compression links, it is often directed to the process of data-pushing.Data-pushing is generally by data A specified terminal is sent to according to scheduled push link.
However, very multidata push link can only mechanization according to set push chain (illustratively, A → B → C) The delivery or circulation of data are carried out, and in many practical application scenes, it often has partial data and needs by special Push link, and system or terminal now be when encountering this kind of data, it is often inflexible during data-pushing and Affect the circulation efficiency of data.
Summary of the invention
The embodiment of the present invention provides a kind of data response method, device, computer equipment and storage medium, to solve data The problem of flexibility of push is not high, influences stream compression efficiency.
A kind of data response method, comprising:
Data-pushing request is obtained, the data-pushing request includes information to be pushed and push type information;
The information to be pushed is sent to corresponding audit end according to the push type information;
The msu message that the audit end returns is obtained, the msu message is verified, information is verified;
If the verification information is to be verified, the msu message is added in the information to be pushed;
The msu message is parsed, data-pushing request is responded according to parsing result.
A kind of data responding device, comprising:
Data-pushing request module, for obtaining data-pushing request, the data-pushing request includes wait push Information and push type information;
Information to be pushed sending module, for the information to be pushed to be sent to correspondence according to the push type information Audit end;
Msu message authentication module, the msu message returned for obtaining the audit end, carries out the msu message Verifying, is verified information;
Msu message adding module, for when the verification information is to be verified, the msu message to be added to In the information to be pushed;
Data-pushing ask respond module, for being parsed to the msu message, according to parsing result to the number It is responded according to push request.
A kind of computer equipment, including memory, processor and storage are in the memory and can be in the processing The computer program run on device, the processor realize above-mentioned data response method when executing the computer program.
A kind of computer readable storage medium, the computer-readable recording medium storage have computer program, the meter Calculation machine program realizes above-mentioned data response method when being executed by processor.
In above-mentioned data response method, device, computer equipment and storage medium, after obtaining data-pushing request, The information to be pushed is sent to corresponding audit end according to the push type information;And it obtains the audit end to return Msu message, the msu message is verified, information is verified;It, will if the verification information is to be verified The msu message is added in the information to be pushed;The msu message is parsed, according to parsing result to described Data-pushing request is responded.It ensure that the flexibility of push chain by push type information, and to msu message solution Response data push request, also ensures the efficiency of stream compression after analysis.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is an application environment schematic diagram of data response method in one embodiment of the invention;
Fig. 2 is an exemplary diagram of data response method in one embodiment of the invention;
Fig. 3 is another exemplary diagram of data response method in one embodiment of the invention;
Fig. 4 is another exemplary diagram of data response method in one embodiment of the invention;
Fig. 5 is another exemplary diagram of data response method in one embodiment of the invention;
Fig. 6 is another exemplary diagram of data response method in one embodiment of the invention;
Fig. 7 is another exemplary diagram of data response method in one embodiment of the invention;
Fig. 8 is a functional block diagram of data responding device in one embodiment of the invention;
Fig. 9 is another functional block diagram of data responding device in one embodiment of the invention;
Figure 10 is a schematic diagram of computer equipment in one embodiment of the 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 described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Data response method provided in an embodiment of the present invention, can be applicable in the application environment such as Fig. 1, wherein client It is communicated by network with server-side with audit end.Server-side obtains the data-pushing request that client is sent;Further according to institute It states push type information and the information to be pushed is sent to corresponding audit end;Obtain the audit letter that the audit end returns Breath, verifies the msu message, is verified information;If the verification information is to be verified, by the audit Information is added in the information to be pushed;The msu message is parsed, according to parsing result to the data-pushing Request is responded.Wherein, client and audit end can be, but not limited to various personal computers, laptop, intelligent hand Machine, tablet computer and portable wearable device.Server-side can use the either multiple server compositions of independent server Server cluster is realized.
In one embodiment, as shown in Fig. 2, providing a kind of data response method, the service in Fig. 1 is applied in this way It is illustrated, includes the following steps: for end
S10: obtaining data-pushing request, and data-pushing request includes information to be pushed and push type information.
Wherein, data-pushing request is the trigger request pushed to data initiated by client.It is counted Data-pushing request is initiated by client according to the user of push.Specifically, user can client Webpage or Data-pushing request is triggered in the page in person's application program by scheduled operation.
Data-pushing request includes information to be pushed and push type information.Information to be pushed pushes interior for specific needs Hold, such as: prompt information, warning information or other contents for needing to push are not particularly limited herein.The information to be pushed It can be electronic document, i.e., be completed by online editing, alternatively, can scan or upload the information to be pushed by local. Push type information is the type information for indicating the push chain of the information to be pushed, and push chain is to indicate that corresponding data needs push away The link or process sent.Optionally, which includes without push chain type, customization type and default template class Type.Wherein, default template type refers to that the information to be pushed is pushed by conventional push link, the push ring of the routine Section saves in the database as template, it is possible to understand that ground, the template can be a plurality of.Customization type is should letter be pushed The audit link of breath is different from conventional push link, therefore can be realized by custom-configuring a push chain.And nothing Push chain type is that the audit link of the information to be pushed is unfixed push link, and the audit end of the information to be pushed can be with It is specified by each level depending on actual needs.
S20: information to be pushed is sent to by corresponding audit end according to push type information.
In this step, different audit end methods of determination is selected by the difference of push type information.Specifically, if Push type information is without push chain type, then user can directly transmit the information at audit end to server-side by client. It is alternatively possible to just comprising the audit client information in data-pushing request, alternatively, determining that push type information is in server-side After push chain type, server-side issues an audit client information acquisition request to client, then receives client return Audit client information.After server-side gets audit client information, i.e., information to be pushed is sent to audit client information pair The audit end answered.It is to be appreciated that audit end can be, but not limited to be various personal computers, laptop, smart phone, Tablet computer and portable wearable device.
If push type information is customization type, illustrate the corresponding push chain of data-pushing request for user voluntarily Definition.Optionally, the customized push chain information that user can be defined oneself by client is sent to server-side.It should be certainly Definition push chain information may be embodied in data-pushing request, can also individually be sent to server-side.Server-side is pushed away in determination After sending type information to be customization type, i.e., obtain corresponding audit client information from the customized push chain information, then Information to be pushed is sent to the corresponding audit end of audit client information.It is to be appreciated that the customized push chain information includes the number According to the corresponding audit client information of each link of push request, this can be determined according to the customized push chain information as a result, Data-pushing requests each corresponding audit end of audit link.
If push type information is default template type, it is conventional for illustrating that the data-pushing requests corresponding push chain Push chain.Therefore, a corresponding push chain can be selected as the data-pushing from the push chain template prestored in server-side The default of request pushes chain.Specifically, user can be sent the template identification of corresponding push chain template to by client Server-side.The template identification may be embodied in data-pushing request, can also individually be sent to server-side.Server-side is in determination Push type information is after presetting template type, i.e., corresponding push chain mould to be obtained from database according to the template identification Plate determines audit client information further according to push chain template, and information to be pushed is finally sent to the corresponding audit of audit client information End.Preferably, default push chain can also be preset, i.e., for each user, a default push can be preset Chain carries out the confirmation of audit client information when server-side does not receive template identification according to the preset default push chain.
S30: the msu message that audit end returns is obtained, msu message is verified, information is verified.
Wherein, msu message is to audit audit opinion made after end is reviewed information to be pushed.Optionally, The msu message can be directly inputted by auditing end, can also upload to audit end by local scanning later by hand-written, Or it is inputted to obtain by the hand-written ancillary equipment such as handwriting pad.
After obtaining msu message, server-side verifies msu message, is verified information.Verification information can be with Do not pass through including being verified and verifying.It is to be appreciated that the corresponding verification mode of different input modes is also different.Specifically Ground, if msu message is the content directly inputted by auditing end, it can be careful to this is inputted for verifying to msu message The legitimacy of the personnel of nuclear information is verified, and specifically, can be verified by specific account number cipher, or pass through people The modes such as face identification are verified, and information is verified.If msu message is by handwriting pad or hand-written scanning local later Audit end is uploaded to, then may include the handwritten signature of auditor in msu message, then to the true and false of the handwritten signature It is verified, is verified information.
S40: if verification information is to be verified, msu message is added in the information to be pushed.
If verification information is to be verified, msu message is added in the information to be pushed.Audit can be believed Breath is added in the corresponding position in information to be pushed, such as: in corresponding push opinion column.Specifically, if msu message is Msu message, then can directly be added in the corresponding position in information to be pushed by the content directly inputted by auditing end. For example, being added to the text information that end directly inputs is audited in the push opinion column in information to be pushed.
Further, if msu message be handwriting pad or it is hand-written after it is careful by uploading to by way of locally scanning Msu message then can be zoomed in and out processing by image format, the msu message of image format is zoomed to one by core end Preset size is then added in the corresponding position in information to be pushed, which can be according to information to be pushed The area size of middle corresponding position is arranged.It is alternatively possible to first detect information to be pushed in corresponding position (such as: push meaning See column) size, pre-set dimension is then obtained according to the size, then the msu message of image format is contracted Processing is put, obtains the msu message of pre-set dimension size, then the msu message after the scaling is added in push opinion column.It is excellent Selection of land can also carry out Text region to the msu message of the image format, obtain text information, then the text information is added Into information to be pushed.
In a specific embodiment, the msu message of image format and text information can be all added to wait push In information.Specifically, msu message and text information can be shown side by side, or alternatively is subjected to prominent show Show, another carries out after diminution processing addition in a predeterminated position, whenever necessary again by this information of the predeterminated position into Row display.
S50: parsing msu message, is responded according to parsing result to data-pushing request.
In this step, msu message is parsed, it specifically, can be by way of Keywords matching come to audit Information is parsed.Word segmentation processing first is carried out to msu message, then again by the keyword obtained after each participle and preset Dictionary is matched, and obtains parsing result according to matching result.For example, if msu message exactly " agrees to " two words, it is corresponding Parsing result is to be pushed through, then can be directly entered next link.If msu message is " disagreeing ", corresponding parsing As a result do not pass through for push, by parsing result feedback to client.
In the present embodiment, after obtaining data-pushing request, according to the push type information by described wait push Information is sent to corresponding audit end;And the msu message that the audit end returns is obtained, the msu message is tested Card, is verified information;If the verification information is to be verified, the msu message is added to the information to be pushed In;The msu message is parsed, data-pushing request is responded according to parsing result.Pass through push-type The flexibility of information assurance push chain, and the response data push request after parsing to msu message, also ensure number According to the efficiency of circulation.
In one embodiment, as shown in figure 3, described send the information to be pushed according to the push type information To corresponding audit end, comprising:
S21: identifying push type information, obtain push chain type, push chain type include without push chain type, Customization type and default template type.
In this step, push chain type is obtained by being identified to push type information.Specifically, the push class Type information can be embodied by way of labeling.For example, by different numbers, letter, symbol or text etc. come generation The different push chain type of table.User by input or selects label corresponding with push chain type in client, can shape At push type information, server-side again identifies the push type information, and corresponding push chain type can be obtained.It is optional Ground, if the negligible amounts of default template type, different template types can be realized also by the mode of labeling, such as This, server-side directly can obtain the template type of client choosing by push type information Direct Recognition, improve the data The efficiency of circulation.Push chain type includes without push chain type, customization type and default template type.Illustratively, if in advance If template type includes A and B.Then push chain type can be subjected to label and turn to 001,002,003,004 to respectively represent without pushing away Send chain type, customization type, default template type A and default template type B.
S22: audit client information is obtained according to push chain type.
After obtaining push chain type, audit client information is obtained by the push chain type.If push type information For customization type, then illustrating that the data-pushing requests corresponding push chain is user's self-defining.Optionally, user can be with The customized push chain information for being defined oneself by client is sent to server-side.The customized push chain information may include In data-pushing request, it can also individually be sent to server-side.Server-side is determining that push type information is customization type Later, i.e., corresponding audit client information is obtained from the customized push chain information.If push type information is default template class Type, then illustrating that the data-pushing requests corresponding push chain is conventional push chain.Therefore, what can be prestored from server-side pushes away The default for selecting a corresponding push chain to request in chain template as the data-pushing is sent to push chain.Specifically, user can lead to It crosses client and sends server-side for the template identification of corresponding push chain template.The template identification may be embodied in data-pushing In request, it can also individually be sent to server-side.Server-side is after determining that push type information is default template type, i.e. root Corresponding push chain template is obtained from database according to the template identification, determines audit client information further according to push chain template.It is excellent Selection of land can also preset default push chain, i.e., for each user, can preset a default push chain, when When server-side does not receive template identification, i.e., the confirmation of audit client information is carried out according to the preset default push chain.
S23: information to be pushed is sent to by corresponding audit end according to audit client information.
After obtaining audit client information, server-side by pending nuclear information be sent to the corresponding audit end of audit client information into Row audit.
In the present embodiment, first the push type information is identified, obtains push chain type;It is pushed away further according to described Chain type is sent to obtain audit client information;The information to be pushed is finally sent to by corresponding audit according to the audit client information End.It ensure that the accuracy that information to be pushed is sent.
In one embodiment, as shown in figure 4, described obtain audit client information according to the push chain type, comprising:
S221: if push chain type is customization type, the customized push chain information of client transmission is obtained.
Wherein, customized push chain information refers to the audit link or auditing flow of self-setting or formulation.It should be certainly Definition push chain information may include audit role and auditing flow information.The people that the audit each link of character representation is audited The role of member, audit role can be the internal rate of enterprise, be also possible to permission etc., can specifically set according to actual needs It sets.Auditing flow information represents the trend of audit link, for example, from group leader-minister-manager auditing flow information.At one In specific embodiment, which further includes that push chain formulates information, i.e., formulates information by the push chain To verify the legitimacy of the customized push chain information.Information can be formulated by the push chain to verify the customized push chain Whether information is effective.Optionally, push chain, which formulates information, to be the Role Information or identity information of formulation people, for example, through Reason.Whether can be had permission by verifying the Role Information of formulation people to formulate the customized push chain information to verify and make by oneself Whether justice push chain information is effective.For example, can specify that the Role Information for formulating people or identity information are necessarily equal to or high Highest role in customized push chain information.
S222: parsing the customized push chain information by preset benchmark chain information, obtains push link layer Grade information.
Wherein, benchmark chain information is the relevant letter of benchmark push chain formed according to the level of different role or terminal Breath.The benchmark chain information may include hierarchical identification, i.e. level locating for role different in benchmark chain information or terminal Information, hierarchical identification can be indicated by least one in number, symbol or text.In this step, by preset Benchmark chain information parses the customized push chain information, from being obtained in customized push chain information in benchmark chain information Hierarchical information corresponding to each role or terminal, to obtain push chain hierarchical information.Illustratively, it is indicated with number Hierarchical information (number bigger, for level is higher), by preset benchmark chain information to customized push chain information (A → B → C it) is parsed, obtains push chain hierarchical information (1 → 2 → 4).
S223: carrying out the push chain hierarchical information to close rule verification, obtains closing rule check results.
Rule are closed to be verified as to the customized qualified or not checking procedure for pushing chain.It specifically, can be according to specific requirements Formulate verification standard.It is alternatively possible to it is customized push chain in hierarchical information verify, such as: hierarchic sequence or Level span etc..Hierarchic sequence is according to hierarchic sequence from top to bottom or from top to bottom, and level span is setting push chain In span level (such as no more than 1 grade or 2 grades) between each adjacent level.Rule verification mark is closed by pre-setting After standard, the push chain hierarchical information is carried out to close rule verification, obtains closing rule check results.If closing rule verification to pass through, close Rule check results are that verification passes through, and otherwise, closing rule check results is that verification does not pass through.
S224: it if conjunction rule check results are that verification passes through, treat msu message and is parsed, obtain current character Information.
If conjunction rule check results are that verification passes through, treat msu message and parsed, in the step, from pending Information is parsed, and current character information is obtained.Current character information refers to the Role Information being currently reviewed.Such as: group leader. It specifically, can be by getting the current character information in the default column in pending nuclear information.Specifically, by pending Data applicant in information identifies, then the msu message column treated in msu message is identified, obtains applicant's letter Breath and current review information.Further according to applicant's information and current review information, anterior angle is worked as in determination from customized push chain information Color information.If current review information is sky, directly according to applicant's information, anterior angle is worked as in determination from customized push chain information Color information.Otherwise current character information is determined from customized push chain information according to current review information.
S225: audit client information is obtained from customized push chain information according to current character information.
Audit client information is obtained from customized push chain information by current character information.Such as: if current character is believed Breath is minister, then corresponding next audit link is manager in customized push chain information, then corresponding audit client information To handle corresponding audit end.
In the present embodiment, if the push chain type is customization type, customized the pushing away of client transmission is obtained Send chain information;The pending nuclear information is parsed, current character information is obtained;Finally according to the current character information from Audit client information is obtained in the customized push chain information.Ensure the accuracy that audit client information obtains.
In one embodiment, as shown in figure 5, described obtain audit client information according to the push chain type, comprising:
S221 ': if push chain type is default template type, the default template identification of client transmission is obtained.
If push type information is default template type, it is conventional for illustrating that the data-pushing requests corresponding push chain Push chain.Therefore, a corresponding push chain can be selected as the data-pushing from the push chain template prestored in server-side The default of request pushes chain.Specifically, user can be sent the template identification of corresponding push chain template to by client Server-side.The template identification may be embodied in data-pushing request, can also individually be sent to server-side.
S222 ': corresponding default push chain information is obtained according to default template identification.
Specifically, corresponding default push chain information can be got from database by default template identification.
S223 ': treating msu message and parsed, and obtains current character information.
S224 ': audit client information is obtained from default push chain information according to current character information.
Above-mentioned steps S223 ' is similar with the step S222 and S223 in above-described embodiment with step S224 ', herein no longer It repeats.
In the present embodiment, it if push chain type is default template type, is obtained according to corresponding default template identification Default push chain information is taken, and carries out corresponding parsing and acquisition link, audit client information is obtained, also ensures audit client information The accuracy of acquisition.
It is in a specific embodiment, described that audit client information is obtained according to the push chain type, comprising:
If the push chain type is to parse to the pending nuclear information without push chain type, obtain working as anterior angle Color information.It is positioned in preset benchmark chain information according to the current character information, obtains the current character information Hierarchical information.The corresponding upper level letter of hierarchical information of the current character information is obtained from preset benchmark chain information Breath, as audit client information.
In this embodiment, if push chain type is without push chain type, according to current character information preset It is positioned in benchmark chain information, the hierarchical information that the current character information is obtained from preset benchmark chain information is corresponding A upper hierarchical information, as audit client information.It ensure that intelligently to formulate the data-pushing request without push chain type and examine Core end better assures that the efficiency of stream compression.
In one embodiment, the msu message is handwritten information image.
Wherein, handwritten information image can be directly defeated in the display end for auditing end by stylus for the user at audit end Enter, or carries out handwriting input by auxiliary tools such as writing pencils, and the content of input is saved in the form of images.
In the present embodiment, as shown in fig. 6, described be added to the msu message in the information to be pushed, comprising:
S41: carrying out image scaling processing according to presetted pixel value for msu message, obtains standard audit image.
Wherein, presetted pixel value is the numerical value got in advance, and specifically, which can be to set in advance The fixed value set, can also be by converting after being identified to the size for pushing opinion column in information to be pushed It arrives.For example, the presetted pixel value can be equal with the push size on opinion column, or to push the size on opinion column A preset ratio value, such as: 80%, 70% or 60% etc..After obtaining presetted pixel value, by msu message according to Presetted pixel value zooms in and out processing and audits image to get to standard.
S42: carrying out Text region to msu message, obtains audit text information.
Specifically, Text region can be carried out to msu message by optical character identification.Optical character identification (Optical Character Recognition, OCR) technology refers to that electronic equipment (such as scanner or digital camera) checks The character printed on paper determines its shape by the mode for detecting dark, bright, shape is then translated into meter with character identifying method The process of calculation machine text.Server-side uses optical character after getting the msu message of image format, to the msu message Identification technology carries out Text region, obtains audit text information.Audit text information refers to that from msu message, conversion obtains Required text information.
S43: standard audit image and audit text information are added separately in the predetermined position in information to be pushed.
Standard is audited into image and text information is all added to the predetermined position in information to be pushed.Specifically, it can incite somebody to action Standard audit image and text information are shown side by side, or alternatively is highlighted, another is reduced Addition is whenever necessary again showing this information of the predeterminated position in a predeterminated position after processing.
In the present embodiment, the msu message is subjected to image scaling processing according to presetted pixel value, obtains standard and examines Core image;Text region is carried out to the msu message again, obtains audit text information;Finally by the standard audit image and The audit text information is added separately in the predetermined position in information to be pushed.By the way that msu message is added with different information It adds in information to be pushed, ensure that the diversity that information is shown, better assure that the smooth of data-pushing.
In one embodiment, as shown in fig. 7, described parse the msu message, according to parsing result to institute Data-pushing request is stated to be responded, comprising:
S51: Text region is carried out to msu message according to preset location information, obtains text message.
Msu message includes body part and signature section, in this step, by the body part in msu message It is identified, obtains text message.Preset location information is preset position, which can pass through coordinate Mode indicates.After obtaining location information, Text region is carried out to the corresponding part of the location information in msu message, i.e., Obtain text message.Optionally, which can be the upper left corner area or upper in msu message in msu message Square region.
S52: word segmentation processing is carried out to text message, obtains text keyword.
Word segmentation processing is carried out to text message using segmentation methods, obtains text keyword.Optionally, which can Using the segmentation methods based on string matching, the segmentation methods based on statistics and machine learning or based on hidden Ma Erke Segmentation methods of husband's model etc. are realized.
S53: each text keyword and preset standard dictionary are matched, and obtain the label of each text keyword Information.
Standard dictionary is the dictionary with a large amount of keywords pre-established, which may include different labels Information.For example, as the keywords such as " agreement ", " passing through ", " disagreeing ", " not passing through " can be unified for push opinion label, or Person, which is divided into being pushed through label and pushing, does not pass through label.The name of enterprises can also be imported into the standard dictionary in advance In, it is unified for auditor's label.
In this step, each text keyword and preset standard dictionary are matched, it is crucial obtains each text The label of word.It is to be appreciated that if one can be distributed for the keyword not with the non-successful match of the keyword in standard dictionary The label of successful match.
S54: corresponding sending end pending is obtained according to the label information of each text keyword.
Corresponding sending end pending is obtained by the label information of each text keyword, specifically, if text keyword Comprising being pushed through label in middle label information, then sending end pending is the next push end pushed in chain.If text keyword Comprising push not by label in middle label information, then sending end pending is the upper push end pushed in chain.Further, if mark Signing in information also includes auditor's label, then the corresponding auditor of auditor's label is added in sending end pending.
S55: information to be pushed is sent to sending end pending.
After obtaining sending end pending, the information to be pushed is sent to sending end pending.
In the present embodiment, Text region is carried out to the msu message according to preset location information, obtains text letter Breath;Word segmentation processing is carried out to the text message again, obtains text keyword;By each text keyword and preset mark Quasi- dictionary is matched, and the label information of each text keyword is obtained;According to the label of each text keyword The corresponding sending end pending of acquisition of information;The information to be pushed is finally sent to sending end pending.Pass through the intelligence to msu message It can identify and match, determine sending end pending, ensure that the accuracy of data audit.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
In one embodiment, a kind of data responding device is provided, data are rung in the data responding device and above-described embodiment Induction method corresponds.As shown in figure 8, the data responding device includes data-pushing request module 10, information to be pushed Sending module 20, msu message authentication module 30, msu message adding module 40 and data-pushing ask respond module 50.Each function Detailed description are as follows for energy module:
Data-pushing request module 10, for obtaining data-pushing request, the data-pushing request includes wait push away It delivers letters breath and push type information.
Information to be pushed sending module 20, for being sent to the information to be pushed pair according to the push type information The audit end answered.
Msu message authentication module 30, for obtain it is described audit end return msu message, to the msu message into Row verifying, is verified information.
Msu message adding module 40, for when the verification information is to be verified, the msu message to be added To in the information to be pushed.
Data-pushing ask respond module 50, for being parsed to the msu message, according to parsing result to described Data-pushing request is responded.
Preferably, as shown in figure 9, information to be pushed sending module 20 includes push type information recognition unit 21, audit Client information acquiring unit 22 and information to be pushed transmission unit 23.
Push type information recognition unit 21 obtains push chain type for identifying to the push type information, The push chain type includes without push chain type, customization type and default template type.
Client information acquiring unit 22 is audited, for obtaining audit client information according to the push chain type.
Information to be pushed transmission unit 23, for the information to be pushed to be sent to correspondence according to the audit client information Audit end.
Preferably, audit client information acquiring unit 22 includes that customized push chain information obtains subelement, the first audit letter It ceases parsing subunit and the first audit client information obtains subelement.
Customized push chain information obtains subelement, for obtaining client when pushing chain type is customization type The customized push chain information sent.
Chain level acquisition of information subelement is pushed, for believing by preset benchmark chain information the customized push chain Breath is parsed, and push chain hierarchical information is obtained.
Rule verification subelement is closed, rule verification is closed for carrying out to the push chain hierarchical information, obtains closing rule check results.
First msu message parsing subunit, for the conjunction rule check results be verification pass through when, then to pending Information is parsed, and current character information is obtained.
First audit client information obtains subelement, for being obtained from customized push chain information according to current character information Audit client information.
Preferably, audit client information acquiring unit 22 includes that default template identification obtains subelement, default push chain information It obtains subelement, the second msu message parsing subunit and the second audit client information and obtains subelement.
Default template identification obtains subelement, for when pushing chain type is default template type, obtaining client hair The default template identification sent.
Default push chain information obtains subelement, presets template identification for basis and obtains corresponding default push chain letter Breath.
Second msu message parsing subunit, is parsed for treating msu message, obtains current character information.
Second audit client information obtains subelement, examines for being obtained from default push chain information according to current character information Core client information.
Preferably, audit client information acquiring unit 22 is also used to when the push chain type is without push chain type, then The pending nuclear information is parsed, current character information is obtained;According to the current character information in preset benchmark chain It is positioned in information, obtains the hierarchical information of the current character information;Work as described in being obtained from preset benchmark chain information The corresponding upper hierarchical information of the hierarchical information of preceding Role Information, as audit client information.
Preferably, msu message is handwritten information image.Msu message adding module 40 includes image scaling unit, text Recognition unit and information adding unit.
Image scaling unit obtains standard and examines for msu message to be carried out image scaling processing according to presetted pixel value Core image.
Word recognition unit obtains audit text information for carrying out Text region to msu message.
Information adding unit, for standard audit image and audit text information to be added separately in information to be pushed In predetermined position.
Preferably, data-pushing ask respond module 50 includes text message acquiring unit, word segmentation processing unit, keyword Matching unit, sending end acquiring unit pending and information to be pushed transmission unit.
Text message acquiring unit obtains just for carrying out Text region to msu message according to preset location information Literary information.
Word segmentation processing unit obtains text keyword for carrying out word segmentation processing to text message.
Keywords matching unit obtains each for matching each text keyword and preset standard dictionary The label information of text keyword.
Sending end acquiring unit pending, it is corresponding to be sent for being obtained according to the label information of each text keyword End.
Information to be pushed transmission unit, for information to be pushed to be sent to sending end pending.
Specific about data responding device limits the restriction that may refer to above for data response method, herein not It repeats again.Modules in above-mentioned data responding device can be realized fully or partially through software, hardware and combinations thereof.On Stating each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also store in a software form In memory in computer equipment, the corresponding operation of the above modules is executed in order to which processor calls.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction Composition can be as shown in Figure 10.The computer equipment include by system bus connect processor, memory, network interface and Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating Data of the database of machine equipment for being used in data response method in above-described embodiment.The network of the computer equipment connects Mouth with external terminal by network connection for being communicated.To realize that a kind of data are rung when the computer program is executed by processor Induction method.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory And the computer program that can be run on a processor, processor realize that the data in above-described embodiment are rung when executing computer program Induction method.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program realizes the data response method in above-described embodiment when being executed by processor.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing The all or part of function of description.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of data response method characterized by comprising
Data-pushing request is obtained, the data-pushing request includes information to be pushed and push type information;
The information to be pushed is sent to corresponding audit end according to the push type information;
The msu message that the audit end returns is obtained, the msu message is verified, information is verified;
If the verification information is to be verified, the msu message is added in the information to be pushed;
The msu message is parsed, data-pushing request is responded according to parsing result.
2. data response method as described in claim 1, which is characterized in that it is described will be described according to the push type information Information to be pushed is sent to corresponding audit end, comprising:
The push type information is identified, obtain push chain type, the push chain type include without push chain type, Customization type and default template type;
Audit client information is obtained according to the push chain type;
The information to be pushed is sent to corresponding audit end according to the audit client information.
3. data response method as claimed in claim 2, which is characterized in that described obtained according to the push chain type is audited Client information, comprising:
If the push chain type is customization type, the customized push chain information of client transmission is obtained;
The customized push chain information is parsed by preset benchmark chain information, obtains push chain hierarchical information;
The push chain hierarchical information is carried out to close rule verification, obtains closing rule check results;
If the conjunction rule check results are that verification passes through, the pending nuclear information is parsed, current character information is obtained;
Audit client information is obtained from the customized push chain information according to the current character information.
4. data response method as claimed in claim 2, which is characterized in that described obtained according to the push chain type is audited Client information, comprising:
If the push chain type is default template type, the default template identification of client transmission is obtained;
Corresponding default push chain information is obtained according to the default template identification;
The pending nuclear information is parsed, current character information is obtained;
Audit client information is obtained from the default push chain information according to the current character information.
5. data response method as claimed in claim 2, which is characterized in that described obtained according to the push chain type is audited Client information, comprising:
If the push chain type is to parse without push chain type to the pending nuclear information, current character letter is obtained Breath;
It is positioned in preset benchmark chain information according to the current character information, obtains the layer of the current character information Grade information;
The corresponding upper hierarchical information of hierarchical information that the current character information is obtained from preset benchmark chain information, as Audit client information.
6. data response method as described in claim 1, which is characterized in that the msu message is handwritten information image;
It is described that the msu message is added in the information to be pushed, comprising:
The msu message is subjected to image scaling processing according to presetted pixel value, obtains standard audit image;
Text region is carried out to the msu message, obtains audit text information;
The standard is audited into image and the audit text information is added separately to the predetermined position in the information to be pushed In.
7. data response method as described in claim 1, which is characterized in that described to be parsed to the msu message, root Data-pushing request is responded according to parsing result, comprising:
Text region is carried out to the msu message according to preset location information, obtains text message;
Word segmentation processing is carried out to the text message, obtains text keyword;
Each text keyword and preset standard dictionary are matched, the label letter of each text keyword is obtained Breath;
Corresponding sending end pending is obtained according to the label information of each text keyword;
The information to be pushed is sent to the sending end pending.
8. a kind of data responding device characterized by comprising
Data-pushing request module, for obtaining data-pushing request, the data-pushing request includes information to be pushed And push type information;
Information to be pushed sending module, for the information to be pushed to be sent to corresponding examine according to the push type information Core end;
Msu message authentication module, the msu message returned for obtaining the audit end, verifies the msu message, It is verified information;
Msu message adding module, for the msu message being added to described when the verification information is to be verified In information to be pushed;
Data-pushing ask respond module pushes away the data according to parsing result for parsing to the msu message Request is sent to be responded.
9. a kind of computer equipment, including memory, processor and storage are in the memory and can be in the processor The computer program of upper operation, which is characterized in that the processor realized when executing the computer program as claim 1 to Any one of 7 data response methods.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In realization data response method as described in any one of claim 1 to 7 when the computer program is executed by processor.
CN201910602390.2A 2019-07-05 2019-07-05 Data response method and device, computer equipment and storage medium Active CN110460636B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910602390.2A CN110460636B (en) 2019-07-05 2019-07-05 Data response method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910602390.2A CN110460636B (en) 2019-07-05 2019-07-05 Data response method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110460636A true CN110460636A (en) 2019-11-15
CN110460636B CN110460636B (en) 2022-11-15

Family

ID=68482128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910602390.2A Active CN110460636B (en) 2019-07-05 2019-07-05 Data response method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110460636B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113688630A (en) * 2021-08-31 2021-11-23 中国平安人寿保险股份有限公司 Text content auditing method and device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108337296A (en) * 2018-01-12 2018-07-27 深圳壹账通智能科技有限公司 Message push processing method, device, computer equipment and storage medium
WO2019085579A1 (en) * 2017-10-30 2019-05-09 阿里巴巴集团控股有限公司 Information pushing method and apparatus
CN109767072A (en) * 2018-12-14 2019-05-17 深圳壹账通智能科技有限公司 Accreditation data creation method, device, computer equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019085579A1 (en) * 2017-10-30 2019-05-09 阿里巴巴集团控股有限公司 Information pushing method and apparatus
CN108337296A (en) * 2018-01-12 2018-07-27 深圳壹账通智能科技有限公司 Message push processing method, device, computer equipment and storage medium
CN109767072A (en) * 2018-12-14 2019-05-17 深圳壹账通智能科技有限公司 Accreditation data creation method, device, computer equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113688630A (en) * 2021-08-31 2021-11-23 中国平安人寿保险股份有限公司 Text content auditing method and device, computer equipment and storage medium
CN113688630B (en) * 2021-08-31 2023-09-12 中国平安人寿保险股份有限公司 Text content auditing method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN110460636B (en) 2022-11-15

Similar Documents

Publication Publication Date Title
US8233751B2 (en) Method and system for simplified recordkeeping including transcription and voting based verification
CN108256591B (en) Method and apparatus for outputting information
CN110689459B (en) Contract processing method, contract processing device, contract processing equipment and storage medium
CN110264288A (en) Data processing method and relevant apparatus based on information discriminating technology
WO2021042747A1 (en) Invoice picture recognition and verification method and system, device, and readable storage medium
CN115203505A (en) Collaborative document creation by multiple different teams
CN110362799B (en) On-line arbitration-based method and device for generating and processing resolution book and computer equipment
CN112836484B (en) Text alignment method and device, electronic equipment and computer readable storage medium
JP2009506393A (en) Image collation method and system in mixed media environment
CN110046806B (en) Method and device for customer service order and computing equipment
JP4897795B2 (en) Processing apparatus, index table creation method, and computer program
CN110858353B (en) Method and system for obtaining case judge result
CN110162722A (en) Products Show method, server and storage medium based on two dimensional code
JP5659505B2 (en) Authentication apparatus and authentication method
CN110460636A (en) Data response method, device, computer equipment and storage medium
JP2009506392A (en) Method, computer program and system for embedding hotspots in electronic documents
CN113837113A (en) Document verification method, device, equipment and medium based on artificial intelligence
CN114185935A (en) Social security data processing method and device combining RPA and AI and storage medium
CN102637256A (en) Shape clustering in post optical character recognition processing
US20120317639A1 (en) Biometric data system
CN115482075A (en) Financial data anomaly analysis method and device, electronic equipment and storage medium
US20200226162A1 (en) Automated Reporting System
CN116384344A (en) Document conversion method, device and storage medium
CN114626341A (en) Document conversion method, device and storage medium
US8380690B2 (en) Automating form transcription

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