CN109634727A - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN109634727A
CN109634727A CN201811354695.8A CN201811354695A CN109634727A CN 109634727 A CN109634727 A CN 109634727A CN 201811354695 A CN201811354695 A CN 201811354695A CN 109634727 A CN109634727 A CN 109634727A
Authority
CN
China
Prior art keywords
traffic circulation
priority
circulation data
data
processing
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
CN201811354695.8A
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.)
Beijing Jiaotong University
CRRC Qingdao Sifang Co Ltd
Original Assignee
Beijing Jiaotong University
CRRC Qingdao Sifang 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 Beijing Jiaotong University, CRRC Qingdao Sifang Co Ltd filed Critical Beijing Jiaotong University
Priority to CN201811354695.8A priority Critical patent/CN109634727A/en
Publication of CN109634727A publication Critical patent/CN109634727A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked
    • G06F9/4818Priority circuits therefor
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L27/00Central railway traffic control systems; Trackside control; Communication systems specially adapted therefor
    • B61L27/40Handling position reports or trackside vehicle data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2425Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
    • H04L47/2433Allocation of priorities to traffic types
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Abstract

The present invention relates to data processing method and devices.This method comprises: the traffic circulation data that monitoring is currently pending;Determine the processing priority of the traffic circulation data;It is the traffic circulation data configuration priority tag according to the processing priority, wherein height of the priority tag for processing priority described in exterior syndrome;The traffic circulation data configured with priority tag are sent to second server, so that the second server carries out sequential processes to the traffic circulation data according to the priority tag.According to the technical solution of the present invention, be conducive to reduce the processing hysteresis quality of emergency data and postpone big problem, the processing timeliness of the high emergency data of priority, improves the safety of traffic circulation during raising traffic circulation.

Description

