CN107066411A - Data transmission method, device and computer-readable recording medium - Google Patents

Data transmission method, device and computer-readable recording medium Download PDF

Info

Publication number
CN107066411A
CN107066411A CN201710242478.9A CN201710242478A CN107066411A CN 107066411 A CN107066411 A CN 107066411A CN 201710242478 A CN201710242478 A CN 201710242478A CN 107066411 A CN107066411 A CN 107066411A
Authority
CN
China
Prior art keywords
data
abnormal
equations
abnormal data
type
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.)
Pending
Application number
CN201710242478.9A
Other languages
Chinese (zh)
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.)
Shenzhen Coocaa Network Technology Co Ltd
Original Assignee
Shenzhen Coocaa Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Coocaa Network Technology Co Ltd filed Critical Shenzhen Coocaa Network Technology Co Ltd
Priority to CN201710242478.9A priority Critical patent/CN107066411A/en
Publication of CN107066411A publication Critical patent/CN107066411A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • 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)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of data transmission method, for the data transfer between front-end and back-end, the data transmission method comprises the following steps:Data structure template is generated according to the data transmission standard of front-end and back-end;Front end obtains the data of rear end transmission, and is judged according to the data structure template in the data obtained with the presence or absence of abnormal data;When there is abnormal data, abnormal data is repaired according to the data structure template;Normal data is called by front end and the abnormal data completed is repaired.The present invention also provides a kind of data transmission device and computer-readable recording medium.Data structure template of the invention by setting data, the data that front end is obtained are contrasted with data structure template, and when there is abnormal data, abnormal data is repaired, avoid front end and directly invoke abnormal data, also reduce the maintenance cost and difficulty in later stage.

Description

