CN109560893A - Data verification method, device and server - Google Patents

Data verification method, device and server Download PDF

Info

Publication number
CN109560893A
CN109560893A CN201811322299.7A CN201811322299A CN109560893A CN 109560893 A CN109560893 A CN 109560893A CN 201811322299 A CN201811322299 A CN 201811322299A CN 109560893 A CN109560893 A CN 109560893A
Authority
CN
China
Prior art keywords
internet
data
things equipment
data check
container
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
CN201811322299.7A
Other languages
Chinese (zh)
Other versions
CN109560893B (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201811322299.7A priority Critical patent/CN109560893B/en
Publication of CN109560893A publication Critical patent/CN109560893A/en
Application granted granted Critical
Publication of CN109560893B publication Critical patent/CN109560893B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0045Arrangements at the receiver end

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the present invention provides a kind of data verification method, device and server.This method comprises: the quantity of the internet of things equipment of statistics access server;According to the quantity of the internet of things equipment of the access server counted, the quantity of data check container is adjusted, the data that data check container is used to acquire at least one internet of things equipment verify.The method of the embodiment of the present invention, the quantity for realizing data check container can adaptively be adjusted according to the quantity of the internet of things equipment of access, and mass data when meeting magnanimity internet of things equipment while accessing network verifies demand.

Description

Data verification method, device and server
Technical field
The present embodiments relate to Internet of Things applied technical field more particularly to a kind of data verification methods, device and clothes Business device.
Background technique
In order to guarantee the integrality and legitimacy of data, under various application scenarios, recipient needs to receiving Data carry out data check and avoid invalid data from attacking to ensure the complete of data.
With the fast development of internet industry and the rise of Internet of Things industry, internet of things equipment is had been widely used for Data acquisition.Data acquisition is to carry out data transmission acquiring by host port, server is receiving based on Data Transport Protocol After the data acquired to internet of things equipment, it is necessary first to carry out data check to the data received.Only pass through data check Complete, legal data can just be transferred to down-stream system and be further analyzed processing.Data check can occupy server Host resource, especially under various big data application scenarios, the access amount abruptly increase of internet of things equipment causes data check fast Degree is slow, so that it cannot being timely and effectively analyzed and processed to the data of internet of things equipment acquisition.
In conclusion available data method of calibration can not support magnanimity internet of things equipment while access network, it is unable to satisfy Mass data verifies demand.
Summary of the invention
The embodiment of the present invention provides a kind of data verification method, device and server, can not expire to solve the prior art The problem of sufficient mass data verification demand.
In a first aspect, the embodiment of the present invention provides a kind of data verification method, comprising:
Count the quantity of the internet of things equipment of access server;
According to the quantity of the internet of things equipment of the access server counted, the quantity of data check container, data are adjusted The data that verification container is used to acquire at least one internet of things equipment verify.
In one possible implementation, according to the quantity of the internet of things equipment of the access server counted, adjustment The quantity of data check container includes:
If the quantity of the internet of things equipment of the access server counted is greater than first threshold, according to the access counted The quantity of the internet of things equipment of server increases the quantity of data check container, and first threshold is according to data in current server The quantity for verifying container determines.
In one possible implementation, according to the quantity of the internet of things equipment of the access server counted, adjustment The quantity of data check container includes:
If the quantity of the internet of things equipment of the access server counted is less than second threshold, according to the access counted The quantity of the internet of things equipment of server reduces the quantity of data check container, and second threshold is according to data in current server The quantity for verifying container determines.
In one possible implementation, the method also includes:
If the quantity for the internet of things equipment connecting with data check container is reduced to preset quantity, the data check is destroyed Container.
In one possible implementation, data check container is used for the data acquired at least one internet of things equipment Carrying out verification includes:
Data check container is used to successively carry out the data that at least one internet of things equipment acquires conventional verification, number is signed Name verification and cyclic redundancy check, conventional verification are verified for record number, size, line number and the encoded information to data.
In one possible implementation, the method also includes:
If the data of internet of things equipment acquisition do not pass through data check, failure notification message is sent to internet of things equipment, Failure notification message includes re-transmission policy instruction information, is used to indicate internet of things equipment weight according to indicated by failure notification message It passes strategy and carries out data retransmission.
In one possible implementation, before the quantity of the internet of things equipment of statistics access server, the side Method further include:
The access request message that internet of things equipment is sent is received, access request message includes the device coding of internet of things equipment Information;
Internet of things equipment access server is determined whether according to device coding information.
Second aspect, the embodiment of the present invention provide a kind of data calibration device, comprising:
Statistical module, the quantity of the internet of things equipment for counting access server;
Module is adjusted, for the quantity according to the internet of things equipment of the access server counted, adjustment data check holds The quantity of device, the data that data check container is used to acquire at least one internet of things equipment verify.
The third aspect, the embodiment of the present invention provide a kind of server, comprising:
At least one processor and memory;
Memory stores computer executed instructions;
At least one processor executes the computer executed instructions of memory storage, so that at least one processor executes such as The described in any item data verification methods of first aspect.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, the computer-readable storage medium Computer executed instructions are stored in matter, for realizing any one of such as first aspect when computer executed instructions are executed by processor The data verification method.
Data verification method, device and server provided in an embodiment of the present invention, by the Internet of Things for counting access server The quantity of net equipment, and the quantity of the internet of things equipment according to the access server counted adjust the number of data check container Amount.In this way, realizing the quantity of data check container can adjust according to the quantity demand-based adaptive of the internet of things equipment of access, Data check demand when can satisfy magnanimity internet of things equipment while accessing network, fast response time improve data check Speed.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is the flow chart of one embodiment of data verification method provided by the invention;
Fig. 2 is the application schematic diagram of one embodiment of data verification method provided by the invention;
Fig. 3 is the structural schematic diagram of one embodiment of data calibration device provided by the invention;
Fig. 4 is the structural schematic diagram of one embodiment of server provided by the invention.
Through the above attached drawings, it has been shown that the specific embodiment of the present invention will be hereinafter described in more detail.These attached drawings It is not intended to limit the scope of the inventive concept in any manner with verbal description, but is by referring to specific embodiments Those skilled in the art illustrate idea of the invention.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
Term " includes " and " having " and their any deformations in description and claims of this specification, it is intended that It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap Include the other step or units intrinsic for these process, methods, product or equipment.
" first " and " second " in the present invention only plays mark action, be not understood to indicate or imply ordinal relation, Relative importance or the quantity for implicitly indicating indicated technical characteristic." multiple " refer to two or more." and/ Or ", the incidence relation of affiliated partner is described, indicates may exist three kinds of relationships, for example, A and/or B, can indicate: individually depositing In A, A and B, these three situations of individualism B are existed simultaneously.It is a kind of "or" that character "/", which typicallys represent forward-backward correlation object, Relationship.
" one embodiment " or " embodiment " mentioned in the whole text in specification of the invention means related with embodiment A particular feature, structure, or characteristic include at least one embodiment of the application.Therefore, occur everywhere in the whole instruction " in one embodiment " or " in one embodiment " not necessarily refer to identical embodiment.It should be noted that not rushing In the case where prominent, the feature in embodiment and embodiment in the present invention be can be combined with each other.
Fig. 1 is the flow chart of one embodiment of data verification method provided by the invention.Method provided in this embodiment can be with It is executed by network side equipment, such as server.As shown in Figure 1, data verification method provided in this embodiment may include:
S101, count access server internet of things equipment quantity.
Internet of things equipment can pass through the channel radios such as bluetooth, infrared, WLAN, mobile communications network in the present embodiment It, can also be by the way that in wired communication mode access server, the present embodiment be for internet of things equipment in letter mode access server The mode of access server is not done specifically limited, and various access ways are suitable for the present embodiment.
Internet of things equipment in the present embodiment can be various sensors, such as temperature sensor, water level sensor, wind speed Sensor, pressure sensor etc..The Internet of Things that the internet of things equipment of access server can be identical type in the present embodiment is set It is standby, it is also possible to different types of internet of things equipment.
Server can be in real time the statistics of the quantity of the internet of things equipment of access server in the present embodiment, It can be the progress using prefixed time interval as measurement period, for example, can be every 30 seconds Internet of Things to access server The quantity of equipment is once counted.
S102, the quantity according to the internet of things equipment of the access server counted, adjust the quantity of data check container, The data that data check container is used to acquire at least one internet of things equipment verify.
Data check container in the present embodiment can be used for carrying out school to the data that at least one internet of things equipment acquires It tests, the verification carried out to data may include verifying to the integrality and/or legitimacy of data.The present embodiment is for data The specific implementation of verification is with no restriction.
The quantity of the internet of things equipment of the quantity and access server of data check container is positively correlated in the present embodiment.Also It is to say, when the quantity of the internet of things equipment of access server increases, the quantity of data check container also increases;Work as access service When the quantity of the internet of things equipment of device is reduced, the quantity of data check container is also reduced.
Data check container in the present embodiment can be realized using virtualization container technique, such as can use Docker It realizes, takes up less resources, deployment is fast, and starting is fast.
Data verification method provided in this embodiment, the quantity of the internet of things equipment by counting access server, and root According to the quantity of the internet of things equipment of the access server counted, the quantity of data check container is adjusted.In this way, realizing data The quantity of verification container can be adjusted according to the quantity demand-based adaptive of the internet of things equipment of access, can satisfy magnanimity Internet of Things Equipment accesses data check demand when network simultaneously, and fast response time improves the speed of data check.
In some embodiments, according to the quantity of the internet of things equipment of the access server counted, data check is adjusted A kind of implementation of the quantity of container may is that
If the quantity of the internet of things equipment of the access server counted is greater than first threshold, according to the access counted The quantity of the internet of things equipment of server increases the quantity of data check container, and first threshold is according to data in current server The quantity for verifying container determines.
First threshold in the present embodiment can be determined according to the quantity of data check container in current server.Citing For, if the data check container started in current server is 10, each data check container can be used for 3 Internet of Things Net equipment data collected are verified, then the first threshold in the present embodiment can be set to 30 (10*3).Work as statistics Access server internet of things equipment quantity be greater than 30 when, need to increase the quantity of data check container.If statistics is worked as The quantity of preceding while access server internet of things equipment is 40, then needs the quantity of increased data check container that can beNeed to increase by 4 data check containers.Above-mentioned numerical value only does example, is not formed to the present invention any Limitation.
It should be noted that the quantity of the internet of things equipment of data check container is accessed in the present embodiment, it can also basis The data check capacity of data check container and the data acquisition rate of single internet of things equipment determine.For example, if data school The data check capacity for testing container is 10MB/s, and the data acquisition rate of single internet of things equipment is 1MB/s, then data check holds Device can be used for verifying the data that 10 internet of things equipment acquire.The data acquisition rate of each internet of things equipment can be with Difference, such as the acquisition rate of internet of things equipment acquisition photo, video data for taking photo by plane are greater than the object for temperature monitoring The acquisition rate of networked devices temperature collection data.
Optionally, data check container can be adjusted according to the data volume to be verified of the internet of things equipment of access server Quantity.When the data volume to be verified of the internet of things equipment of access server is greater than preset threshold, increase data check container Quantity.
Data verification method provided in this embodiment is greater than first by the quantity of the internet of things equipment in access server Threshold value increases the quantity of data check container then according to the quantity of the internet of things equipment of the access server counted.In this way, When increasing by the quantity of the internet of things equipment in access server, increase the quantity of data check container in time, so that Internet of Things Net equipment data collected can be verified quickly, and data check speed is improved.
In some embodiments, according to the quantity of the internet of things equipment of the access server counted, data check is adjusted A kind of implementation of the quantity of container may is that
If the quantity of the internet of things equipment of the access server counted is less than second threshold, according to the access counted The quantity of the internet of things equipment of server reduces the quantity of data check container, and second threshold is according to data in current server The quantity for verifying container determines.
For example, if the quantity of data check container is sufficient to 100 internet of things equipment institutes in current server The data of acquisition are verified, and the quantity of the internet of things equipment of access server only only has 50 at this time, then will lead to big The data check container of amount is in idle state, leads to the waste of system resource.Therefore, in order to avoid the wave of system resource Take, improves resource utilization, the present embodiment is less than second threshold in the quantity of the internet of things equipment of access server, then according to institute The quantity of the internet of things equipment of the access server of statistics reduces the quantity of data check container.The specific value of second threshold Can be configured according to actual needs, the present embodiment to this with no restriction.In this way, by reducing data check container in time Quantity, avoiding is in idle condition data check container, results in waste of resources, and improves resource utilization, while may be used also To discharge the internet of things equipment use that more resources are provided with data check demand, and then improve the speed of data check.
In some embodiments, based on any of the above embodiments, method provided in this embodiment can also include:
If the quantity for the internet of things equipment connecting with data check container is reduced to preset quantity, the data check is destroyed Container.
In the present embodiment, after internet of things equipment is by data end of transmission collected, then the company with server will disconnect It connects, discharges corresponding resource so that other equipment can be used, while also can reduce the power consumption of internet of things equipment.
Data check container in the present embodiment can be connect with multiple internet of things equipment simultaneously, for multiple Internet of Things Equipment data collected are verified.If multiple internet of things equipment connected to it complete data transmission, it is in offline shape When state, then the data check container can be destroyed, corresponding resource is discharged.
Preset quantity in the present embodiment can be set to 0, the i.e. number when the internet of things equipment connecting with data check container When amount is reduced to 0, the data check container can be destroyed.
Data verification method provided in this embodiment passes through the quantity in the internet of things equipment connecting with data check container When being reduced to preset quantity, the data check container is destroyed.In this way, being released by destroying extra data check container in time More resources, improve resource utilization, and then the response speed of server can be improved, and improve data check speed.
In some embodiments, the data that data check container is used to acquire at least one internet of things equipment verify A kind of implementation may is that data check container for successively carrying out often to the data that at least one internet of things equipment acquires Rule verification, digital signature verification and cyclic redundancy check, conventional verification is for record number, size, line number and the coding to data Information is verified.
Conventional verification in the present embodiment is verified for record number, size, line number and the encoded information to data.Tool For body, exactly by record number, size, line number and encoded information recorded in the data file received and the number received It is compared according to physical record number, size, line number and the encoded information of file, if they are the same, then verification passes through, if it is different, then school Test failure.For the data of verification failure, can abandon;Only by the data routinely verified, digital signature school just will do it It tests.
Digital signature verification in the present embodiment for example can using Message Digest 5 (Message Digest, MD), Secure hash algorithm (Secure Hash Algorithm, SHA) and message authentication code algorithm (Message Authentication Code, MAC) at least one of be digitally signed verification.Such as MD5 algorithm can be selected to calculate The eap-message digest for receiving data is compared with the eap-message digest recorded in data is received, and if they are the same, then digital signature verification is logical It crosses;If it is different, then verifying failure.For the data of verification failure, can abandon;Only by the data of digital signature verification, It just will do it cyclic redundancy check.
Cyclic redundancy check (Cyclical Redundancy Check, CRC) in the present embodiment is according to preset algorithm meter The check code for receiving receipt is calculated, is compared with the check code recorded in data is received.If they are the same, then CRC check passes through;If no Together, then failure is verified.
In the present embodiment internet of things equipment data collected are successively carried out with conventional verification, digital signature verification and circulation Redundancy check, by screening layer by layer, it is ensured that into the integrality and legitimacy of the data of subsequent data analysis process flow.
Data verification method provided in this embodiment, the quantity of the internet of things equipment by counting access server, and root According to the quantity of the internet of things equipment of the access server counted, the quantity of data check container is adjusted, to ensure to have abundance Resource is for carrying out data check.By the way that internet of things equipment data collected are successively carried out with conventional verification, digital signature school It tests and cyclic redundancy check, further improves safety.
In some embodiments, on the basis of a upper embodiment, if method provided in this embodiment can also include: object The data of networked devices acquisition do not pass through data check, then send failure notification message, failure notification message to internet of things equipment Information is indicated including re-transmission policy, is used to indicate internet of things equipment re-transmission policy according to indicated by failure notification message and is counted According to transmitting again.
The data of internet of things equipment acquisition in the present embodiment, which do not pass through data check, can be not through conventional verification, number Any one of word signature check and cyclic redundancy check.
Optionally, when there is data not pass through data check, server can also generate log recording, not lead to for recording The details of data check are crossed, specifically for example may include internet of things equipment identification information, the data check for acquiring data The reason of temporal information, data check failure, data type information etc..
In the present embodiment when the data of internet of things equipment acquisition do not pass through data check, then server is set to the Internet of Things Preparation send failure notification message, and failure notification message includes re-transmission policy instruction information, is used to indicate internet of things equipment according to mistake It loses re-transmission policy indicated by notification message and carries out data retransmission.Optionally, re-transmission policy instruction information for example can root At least one in the reason of failing according to verification, the type of data, the priority of data determines.For example, if data check The reason of failure is network congestion, and the priority indication of the data data require timeliness lower, then re-transmission policy can be with It is set as transmission of avoiding the peak hour, to reduce network pressure, such as the network idle time section that can also will be counted according to historical record Information with avoid the peak hour transmit re-transmission policy instruction information together be sent to internet of things equipment.
Fig. 2 is the application schematic diagram of one embodiment of data verification method provided by the invention.As shown in Fig. 2, the present embodiment In each data check container be used for three internet of things equipment data collected carry out data check.Data check container pair Internet of things equipment data collected successively carry out conventional verification, digital signature verification and cyclic redundancy check, only by complete Portion verification data can just enter subsequent Data Analysis Services process, that is to say, that when it is conventional verify, digital signature verification and When having any one verification not pass through in cyclic redundancy check, server will abandon the data, without entering subsequent data point Analyse process flow.When there is new internet of things equipment access, when available data verification container is unable to satisfy data check demand, then Increase data check container to verify to internet of things equipment data collected;It is multiple when being connect with data check container Data end of transmission collected can then have been destroyed the data check container when being in off-line state by internet of things equipment, Discharge corresponding resource.It should be noted that Fig. 2 is only a kind of possible implementation of the embodiment of the present invention, numerical value is only done Example does not form the application and limits.
In some embodiments, based on any of the above embodiments, in the internet of things equipment of statistics access server Quantity before, method provided in this embodiment can also include:
The access request message that internet of things equipment is sent is received, access request message includes the device coding of internet of things equipment Information.
Internet of things equipment access server is determined whether according to device coding information.
The relevant information of legal internet of things equipment can be previously stored in the present embodiment in server.Wherein, legal Internet of things equipment may include lawful registration internet of things equipment, server authorized internet of things equipment etc..Phase Closing information may include the device coding information of internet of things equipment, access authority information etc..
The server of the present embodiment is obtained and is set included in it in the access request message for receiving internet of things equipment Standby encoded information, it is compared with the device coding information of pre-stored legal internet of things equipment, can if successful match It, can be with access server to determine that the internet of things equipment is legal;If it fails to match, it can determine that the internet of things equipment is illegal, Refuse the internet of things equipment access server.
Data verification method provided in this embodiment is set by internet of things equipment access server, receiving Internet of Things The access request message for the device coding information including internet of things equipment that preparation is sent, and according to the equipment in access request message Encoded information determines whether internet of things equipment access server.So it is possible to prevente effectively from illegal internet of things equipment connects Enter, and then it is possible to prevente effectively from invalid data is attacked, while by being filtered to illegal internet of things equipment, reduces data school The data volume that server needs to verify is tested, the efficiency and speed of data check are improved.
The embodiment of the present invention also provides a kind of data calibration device, and shown in Figure 3, the embodiment of the present invention is only with Fig. 3 For be illustrated, be not offered as that present invention is limited only to this.Fig. 3 is the knot of one embodiment of data calibration device provided by the invention Structure schematic diagram.Data calibration device provided in this embodiment can be network side equipment, such as server etc. is also possible to be used for Component of network side equipment, such as chip, integrated circuit etc..As shown in figure 3, data calibration device 30 provided in this embodiment can To include statistical module 301 and adjustment module 302.
Statistical module 301, the quantity of the internet of things equipment for counting access server.
Module 302 is adjusted, for the quantity according to the internet of things equipment of the access server counted, adjusts data check The quantity of container, the data that data check container is used to acquire at least one internet of things equipment verify.
The device of the present embodiment can be used for executing the technical solution of embodiment of the method shown in Fig. 1, realization principle and skill Art effect is similar, and details are not described herein again.
Optionally, adjustment module 302 specifically can be used for:
If the quantity of the internet of things equipment of the access server counted is greater than first threshold, according to the access counted The quantity of the internet of things equipment of server increases the quantity of data check container, and first threshold is according to data in current server The quantity for verifying container determines.
Optionally, adjustment module 302 specifically can be used for:
If the quantity of the internet of things equipment of the access server counted is less than second threshold, according to the access counted The quantity of the internet of things equipment of server reduces the quantity of data check container, and second threshold is according to data in current server The quantity for verifying container determines.
Optionally, adjustment module 302 can also be specifically used for:
If the quantity for the internet of things equipment connecting with data check container is reduced to preset quantity, the data check is destroyed Container.
Optionally, data check container can be used for successively carrying out routine to the data that at least one internet of things equipment acquires Verification, digital signature verification and cyclic redundancy check, conventional verification is for record number, size, line number and the coding letter to data Breath is verified.
Optionally, data calibration device 30 can also include sending module, and the data for acquiring in internet of things equipment are not When passing through data check, failure notification message is sent to internet of things equipment, failure notification message includes re-transmission policy instruction information, It is used to indicate internet of things equipment re-transmission policy according to indicated by failure notification message and carries out data retransmission.
Optionally, data calibration device 30 can also include receiving module and authentication module, and wherein receiving module is used for Before the quantity for counting the internet of things equipment of access server, the access request message that internet of things equipment is sent is received, access is asked Seeking message includes the device coding information of internet of things equipment;Authentication module, for being determined whether according to device coding information Internet of things equipment access server.
The embodiment of the present invention also provides a kind of server, shown in Figure 4, the embodiment of the present invention only by taking Fig. 4 as an example into Row explanation, is not offered as that present invention is limited only to this.Fig. 4 is the structural schematic diagram of one embodiment of server provided by the invention.Such as Shown in Fig. 4, server 40 provided in this embodiment may include: memory 401, processor 402 and bus 403.Wherein, bus 403 for realizing the connection between each element.
Computer program is stored in memory 401, computer program may be implemented above-mentioned when being executed by processor 402 The technical solution for the data verification method that one embodiment of the method provides.
Wherein, be directly or indirectly electrically connected between memory 401 and processor 402, with realize data transmission or Interaction.It is electrically connected for example, these elements can be realized between each other by one or more of communication bus or signal wire, such as It can be connected by bus 403.The computer program for realizing data verification method, including at least one are stored in memory 401 A software function module that can be stored in the form of software or firmware in memory 401, processor 402 are stored in by operation Software program and module in memory 401, thereby executing various function application and data processing.
Memory 401 may be, but not limited to, random access memory (Random Access Memory, referred to as: RAM), read-only memory (Read Only Memory, referred to as: ROM), programmable read only memory (Programmable Read-Only Memory, referred to as: PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, referred to as: EPROM), electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read- Only Memory, referred to as: EEPROM) etc..Wherein, memory 401 is for storing program, and processor 402 refers to receiving execution After order, program is executed.Further, the software program in above-mentioned memory 401 and module may also include operating system, can Including the various component softwares for management system task (such as memory management, storage equipment control, power management etc.) and/or Driving, and can be in communication with each other with various hardware or component software, to provide the running environment of other software component.
Processor 402 can be a kind of IC chip, the processing capacity with signal.Above-mentioned processor 402 can To be general processor, including central processing unit (Central Processing Unit, referred to as: CPU), network processing unit (Network Processor, referred to as: NP) etc..It may be implemented or execute disclosed each method, the step in the embodiment of the present invention Rapid and logic diagram.General processor can be microprocessor or the processor is also possible to any conventional processor etc.. It is appreciated that Fig. 4 structure be only illustrate, can also include than shown in Fig. 4 more perhaps less component or have with Different configuration shown in Fig. 4.Each component shown in Fig. 4 can use hardware and/or software realization.
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored thereon with computer program, computer The data verification method that any of the above-described embodiment of the method provides may be implemented when program is executed by processor.Meter in the present embodiment Calculation machine readable storage medium storing program for executing can be any usable medium that computer can access, or can use Jie comprising one or more Data storage devices, the usable mediums such as matter integrated server, data center can be magnetic medium, (for example, floppy disk, hard disk, Tape), optical medium (for example, DVD) or semiconductor medium (such as SSD) etc..
In the above-described embodiment, it should be understood that disclosed device and method, it can be real by another way It is existing.For example, apparatus embodiments described above are merely indicative, for example, the division of the module, only one kind are patrolled Function division is collected, there may be another division manner in actual implementation, such as multiple modules may be combined or can be integrated into Another system, or some features can be ignored or not executed.Another point, shown or discussed mutual coupling or Direct-coupling or communication connection can be through some interfaces, and the indirect coupling or communication connection of device or module can be electricity Property, mechanical or other forms.
The module as illustrated by the separation member may or may not be physically separated, aobvious as module The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.Some or all of the modules therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in one processing unit It is that modules physically exist alone, can also be integrated in one unit with two or more modules.Above-mentioned module at Unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated module realized in the form of software function module, can store and computer-readable deposit at one In storage media.Above-mentioned software function module is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) or processor (English: processor) execute this Shen Please each embodiment the method part steps.
Above-mentioned storage medium can be by any kind of volatibility or non-volatile memory device or their combination It realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable Read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, Disk or CD.Storage medium can be any usable medium that general or specialized computer can access.
A kind of illustrative storage medium is coupled to processor, believes to enable a processor to read from the storage medium Breath, and information can be written to the storage medium.Certainly, storage medium is also possible to the component part of processor.It processor and deposits Storage media can be located at specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC in).Certainly, pocessor and storage media can also be used as discrete assembly and be present in terminal or server.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (10)

