A method and device for uploading data
By receiving and correcting the operating time in the terminal service system, the problem of inaccurate tracking information of the waybill is solved, and the accuracy and reliability of data are improved.
Patent Information
- Application Number
- CN201811121916.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-09-26
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2038-09-26
AI Technical Summary
In the prior art, the full tracking information of the waybill stored in the terminal business system is not accurate enough, resulting in inaccurate statistics of some data and the inaccurate waybill logistics trajectory cannot be obtained.
By receiving operation instructions and service system time sent by the terminal service system, correct the operation time according to the current service system time, generate and upload the operation data, or generate and obtain the current service system time, and upload the operation data and service system time together to correct the operation time.
The time transmission mechanism between the terminal device PDA and the terminal service system has been improved, the accuracy of operation time has been improved, and the accuracy and reliability of data have been ensured.
Smart Images

Figure CN110956416B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method and device for uploading data. Background Art
[0002] In today's hot e-commerce industry, online shopping has become a part of modern human life and a very important part of daily life. As a result, the logistics industry has also achieved unprecedented rapid development, and the competitive pressure has also increased. In order to improve the business level and customer satisfaction of logistics companies, delivery personnel use terminal handheld devices PDA to improve work efficiency and accuracy in the delivery process. The terminal handheld device PDA (PDA (Personal Digital Assistant), also known as a handheld computer, can help us complete work, study, entertainment, etc. on the move.) is a data collector designed to meet the needs of mobile data collection and commodity circulation links, and has been widely used in the logistics industry to complete the collection of operation data in each link and realize the full tracking of logistics.
[0003] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art:
[0004] At present, in real scenarios, data users often find that the waybill tracking information stored in the terminal business system is not accurate enough, and the operation time information of certain operation links is wrong, resulting in inaccurate statistics of some data and inability to obtain a comprehensive and accurate waybill logistics track. Summary of the invention
[0005] In view of this, an embodiment of the present invention provides a method and device for uploading data, which can solve the problem that the whole-process tracking information of the waybill stored in the terminal business system is not accurate enough.
[0006] To achieve the above-mentioned purpose, according to one aspect of an embodiment of the present invention, a method for uploading data is provided, comprising receiving an operation instruction sent by a terminal business system, and a business system time sent according to a preset frequency; determining that the operation instruction is completed, correcting the operation time according to the current business system time to generate actual operation data and uploading it; or determining that the operation instruction is completed, generating actual operation data and obtaining the current business system time, and uploading the actual operation data and the current business system time together for correcting the operation time; wherein the actual operation data includes the operation time.
[0007] Optionally, determining that the operation instruction is completed, and correcting the operation time according to the current business system time to generate and upload actual operation data include:
[0008] Determine that the operation instruction is completed, generate actual operation data, and obtain the operation time in the actual operation data;
[0009] According to the current business system time, determine whether the difference between the business system time and the operation time is greater than the preset threshold. If so, modify the operation time to the business system time to update the actual operation data and upload it; otherwise, directly upload the actual operation data.
[0010] Optionally, upload the actual operation data together with the current business system time for correction of the operation time, including:
[0011] The terminal business system obtains the operation time in the uploaded actual operation data;
[0012] Determine whether the difference between the received business system time and the operation time is greater than the preset threshold. If so, modify the operation time to the received business system time, update the actual operation data and save it; otherwise, delete the uploaded business system time and directly save the uploaded actual operation data.
[0013] Optionally, receiving the service system time sent by the terminal service system according to a preset frequency includes:
[0014] The new business system time sent by the receiving terminal business system is updated and the saved business system time is updated.
[0015] In addition, according to one aspect of an embodiment of the present invention, a device for uploading data is provided, including a receiving module for receiving an operation instruction sent by a terminal business system, and a business system time sent according to a preset frequency; an uploading module for determining the completion of the operation instruction, correcting the operation time according to the current business system time to generate actual operation data and uploading it; or determining the completion of the operation instruction, generating actual operation data and obtaining the current business system time, uploading the actual operation data and the current business system time together for correcting the operation time; wherein the actual operation data includes the operation time.
[0016] Optionally, the uploading module determines that the operation instruction is completed, corrects the operation time according to the current business system time to generate and upload actual operation data, including:
[0017] Determine that the operation instruction is completed, generate actual operation data, and obtain the operation time in the actual operation data;
[0018] According to the current business system time, determine whether the difference between the business system time and the operation time is greater than the preset threshold. If so, modify the operation time to the business system time to update the actual operation data and upload it; otherwise, directly upload the actual operation data.
[0019] Optionally, the uploading module uploads the actual operation data and the current business system time together for correcting the operation time, including:
[0020] The terminal business system obtains the operation time in the uploaded actual operation data;
[0021] Determine whether the difference between the received business system time and the operation time is greater than the preset threshold. If so, modify the operation time to the received business system time, update the actual operation data and save it; otherwise, delete the uploaded business system time and directly save the uploaded actual operation data.
[0022] Optionally, the receiving module receives the service system time sent by the terminal service system according to a preset frequency, including:
[0023] The new business system time sent by the receiving terminal business system is updated and the saved business system time is updated.
[0024] According to another aspect of an embodiment of the present invention, there is further provided an electronic device, including:
[0025] one or more processors;
[0026] a storage device for storing one or more programs,
[0027] When the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any of the above data uploading embodiments.
[0028] According to another aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored. When the program is executed by a processor, the method described in any of the above embodiments based on data uploading is implemented.
[0029] One embodiment of the above invention has the following advantages or beneficial effects: the present invention receives an operation instruction sent by a terminal business system and a business system time sent according to a preset frequency; determines that the operation instruction is completed, corrects the operation time according to the current business system time to generate actual operation data and uploads it; or determines that the operation instruction is completed, generates actual operation data and obtains the current business system time, and uploads the actual operation data and the current business system time together for correcting the operation time. Therefore, the present invention improves the time transmission mechanism between the terminal device PDA and the terminal business system, and uses the business system time to correct the operation time as much as possible, so that the accuracy of the terminal device PDA operation time is greatly improved.
[0030] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.
[0032] Figure 1is a schematic diagram of the main process of the method for uploading data according to the first embodiment of the present invention;
[0033] Figure 2 is a schematic diagram of the main process of a method for uploading data applied to a terminal device PDA according to a second embodiment of the present invention;
[0034] Figure 3 is a schematic diagram of the main process of a method for uploading data applied to a terminal device PDA according to a third embodiment of the present invention;
[0035] Figure 4 is a schematic diagram of the main process of a method for uploading data applied to a terminal service system according to a fourth embodiment of the present invention;
[0036] Figure 5 is a schematic diagram of the main process of a method for uploading data applied to a terminal service system according to a fifth embodiment of the present invention;
[0037] Figure 6 is a timing diagram of a method for uploading data according to a reference embodiment of the present invention;
[0038] Figure 7 is a timing diagram of a method for uploading data according to another reference embodiment of the present invention;
[0039] Figure 8 is a schematic diagram of main modules of a device for uploading data according to an embodiment of the present invention;
[0040] Fig. 9 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;
[0041] Fig.10 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION
[0042] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0043] Figure 1 1 is a schematic diagram of the main process of a method for uploading data according to a first embodiment of the present invention. The method for uploading data may include:
[0044] Step S101, receiving an operation instruction sent by a terminal service system, and a service system time sent according to a preset frequency.
[0045] Preferably, a new business system time sent by the terminal business system is received, and the saved business system time is updated.
[0046] Step S102, determining whether the operation instruction is completed.
[0047] Step S103, correcting the operation time according to the current business system time to generate and upload actual operation data; or generating actual operation data and obtaining the current business system time, and uploading the actual operation data and the current business system time together for correcting the operation time.
[0048] The actual operation data includes operation time.
[0049] In a preferred embodiment, in step S103, it is determined that the operation instruction is completed, and the operation time is corrected according to the current business system time to generate and upload actual operation data. The specific implementation process includes:
[0050] First, the operation instruction is completed and the actual operation data is generated to obtain the operation time in the actual operation data. Then, according to the current business system time, it is determined whether the difference between the business system time and the operation time is greater than the preset threshold. If so, the operation time is modified to the business system time to update the actual operation data and upload it; otherwise, the actual operation data is directly uploaded.
[0051] In another preferred embodiment, after uploading the actual operation data and the current business system time together in step S103, the terminal business system corrects the operation time. The specific implementation process includes:
[0052] The terminal business system obtains the operation time in the uploaded actual operation data, and then determines whether the difference between the received business system time and the operation time is greater than the preset threshold. According to the judgment result, if it is greater, the operation time is modified to the received business system time, the actual operation data is updated and saved; otherwise, the uploaded business system time is deleted and the uploaded actual operation data is directly saved.
[0053] According to the various embodiments described above, the present invention implements time interaction between the terminal device PDA and the terminal business system, that is, the terminal business system regularly sends the business system time to the terminal device PDA, and each time the terminal device PDA generates a practical operation data, the terminal business system time and the operation time can be used for proofreading. If the terminal device PDA time is significantly distorted, the operation time can be made almost the same as the real time, thereby ensuring the accuracy and reliability of the data. In addition, the present invention improves the time transmission mechanism between the terminal device PDA and the PDA application system and the PDA application system and the terminal business system, and uses the terminal business time to correct the operation time of the practical operation data as much as possible, thereby greatly improving the accuracy of the operation time.
[0054] Figure 2 1 is a schematic diagram of the main process of a method for uploading data according to a second embodiment of the present invention, which is applied to a terminal device PDA. The method for uploading data may include:
[0055] Step S201: receiving an operation instruction sent by a terminal service system through a PDA application system.
[0056] Step S202: receiving the service system time sent by the terminal service system according to a preset frequency through the PDA application system.
[0057] Step S203, determining that the operation instruction is completed and generating practical operation data.
[0058] Step S204, obtaining the operation time in the actual operation data.
[0059] Step S205, determining whether the difference between the received business system time and the operation time is greater than a preset threshold, if so, proceeding to step S206, otherwise directly uploading the actual operation data to the terminal business system through the PDA application system.
[0060] Step S206, modify the operation time to the business system time, update the actual operation data and upload it to the terminal business system through the PDA application system.
[0061] In this embodiment, the terminal device PDA corrects the operation time of the actual operation data to obtain accurate actual operation data.
[0062] Figure 3 1 is a schematic diagram of the main process of a method for uploading data according to a third embodiment of the present invention, which is applied to a terminal device PDA. The method for uploading data may include:
[0063] Step S301: receiving an operation instruction sent by a terminal service system through a PDA application system.
[0064] Step S302: The PDA application system receives the service system time sent by the terminal service system according to a preset frequency.
[0065] Step S303, determining that the operation instruction is completed and generating practical operation data.
[0066] Step S304, obtaining the current business system time.
[0067] Step S305, uploading the actual operation data and the current business system time to the terminal business system through the PDA application system.
[0068] In this embodiment, the terminal service system will correct the operation time of the actual operation data to obtain accurate actual operation data. The specific implementation process includes:
[0069] The terminal business system obtains the operation time in the uploaded actual operation data, and then determines whether the difference between the received business system time and the operation time is greater than the preset threshold. According to the judgment result, if it is greater, the operation time is modified to the received business system time, the actual operation data is updated and saved; otherwise, the uploaded business system time is deleted and the uploaded actual operation data is directly saved.
[0070] Figure 4 : is a schematic diagram of the main process of a method for uploading data according to a fourth embodiment of the present invention, which is applied to a terminal service system. The method for uploading data may include:
[0071] Step S401, an operation instruction is sent to a terminal device PDA through the PDA application system.
[0072] Step S402: sending the business system time to the terminal device PDA through the PDA application system according to a preset frequency.
[0073] Step S403, receiving the actual operation data corrected according to the business system time from the terminal device PDA through the PDA application system.
[0074] In this embodiment, the terminal device PDA corrects the actual operation data according to the business system time. The specific implementation process includes:
[0075] First, the operation instruction is completed and the actual operation data is generated to obtain the operation time in the actual operation data. Then, according to the current business system time, it is determined whether the difference between the business system time and the operation time is greater than the preset threshold. If so, the operation time is modified to the business system time to update the actual operation data and upload it; otherwise, the actual operation data is directly uploaded.
[0076] Figure 5: is a schematic diagram of the main process of a method for uploading data according to a fifth embodiment of the present invention, which is applied to a terminal service system. The method for uploading data may include:
[0077] Step S501: Sending an operation instruction to a terminal device PDA through the PDA application system.
[0078] Step S502: sending the service system time to the terminal device PDA through the PDA application system according to a preset frequency.
[0079] Step S503, receiving the actual operation data and business system time uploaded by the terminal device PDA through the PDA application system.
[0080] Step S504, obtaining the operation time in the actual operation data.
[0081] Step S505, determining whether the difference between the received business system time and the operation time is greater than a preset threshold, if so, proceeding to step S506, otherwise proceeding to step S507.
[0082] Step S506, modify the operation time to the received business system time, update the actual operation data and save it.
[0083] Step S507, deleting the received business system time and saving the received practical operation data.
[0084] Figure 6 is a timing diagram of a method for uploading data according to a reference embodiment of the present invention, and the method for uploading data may include:
[0085] Step S601, the terminal device PDA uploads the actual operation data of the previous link to the terminal business system through the PDA application system.
[0086] Step S602: the terminal service system receives the actual operation data of the previous link, and sends the operation instructions of the next link to the terminal device PDA through the PDA application system.
[0087] For example, Sun, a deliveryman at a certain station, scanned 10 delivery items assigned to his area with a handheld terminal device PDA and prepared to deliver them. That is, the handheld terminal device PDA scanned 10 delivery items assigned to his area and prepared to deliver them and uploaded the actual operation data of this link to the terminal business system. At this time, the terminal business system has established a connection with Sun's handheld terminal device PDA, and the next step of the operation instruction sent by the terminal business system is that the deliveryman is to deliver the 10 items.
[0088] Step S603: the terminal service system receives the service system time sent to the terminal device PDA through the PDA application system according to the preset frequency.
[0089] Preferably, each time after receiving new business system time, the PDA application system and the terminal business system can directly update the business system time received historically, that is, only the latest business system time can be stored.
[0090] In addition, in a preferred embodiment, the terminal service system can send the service system time to the terminal device PDA through the PDA application system every 10 seconds.
[0091] Step S604, determining whether the terminal device PDA completes the operation instructions of the next link and generating the actual operation data of the next link.
[0092] Step S605, the terminal device PDA obtains the operation time in the actual operation data of the next link.
[0093] Step S606, the terminal device PDA determines whether the difference between the received business system time and the operation time is greater than a preset threshold, if so, proceed to step S607, otherwise directly upload the actual operation data of the next link to the terminal business system through the PDA application system.
[0094] Preferably, the size of the preset threshold may be equal to the frequency, for example, if the frequency is every 10 seconds, then the threshold is 10 seconds.
[0095] For example, when the deliveryman Sun arrives at the customer's home and signs for the items, he needs to perform the delivery operation on the handheld terminal device PDA. If the operation time of the handheld terminal device PDA is 15:00 on January 1, 2018, and the actual time is 15:25:30 on July 31, 2018 due to equipment failure or human factors, when the deliveryman performs the delivery operation, the time transmitted by the terminal business system is exactly 15:25:25 on July 31, 2018. After the handheld terminal device PDA completes the delivery operation, the operation time is automatically corrected to 15:25:25 on July 31, 2018, which is very close to the actual operation time, greatly improving the reliability and accuracy of the data.
[0096] Step S607: the terminal device PDA modifies the operation time to the business system time and updates the actual operation data.
[0097] Step S608: The terminal device PDA uploads the updated practical operation data to the terminal business system through the PDA application system.
[0098] Figure 7 is a timing diagram of a method for uploading data according to another reference embodiment of the present invention, and the method for uploading data may include:
[0099] Step S701: The terminal device PDA uploads the actual operation data of the previous link to the terminal business system through the PDA application system.
[0100] Step S702: the terminal service system receives the actual operation data of the previous link, and sends the operation instructions of the next link to the terminal device PDA through the PDA application system.
[0101] Step S703: the terminal service system sends the service system time to the terminal device PDA through the PDA application system according to the preset frequency.
[0102] Preferably, each time after receiving new business system time, the PDA application system and the terminal business system can directly update the business system time received historically, that is, only the latest business system time can be stored.
[0103] In addition, in a preferred embodiment, the terminal service system can send the service system time to the terminal device PDA through the PDA application system every 10 seconds.
[0104] Step S704, determining whether the terminal device PDA completes the operation instruction of the next link, generating the actual operation data of the next link and obtaining the current business system time.
[0105] Step S705, the terminal device PDA uploads the actual operation data of the next link and the acquired current business system time to the terminal business system through the PDA application system.
[0106] Step S706: the terminal business system obtains the operation time in the received practical operation data of the next link.
[0107] Step S707 , the terminal service system determines whether the difference between the received service system time and the operation time is greater than a preset threshold, if so, proceeds to step S708 , otherwise proceeds to step S709 .
[0108] Step S708: The terminal business system modifies the operation time to the received business system time, updates the actual operation data and saves it.
[0109] Step S709: the terminal business system deletes the received business system time and saves the received practical operation data of the next link.
[0110] Figure 8 is a device for uploading data according to an embodiment of the present invention, such as Figure 8As shown, the data uploading device 800 includes a receiving module 801 and an uploading module 802. The receiving module 801 receives the operation instruction sent by the terminal business system and the business system time sent according to the preset frequency. The uploading module 802 determines that the operation instruction is completed, corrects the operation time according to the current business system time to generate actual operation data and uploads it; or determines that the operation instruction is completed, generates actual operation data and obtains the current business system time, and uploads the actual operation data and the current business system time together for correction of the operation time. The actual operation data includes the operation time.
[0111] In a preferred embodiment, when the upload module 802 determines that the operation instruction is completed, the operation time is corrected according to the current business system time to generate the actual operation data and upload it, it can determine that the operation instruction is completed, the actual operation data is generated, and the operation time in the actual operation data is obtained. Then, according to the current business system time, it is determined whether the difference between the business system time and the operation time is greater than a preset threshold. If so, the operation time is modified to the business system time to update the actual operation data and upload it; otherwise, the actual operation data is directly uploaded.
[0112] In another preferred embodiment, after the upload module 802 uploads the actual operation data and the current business system time together for correction of the operation time, the terminal business system obtains the operation time in the uploaded actual operation data. Then, it is determined whether the difference between the received business system time and the operation time is greater than a preset threshold. If so, the operation time is modified to the received business system time, the actual operation data is updated and saved; otherwise, the uploaded business system time is deleted, and the uploaded actual operation data is directly saved.
[0113] In addition, the receiving module 801 can receive new service system time sent by the terminal service system and update the stored service system time.
[0114] It should be noted that the method for uploading data and the device for uploading data described in the present invention have a corresponding relationship in terms of specific implementation contents, so the repeated contents will not be described again.
[0115] Fig. 9 An exemplary system architecture 900 is shown to which the method for uploading data or the apparatus for uploading data according to the embodiments of the present invention may be applied.
[0116] like Fig. 9 As shown, system architecture 900 may include terminal devices 901, 902, 903, network 904 and server 905. Network 904 is used to provide a medium for communication links between terminal devices 901, 902, 903 and server 905. Network 904 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0117] Users can use terminal devices 901, 902, 903 to interact with server 905 through network 904 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 901, 902, 903, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only examples).
[0118] The terminal devices 901 , 902 , and 903 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers, etc.
[0119] The server 905 may be a server that provides various services, such as a backend management server (only an example) that provides support for shopping websites browsed by users using the terminal devices 901, 902, and 903. The backend management server may analyze and process the received data such as product information query requests, and feed back the processing results (such as target push information, product information - only an example) to the terminal device.
[0120] It should be noted that the data uploading method provided in the embodiment of the present invention is generally executed by the server 905 , and accordingly, the data uploading device is generally set in the server 905 .
[0121] It should be understood that Fig. 9 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to the implementation requirements.
[0122] Reference below Fig.10 , which shows a schematic diagram of the structure of a computer system 1000 of a terminal device suitable for implementing an embodiment of the present invention. Fig.10 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0123] like Fig.10 As shown, the computer system 1000 includes a central processing unit (CPU) 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage part 1008 into a random access memory (RAM) 1003. In the RAM 1003, various programs and data required for the operation of the system 1000 are also stored. The CPU 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.
[0124] The following components are connected to the I / O interface 1005: an input section 1006 including a keyboard, a mouse, etc.; an output section 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1008 including a hard disk, etc.; and a communication section 1009 including a network interface card such as a LAN card, a modem, etc. The communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the I / O interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1010 as needed, so that a computer program read therefrom is installed into the storage section 1008 as needed.
[0125] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1009, and / or installed from the removable medium 1011. When the computer program is executed by the central processing unit (CPU) 1001, the above-mentioned functions defined in the system of the present invention are executed.
[0126] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0127] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0128] The modules involved in the embodiments of the present invention may be implemented by software or hardware. The modules described may also be set in a processor. For example, it may be described as follows: a processor includes a receiving module and an uploading module. The names of these modules do not, in some cases, limit the modules themselves.
[0129] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: receiving an operation instruction sent by a terminal business system, and a business system time sent according to a preset frequency; determining that the operation instruction is completed, correcting the operation time according to the current business system time to generate actual operation data and upload it; or determining that the operation instruction is completed, generating actual operation data and obtaining the current business system time, and uploading the actual operation data and the current business system time together for correcting the operation time; wherein the actual operation data includes the operation time.
[0130] According to the technical solution of the embodiment of the present invention, it is possible to solve the problem that the whole-process tracking information of the waybill stored in the terminal business system is not accurate enough.
[0131] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for uploading data, characterized in that: include: Receive operation instructions sent by the terminal business system, and business system time sent according to the preset frequency; Determine that the operation instruction is completed, correct the operation time according to the current business system time to generate and upload actual operation data; Or determining that the operation instruction is completed, generating actual operation data and obtaining the current business system time, uploading the actual operation data and the current business system time together for correcting the operation time; wherein the actual operation data includes the operation time; determining that the operation instruction is completed, correcting the operation time according to the current business system time to generate actual operation data and uploading it, includes: Determine that the operation instruction is completed, generate actual operation data, and obtain the operation time in the actual operation data; According to the current business system time, determine whether the difference between the business system time and the operation time is greater than the preset threshold. If so, modify the operation time to the business system time to update the actual operation data and upload it; otherwise, directly upload the actual operation data.
2. The method according to claim 1, characterized in that Upload the actual operation data and the current business system time together for correction of operation time, including: The terminal business system obtains the operation time in the uploaded actual operation data; Determine whether the difference between the received business system time and the operation time is greater than the preset threshold. If so, modify the operation time to the received business system time, update the actual operation data and save it; otherwise, delete the uploaded business system time and directly save the uploaded actual operation data.
3. The method according to any one of claims 1-2, characterized in that: The receiving terminal business system sends the business system time according to the preset frequency, including: The new business system time sent by the receiving terminal business system is updated and the saved business system time is updated.
4. A device for uploading data, characterized in that: include: A receiving module, used to receive operation instructions sent by the terminal business system, and business system time sent according to a preset frequency; An upload module, used to determine the completion of the operation instruction, correct the operation time according to the current business system time to generate actual operation data and upload it; Or determining that the operation instruction is completed, generating actual operation data and obtaining the current business system time, uploading the actual operation data and the current business system time together for correcting the operation time; wherein the actual operation data includes the operation time; determining that the operation instruction is completed, correcting the operation time according to the current business system time to generate actual operation data and uploading it, includes: Determine that the operation instruction is completed, generate actual operation data, and obtain the operation time in the actual operation data; According to the current business system time, determine whether the difference between the business system time and the operation time is greater than the preset threshold. If so, modify the operation time to the business system time to update the actual operation data and upload it; otherwise, directly upload the actual operation data.
5. The device according to claim 4, characterized in that The uploading module uploads the actual operation data and the current business system time together for correcting the operation time, including: The terminal business system obtains the operation time in the uploaded actual operation data; Determine whether the difference between the received business system time and the operation time is greater than the preset threshold. If so, modify the operation time to the received business system time, update the actual operation data and save it; otherwise, delete the uploaded business system time and directly save the uploaded actual operation data.
6. The device according to any one of claims 4-5, characterized in that: The receiving module receives the service system time sent by the terminal service system according to a preset frequency, including: The new business system time sent by the receiving terminal business system is updated and the saved business system time is updated.
7. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 3.
8. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 3 is implemented.
Citation Information
Patent Citations
Method and system for positioning express delivery goods in real time
CN104915815A