CN108156233A - Data processing method, device and computer readable storage medium - Google Patents
Data processing method, device and computer readable storage medium Download PDFInfo
- Publication number
- CN108156233A CN108156233A CN201711401870.XA CN201711401870A CN108156233A CN 108156233 A CN108156233 A CN 108156233A CN 201711401870 A CN201711401870 A CN 201711401870A CN 108156233 A CN108156233 A CN 108156233A
- Authority
- CN
- China
- Prior art keywords
- time
- equipment
- data processing
- data
- processing method
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/52—Network services specially adapted for the location of the user terminal
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a kind of data processing methods, include the following steps:Obtain the first time in equipment location;Calculate the first time corresponding first Greenwich Mean Time;The time-zone information in the equipment location is obtained based on the first time and first Greenwich Mean Time;Time-zone information described in associated storage and the corresponding equipment record of the equipment.The invention also discloses a kind of data processing equipment and computer readable storage mediums.The present invention is realized with the time-zone information in Greenwich Mean Time computing device location, entanglement when being pushed so as to avoid the time, and then improves the uniformity and accuracy of different regions time.
Description
Technical field
The present invention relates to a kind of data processing field more particularly to data processing method, device and computer-readable storages
Medium.
Background technology
With the further development of globalization, domestic enterprise is by a large amount of device sales to global every country.Companion
With the rapid development of Internet of Things, oneself equipment is all connected on respective server by each enterprise, while develops APP use
In the intelligent control of equipment.The Cloud Server of domestic majority enterprise is all to be deployed within Chinese territory, although timestamp can ensure
Total number of seconds when synchronization, each equipment upload data to Cloud Server is consistent, but while converting on the server is all in switching to
The local zone time of state.This to equipment progress intelligent control to using Cloud Server with regard to bringing challenge, for example, positioned within Chinese territory
Cloud Server, Beijing time morning 8 o'clock sharp receive positioned at the U.S. an equipment upload data when, Cloud Server note
The time for recording the data can be 8 points, but because of the time difference, which is that American time is sent out for 17 points at night, cloud service
Device should record the time as 17 points rather than 8 points.
At present, when receiving user data due to synchronization, Cloud Server record is all the Chinese local time, when
When carrying out self study and timing push using these data records, time data will appear entanglement.
The above is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that the above is existing skill
Art.
Invention content
It is a primary object of the present invention to provide a kind of data processing method, device and computer readable storage medium, purport
There is the technical issues of entanglement when solving and pushing time data.
To achieve the above object, the present invention provides a kind of data processing method, the described method comprises the following steps:
Obtain the first time in equipment location;
Calculate the first time corresponding first Greenwich Mean Time;
The time-zone information in the equipment location is obtained based on the first time and first Greenwich Mean Time;
Time-zone information described in associated storage and the corresponding equipment record of the equipment.
Preferably, it is described that the equipment location is obtained based on the first time and first Greenwich Mean Time
The step of time-zone information, includes:
Calculate the time difference of the first time and first Greenwich Mean Time;
The time-zone information in the equipment location is obtained based on the time difference.
Preferably, after the step of time-zone information described in the associated storage and the corresponding equipment of the equipment record, institute
Data processing method is stated to further include:
When the data for receiving equipment transmission, equipment current corresponding second Greenwich Mean Time and the time zone are obtained
Information;
When being currently located the second of ground based on second Greenwich Mean Time and the time-zone information acquisition equipment
Between;
The data and second time that equipment described in associated storage is sent.
Preferably, before the step of first time in the acquisition equipment location, the data processing method includes:
It is associated with the equipment and mobile terminal;
The current time of the mobile terminal is obtained, and using the current time as at the first time.
Preferably, the data processing method further includes:
Obtain the upload data of equipment and the time for uploading the corresponding equipment location of data in preset time period;
It is for statistical analysis to the time of the upload data and the equipment location, it is corresponding to obtain the equipment
Operation information;
The operation information is sent to terminal.
Preferably, the time to the upload data and the equipment location is for statistical analysis, to obtain
After the step of stating equipment corresponding operation information, the data processing method further includes:
Based on the operation information at work between send operational order to the equipment.
Preferably, the data processing method further includes:
Obtain the facility information and operation information of each equipment;
Facility information described in associated storage and the operation information.
In addition, to achieve the above object, the present invention also provides a kind of data processing equipment, data processing equipment includes:It deposits
Reservoir, processor and it is stored in the data processor that can be run on the memory and on the processor, the data
The step of any of the above-described data processing method is realized when processing routine is performed by the processor.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium
Data processor is stored on storage medium, the data processor realizes any of the above-described item data when being executed by processor
The step of processing method.
Then the present invention calculates the first time corresponding first Green by obtaining first time in equipment location
Prestige controls the time, and the time zone letter in the equipment location is then obtained based on the first time and first Greenwich Mean Time
Breath, time-zone information described in last associated storage and the corresponding equipment record of the equipment;It is thus achieved that with Greenwich Mean Time
The time-zone information in computing device location, entanglement when being pushed so as to avoid the time, and then improve the different regions time
Uniformity and accuracy.
Description of the drawings
Fig. 1 is that the structure of the affiliated terminal of data processing equipment in the hardware running environment that the embodiment of the present invention is related to is shown
It is intended to;
Fig. 2 is the flow diagram of data processing method first embodiment of the present invention;
Fig. 3 is is based on the first time and first Green described in data processing method second embodiment of the present invention
Prestige controls the refinement flow diagram for the time obtaining the time-zone information step in the equipment location;
Fig. 4 is the flow diagram of data processing method 3rd embodiment of the present invention;
Fig. 5 is the flow diagram of data processing method fourth embodiment of the present invention;
Fig. 6 is the flow diagram of the 5th embodiment of data processing method of the present invention;
Fig. 7 is the flow diagram of data processing method sixth embodiment of the present invention;
Fig. 8 is the flow diagram of the 7th embodiment of data processing method of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
As shown in Figure 1, in the hardware running environment that Fig. 1, which is the embodiment of the present invention, to be related to belonging to data processing equipment eventually
The structure diagram at end.
Terminal of the embodiment of the present invention can be PC.As shown in Figure 1, the terminal can include:Processor 1001, such as CPU,
Network interface 1004, user interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is used to implement this
Connection communication between a little components.User interface 1003 can include display screen (Display), input unit such as keyboard
(Keyboard), optional user interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 is optional
Can include standard wireline interface and wireless interface (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory,
It can also be stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally may be used also
To be independently of the storage device of aforementioned processor 1001.
Optionally, terminal can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, audio
Circuit, WiFi module etc..Wherein, sensor such as optical sensor, motion sensor and other sensors.Specifically, light
Sensor may include ambient light sensor and proximity sensor, wherein, ambient light sensor can according to the light and shade of ambient light come
The brightness of display screen is adjusted, proximity sensor can close display screen and/or backlight when mobile terminal is moved in one's ear.As
One kind of motion sensor, gravity accelerometer can detect on direction the size of (generally three axis) acceleration, when static
It can detect that size and the direction of gravity, can be used to identify application (such as horizontal/vertical screen switching, the related trip of mobile terminal posture
Play, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Certainly, mobile terminal can also configure
The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, details are not described herein.
It will be understood by those skilled in the art that the restriction of the terminal structure shown in Fig. 1 not structure paired terminal, can wrap
It includes and either combines certain components or different components arrangement than illustrating more or fewer components.
As shown in Figure 1, as operation server, network can be included in a kind of memory 1005 of computer storage media
Communication module, Subscriber Interface Module SIM and data processor.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, is carried out with background server
Data communicate;User interface 1003 is mainly used for connecting client (user terminal), with client into row data communication;And processor
1001 can be used for calling the data processor stored in memory 1005.
In the present embodiment, data processing equipment includes:Memory 1005, processor 1001 and it is stored in the memory
On 1005 and the data processor that can be run on the processor 1001, wherein, processor 1001 calls memory 1005
During the data processor of middle storage, following operate is performed:
Obtain the first time in equipment location;
Calculate the first time corresponding first Greenwich Mean Time;
The time-zone information in the equipment location is obtained based on the first time and first Greenwich Mean Time;
Time-zone information described in associated storage and the corresponding equipment record of the equipment.
Further, processor 1001 can call the data processor stored in memory 1005, also perform following
Operation:
Calculate the time difference of the first time and first Greenwich Mean Time;
The time-zone information in the equipment location is obtained based on the time difference.
Further, processor 1001 can call the data processor stored in memory 1005, also perform following
Operation:
When the data for receiving equipment transmission, equipment current corresponding second Greenwich Mean Time and the time zone are obtained
Information;
When being currently located the second of ground based on second Greenwich Mean Time and the time-zone information acquisition equipment
Between;
The data and second time that equipment described in associated storage is sent.
Further, processor 1001 can call the data processor stored in memory 1005, also perform following
Operation:
It is associated with the equipment and mobile terminal;
The current time of the mobile terminal is obtained, and using the current time as at the first time.
Further, processor 1001 can call the data processor stored in memory 1005, also perform following
Operation:
Obtain the upload data of equipment and the time for uploading the corresponding equipment location of data in preset time period;
It is for statistical analysis to the time of the upload data and the equipment location, it is corresponding to obtain the equipment
Operation information;
The operation information is sent to terminal.
Further, processor 1001 can call the data processor stored in memory 1005, also perform following
Operation:
Based on the operation information at work between send operational order to the equipment.
Further, processor 1001 can call the data processor stored in memory 1005, also perform following
Operation:
Obtain the facility information and operation information of each equipment;
Facility information described in associated storage and the operation information.
The present invention further provides a kind of data processing methods.With reference to Fig. 2, Fig. 2 is data processing method first of the present invention
The flow diagram of embodiment.
In the present embodiment, which includes the following steps:
Step S10 obtains the first time in equipment location;
In the present embodiment, mobile terminal will be bound with equipment, mobile terminal and consolidated network where equipment, service
The device system time current by mobile terminal is obtained, that is, the first time in the equipment location, for example, mobile phone passes through movement
The network time is sent to server by the system time and network time synchronization of mobile terminal by network.
Step S20 calculates the first time corresponding first Greenwich Mean Time;
In the present embodiment, Greenwich Mean Time refers to the mark of the imperial Greenwich Observatory positioned at London suburb
Between punctual, because the first meridian is defined within the warp by there.Since 5 days 2 months nineteen twenty-four, Greenwich Observatory
It is every to provide timing information to the whole world every other hour.When server receives first time, using the interface of programming language with
And Green's prestige seat of local government 0 time zone, current Greenwich Mean Time is calculated, for example, mobile phone is uploaded to the time of Cloud Server
For 2017-11-13 13:23:36, then can calculate current Greenwich Mean Time is:2017-11-13 02:23:37.
Step S30, based on the first time and first Greenwich Mean Time obtain the equipment location when
Area's information;
In the present embodiment, the first time got and the first Greenwich Mean Time are converted into timestamp by server,
The difference of two timestamps is calculated, obtains the time-zone information in equipment location, it certainly, can be with since data transmission is different
Increased in number of seconds or reduced, for example, the first time that mobile phone is uploaded to server is 2017-11-13 13:23:
36, will be converted into timestamp at the first time is 1510550616, and unit is millisecond, and current first Greenwich Mean Time is 2017-
11-13 02:23:37, it is 1510511017 that the first Greenwich Mean Time was converted into timestamp, and unit is millisecond, calculates two
The difference of timestamp is 39599 milliseconds, is converted into a hour unit, is exactly 11 hours (39599/3600=10.9997, four houses five
Enter as 11), because Greenwich is 0 time zone, had more than Greenwich Mean Time 11 hours, i.e. the equipment is located at Dong11Qu.Cloud
"+11 " are just stored in as time-zone information in the corresponding data of equipment by server.When the Cloud Server of enterprise be deployed in 2 and
When more than 2 countries, Greenwich Mean Time is used uniformly, can make no modifications can meet demand.If but use cloud
Time where server as standard, with the time-zone information of time computing device where Cloud Server, once cloud service
There is variation in the country of device deployment, and must make corresponding modification could meet use.
Step S40, time-zone information described in associated storage and the corresponding equipment record of the equipment.
In the present embodiment, equipment record includes operational motion, equipment running status, operation hours of user etc.
The time-zone information and the equipment are recorded associated storage by information, which includes recording the equipment of the equipment and this sets
The time-zone information in standby location is stored together, and the time-zone information for finding the equipment location can be recorded according to the equipment.When
So, equipment can also be recorded and time-zone information is sent to terminal, user can be when terminal checks that equipment records and is corresponding
Area's information.
The data processing method that the present embodiment proposes, by obtaining the first time in equipment location, then described in calculating
Corresponding first Greenwich Mean Time at the first time is then obtained based on the first time and first Greenwich Mean Time
The time-zone information in the equipment location, time-zone information described in last associated storage and the corresponding equipment record of the equipment;It is real
Show with the time-zone information in Greenwich Mean Time computing device location, entanglement when being pushed so as to avoid the time, Jin Erti
The high uniformity and accuracy of different regions times.
Based on first embodiment, the second embodiment of data processing method of the present invention is proposed, reference Fig. 3, in the present embodiment,
Step S30 includes:
Step S31 calculates the time difference of the first time and first Greenwich Mean Time;
Step S32 obtains the time-zone information in the equipment location based on the time difference.
In the present embodiment, first time and first Greenwich Mean Time are converted into timestamp, then calculate two
The difference of a timestamp, timestamp are typically a character string, are the time for uniquely identifying certain a moment.Digital Time-stamp skill
Art is a kind of application of mutation of digital signature technology, and 00 divides 00 second (north when referring to 1970 01 month 01 day 00 Greenwich Mean Time
00 divides 00 second during 1970 01 month 01 day 08 capital time) it rises to present total number of seconds, at the first time including equipment and mobile terminal
Mobile terminal is sent to the current system time of server during binding, and the first Greenwich Mean Time referred to corresponding at the first time
Greenwich Mean Time, for example, the first time that mobile phone is uploaded to server is 2017-11-13 13:23:36, it will be at the first time
It is 1510550616 to be converted into timestamp, and unit is millisecond, and current first Greenwich Mean Time is 2017-11-13 02:23:37
(can be because data network transmission is different, here for increasing 1 second in number of seconds), the first Greenwich Mean Time be converted
It is 1510511017 for timestamp, unit is millisecond, and the difference for then calculating two timestamps is 39599 milliseconds, is converted into small
Shi Danwei is exactly 11 hours (39599/3600=10.9997 rounds up as 11), because Greenwich is 0 time zone, if
The time in standby location has more 11 hours than Greenwich Mean Time, i.e. the equipment is located at Dong11Qu.Cloud Server just makees "+11 "
It is stored for time-zone information into the corresponding data of equipment.
The data processing method that the present embodiment proposes, by calculating the first time and first Greenwich Mean Time
Time difference, be then based on the time-zone information that time difference obtains the equipment location;It realizes and is obtained according to the time difference
The time-zone information in equipment location so as to avoid entanglement during time push, and then improves the different regions time
Uniformity and accuracy.
Based on second embodiment, the 3rd embodiment of data processing method of the present invention is proposed, reference Fig. 4, in the present embodiment,
After step S40, further include:
Step S50, when the data for receiving equipment transmission, obtain equipment current corresponding second Greenwich Mean Time and
The time-zone information;
In the present embodiment, the second Greenwich Mean Time referred to that equipment sent data to Greenwich current during server
Time, when server receives the data of equipment transmission, by obtain the second current Greenwich Mean Time and the equipment when
Area's information, zones values when which includes, for example, in step s 32, zones values when "+11 " are then, country variant area corresponds to
When zones values be different, for example, all there are the time difference, corresponding time zones for BeiJing, China and Washington, DC, Tibet and Beijing etc.
Value is different.
Step S60 obtains the equipment based on second Greenwich Mean Time and the time-zone information and is currently located ground
The second time;
In the present embodiment, server can be obtained from database equipment be currently located ground time-zone information, according to when
Area's information calculating device is currently located second time on ground, for example, server is got in the time-zone information in equipment location
When zones values be "+11 ", current Greenwich Mean Time be 2017-11-15 08:25:56, then it can calculate the of equipment location
Two times were 2017-11-15 19:25:56.
Step S70, the data and second time that equipment described in associated storage is sent.
In the present embodiment, associated storage includes the second time and the data being stored together, stored for the second time
To the data, for example, storing the time calculated into the corresponding data logging of data.Then user, which can see, receives this
Time during data.
The data processing method that the present embodiment proposes, by the way that when receiving the data that equipment is sent, it is current to obtain equipment
Corresponding second Greenwich Mean Time and the time-zone information are then based on second Greenwich Mean Time and time zone letter
Breath obtains the second time that the equipment is currently located ground, data that equipment described in last associated storage is sent and it is described second when
Between;The second time by the accurate computing device location of time-zone information is realized, and then improves the system of different regions time
One property and accuracy.
Based on 3rd embodiment, the fourth embodiment of data processing method of the present invention is proposed, reference Fig. 5, in the present embodiment,
After step S70, further include:
Step S80 is associated with the equipment and mobile terminal;
In the present embodiment, associate device and mobile terminal include binding mobile terminal and equipment, for example, passing through
Cell phone application binds equipment and mobile terminal, and when sending the current system of mobile phone to Cloud Server after binding success
Between, which is then the time in equipment location.
Step S90 obtains the current time of the mobile terminal, and using the current time as at the first time.
In the present embodiment, mobile terminal and consolidated network where equipment, can be by the system time and net of mobile terminal
The network time synchronizes, and sends network request to time synchronization server in preset time timing, obtains current network time, in advance
If the time is configured by technical staff, for example, ten minutes, 30 minutes, one hour etc., using current network time as movement
The time of terminal system, in this way, mobile terminal then can calibration network time automatically.By the time of the mobile terminal system, as
At the first time, this refers to that equipment is currently located the time on ground at the first time.
The data processing method that the present embodiment proposes, is associated with the equipment and mobile terminal, then obtains described mobile whole
The current time at end, and using the current time as at the first time;It realizes and is associated mobile terminal and equipment, so as to
The accurate time for obtaining equipment and being currently located ground.
Based on fourth embodiment, the 5th embodiment of data processing method of the present invention is proposed, reference Fig. 6, in the present embodiment,
The data processing method further includes:
Step S100 obtains the upload data of equipment and the corresponding equipment location of the upload data in preset time period
Time;
In the present embodiment, preset time period is specified by technical staff, including one day, a week, one month etc.,
Equipment can be in real time or periodically to Cloud Server transmission upload data, the data such as which includes operation, controls, and energy
Enough determine equipment upload data when location time, for example, current working condition can be sent to service in real time by equipment
Working condition is sent to server by device after preset time period, and preset time period technical staff is configured, Ke Yishi
Ten minutes, one hour etc., the present embodiment was not especially limited this.
Step S110, it is for statistical analysis to the time of the upload data and the equipment location, it is described to obtain
The corresponding operation information of equipment;
The operation information is sent to terminal by step S120.
In the present embodiment, it is for statistical analysis to the time of the upload data of equipment and equipment location, upload data
Working condition, operating status and run time including equipment etc., operation information include the running parameter of equipment, working time,
Working time includes the time of the switching on and shutting down of equipment, for example, obtaining the working condition of some air-conditioning last month, operating status and work
Make time etc., the upload data of air-conditioning analyzed and counted, obtain running parameter and the working time of air-conditioning, including temperature,
Wind-force size, time etc. of switching on and shutting down, running parameter is then sent to terminal, operation information is included showing in terminal by terminal
Interface, user can check the operation information of equipment in terminal display interface or the operation information of equipment is adjusted, into one
Step ground, air-conditioning system also is able to environmental information being sent to server, including indoor temperature, outdoor temperature etc., server according to
Current environment factor can control air-conditioning to adjust temperature.
Further, the data that equipment uploads can be daily record data, and equipment is generally by equipment record and equipment location
Time be stored in daily record data, server obtain equipment upload data when, the data to upload are for statistical analysis,
It can be counted according to preset rules, for example, some data are invalid data, can be screened away, preset rules include must
The data of needs must be filtered out according to preset rules comprising certain necessary fields, byte length, time etc., then to data into
Row analysis for example, determining that equipment performs some operation in some time, and performs duration of some operation, can be with
It is the equipment entire working condition of one day, it is of course also possible to be the working condition of distinct device.
The present embodiment propose Dun data processing methods, by obtain equipment in preset time period upload data and it is described on
The time in the corresponding equipment location of data is passed, then the time of the upload data and the equipment location is counted
Analysis, to obtain the corresponding operation information of the equipment, is finally sent to terminal by the operation information;It realizes to uploading number
According to and equipment location the time operating status for statistical analysis for obtaining operation information, can accurately grasping equipment, so as to
Accurately intelligent control is carried out to equipment.
Based on the 5th embodiment, the sixth embodiment of data processing method of the present invention is proposed, reference Fig. 7, in the present embodiment,
After step S110, further include:
Step 130, based on the operation information at work between send operational order to the equipment.
In the present embodiment, operation information include equipment task time and running parameter, at work between send operation refer to
It enables to equipment, so as to perform the corresponding operation task of operational order according to operating parameter control device, for example, in step S120
In, operation information is sent to air-conditioning, air-conditioning system according to operation information control air-conditioning at work between perform switching on and shutting down task,
And air conditioner operation parameters in operation information adjust the running parameter of air-conditioning, including temperature, wind-force size and pattern etc.,
The data processing method that the present embodiment proposes, by sending operational order to the equipment in the working time;
Realize the accurate long-distance intelligent control to equipment.
Based on sixth embodiment, the 7th embodiment of data processing method of the present invention is proposed, reference Fig. 8, in the present embodiment,
The data processing method further includes:
Step S140 obtains the facility information and operation information of each equipment;
Step S150, facility information described in associated storage and the operation information.
In the present embodiment, facility information includes serial number, model, name of equipment etc., and operation information includes the work of equipment
Make parameter and working time etc., when server controls multiple devices, multiple devices can be located at different regions, each by calculating
The Greenwich Mean Time of a equipment obtains the time-zone information of each equipment, can be obtained according to the time-zone information of each equipment each
The time in equipment location, so as to obtain the corresponding operation information of equipment location present period, by the operation information with
Facility information is associated storage, so as to which each equipment be controlled to perform operation task, for example, Cloud Server is in morning Beijing time
8 points send control actions to two equipment, one in BeiJing, China, one in Washington, DC.For in Pekinese's equipment, cloud
Server will obtain 8 points of operational motions at the moment of equipment from big data analysis result, concurrently be fed to the equipment.And
For the equipment in Washington, it is 7 points at night that Cloud Server will calculate Washington current time according to time-zone information, then gives
Operational order is sent to equipment at 7 points, control device performs behaviour's task at night.
The data processing method that the present embodiment proposes, by obtaining the facility information and operation information of each equipment, then
Facility information described in associated storage and the operation information;Realize by the corresponding facility information of each equipment and operation information into
Storage performs operation task so as to accurately control equipment according to operation information in orthochronous.
The present invention also provides a kind of computer readable storage medium, in the present embodiment, on computer readable storage medium
Data processor is stored with, wherein:
Obtain the first time in equipment location;
Calculate the first time corresponding first Greenwich Mean Time;
The time-zone information in the equipment location is obtained based on the first time and first Greenwich Mean Time;
Time-zone information described in associated storage and the corresponding equipment record of the equipment.
Further, when which is performed by the processor, following steps are also realized:
Calculate the time difference of the first time and first Greenwich Mean Time;
The time-zone information in the equipment location is obtained based on the time difference.
Further, when which is performed by the processor, following steps are also realized:
When the data for receiving equipment transmission, equipment current corresponding second Greenwich Mean Time and the time zone are obtained
Information;
When being currently located the second of ground based on second Greenwich Mean Time and the time-zone information acquisition equipment
Between;
The data and second time that equipment described in associated storage is sent.
Further, when which is performed by the processor, following steps are also realized:
It is associated with the equipment and mobile terminal;
The current time of the mobile terminal is obtained, and using the current time as at the first time.
Further, when which is performed by the processor, following steps are also realized:
Obtain the upload data of equipment and the time for uploading the corresponding equipment location of data in preset time period;
It is for statistical analysis to the time of the upload data and the equipment location, it is corresponding to obtain the equipment
Operation information;
The operation information is sent to terminal.
Further, when which is performed by the processor, following steps are also realized:
Based on the operation information at work between send operational order to the equipment.
Further, when which is performed by the processor, following steps are also realized:
Obtain the facility information and operation information of each equipment;
Facility information described in associated storage and the operation information.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or system including a series of elements not only include those elements, and
And it further includes other elements that are not explicitly listed or further includes intrinsic for this process, method, article or system institute
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
Also there are other identical elements in the process of element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be embodied in the form of software product, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions use so that a station terminal equipment (can be mobile phone,
Computer, server, air conditioner or network equipment etc.) perform method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made directly or indirectly is used in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of data processing method, which is characterized in that the data processing method includes the following steps:
Obtain the first time in equipment location;
Calculate the first time corresponding first Greenwich Mean Time;
The time-zone information in the equipment location is obtained based on the first time and first Greenwich Mean Time;
Time-zone information described in associated storage and the corresponding equipment record of the equipment.
2. data processing method as described in claim 1, which is characterized in that described to be based on the first time and described first
The step of time-zone information in the Greenwich Mean Time acquisition equipment location, includes:
Calculate the time difference of the first time and first Greenwich Mean Time;
The time-zone information in the equipment location is obtained based on the time difference.
3. data processing method as claimed in claim 2, which is characterized in that time-zone information described in the associated storage and described
After the step of corresponding equipment of equipment records, the data processing method further includes:
When the data for receiving equipment transmission, equipment current corresponding second Greenwich Mean Time and time zone letter are obtained
Breath;
Second time on ground is currently located based on second Greenwich Mean Time and the time-zone information acquisition equipment;
The data and second time that equipment described in associated storage is sent.
4. data processing method as claimed in claim 3, which is characterized in that the first time for obtaining equipment location
Before step, the data processing method includes:
It is associated with the equipment and mobile terminal;
The current time of the mobile terminal is obtained, and using the current time as at the first time.
5. data processing method as claimed in claim 4, which is characterized in that the data processing method further includes:
Obtain the upload data of equipment and the time for uploading the corresponding equipment location of data in preset time period;
It is for statistical analysis to the time of the upload data and the equipment location, to obtain the corresponding operation of the equipment
Information;
The operation information is sent to terminal.
6. data processing method as claimed in claim 5, which is characterized in that described to the upload data and equipment institute
Time on ground is for statistical analysis, the step of to obtain the equipment corresponding operation information after, the data processing side
Method further includes:
Based on the operation information at work between send operational order to the equipment.
7. data processing method as claimed in claim 5, which is characterized in that the data processing method further includes:
Obtain the facility information and operation information of each equipment;
Facility information described in associated storage and the operation information.
8. the data processing method as described in claim 5-7 is any, which is characterized in that the operation information includes the work of equipment
Make time, running parameter.
9. a kind of data processing equipment, which is characterized in that the data processing equipment includes:It memory, processor and is stored in
On the memory and the data processor that can run on the processor, the data processor is by the processor
It is realized during execution such as the step of method described in any item of the claim 1 to 8.
10. a kind of computer readable storage medium, which is characterized in that be stored at data on the computer readable storage medium
Program is managed, such as data processing described in any item of the claim 1 to 8 is realized when the data processor is executed by processor
Method and step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711401870.XA CN108156233A (en) | 2017-12-20 | 2017-12-20 | Data processing method, device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711401870.XA CN108156233A (en) | 2017-12-20 | 2017-12-20 | Data processing method, device and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108156233A true CN108156233A (en) | 2018-06-12 |
Family
ID=62465003
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711401870.XA Pending CN108156233A (en) | 2017-12-20 | 2017-12-20 | Data processing method, device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108156233A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109510857A (en) * | 2018-07-10 | 2019-03-22 | 中国联合网络通信集团有限公司 | Date storage method, device, server and system |
CN110321333A (en) * | 2019-04-19 | 2019-10-11 | 珠海天燕科技有限公司 | A kind of method and apparatus adjusting data |
CN110716781A (en) * | 2019-09-27 | 2020-01-21 | 北京乐我无限科技有限责任公司 | Multi-time zone time display method, configuration method and device |
CN112686697A (en) * | 2020-12-29 | 2021-04-20 | 百果园技术(新加坡)有限公司 | Multi-dimension-based user behavior data processing method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050105397A1 (en) * | 2003-11-14 | 2005-05-19 | Christopher Tuason | System and method for a clock using a time standard where global time works cooperatively with all local time zones |
CN101123611A (en) * | 2007-09-25 | 2008-02-13 | 中兴通讯股份有限公司 | A transmission method for stream media data |
CN101287004A (en) * | 2008-05-29 | 2008-10-15 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal, method and system for updating system time thereof |
CN101364892A (en) * | 2007-08-08 | 2009-02-11 | 中兴通讯股份有限公司 | Time conversion method based on network element of different time zones |
CN102594480A (en) * | 2012-01-21 | 2012-07-18 | 中广传播集团有限公司 | Broadcast data transmission method and broadcast data transmitting and receiving device |
CN107290950A (en) * | 2016-03-30 | 2017-10-24 | 中兴通讯股份有限公司 | A kind of system time setting method and device |
-
2017
- 2017-12-20 CN CN201711401870.XA patent/CN108156233A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050105397A1 (en) * | 2003-11-14 | 2005-05-19 | Christopher Tuason | System and method for a clock using a time standard where global time works cooperatively with all local time zones |
CN101364892A (en) * | 2007-08-08 | 2009-02-11 | 中兴通讯股份有限公司 | Time conversion method based on network element of different time zones |
CN101123611A (en) * | 2007-09-25 | 2008-02-13 | 中兴通讯股份有限公司 | A transmission method for stream media data |
CN101287004A (en) * | 2008-05-29 | 2008-10-15 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal, method and system for updating system time thereof |
CN102594480A (en) * | 2012-01-21 | 2012-07-18 | 中广传播集团有限公司 | Broadcast data transmission method and broadcast data transmitting and receiving device |
CN107290950A (en) * | 2016-03-30 | 2017-10-24 | 中兴通讯股份有限公司 | A kind of system time setting method and device |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109510857A (en) * | 2018-07-10 | 2019-03-22 | 中国联合网络通信集团有限公司 | Date storage method, device, server and system |
CN109510857B (en) * | 2018-07-10 | 2021-06-01 | 中国联合网络通信集团有限公司 | Data storage method, device, server and system |
CN110321333A (en) * | 2019-04-19 | 2019-10-11 | 珠海天燕科技有限公司 | A kind of method and apparatus adjusting data |
CN110321333B (en) * | 2019-04-19 | 2021-06-04 | 珠海天燕科技有限公司 | Method and device for adjusting data |
CN110716781A (en) * | 2019-09-27 | 2020-01-21 | 北京乐我无限科技有限责任公司 | Multi-time zone time display method, configuration method and device |
CN112686697A (en) * | 2020-12-29 | 2021-04-20 | 百果园技术(新加坡)有限公司 | Multi-dimension-based user behavior data processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108156233A (en) | Data processing method, device and computer readable storage medium | |
CN108874919B (en) | Automatic checking method for planned land, electronic equipment, storage medium and system | |
AU2014317916B2 (en) | Multivariate testing of mobile applications | |
KR102233602B1 (en) | Method and device for setting and recommending device action using user context | |
CN105872966A (en) | Method and device for pushing customized message | |
CN108513060A (en) | Use the electronic equipment of the image pickup method and support this method of external electronic device | |
CN106454097A (en) | Photographing method and photographing device | |
CN108540865A (en) | Television broadcasting method, device and computer readable storage medium | |
CN110209879A (en) | A kind of video broadcasting method, device, equipment and storage medium | |
CN110516218A (en) | Generation method, terminal and the computer readable storage medium of table | |
CN109118387A (en) | The total packet evaluation of enterprises credit of building, block chain and storage medium based on block chain | |
CN106055025A (en) | Location accurate mobile events and social content | |
WO2018233590A1 (en) | Dynamic effect display method of dial plate of smart watch, and smart watch | |
CN107844348A (en) | Data display method, device and computer-readable storage medium based on configuration figure | |
CN107370781A (en) | A kind of management method, terminal and the system of Wearable data | |
CN107995005A (en) | Internet of Things network interface card flow cell monitoring method, equipment and computer-readable recording medium | |
EP2902949A2 (en) | Device management system and method | |
EP4154204A1 (en) | Machine learning for personalized, user-based next active time prediction | |
US20160037134A1 (en) | Methods and systems of simulating time of day and environment of remote locations | |
CN104933147A (en) | Intelligent card information pushing method, intelligent card information display method, intelligent card information pushing device, intelligent card information display device and intelligent card information pushing system | |
CN110710102B (en) | Method and apparatus for positioning an energy harvesting device in an environment | |
CN111599298A (en) | Color temperature adjusting method, wearable device and storage medium | |
CN108388616A (en) | Transacter, method, system and computer readable storage medium | |
US20170127361A1 (en) | System and Software for Interlinking Responses of Mobile Cellular Devices to Create a Communal Response to a Single Directive | |
CN111314177A (en) | Work and rest time period identification method based on wireless signals and related device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20201223 Address after: 9 / F, building D4, international e city, 1001 Zhongshan Garden Road, Xili street, Nanshan District, Shenzhen City, Guangdong Province Applicant after: SHENZHEN TCL NEW TECHNOLOGY Co.,Ltd. Address before: 516001, 6th Floor, TCL Building, No. 6, Eling South Road, Huizhou City, Guangdong Province Applicant before: HUIZHOU TCL HOME APPLIANCE GROUP Co.,Ltd. |
|
AD01 | Patent right deemed abandoned | ||
AD01 | Patent right deemed abandoned |
Effective date of abandoning: 20211217 |