1. a kind of data verification method characterized by comprising
Count the quantity of the internet of things equipment of access server;
According to the quantity of the internet of things equipment of the access server counted, the quantity of data check container, the data are adjusted The data that verification container is used to acquire at least one internet of things equipment verify.
2. the method according to claim 1, wherein the Internet of Things according to the access server counted is set Standby quantity, the quantity for adjusting data check container include:
If the quantity of the internet of things equipment of the access server counted is greater than first threshold, according to the access service counted The quantity of the internet of things equipment of device increases the quantity of data check container, and the first threshold is according in presently described server The quantity of data check container determines.
3. the method according to claim 1, wherein the Internet of Things according to the access server counted is set Standby quantity, the quantity for adjusting data check container include:
If the quantity of the internet of things equipment of the access server counted is less than second threshold, according to the access service counted The quantity of the internet of things equipment of device reduces the quantity of data check container, and the second threshold is according in presently described server The quantity of data check container determines.
4. the method according to claim 1, wherein the method also includes:
If the quantity for the internet of things equipment connecting with the data check container is reduced to preset quantity, the data check is destroyed Container.
5. the method according to claim 1, wherein the data check container is used for at least one Internet of Things The data of equipment acquisition carry out verification
The data check container is used to successively carry out the data that at least one internet of things equipment acquires conventional verification, number is signed Name verification and cyclic redundancy check, the conventional verification for record number, size, line number and the encoded information to the data into Row verification.
6. method according to claim 1-5, which is characterized in that the method also includes:
If the data of internet of things equipment acquisition do not pass through data check, failure notification message is sent to the internet of things equipment, The failure notification message includes re-transmission policy instruction information, is used to indicate the internet of things equipment and is disappeared according to the failure notification The indicated re-transmission policy of breath carries out data retransmission.
7. method according to claim 1-5, which is characterized in that in the Internet of Things of the statistics access server Before the quantity of equipment, the method also includes:
The access request message that internet of things equipment is sent is received, the access request message includes the equipment of the internet of things equipment Encoded information;
The internet of things equipment access server is determined whether according to the device coding information.
8. a kind of data calibration device characterized by comprising
Statistical module, the quantity of the internet of things equipment for counting access server;
Module is adjusted, for the quantity according to the internet of things equipment of the access server counted, adjustment data check container Quantity, the data that the data check container is used to acquire at least one internet of things equipment verify.
9. a kind of server characterized by comprising at least one processor and memory;
The memory stores computer executed instructions;
At least one described processor executes the computer executed instructions of the memory storage, so that at least one described processing Device executes such as the described in any item data verification methods of claim 1-7.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium It executes instruction, for realizing such as described in any item numbers of claim 1-7 when the computer executed instructions are executed by processor According to method of calibration.
CN201811322299.7A 2018-11-08 2018-11-08 Data verification method and device and server Active CN109560893B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811322299.7A CN109560893B (en) 2018-11-08 2018-11-08 Data verification method and device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811322299.7A CN109560893B (en) 2018-11-08 2018-11-08 Data verification method and device and server