Data processing method and device
Technical field
The present invention relates to data processing field more particularly to data processing method and devices.
Background technique
Currently, carrying out effective monitoring to communications and transportation for convenience in terms of rail vehicle transportation, traffic circulation mistake is reduced The traffic circulation data in each section compartment can usually be reported to server by the risk in journey, so that server transports these traffic Row data are handled, such as carry out control for brake to compartment according to these traffic circulation data, but in the related technology, server Processing emergency is not distinguished when handling traffic circulation data, causes some data for needing emergent management that may go out It now handles not in time, processing excessively lags, postpones excessive problem, so that there are biggish safeties to ask for traffic circulation Topic.
Summary of the invention
The embodiment of the invention provides data processing method and devices.The technical solution is as follows:
According to a first aspect of the embodiments of the present invention, a kind of data processing method is provided, comprising:
Monitor currently pending traffic circulation data;
Determine the processing priority of the traffic circulation data;
It is the traffic circulation data configuration priority tag according to the processing priority, wherein the priority mark Know the height for processing priority described in exterior syndrome;
The traffic circulation data configured with priority tag are sent to second server, so that the second service Device carries out sequential processes to the traffic circulation data according to the priority tag.
In one embodiment, described that the traffic circulation data configured with priority tag are sent to second service Device, comprising:
When the traffic circulation data include multiple, by multiple traffic circulation data configured with priority tag It is ranked up according to the sequence of processing priority from high to low;
According to the sequence of processing priority from high to low, by multiple traffic circulation data configured with priority tag It is sent to the second server.
In one embodiment, described when the traffic circulation data include multiple, priority mark is configured with by multiple The traffic circulation data known are ranked up according to the sequence of processing priority from high to low, comprising:
When the traffic circulation data include multiple, using the first sort method, priority tag is configured with by multiple The traffic circulation data be ranked up according to the sequence of processing priority from high in the end, wherein first sort method Including quicksort method.
In one embodiment, the traffic circulation data for being configured with priority tag are being sent to second server Before, the method also includes:
When the traffic circulation data include multiple, by multiple traffic circulation data configured with priority tag The identical traffic circulation data of middle priority tag are compressed, at least one compressed package is obtained, wherein at least one described pressure The priority tag of traffic circulation data in contracting packet in each compressed package is identical;
At least one described compressed package is sent to the second server.
In one embodiment, the processing priority of the determination traffic circulation data, comprising:
Determine the corresponding current event of the traffic circulation data;
The corresponding relationship of event and priority according to the pre-stored data and the current event, determine the traffic circulation The processing priority of data.
According to a second aspect of the embodiments of the present invention, another data processing method is provided, comprising:
Receive the traffic circulation data configured with priority tag that first server is sent, wherein the priority mark Know the height of the processing priority for traffic circulation data described in exterior syndrome;
According to the priority tag, sequential processes are carried out to the traffic circulation data.
In one embodiment, described according to the priority tag when the first server includes multiple, to institute It states traffic circulation data and carries out sequential processes, comprising:
The traffic circulation data that multiple first servers are sent are ranked up according to priority tag, so that The traffic circulation data that multiple first servers are sent are ranked up according to the sequence of processing priority from high to low;
According to the priority tag, the traffic circulation data sent to multiple first servers are according to processing The sequence of priority from high to low is successively handled.
In one embodiment, the traffic circulation data that multiple first servers are sent are according to preferential Grade mark is ranked up, comprising:
Using the second sort method, the traffic circulation data that multiple first servers are sent are according to priority The sequence of the processing priority of characterization from high in the end is identified to be ranked up.
In one embodiment, the method also includes:
According to the priority tag, rank alarm corresponding with the priority tag is carried out.
According to a third aspect of the embodiments of the present invention, a kind of data processing equipment is provided, comprising:
Monitoring modular, for monitoring currently pending traffic circulation data;
Determining module, for determining the processing priority of the traffic circulation data;
Configuration module, for being the traffic circulation data configuration priority tag according to the processing priority, wherein Height of the priority tag for processing priority described in exterior syndrome;
First sending module, for the traffic circulation data for being configured with priority tag to be sent to second service Device, so that the second server carries out sequential processes to the traffic circulation data according to the priority tag.
In one embodiment, first sending module includes:
Sorting sub-module, for when the traffic circulation data include multiple, by multiple configured with priority tag The traffic circulation data are ranked up according to the sequence of processing priority from high to low;
Sending submodule, for the sequence according to processing priority from high to low, by multiple configured with priority tag The traffic circulation data are sent to the second server.
In one embodiment, the sorting sub-module includes:
Sequencing unit, for when the traffic circulation data include multiple, using the first sort method, by multiple configurations There are the traffic circulation data of priority tag to be ranked up according to the sequence of processing priority from high in the end, wherein described First sort method includes quicksort method.
In one embodiment, described device further include:
Compression module, for by the traffic circulation data for being configured with priority tag be sent to second server it Before, it, will be excellent in multiple traffic circulation data configured with priority tag when the traffic circulation data include multiple First grade identifies identical traffic circulation data and is compressed, and obtains at least one compressed package, wherein at least one described compressed package In traffic circulation data in each compressed package priority tag it is identical;
Second sending module, at least one described compressed package to be sent to the second server.
In one embodiment, the determining module includes:
First determines submodule, for determining the corresponding current event of the traffic circulation data;
Second determines submodule, corresponding relationship and the current thing for event according to the pre-stored data and priority Part determines the processing priority of the traffic circulation data.
According to a fourth aspect of the embodiments of the present invention, another data processing equipment is provided, comprising:
Receiving module, for receiving the traffic circulation data configured with priority tag of first server transmission, wherein Height of the priority tag for the processing priority of traffic circulation data described in exterior syndrome;
Processing module, for carrying out sequential processes to the traffic circulation data according to the priority tag.
In one embodiment, the processing module includes:
Sorting sub-module, for when the first server includes multiple, multiple first servers to be sent The traffic circulation data are ranked up according to priority tag, so that the traffic fortune that multiple first servers are sent Row data are ranked up according to the sequence of processing priority from high to low;
Submodule is handled, for the traffic according to the priority tag, to multiple first servers transmissions Operation data is successively handled according to the sequence of processing priority from high to low.
In one embodiment, the sorting sub-module includes:
Sequencing unit, for using the second sort method, by the traffic circulation of multiple first servers transmissions The sequence of the processing priority that data are characterized according to priority tag from high in the end is ranked up.
In one embodiment, described device further include:
Alarm module, for carrying out rank alarm corresponding with the priority tag according to the priority tag.
The technical solution that the embodiment of the present invention provides can include the following benefits:
It by determining the processing priority of the traffic circulation data of monitoring, and is traffic circulation data configuration priority mark Know, the emergency of traffic circulation data can be distinguished, and then the traffic circulation data configured with priority tag are automatic It is sent to second server, second server can be made to carry out sequential processes to traffic circulation data according to priority tag, thus Second server is handled according to emergency height according to priority tag traffic circulation data, so relatively Urgent traffic circulation data will be by priority processing, in this way, the processing hysteresis quality for being conducive to reduce emergency data and delay are greatly The problem of, the processing timeliness of the high emergency data of priority during traffic circulation is improved, the safety of traffic circulation is improved.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not It can the limitation present invention.
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 a kind of flow chart of data processing method shown according to an exemplary embodiment.
Fig. 2 is the flow chart of another data processing method shown according to an exemplary embodiment.
Fig. 3 is the flow chart of another data processing method shown according to an exemplary embodiment.
Fig. 4 is the flow chart of another data processing method shown according to an exemplary embodiment.
Fig. 5 is the flow chart of another data processing method shown according to an exemplary embodiment.
Fig. 6 is a kind of block diagram of data processing equipment shown according to an exemplary embodiment.
Fig. 7 is the block diagram of another data processing equipment shown according to an exemplary embodiment.
Fig. 8 is the block diagram of another data processing equipment shown according to an exemplary embodiment.
Fig. 9 is the block diagram of another data processing equipment shown according to an exemplary embodiment.
Figure 10 is a kind of block diagram suitable for data processing equipment shown according to an exemplary embodiment.
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.
Currently, carrying out effective monitoring to communications and transportation for convenience in terms of rail vehicle transportation, traffic circulation mistake is reduced The traffic circulation data in each section compartment can usually be reported to server by the risk in journey, so that server transports these traffic Row data are handled, such as carry out control for brake to compartment according to these traffic circulation data, but in the related technology, in compartment Equipment is usually successively to be reported according to the generation sequence of each traffic circulation data, and server is also when uploading data It is successively handled, is lacked whether urgent to traffic circulation data according to the chronological order of the traffic circulation data reported Distinguish, lead to some data for needing emergent management it is possible that processing not in time, processing excessively lag, postpone it is excessive The problem of, so that there are biggish safety issues for traffic circulation.
In order to solve the above-mentioned technical problem, the embodiment of the present invention in a first aspect, provide a kind of data processing method, should Method can be used in data processor, system or device, and the corresponding executing subject of this method can be track vehicle The first server (server installed in compartment is respectively saved in such as subway) for being used to monitor vehicles operation data of upper installation, The first server and the second server hereinafter occurred can be by Ethernet POWERLINK (high-speed industrial Ethernets) Technology communicates, as shown in Figure 1, the method comprising the steps of S101 to step S104:
In step s101, currently pending traffic circulation data are monitored;
Traffic circulation data can be current acceleration and deceleration data, braking-distance figures, the electricity consumption data, network connection shape in compartment All all data related with rail traffic such as state, LED status, Switch for door and window state.
Certainly, traffic circulation data are also possible to a certain partial data in all data related with rail traffic, such as If Ganlei's data, can mitigate first server in this way monitors and processes burden.
In step s 102, the processing priority of traffic circulation data is determined;
Wherein, processing priority can be divided into multistage, and traffic circulation data are more urgent, and processing priority is higher.And it is each A processing priority has a corresponding priority tag, if processing priority can have 9 grades, and when traffic circulation data When handling emergency highest, processing priority highest, corresponding priority tag can be 9, when the processing of traffic circulation data When emergency time is high, processing priority time is high, and corresponding priority tag can be 9, and so on, when traffic circulation data When processing emergency is minimum, processing priority is minimum, and corresponding priority tag can be 1.
It in step s 103, is traffic circulation data configuration priority tag according to processing priority, wherein priority mark Know the height for being used for exterior syndrome processing priority;
Secondly, the mode for traffic circulation data configuration priority tag has very much, it can be in the frame of traffic circulation data Increase in structure a field (such as: when being communicated using Ethernet POWERLINK, can common data frame Soc, Increase a field in the frame structures such as Preq, the structure of the data frame improved), in this way, stronger in transmission real-time It, can be by the appropriate height-regulating of the number of the flag bit of the field, if the real-time property highest, by the mark of the field when data Will is adjusted to highest, and such second server, will automatically will be according to excellent when receiving the data and being resolved to precedence field The height of first grade is ranked up carries out data processing again, with the processing delay of this emergency data for reducing high priority.
In addition, which position to increase the setting of field personalizable in, the present invention does not limit when increasing field in the frame structure System.
In step S104, the traffic circulation data configured with priority tag are sent to second server, so that the Two servers carry out sequential processes to traffic circulation data according to priority tag.
It by determining the processing priority of the traffic circulation data of monitoring, and is traffic circulation data configuration priority mark Know, the emergency of traffic circulation data can be distinguished, and then the traffic circulation data configured with priority tag are automatic It is sent to second server, second server can be made to carry out sequential processes to traffic circulation data according to priority tag, thus Second server is handled according to emergency height according to priority tag traffic circulation data, so relatively Urgent traffic circulation data will be by priority processing, in this way, the processing hysteresis quality for being conducive to reduce emergency data and delay are greatly The problem of, the processing timeliness of the high emergency data of priority during traffic circulation is improved, the safety of traffic circulation is improved.
Second server is the server (control placed in headstock in such as subway that traffic circulation data are carried out with aggregation process Platform processed), as the second server can issue corresponding braking, around Dow Jones index according to compartment of the traffic circulation data into the vehicles Order etc. is to evade the currently monitored corresponding dangerous situation of traffic circulation data.
As shown in Fig. 2, in one embodiment, the step S104 in above-mentioned Fig. 1 will be configured with the friendship of priority tag Logical operation data is sent to second server, may include step A1 and step A2:
In step A1, when traffic circulation data include multiple, by multiple traffic circulations configured with priority tag Data are ranked up according to the sequence of processing priority from high to low;Wherein, traffic circulation data include it is multiple i.e.: traffic circulation It include multinomial data in data, such as including this two item data of the closure situation of door, braking-distance figures in compartment.
In step A2, according to the sequence of processing priority from high to low, by multiple traffic configured with priority tag Operation data is sent to second server.
When traffic circulation data include multiple, the independent priority mark of each traffic circulation data configuration may respectively be Know, in turn, multiple traffic circulation data configured with priority tag are carried out according to the sequence of processing priority from high to low Sequence, is then successively sent to second server according to the sequence of priority from high to low, (handles so that priority is high Emergency is high) high priority data is sent to second server, in this way, it helps second server priority processing emergency is more High traffic circulation data improve urgent number during traffic circulation to reduce the processing hysteresis quality and retardance of emergency data According to processing timeliness, improve the safety of traffic circulation.
In one embodiment, when traffic circulation data include multiple, by multiple traffic configured with priority tag Operation data is ranked up according to the sequence of processing priority from high to low, comprising:
When traffic circulation data include multiple, using the first sort method, by multiple friendships configured with priority tag Logical operation data is ranked up according to the sequence of processing priority from high in the end, wherein the first sort method includes quicksort Method.
Due to consideration that the worst time complexity and golden hour complexity, the present invention calculate average time complexity, Average behavior most preferably quicksort is learnt from experiment, and the stability of quicksort is good, thus, when traffic circulation data packet When including multiple, quicksort method can be used, multiple traffic circulation data configured with priority tag are preferential according to processing The sequence of grade from high to low is ranked up, to improve sequence efficiency and speed.
In addition, before being ranked up using quicksort method, after the traffic circulation data of collectable 1ms (millisecond) again It is ranked up, and this sortord only needs time-consuming 0.03429ms that the first minor sort can be completed.
As shown in figure 3, in one embodiment, the traffic circulation data for being configured with priority tag are being sent to second Before server, the above method may also include step S301 and step S302:
In step S301, when traffic circulation data include multiple, multiple traffic configured with priority tag are transported The identical traffic circulation data of priority tag are compressed in row data, obtain at least one compressed package, wherein at least one The priority tag of traffic circulation data in compressed package in each compressed package is identical;
In step s 302, at least one compressed package is sent to second server.
It, can be by multiple configured with excellent when traffic circulation data include multiple in order to further speed up data transmission bauds The traffic circulation data of same priority mark, which compress, in the traffic circulation data of first grade mark is packaged with, so not Only traffic circulation data sequence can be sent to second server according to the sequence of processing priority from high to low, and can will be excellent First grade identifies after identical traffic circulation data carry out compression packing and is sent to second server, to further increase data biography Defeated efficiency is conducive to the processing timeliness for further increasing traffic circulation data.
In one embodiment, the step S102 in above-mentioned Fig. 1 determines the processing priority of traffic circulation data, can It is performed as:
Determine the corresponding current event of traffic circulation data;
The corresponding relationship and current event of event and priority according to the pre-stored data, determine the place of traffic circulation data Manage priority.
By determining the corresponding current event of traffic circulation data, can event according to the pre-stored data it is corresponding with priority Relationship and the current event, accurately determine the processing priority of the traffic circulation data.
Secondly, event can be generally divided into normal event and alarm event, wherein if traffic circulation data are normal It is then normal event in indication range, if being alarm event not in normal indication range, and the place of alarm event Reason priority is integrally lower than the processing priority of normal event.
In addition, can be distinguished event level further progress according to the data type of traffic circulation data, such as: braking number According to the rank for being superior to the corresponding event of Switch for door and window state of corresponding event.
As shown in figure 4, the second aspect of the present invention, additionally provides a kind of data processing method, it to be used for second server, packet Include step S401 and step S402:
In step S401, the traffic circulation data configured with priority tag that first server is sent are received, wherein Height of the priority tag for the processing priority of exterior syndrome traffic circulation data;
In step S402, according to priority tag, sequential processes are carried out to traffic circulation data.
The traffic circulation data configured with priority tag sent by receiving first server, second server can be pressed According to the processing priority sequence from high to low of priority tag characterization, sequential processes are carried out to traffic circulation data, to make The high emergency data of priority is obtained by priority processing, in this way, being conducive to reduce the processing hysteresis quality of the high emergency data of priority The big problem with delay, improves the processing timeliness of emergency data during traffic circulation, improves the safety of traffic circulation.
As shown in figure 5, in one embodiment, when first server includes multiple, above-mentioned step shown in Fig. 4 S402 carries out sequential processes to traffic circulation data, may include step S501 and step S502 that is, according to priority tag:
In step S501, the traffic circulation data that multiple first servers are sent are arranged according to priority tag Sequence, so that the traffic circulation data that multiple first servers are sent are ranked up according to the sequence of processing priority from high to low;
In step S502, according to priority tag, the traffic circulation data sent to multiple first servers are according to place The sequence of reason priority from high to low is successively handled.
When first server includes multiple, multiple first servers can be sent to traffic circulation data according to priority mark Knowledge is ranked up, and can be ranked up in this way according to the sequence of processing priority from high to low, so that different first servers are sent The identical part traffic circulation data of priority tag will sort together in the traffic circulation data to come over, then, press It is successively handled according to the sequence of processing priority from high to low, so that the traffic circulation number that different first servers are sent It can be timely with the processing for improving the high emergency data of priority by priority processing according to the high traffic circulation data of middle priority Property.
In one embodiment, the traffic circulation data that multiple first servers are sent are arranged according to priority tag Sequence, comprising:
Using the second sort method, the traffic circulation data that multiple first servers are sent are characterized according to priority tag Processing priority sequence from high in the end be ranked up.
When the traffic circulation data sent to multiple first servers are ranked up, can be carried out according to the second sort method Sequence, wherein the second sort method can be Shell sorting method, due to Shell sorting (Shell sorting) faster than bubble sort 5 Times, it is 2 times substantially faster than insertion sort, and the data volume collected in 1ms due to first server is well below 5000 bytes, because And it is highly suitable for the lesser ordered series of numbers of this data volume and repeats sort method.
In addition, using quicksort in first server side, Shell sorting is used in second server side, may make sequence Efficiency highest, it is ensured that the processing retardance of the high emergency data of priority is lower than 2 milliseconds.
In one embodiment, method further include:
According to priority tag, rank alarm corresponding with priority tag is carried out.
Second server can carry out appropriate level alarm according to the difference of priority tag, can such as be alerted by indicator light, Sound alarm, mail alarm, short message alarm etc., sufficiently to be prompted user.
Certainly, alarm level is higher, and the intensity or frequency of warning are higher or alarm level is higher, the color of indicator light It is deeper.
Finally, it should be clear that: those skilled in the art can according to actual needs carry out above-mentioned multiple embodiments certainly By combining.
Corresponding above-mentioned data processing method provided in an embodiment of the present invention, the third aspect of the embodiment of the present invention also provide A kind of data processing equipment is used for first server, as shown in fig. 6, the device includes:
Monitoring modular 601 is configured as monitoring currently pending traffic circulation data;
Determining module 602 is configured to determine that the processing priority of traffic circulation data;
Configuration module 603 is configured as according to processing priority being traffic circulation data configuration priority tag, wherein Priority tag is configured as the height of exterior syndrome processing priority;
First sending module 604 is configured as the traffic circulation data configured with priority tag being sent to the second clothes Business device, so that second server carries out sequential processes to traffic circulation data according to priority tag.
As shown in fig. 7, in one embodiment, the first sending module 604 may include:
Sorting sub-module 6041 is configured as when traffic circulation data include multiple, is configured with priority mark for multiple The traffic circulation data of knowledge are ranked up according to the sequence of processing priority from high to low;
Sending submodule 6042 is configured as the sequence from high to low according to processing priority, by multiple configured with preferential The traffic circulation data of grade mark are sent to second server.
In one embodiment, sorting sub-module 6041 includes:
Sequencing unit is configured as when traffic circulation data include multiple, using the first sort method, by multiple configurations There are the traffic circulation data of priority tag to be ranked up according to the sequence of processing priority from high in the end, wherein the first sequence Method includes quicksort method.
In one embodiment, device further include:
Compression module, be configured as by the traffic circulation data for being configured with priority tag be sent to second server it Before, when traffic circulation data include multiple, by priority tag in multiple traffic circulation data configured with priority tag Identical traffic circulation data are compressed, at least one compressed package is obtained, wherein at least one compressed package in each compressed package Traffic circulation data priority tag it is identical;
Second sending module is configured as at least one compressed package being sent to second server.
In one embodiment, determining module includes:
First determines submodule, is configured to determine that the corresponding current event of traffic circulation data;
Second determine submodule, be configured as event and priority according to the pre-stored data corresponding relationship and current thing Part determines the processing priority of traffic circulation data.
Corresponding above-mentioned data processing method provided in an embodiment of the present invention, the fourth aspect of the embodiment of the present invention also provide Another data processing equipment is used for second server, as shown in figure 8, the device includes:
Receiving module 801 is configured as receiving the traffic circulation number configured with priority tag that first server is sent According to, wherein priority tag is configured as the height of the processing priority of exterior syndrome traffic circulation data;
Processing module 802, is configured as according to priority tag, carries out sequential processes to traffic circulation data.
In one embodiment, processing module 802 may include:
Sorting sub-module 8021 is configured as sending multiple first servers when first server includes multiple Traffic circulation data are ranked up according to priority tag, so that the traffic circulation data that multiple first servers are sent are according to place The sequence of reason priority from high to low is ranked up;
Submodule 8022 is handled, the traffic circulation according to priority tag, sent to multiple first servers is configured as Data are successively handled according to the sequence of processing priority from high to low.
In one embodiment, sorting sub-module 8021 includes:
Sequencing unit is configured with the second sort method, the traffic circulation data that multiple first servers are sent The sequence of the processing priority characterized according to priority tag from high in the end is ranked up.
In one embodiment, device further include:
Alarm module is configured as carrying out rank alarm corresponding with priority tag according to priority tag.
Finally, it includes above-mentioned first server and second server that the present invention, which can also provide a kind of data processing system, Specifically, the data processing equipment of data processing equipment and fourth aspect embodiment including third aspect embodiment.
Figure 10 is a kind of block diagram for data processing equipment 1000 shown according to an exemplary embodiment, and the device is suitable For terminal device.For example, device 1000 can be mobile phone, computer, digital broadcasting terminal, messaging device, trip Play console, tablet device, Medical Devices, body-building equipment, a number assistant etc..
Referring to Fig.1 0, device 1000 may include with next or at least two components: processing component 1002, memory 1004, power supply module 1006, multimedia component 1008, audio component 1010, input/output (I/O) interface 1012, sensor group Part 1014 and communication component 1016.
The integrated operation of the usual control device 1000 of processing component 1002, such as with display, telephone call, data communication, Camera operation and record operate associated operation.Processing component 1002 may include one or at least two processors 1020 It executes instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1002 may include one or at least Two modules, convenient for the interaction between processing component 1002 and other assemblies.For example, processing component 1002 may include multimedia Module, to facilitate the interaction between multimedia component 1008 and processing component 1002.
Memory 1004 is configured as storing various types of data to support the operation in device 1000.These data Example includes the instruction for any storage object or method that operate on device 1000, contacts user data, telephone directory number According to, message, picture, video etc..Memory 1004 can by any kind of volatibility or non-volatile memory device or it Combination realize, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable Except programmable read only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, fastly Flash memory, disk or CD.
Power supply module 1006 provides power supply for the various assemblies of device 1000.Power supply module 1006 may include power management System, one or at least two power supplys and other with for device 1000 generate, manage, and distribute the associated component of power supply.
Multimedia component 1008 includes the screen of one output interface of offer between described device 1000 and user.? In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or at least two touchings Sensor is touched to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or cunning The boundary of movement, but also detect duration and pressure associated with the touch or slide operation.In some embodiments In, multimedia component 1008 includes a front camera and/or rear camera.When device 1000 is in operation mode, such as When screening-mode or video mode, front camera and/or rear camera can receive external multi-medium data.Before each Setting camera and rear camera can be a fixed optical lens system or has focusing and optical zoom capabilities.
Audio component 1010 is configured as output and/or input audio signal.For example, audio component 1010 includes a wheat Gram wind (MIC), when device 1000 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone quilt It is configured to receive external audio signal.The received audio signal can be further stored in memory 1004 or via communication Component 1016 is sent.In some embodiments, audio component 1010 further includes a loudspeaker, is used for output audio signal.
I/O interface 1012 provides interface, above-mentioned peripheral interface module between processing component 1002 and peripheral interface module It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and Locking press button.
Sensor module 1014 includes one or at least two sensors, for providing the shape of various aspects for device 1000 State assessment.For example, sensor module 1014 can detecte the state that opens/closes of device 1000, the relative positioning of component, example Such as the display and keypad that the component is device 1000, sensor module 1014 can be with detection device 1000 or device The position change of 1000 1 components, the existence or non-existence that user contacts with device 1000,1000 orientation of device or acceleration/subtract The temperature change of speed and device 1000.Sensor module 1014 may include proximity sensor, be configured to not any Physical contact when detect the presence of nearby objects.Sensor module 1014 can also include optical sensor, as CMOS or CCD schemes As sensor, for being used in imaging applications.In some embodiments, which can also include acceleration Sensor, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1016 is configured to facilitate the communication of wired or wireless way between device 1000 and other equipment.Dress The wireless network based on communication standard, such as WiFi can be accessed by setting 1000,2G or 3G or their combination.It is exemplary at one In embodiment, communication component 1016 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1016 further includes near-field communication (NFC) module, to promote short distance Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1000 can by one or at least two application specific integrated circuits (ASIC), Digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field-programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic building bricks are arranged to realize.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 1004 of instruction, above-metioned instruction can be executed by the processor 1020 of device 1000 to complete the above method.Example Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
Those skilled in the art will readily occur to of the invention its after considering specification and the invention invented here of practice Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or The common knowledge in the art that person's adaptive change follows general principle of the invention and do not invent including the present invention Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (18)