Data transmission method, device and computer-readable recording medium
Technical field
The present invention relates to field of computer technology, more particularly to a kind of data transmission method, device and computer-readable deposit Storage media.
Background technology
With the development of Internet technology, a large amount of companies carry out system administration, resource fortune using Web applications (web application) The work such as battalion, in general, back-end server sends data to front end, is further called by front end and performs display or export Deng operation.However, due to growing demand data amount, all platforms can all face data transfer error, artificial maloperation Situations such as, so that the problem of causing loss of data or produce abnormal.The loss of data for front end is mainly led in the prior art The mode artificially judged is crossed, i.e., when using specific data, first determines whether that the data of the part whether there is.And due to data There is contingency in loss, so after there is mistake, it is necessary to targetedly system is carried out by modes such as newly-increased codes Updating maintenance increases artificial judgment process for the part gone wrong.This mode undoubtedly add later maintenance into This, and greatly reduce the terseness of code.In addition, this mode is typically limited to the solution to losing data, but can not Ensure not lose for those but can be also effectively treated in the presence of abnormal data, with significant limitation.
The content of the invention
It is a primary object of the present invention to provide a kind of data transmission method, device and computer-readable recording medium, purport The problem of data transfer of front end is in the presence of exception is transferred to solving existing rear end.
To achieve the above object, the present invention provides a kind of data transmission method, is passed for the data between front-end and back-end Defeated, the data transmission method method comprises the following steps:
Data structure template is generated according to the data transmission standard of front-end and back-end;
Front end is obtained whether there is in the data of rear end transmission, and the data obtained according to data structure template judgement Abnormal data;
When there is abnormal data, abnormal data is repaired according to the data structure template;
Normal data is called by front end and the abnormal data completed is repaired.
It is preferred that, the field that the data structure template includes the data whether there is, whether the type of data meets rule Whether fixed sum data meets self-defined requirement, and the step front end obtains the data of rear end transmission, and according to the data structure Template judges with the presence or absence of abnormal data to include in the data obtained:
Front end obtains the data of rear end transmission, and judges that the field of the data whether there is;
In the presence of the field of the data, judge whether the type of the data meets stated type;
When the style complies with set type of the data, judge whether the data meet the self-defined requirement of data;
When the data, which meet data self-defined, to be required, then it is normal data to confirm the data.
It is preferred that, the abnormal data includes first kind abnormal data and Equations of The Second Kind abnormal data, and the step works as the number According to field in the presence of, judge the type of the data also includes after whether meeting stated type:
It is first kind abnormal data by the data validation when the type mismatch of the data closes stated type;
Whether when the data validation is first kind abnormal data, stated type can be converted into by judging the type of the data;
Then it is Equations of The Second Kind abnormal data by the data validation when the type of the data can not be converted into stated type;
The step is repaiied when there is abnormal data according to the standard form data structure template to abnormal data Include again:
When the type of the data can be converted into stated type, the type of the data is converted into stated type, and judge For the data fit stated type.
It is preferred that, the abnormal data includes Equations of The Second Kind abnormal data, and the step front end obtains data, and judges the number According to field with the presence or absence of after also include:
Then it is Equations of The Second Kind abnormal data by the data validation when the field of the data is not present.
It is preferred that, the abnormal data includes Equations of The Second Kind abnormal data, and the step works as the style complies with set of the data During type, judge the data also include after whether meeting the self-defined requirement of data:
Then it is Equations of The Second Kind abnormal data by the data validation when the data, which are unsatisfactory for data self-defined, to be required.
It is preferred that, in addition to:
Confirming whether when there is Equations of The Second Kind abnormal data it is entry required to judge the Equations of The Second Kind abnormal data;
The step is repaiied when there is abnormal data according to the standard form data structure template to abnormal data Recover including:
When the Equations of The Second Kind abnormal data is not required, the corresponding data field of Equations of The Second Kind abnormal data is empty.
It is preferred that, whether the step judges the Equations of The Second Kind abnormal data when confirming to have Equations of The Second Kind abnormal data Also to include after entry required:
When the Equations of The Second Kind abnormal data is entry required, making by oneself for the Equations of The Second Kind abnormal data is judged whether Adopted processing scheme;
The step is repaiied when there is abnormal data according to the standard form data structure template to abnormal data Recover including:
When there is the self-defined processing scheme for the Equations of The Second Kind abnormal data, according to default self-defined processing scheme The Equations of The Second Kind abnormal data is repaired, and confirms as repairing completion.
It is preferred that, when there is abnormal data in the step, according to the standard form data structure template to abnormal number Also include according to being repaired:
When in the absence of self-defined processing scheme for the Equations of The Second Kind abnormal data, the Equations of The Second Kind abnormal data is changed For default value, and confirm as repairing and complete.
In addition, the present invention also provides a kind of data transmission device, the data transmission device includes:Memory, processor And the data distributing program that can be run on the memory and on the processor is stored in, the data distributing program is by institute State processor enter it is fashionable realize described in any of the above method the step of.
The present invention also provides the data that are stored with a kind of computer-readable recording medium, the computer-readable recording medium Transmission procedure, the data distributing program enters the fashionable step for realizing the data transmission method described in any one as described above by processor Suddenly.
The embodiments of the invention provide a kind of data transmission method, by setting the data structure template of data, by front end The data of acquisition are contrasted with data structure template, and when there is abnormal data, abnormal data is repaired, it is to avoid Front end directly invokes abnormal data, also reduces the maintenance cost and difficulty in later stage.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of data transmission method first embodiment of the present invention;
Fig. 2 is the schematic flow sheet of data transmission method second embodiment of the present invention;
Fig. 3 is the schematic flow sheet of data transmission method 3rd embodiment of the present invention;
Fig. 4 is the modular structure schematic diagram of data transmission device of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Web applications are a kind of can be applied to the area of existing conventional application software by the application program of web page access, Web Not being that Web is applied can just be accessed by browser, and without installing corresponding application software again, user is by browsing Device accesses the webpage of front end and operated accordingly, and front end obtains the number that rear end is transferred to front end by corresponding data-interface According to rear, these data are further called, the operation such as display, export are performed, rear end here is usually server or cloud service Device.
Because the operation that Web is applied is simpler, it is not necessary to install software, can be used at any time by browser access, It is applied to by increasing company in office, but there are front-end and back-end in use in existing Web applications Between data transfer the problem of.Back end data is directly transferred to front end by existing transmission means by various interfaces, and front end The not necessarily correct data of the data of acquisition, therefore correctly can not be recognized and be applied by front end, the system failure can be caused.It is existing It is to have found that it is likely that after the data for error of transmission occur to have the processing mode in technology for the problem, and targetedly application is entered Row updates, and occurs again the problem of to avoid similar, and this mode relies on artificial judgement and identification to wrong data, while after Phase needs to constantly update code to realize the solution to wrong data.
The present invention provides a kind of data transmission method, is mainly used in the data between the front-end and back-end in Web applications Transmission.
Refer to shown in Fig. 1, in the first embodiment of data transmission method of the present invention, the data transmission method method Comprise the following steps:
S10, according to the data transmission standard of front-end and back-end generate data structure template.
In the technical scheme of the present embodiment, data structure template is first generated according to the data transmission standard of front-end and back-end. It should be appreciated that data structure template here should include the total data that front-end and back-end can recognize and use, and It has recorded form corresponding to each data and require etc..
In some embodiments, the data type of the data template including data, the data whether be entry required, One in the default value of the data, the self-defined requirement of the numeral and self-defined processing scheme when occurring abnormal for the data Item is multinomial.
S20, front end obtain rear end transmission data, and according to the data structure template judge acquisition data in whether There is abnormal data.
During use, in front end receiver to after the data of transmission, according to data structure template to receiving Data are verified, because front end is None- identified to data against regulation and utilized, therefore only guaranteed rear end is passed The data for being handed to front end are to meet defined, are just avoided that system errors.In the present embodiment, receive after data, by number Contrasted according to data structure template, because the data that front end can be recognized all are recorded in data structure template, therefore, Only data fit data structure template, the data by front end recognition and could be used, so will meet data in the present embodiment The data validation of stay in place form is can be by front end is used and is recognized normal data.If data do not meet data structure mould Plate, then normally can not be recognized and be used by front end, so being by the data validation for not meeting data structure template in the present embodiment Abnormal data.
S30, when there is abnormal data, abnormal data is repaired according to the data structure template.
If have identified abnormal data, it is clear that the abnormal data can not recognize and be used by front end, thus it is different Regular data can not be sent directly to front end.
In the present embodiment, when noting abnormalities data, abnormal data is repaired according to the form of data structure template, Data structure template is complied with by front end recognition and to use.
S40, call by front end normal data and repair the abnormal data completed.
Finally, the abnormal data that normal data and reparation are completed is sent to front end, because abnormal data is according to data What stay in place form was repaired, so normal data and abnormal data meet data structure template, being can be by front end recognition With use, so by normal data and repair the abnormal data completed in the present embodiment and be transferred to front end, what front end receiver was arrived Total data is identification and the use requirement for meeting front end.
The technical scheme of the present embodiment is by setting data structure template, the data that front end is obtained and data structure template Contrasted, and when there is abnormal data, abnormal data is repaired, so being transferred in the technical scheme of the present embodiment The data of front end are the abnormal data after normal data and reparation.Therefore during use, all data for being transferred to front end are complete Portion normally can be recognized and be used, and do not resulted in abnormal data and be transferred directly to front end, reduce the possibility of system errors Property.Simultaneously as being transferred to the data of front end all normally can be recognized and used, therefore it also avoid because of front end None- identified Data or error in data and need follow-up is constantly provided for front end to update and maintenance.
As shown in Fig. 2 in the second embodiment of data transmission method of the present invention, the data structure template includes the number According to field whether there is, whether the types of data meets whether rule fixed sum data meets self-defined requirement, the step S20 bags Include:
S21, front end obtain data, and judge that the field of the data whether there is.
It should be understood that, the problem of individual fields are lost, this implementation occurs in reception and transmitting procedure in some data In example, after certain data is received, directly by judging whether the data that front end is obtained contain the complete of the data of this in template Portion's field judges that field whether there is, when whole fields of the only data are not all lost, is just judged as that the field of the data is deposited If individual fields are lost, it is being judged as that the field of the data is not present.
Explained in the present embodiment by taking the Web applications of a concrete condition for counting certain work group as an example, the Web Apply and title, number and the job number of group member per a small group are obtained in rear end, and arrangement is stored in front end.The then embodiment In, in the data structure template of production, contained in the field of data group name, number and the job number of group member this three , if unidentified in the data collected arrive these three fields, it is judged as that field is not present.
S22, in the presence of the field of the data, judge whether the type of the data meets stated type;
In some embodiments, the data of front end are transferred to due to being directed to rear end in Web applications, so number According to type use JavaScript data types, specifically include character string (string), digital (number), boolean (boolean), array (array) and object (object) etc., because each data certainly exist corresponding data type, Therefore data type is the judgement option that there must be.
In the present embodiment, the data type of group name is character string, and the data type of number is numeral, and group member Job number data type be array, if the data type of each field is identical with data structure template in data, sentence Break to meet stated type.
S231, when the style complies with set type of the data, judge whether the data meet the self-defined requirement of data.
The self-defined limitation for requiring targetedly to make each data, can set as the case may be, for example, In the present embodiment, group name is had no and specially required, thus no matter group name why, can pass through verification.And for For panel size, it is necessarily integer, and can not be less than 0, so the self-defined requirement for the field is integer, and can not Less than 0, if the panel size of identification is 10 people, if the panel size of identification is 0.3 people, it can be shown by verification So occur in that mistake, it is impossible to pass through verification.During specifically used, the self-defined requirement can be according to the specific requirement of data Setting.
S24, when the data meet data self-defined and required, then it is normal data to confirm the data.
If data have passed through every verification above, it is a normal number for meeting data structure template to prove the data According to directly by front end recognition and can using.
As shown in figure 3, in the another embodiment of data transmission method of the present invention, it is different that the abnormal data includes the first kind Also include after regular data and Equations of The Second Kind abnormal data, the step S22:
S232, when the data type mismatch close stated type when, by the data validation be first kind abnormal data;
Whether when S25, the data validation are first kind abnormal data, regulation class can be converted into by judging the type of the data Type.
When the type of the data can not be converted into stated type, then S26 steps are performed:
S26, by the data validation be Equations of The Second Kind abnormal data.
Above-described embodiment is the no abnormal situation of data, and in some embodiments, data there may be different In reason condition, the present embodiment, abnormal data is divided into two kinds, one kind mistake occurs for only data type and the mistake can be by turning The first kind abnormal data of data type amendment is changed, other abnormal datas are classified as Equations of The Second Kind abnormal data.
For example, the title of some group is named as " 1234 ", its data type should be defined as character string, and In input process, due to itself being a numeral, so the type of its data is numeral by the definition of mistake, data mould is not met Character string in plate, can be identified as the type error of data, but this mistake can be by redefining the class of data Type amendment, as long as being character string by the dtd--data type definition of " 1234 ", the mistake will be overcome, and exist this wrong different Regular data is defined as first kind abnormal data.
When certain data type mismatch close and can not be by the way that the type of the data be converted into stated type when, then this is counted According to being defined as Equations of The Second Kind abnormal data.
The S30 steps include S31:
S31, when the type of the data can be converted into stated type, the type of the data is converted into stated type, and Into S231 steps.
When there are Error type I data, directly by changing the type of its data for stated type simultaneously in the present embodiment Verified into S231 steps with carrying out other.
Further, in one embodiment, as shown in figure 3, the abnormal data includes Equations of The Second Kind abnormal data, the step It can also include after rapid S21:
When the field of the data is not present, S26 steps are performed
S26, by the data validation be Equations of The Second Kind abnormal data.
It is preferred that, the abnormal data includes also including after Equations of The Second Kind abnormal data, the step S231:
When the data are unsatisfactory for performing S26 steps when data self-defined requires:
S26, by the data validation be Equations of The Second Kind abnormal data.
In the present embodiment, the data for being further not present and being unsatisfactory for self-defined requirement by field also confirm as Equations of The Second Kind Abnormal data.
Further referring to Fig. 3, in one embodiment, it can also include:
S27, confirm there is Equations of The Second Kind abnormal data when, whether judge the Equations of The Second Kind abnormal data is entry required.
The step S30 also includes:
S32, when the Equations of The Second Kind abnormal data is not required, be empty the corresponding data word of Equations of The Second Kind abnormal data Section.
It should be appreciated that in some embodiments, the data of not each acquisition there must be, for example, In the present embodiment, the job number of group member finds not being inconsistent with data structure template in checking procedure, and the job number of group member For an entry required, true is marked as in the present embodiment, is selected if also there are a remarks in the information of writing task group , the option may have, can also be not present, and it is a nonessential item, be labeled as nonessential item in the present embodiment false。
Data if there is mistake are nonessential item, are directly empty the Equations of The Second Kind abnormal data in the present embodiment, with Avoid the interference being generated by it.
It is preferred that, in one embodiment, it can also include after the step S27:
S28, when the Equations of The Second Kind abnormal data is entry required, judge whether for the Equations of The Second Kind abnormal data Self-defined processing scheme;
The step S30 also includes:
S33, when exist for the Equations of The Second Kind abnormal data self-defined processing scheme when, according to default self-defined processing Scheme is repaired to the Equations of The Second Kind abnormal data, and confirms as repairing completion.
For the Equations of The Second Kind abnormal data for entry required, check in template and whether there is for the item data in the present embodiment Self-defined processing mode, if it is present it is handled according to default processing mode.Due to the processing procedure be by Carried out according to data structure template, thus it is treated after Equations of The Second Kind abnormal data meet data structure template demanding terminal, institute By front end recognition and can use, therefore it is marked as repairing completion.
Self-defined processing mode in the present embodiment is according to circumstances specifically set by user, such as certain grouping process In, every five people is a work group, and in some group job number 8147 labor turnover, existing only four people can in the present embodiment With first by it is self-defined require define job number can not be equal to 8147, then detect job number for 8147 when, can be judged as that the data are Equations of The Second Kind abnormal data.Self-defined processing scheme is set for it because job number is an entry required, therefore in the present embodiment, will be new The job number of registration and the group that not yet shares out the work is incorporated into the work group for 9327 employee, therefore, in the present embodiment, will make by oneself Adopted processing scheme positioning is replaced with 9327, then after the Equations of The Second Kind abnormal data is detected, according to default self-defined place Reason scheme is replaced with 9327, i.e., new employee is incorporated into the work group.
It is preferred that, in one embodiment, the step S30 also includes:
S34, when in the absence of self-defined processing scheme for the Equations of The Second Kind abnormal data, by the Equations of The Second Kind abnormal data Default value is revised as, and confirms as repairing completion.
Further, for example, for the situation in the absence of New Hire Onboarding, the self-defined processing without response in the present embodiment Scheme, so being directly revised as default value in the present embodiment, in some embodiments, is directly revised as Unrecorded, represents to be not present.
In addition, to achieve the above object, the present invention also provides a kind of data transmission device, and data transmission device includes:Deposit Reservoir 10, processor 20 and the data distributing program that can be run on the memory 10 and on the processor 20 is stored in, The data distributing program by the processor enter fashionable realization as described above method described in any one the step of.
As shown in figure 4, in some embodiments, the data transmission device can include:Processor 1001, for example CPU, network interface 1004, user interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is used for real Connection communication between these existing components.User interface 1003 can include display screen (Display), input block such as keyboard (Keyboard), optional user interface 1003 can also include wireline interface, the wave point of standard, when specifically used, front end Data are obtained by above-mentioned user interface 1003.Network interface 1004 can optionally include the wireline interface of standard, wirelessly connect Mouth (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory or stable memory (non- Volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 Storage device.
It will be understood by those skilled in the art that the restriction of the terminal structure shown in Fig. 4 not structure paired terminal, can be wrapped Include than illustrating more or less parts, either combine some parts or different parts arrangement.
The present invention also provides the data that are stored with a kind of computer-readable recording medium, the computer-readable recording medium Transmitting device, the data transmission device enters the fashionable step for realizing the data transmission method described in any one as described above by processor Suddenly.
Because the technical scheme of the present embodiment data transmission device and computer-readable recording medium at least includes above-mentioned number According to whole technical schemes of transmission method embodiment, therefore at least there are whole technique effects of above example, herein no longer Repeat one by one.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property is included, so that process, method, article or system including a series of key elements not only include those key elements, and And also including other key elements being not expressly set out, or also include for this process, method, article or system institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there is other identical element in process, method, article or the system of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in one as described above In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, Computer, server, air conditioner, or network equipment etc.) enter method described in each of the invention embodiment.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of data transmission method, it is characterised in that for the data transfer between front-end and back-end, the transmission side data Method method comprises the following steps:
Data structure template is generated according to the data transmission standard of front-end and back-end;
Front end obtains the data of rear end transmission, and is judged according to the data structure template in the data obtained with the presence or absence of abnormal Data;
When there is abnormal data, abnormal data is repaired according to the data structure template;
Normal data is called by front end and the abnormal data completed is repaired.
2. data transmission method as claimed in claim 1, it is characterised in that the data structure template includes the word of the data Section whether there is, whether the type of data meets whether rule fixed sum data meets self-defined requirement, after the step front end is obtained Hold in the data of transmission, and the data obtained according to data structure template judgement includes with the presence or absence of abnormal data:
Front end obtains the data of rear end transmission, and judges that the field of the data whether there is;
In the presence of the field of the data, judge whether the type of the data meets stated type;
When the style complies with set type of the data, judge whether the data meet the self-defined requirement of data;
When the data, which meet data self-defined, to be required, then it is normal data to confirm the data.
3. data transmission method as claimed in claim 2, it is characterised in that the abnormal data includes first kind abnormal data With Equations of The Second Kind abnormal data, the step judges whether the type of the data meets regulation class in the presence of the field of the data Also include after type:
It is first kind abnormal data by the data validation when the type mismatch of the data closes stated type;
Whether when the data validation is first kind abnormal data, stated type can be converted into by judging the type of the data;
Then it is Equations of The Second Kind abnormal data by the data validation when the type of the data can not be converted into stated type;
The step carries out reparation bag according to the standard form data structure template when there is abnormal data to abnormal data Include:
When the type of the data can be converted into stated type, the type of the data is converted into stated type, and be judged as this Data fit stated type.
4. data transmission method as claimed in claim 2, it is characterised in that the abnormal data includes the abnormal number of Equations of The Second Kind According to the step front end obtains data, and judges that the field of the data also includes with the presence or absence of after:
Then it is Equations of The Second Kind abnormal data by the data validation when the field of the data is not present.
5. data transmission method as claimed in claim 2, it is characterised in that the abnormal data includes the abnormal number of Equations of The Second Kind According to the step judges whether the data meet the self-defined of data and require it when the style complies with set type of the data Also include afterwards:
Then it is Equations of The Second Kind abnormal data by the data validation when the data, which are unsatisfactory for data self-defined, to be required.
6. the data transmission method as described in claim any one of 3-5, it is characterised in that also include:
Confirming whether when there is Equations of The Second Kind abnormal data it is entry required to judge the Equations of The Second Kind abnormal data;
The step carries out repairing also according to the standard form data structure template when there is abnormal data to abnormal data Including:
When the Equations of The Second Kind abnormal data is not required, the corresponding data field of Equations of The Second Kind abnormal data is empty.
7. data transmission method as claimed in claim 6, it is characterised in that the step is confirming there is the abnormal number of Equations of The Second Kind According to when, whether judge the Equations of The Second Kind abnormal data is also to include after entry required:
When the Equations of The Second Kind abnormal data is entry required, the self-defined place for the Equations of The Second Kind abnormal data is judged whether Reason scheme;
The step carries out repairing also according to the standard form data structure template when there is abnormal data to abnormal data Including:
When there is the self-defined processing scheme for the Equations of The Second Kind abnormal data, according to default self-defined processing scheme to this Equations of The Second Kind abnormal data is repaired, and confirms as repairing completion.
8. data transmission method as claimed in claim 7, it is characterised in that the step is when having abnormal data, foundation The standard form data structure template is repaired to abnormal data also to be included:
When in the absence of self-defined processing scheme for the Equations of The Second Kind abnormal data, the Equations of The Second Kind abnormal data is revised as writing from memory Recognize value, and confirm as repairing completion.
9. a kind of data transmission device, it is characterised in that the data transmission device includes:Memory, processor and it is stored in On the memory and the data distributing program that can run on the processor, the data distributing program is by the processor The step of entering method of the fashionable realization as any one of claim 1 to 8.
10. a kind of computer-readable recording medium, it is characterised in that the data that are stored with the computer-readable recording medium are passed Defeated program, the data distributing program enters data transfer of the fashionable realization as any one of claim 1 to 8 by processor The step of method.
CN201710242478.9A 2017-04-13 2017-04-13 Data transmission method, device and computer-readable recording medium Pending CN107066411A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710242478.9A CN107066411A (en) 2017-04-13 2017-04-13 Data transmission method, device and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710242478.9A CN107066411A (en) 2017-04-13 2017-04-13 Data transmission method, device and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107066411A true CN107066411A (en) 2017-08-18

Family

ID=59599448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710242478.9A Pending CN107066411A (en) 2017-04-13 2017-04-13 Data transmission method, device and computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN107066411A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108197222A (en) * 2017-12-28 2018-06-22 北京中关村科金技术有限公司 A kind of restorative procedure, system and the relevant apparatus of exception flow data
CN111241082A (en) * 2020-01-13 2020-06-05 贝壳技术有限公司 Data correction method and device
CN112783581A (en) * 2021-01-21 2021-05-11 上海哔哩哔哩科技有限公司 Data processing method and device
CN113986907A (en) * 2021-12-24 2022-01-28 深圳市明源云科技有限公司 Graphic maintenance method, device and equipment for abnormal data and storage medium
CN115205952A (en) * 2022-09-16 2022-10-18 深圳市企鹅网络科技有限公司 Online learning image acquisition method and system based on deep learning

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064988A (en) * 2013-02-01 2013-04-24 北京华环电子股份有限公司 Abnormal data detection method and device
CN103246735A (en) * 2013-05-13 2013-08-14 中国工商银行股份有限公司 Abnormal data processing method and abnormal data processing system
CN103309907A (en) * 2012-03-16 2013-09-18 上海安捷力信息系统有限公司 Method and system for standardized processing of service data from different sources
CN104090951A (en) * 2014-07-04 2014-10-08 李阳 Abnormal data processing method
CN104092557A (en) * 2014-01-17 2014-10-08 腾讯科技(深圳)有限公司 Data collecting method, server, terminal and system
CN105653528A (en) * 2014-11-11 2016-06-08 金蝶软件(中国)有限公司 Business filed multi-modal display method and device
CN105824713A (en) * 2016-03-10 2016-08-03 中国银行股份有限公司 Data checking method and device
CN106407438A (en) * 2016-09-28 2017-02-15 珠海迈越信息技术有限公司 Data processing method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309907A (en) * 2012-03-16 2013-09-18 上海安捷力信息系统有限公司 Method and system for standardized processing of service data from different sources
CN103064988A (en) * 2013-02-01 2013-04-24 北京华环电子股份有限公司 Abnormal data detection method and device
CN103246735A (en) * 2013-05-13 2013-08-14 中国工商银行股份有限公司 Abnormal data processing method and abnormal data processing system
CN104092557A (en) * 2014-01-17 2014-10-08 腾讯科技(深圳)有限公司 Data collecting method, server, terminal and system
CN104090951A (en) * 2014-07-04 2014-10-08 李阳 Abnormal data processing method
CN105653528A (en) * 2014-11-11 2016-06-08 金蝶软件(中国)有限公司 Business filed multi-modal display method and device
CN105824713A (en) * 2016-03-10 2016-08-03 中国银行股份有限公司 Data checking method and device
CN106407438A (en) * 2016-09-28 2017-02-15 珠海迈越信息技术有限公司 Data processing method and system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108197222A (en) * 2017-12-28 2018-06-22 北京中关村科金技术有限公司 A kind of restorative procedure, system and the relevant apparatus of exception flow data
CN108197222B (en) * 2017-12-28 2020-03-24 北京中关村科金技术有限公司 Method, system and related device for repairing abnormal stream data
CN111241082A (en) * 2020-01-13 2020-06-05 贝壳技术有限公司 Data correction method and device
CN112783581A (en) * 2021-01-21 2021-05-11 上海哔哩哔哩科技有限公司 Data processing method and device
CN113986907A (en) * 2021-12-24 2022-01-28 深圳市明源云科技有限公司 Graphic maintenance method, device and equipment for abnormal data and storage medium
CN115205952A (en) * 2022-09-16 2022-10-18 深圳市企鹅网络科技有限公司 Online learning image acquisition method and system based on deep learning

Similar Documents

Publication Publication Date Title
CN107066411A (en) Data transmission method, device and computer-readable recording medium
CN110597925B (en) Cross-chain data processing method and device based on block chain
CN105610938B (en) Logging state synchronous method and system
CN106326219B (en) Method, device and system for checking business system data
CN107908485A (en) Interface parameters transmission method, device, equipment and computer-readable recording medium
CN105049421A (en) Authentication method based on use behavior characteristic of user, server, terminal, and system
CN104205721A (en) A context-aware adaptive authentication method and apparatus
CN106464489A (en) Enhanced secure identity generation
CN106470109A (en) A kind of personal identification method and equipment
CN105719140A (en) Method and device for user information verification
CN107888589A (en) A kind of method and its system for calling trusted application
CN104852915A (en) Network access control method and device
CN109684364A (en) The problem of being drawn a portrait based on user processing method, device, equipment and storage medium
CN112380219B (en) Method for defining block chain cochain data service stipulation and application service stipulation
CN111815169A (en) Business approval parameter configuration method and device
CN107688924A (en) Accreditation method, apparatus and computer-readable recording medium
CN109088914A (en) Generation method, the block chain ecosystem and the computer readable storage medium of block
CN111461223A (en) Training method of abnormal transaction identification model and abnormal transaction identification method
JP2015500537A (en) Security information interaction system, apparatus and method based on extended parameter collection
CN113850669A (en) User grouping method and device, computer equipment and computer readable storage medium
CN102238171B (en) Intelligent key device, and system and method for improving security of online transaction and authentication
CN112804099A (en) Parameter batch configuration method and device, computer equipment and readable storage medium
CN114912149B (en) BIM cloud design platform and achievement protection method based on blockchain technology
CN106534060A (en) User authentication system and method for implementing the same
CN104185167A (en) Method and terminal for updating cardlock information of terminal

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170818

RJ01 Rejection of invention patent application after publication