Publications (2)

Publication Number Publication Date
CN109560893A true CN109560893A (en) 2019-04-02
CN109560893B CN109560893B (en) 2022-04-15

Family

ID=65865805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811322299.7A Active CN109560893B (en) 2018-11-08 2018-11-08 Data verification method and device and server

Country Status (1)

Country Link
CN (1) CN109560893B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110310512A (en) * 2019-07-10 2019-10-08 中国联合网络通信集团有限公司 A kind of parking lot FIXED MANAGEMENT method and system based on 5g Internet of Things container technique
CN110718052A (en) * 2019-10-21 2020-01-21 上海米尺网络技术有限公司 Wireless acquisition device and data acquisition method
CN114980099A (en) * 2020-12-02 2022-08-30 支付宝(杭州)信息技术有限公司 Method, device and equipment for connecting equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764671A (en) * 2008-12-23 2010-06-30 北大方正集团有限公司 File transmission method and business processing method, equipment and system in server
CN103237045A (en) * 2013-02-22 2013-08-07 北方工业大学 Parallel processing system and parallel processing method for large-scale real-time traffic data
CN103068052B (en) * 2013-01-17 2016-03-02 中国联合网络通信集团有限公司 Dynamic resource allocation method, system and Portal server
CN106453564A (en) * 2016-10-18 2017-02-22 北京京东尚科信息技术有限公司 Elastic cloud distributed massive request processing method, device and system
KR20170042946A (en) * 2015-10-12 2017-04-20 에스케이텔레콤 주식회사 Method for managing of buffer memory size and apparatus thereof
CN107590632A (en) * 2017-09-19 2018-01-16 北京瑞格瑞特生物科技有限公司 A kind of management system and method, server for the transport of cell production inventory
CN107666525A (en) * 2017-09-08 2018-02-06 北京京东尚科信息技术有限公司 The method and apparatus of cluster container IP distribution
CN108345512A (en) * 2018-03-19 2018-07-31 重庆金融资产交易所有限责任公司 Data verification method, server and storage medium
CN108427992A (en) * 2018-03-16 2018-08-21 济南飞象信息科技有限公司 A kind of machine learning training system and method based on edge cloud computing

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764671A (en) * 2008-12-23 2010-06-30 北大方正集团有限公司 File transmission method and business processing method, equipment and system in server
CN103068052B (en) * 2013-01-17 2016-03-02 中国联合网络通信集团有限公司 Dynamic resource allocation method, system and Portal server
CN103237045A (en) * 2013-02-22 2013-08-07 北方工业大学 Parallel processing system and parallel processing method for large-scale real-time traffic data
KR20170042946A (en) * 2015-10-12 2017-04-20 에스케이텔레콤 주식회사 Method for managing of buffer memory size and apparatus thereof
CN106453564A (en) * 2016-10-18 2017-02-22 北京京东尚科信息技术有限公司 Elastic cloud distributed massive request processing method, device and system
CN107666525A (en) * 2017-09-08 2018-02-06 北京京东尚科信息技术有限公司 The method and apparatus of cluster container IP distribution
CN107590632A (en) * 2017-09-19 2018-01-16 北京瑞格瑞特生物科技有限公司 A kind of management system and method, server for the transport of cell production inventory
CN108427992A (en) * 2018-03-16 2018-08-21 济南飞象信息科技有限公司 A kind of machine learning training system and method based on edge cloud computing
CN108345512A (en) * 2018-03-19 2018-07-31 重庆金融资产交易所有限责任公司 Data verification method, server and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张勋等: ""一种基于容器编排技术的资源运维系统的设计与实现"", 《电信科学》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110310512A (en) * 2019-07-10 2019-10-08 中国联合网络通信集团有限公司 A kind of parking lot FIXED MANAGEMENT method and system based on 5g Internet of Things container technique
CN110310512B (en) * 2019-07-10 2021-02-19 中国联合网络通信集团有限公司 Parking lot positioning management method and system based on 5g Internet of things container technology
CN110718052A (en) * 2019-10-21 2020-01-21 上海米尺网络技术有限公司 Wireless acquisition device and data acquisition method
CN114980099A (en) * 2020-12-02 2022-08-30 支付宝(杭州)信息技术有限公司 Method, device and equipment for connecting equipment
CN114980099B (en) * 2020-12-02 2023-11-17 支付宝(杭州)信息技术有限公司 Method, device and equipment for connecting equipment