1. a kind of data processing method is used for first server characterized by comprising
Monitor currently pending traffic circulation data;
Determine the processing priority of the traffic circulation data;
It is the traffic circulation data configuration priority tag according to the processing priority, wherein the priority tag is used The height of the processing priority described in exterior syndrome;
The traffic circulation data configured with priority tag are sent to second server, so that the second server is pressed Sequential processes are carried out to the traffic circulation data according to the priority tag.
2. the method according to claim 1, wherein
It is described that the traffic circulation data configured with priority tag are sent to second server, comprising:
When the traffic circulation data include multiple, by multiple traffic circulation data configured with priority tag according to The sequence of processing priority from high to low is ranked up;
According to the sequence of processing priority from high to low, multiple traffic circulation data configured with priority tag are sent To the second server.
3. the method according to claim 1, wherein
It is described when the traffic circulation data include multiple, by multiple traffic circulation data configured with priority tag It is ranked up according to the sequence of processing priority from high to low, comprising:
When the traffic circulation data include multiple, using the first sort method, by multiple institutes configured with priority tag It states traffic circulation data to be ranked up according to the sequence of processing priority from high in the end, wherein first sort method includes Quicksort method.
4. the method according to claim 1, wherein in the traffic circulation number that will be configured with priority tag According to before being sent to second server, the method also includes:
It, will be excellent in multiple traffic circulation data configured with priority tag when the traffic circulation data include multiple First grade identifies identical traffic circulation data and is compressed, and obtains at least one compressed package, wherein at least one described compressed package In traffic circulation data in each compressed package priority tag it is identical;
At least one described compressed package is sent to the second server.
5. method according to claim 1 to 4, which is characterized in that
The processing priority of the determination traffic circulation data, comprising:
Determine the corresponding current event of the traffic circulation data;
The corresponding relationship of event and priority according to the pre-stored data and the current event determine the traffic circulation data Processing priority.
6. a kind of data processing method is used for second server characterized by comprising
Receive the traffic circulation data configured with priority tag that first server is sent, wherein the priority tag is used The height of the processing priority of traffic circulation data described in exterior syndrome;
According to the priority tag, sequential processes are carried out to the traffic circulation data.
7. according to the method described in claim 6, it is characterized in that, when the first server includes multiple, the basis The priority tag carries out sequential processes to the traffic circulation data, comprising:
The traffic circulation data that multiple first servers are sent are ranked up according to priority tag, so that multiple The traffic circulation data that the first server is sent are ranked up according to the sequence of processing priority from high to low;
According to the priority tag, the traffic circulation data sent to multiple first servers are preferential according to processing The sequence of grade from high to low is successively handled.
8. the method according to the description of claim 7 is characterized in that
The traffic circulation data that multiple first servers are sent are ranked up according to priority tag, are wrapped It includes:
Using the second sort method, the traffic circulation data that multiple first servers are sent are according to priority tag The sequence of the processing priority of characterization from high in the end is ranked up.
9. the method according to any one of claim 6 to 8, which is characterized in that the method also includes:
According to the priority tag, rank alarm corresponding with the priority tag is carried out.
10. a kind of data processing equipment is used for first server characterized by comprising
Monitoring modular, for monitoring currently pending traffic circulation data;
Determining module, for determining the processing priority of the traffic circulation data;
Configuration module, for being the traffic circulation data configuration priority tag according to the processing priority, wherein described Height of the priority tag for processing priority described in exterior syndrome;
First sending module, for the traffic circulation data for being configured with priority tag to be sent to second server, with The second server is set to carry out sequential processes to the traffic circulation data according to the priority tag.
11. device according to claim 10, which is characterized in that
First sending module includes:
Sorting sub-module, for being configured with multiple described in priority tag when the traffic circulation data include multiple Traffic circulation data are ranked up according to the sequence of processing priority from high to low;
Sending submodule, for the sequence according to processing priority from high to low, by multiple configured with described in priority tag Traffic circulation data are sent to the second server.
12. device according to claim 11, which is characterized in that
The sorting sub-module includes:
Sequencing unit, for when the traffic circulation data include multiple, using the first sort method, by multiple configured with excellent The traffic circulation data of first grade mark are ranked up according to the sequence of processing priority from high in the end, wherein described first Sort method includes quicksort method.
13. device according to claim 10, which is characterized in that described device further include:
Compression module, for before the traffic circulation data for being configured with priority tag are sent to second server, When the traffic circulation data include multiple, by priority in multiple traffic circulation data configured with priority tag It identifies identical traffic circulation data to be compressed, obtains at least one compressed package, wherein is each at least one described compressed package The priority tag of traffic circulation data in compressed package is identical;
Second sending module, at least one described compressed package to be sent to the second server.
14. device described in any one of 0 to 13 according to claim 1, which is characterized in that
The determining module includes:
First determines submodule, for determining the corresponding current event of the traffic circulation data;
Second determines submodule, for the corresponding relationship and the current event of event according to the pre-stored data and priority, Determine the processing priority of the traffic circulation data.
15. a kind of data processing equipment is used for second server characterized by comprising
Receiving module, for receiving the traffic circulation data configured with priority tag of first server transmission, wherein described Height of the priority tag for the processing priority of traffic circulation data described in exterior syndrome;
Processing module, for carrying out sequential processes to the traffic circulation data according to the priority tag.
16. device according to claim 15, which is characterized in that the processing module includes:
Sorting sub-module will be described in multiple first servers send for when the first server includes multiple Traffic circulation data are ranked up according to priority tag, so that the traffic circulation number that multiple first servers are sent It is ranked up according to according to the sequence of processing priority from high to low;
Submodule is handled, the traffic circulation according to the priority tag, sent to multiple first servers is used for Data are successively handled according to the sequence of processing priority from high to low.
17. device according to claim 16, which is characterized in that
The sorting sub-module includes:
Sequencing unit, for using the second sort method, by the traffic circulation data of multiple first servers transmissions The sequence of the processing priority characterized according to priority tag from high in the end is ranked up.
18. device described in any one of 5 to 17 according to claim 1, which is characterized in that described device further include:
Alarm module, for carrying out rank alarm corresponding with the priority tag according to the priority tag.
CN201811354695.8A 2018-11-14 2018-11-14 Data processing method and device Pending CN109634727A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811354695.8A CN109634727A (en) 2018-11-14 2018-11-14 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811354695.8A CN109634727A (en) 2018-11-14 2018-11-14 Data processing method and device

Publications (1)

Publication Number Publication Date
CN109634727A true CN109634727A (en) 2019-04-16

Family

ID=66068056

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811354695.8A Pending CN109634727A (en) 2018-11-14 2018-11-14 Data processing method and device

Country Status (1)

Country Link
CN (1) CN109634727A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111831431A (en) * 2020-06-30 2020-10-27 万翼科技有限公司 CAD file analysis method, related device and system
CN116353664A (en) * 2023-02-28 2023-06-30 西门子交通技术(北京)有限公司 Automatic rail train protection system and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106406990A (en) * 2016-08-26 2017-02-15 李逸博 Batch job-resource matching method and system with security constraint
CN107066271A (en) * 2017-03-31 2017-08-18 武汉斗鱼网络科技有限公司 A kind of hierarchy management method and system for showing object
CN107391268A (en) * 2016-05-17 2017-11-24 阿里巴巴集团控股有限公司 service request processing method and device
CN108021420A (en) * 2016-12-23 2018-05-11 北京车和家信息技术有限责任公司 The method, apparatus of message display, middle control display system and vehicle

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391268A (en) * 2016-05-17 2017-11-24 阿里巴巴集团控股有限公司 service request processing method and device
CN106406990A (en) * 2016-08-26 2017-02-15 李逸博 Batch job-resource matching method and system with security constraint
CN108021420A (en) * 2016-12-23 2018-05-11 北京车和家信息技术有限责任公司 The method, apparatus of message display, middle control display system and vehicle
CN107066271A (en) * 2017-03-31 2017-08-18 武汉斗鱼网络科技有限公司 A kind of hierarchy management method and system for showing object

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111831431A (en) * 2020-06-30 2020-10-27 万翼科技有限公司 CAD file analysis method, related device and system
CN111831431B (en) * 2020-06-30 2023-07-21 深圳市万翼数字技术有限公司 CAD file analysis method, related device and system
CN116353664A (en) * 2023-02-28 2023-06-30 西门子交通技术(北京)有限公司 Automatic rail train protection system and readable storage medium