Also Published As

Publication number Publication date
CN109560893B (en) 2022-04-15

Similar Documents

Publication Publication Date Title
CN108701039B (en) Method and device for wirelessly updating software of vehicle
CN109560893A (en) Data verification method, device and server
CN103888257B (en) Network camera identity authentication method based on TPCM
CN110851311A (en) Service fault identification method, device, equipment and storage medium
CN111434090A (en) System and method for providing security to an in-vehicle network
CN109617824A (en) Collecting method, device and server
CN109683930B (en) Air conditioning equipment program upgrading method, device and system and household electrical appliance
CN111641563B (en) Flow self-adaption method and system based on distributed scene
CN109309591B (en) Traffic data statistical method, electronic device and storage medium
JP7255710B2 (en) Attack monitoring center device and attack monitoring terminal device
CN110084011A (en) A kind of method and device of the verifying of user's operation
US10491513B2 (en) Verifying packet tags in software defined networks
CN105373891A (en) Smart grid data management and transmission system
CN117651003B (en) ERP information transmission safety monitoring system
JP5401535B2 (en) Method and device for issuing a digital residence certificate
CN113468276A (en) Trusted data acquisition method and device of on-chain prediction machine and electronic equipment
CN113678419B (en) Port scan detection
CN111314348B (en) Method and device for establishing trust degree model, trust evaluation and equipment authentication
WO2019240054A1 (en) Communication device, packet processing method, and program
CN116321162A (en) Block chain authentication method, system, terminal and medium based on WIFI6
CN111814204B (en) Block chain-based data consensus method, related equipment and storage medium
CN108243034B (en) Fault determination method, receiver and transmitter
CN113301019B (en) Verification code vulnerability detection method and device, electronic device and storage medium
CN116319112B (en) Message integrity verification method and system
EP4027583A2 (en) Method and apparatus for maintaining web application firewall based on non-face-to-face authentication

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