Similar Documents

Publication Publication Date Title
CN109067626A (en) Report the method, apparatus and storage medium of information
CN108647058A (en) A kind of application program launching method and mobile terminal
CN109286727B (en) Operation control method and terminal equipment
CN104038300A (en) Method, device and system for preventing mobile terminal from being lost
US10681200B2 (en) Message processing method and system, and related device
CN109417739A (en) Resource determining method and device
EP3086577B1 (en) Method and device for event notification in home network system
CN109634727A (en) Data processing method and device
CN105049587A (en) Mobile phone message safety reminding method and device during driving process of vehicle
CN108494786A (en) A kind of emergency vehicle based reminding method, server and mobile terminal
CN108702763A (en) The sending method and device of lead code and scheduling request
JP4218435B2 (en) Multi cordless cordless phone
CN105279897B (en) Car alarming method and device
CN108391467A (en) data transmission method and device, user equipment and base station
CN105049586A (en) Mobile phone message feedback configuration for vehicle during driving process
CA2894937C (en) Intercommunication methods and devices based on digital networks
US11894927B2 (en) Data transmission method and device, and storage medium
CN105848217B (en) The method, apparatus and terminal of connection wireless network are shunted based on APP network occupancy
CN109246298B (en) Information prompting method and mobile terminal
CN107485335A (en) Recognition methods, device, electronic equipment and storage medium
CN114801736A (en) Alarm information display method, device and storage medium
CN110309003A (en) Information cuing method and mobile terminal
EP4273695A1 (en) Service anomaly warning method, electronic device and storage medium
CN105223490B (en) The method and device that circuit abnormality is reminded
CN108347692A (en) A kind of network connection based reminding method, device and mobile 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: 20190416

RJ01 Rejection of invention patent application after publication