Data uploading method and device, equipment and storage medium

By determining priority based on the number of business modules and the number of data strips, and sorting and splitting the data, the problem of failure or loss of data upload in smart construction sites in remote mountainous areas is solved, and the reliability and efficiency of data transmission are improved.

CN119094460AInactive Publication Date: 2024-12-06HANGZHOU HAOLINK INTELLIGENT TECHNOLOGY CO LTD +1
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202411506764.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-28
Publication Date
2024-12-06
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

At smart construction sites in remote mountainous areas, due to poor network conditions, data upload failure or loss is more prominent, especially when the amount of data is large, how to improve data transmission reliability has become the focus of technicians.

Method used

By determining personnel priority based on the number of business modules associated with staff and the number of business data, and sorting and uploading business data according to priority, data block splitting and reorganization technology is used to improve the reliability of data upload.

Benefits of technology

It improves the reliability of data upload, ensures priority transmission of important business data, reduces the risk of data loss, and is suitable for transmission needs of poor network environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119094460A_ABST
    Figure CN119094460A_ABST
Patent Text Reader

Abstract

The invention discloses a data uploading method and device, equipment and a storage medium. The data uploading method comprises the following steps: determining the personnel priority of a worker according to the number of business modules associated with the worker and the number of business data; sorting the business data according to the personnel priority; and uploading the business data based on the sorting result of the business data. According to the technical scheme of the embodiment of the invention, the uploading reliability of the service data can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a data uploading method, device, equipment and storage medium. Background Art

[0002] A smart construction site refers to the use of information technology to accurately design and simulate construction projects, manage the construction process, and establish an information ecosystem for construction projects that features interconnected collaboration, intelligent production, and scientific management.

[0003] At smart construction sites in remote mountainous areas, data upload failures or data loss often occur due to poor network conditions. This phenomenon is more prominent when the amount of data is large. How to improve the reliability of data transmission has attracted the attention of technicians. Summary of the invention

[0004] The present invention provides a data uploading method, device, equipment and storage medium to solve the problem of data uploading failure or loss under poor network conditions.

[0005] According to one aspect of the present invention, there is provided a data uploading method, comprising:

[0006] Determine the staff's priority level based on the number of business modules and business data items associated with the staff;

[0007] sorting the business data according to the personnel priority;

[0008] Based on the sorting result of the business data, the business data is uploaded.

[0009] According to another aspect of the present invention, there is provided a data uploading device, comprising:

[0010] A priority determination module is used to determine the personnel priority of a staff member according to the number of business modules associated with the staff member and the number of business data items;

[0011] A data sorting module, used to sort the business data according to the personnel priority;

[0012] The data uploading module is used to upload the business data based on the sorting result of the business data.

[0013] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0014] at least one processor; and

[0015] a memory communicatively connected to the at least one processor; wherein,

[0016] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the data uploading method described in any embodiment of the present invention.

[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the data uploading method described in any embodiment of the present invention when executed.

[0018] According to another aspect of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the data uploading method of any embodiment of the present disclosure is implemented.

[0019] The technical solution of the embodiment of the present invention determines the personnel priority of the staff member by the number of business modules associated with the staff member and the number of business data, and then sorts the business data according to the personnel priority, and finally uploads the business data based on the sorting result of the business data, thereby improving the reliability of data uploading.

[0020] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0022] Figure 1 is a flow chart of a data uploading method provided according to Embodiment 1 of the present invention;

[0023] Figure 2 is a flow chart of a data uploading method provided according to Embodiment 2 of the present invention;

[0024] Figure 3 is a structural diagram of a data uploading device provided according to Embodiment 3 of the present invention;

[0025] Figure 4 It is a structural schematic diagram of an electronic device for implementing the data uploading method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0026] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0027] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0028] Embodiment 1

[0029] Figure 1 A flowchart of a data uploading method is provided for the first embodiment of the present invention. This embodiment is applicable to the case where data is uploaded according to personnel priority. The method can be executed by a data uploading device. The data uploading device can be implemented in the form of hardware and / or software. The data uploading device can be configured in various general computing devices. Figure 1 As shown, the method includes:

[0030] S110 . Determine the staff member's priority level according to the number of business modules and the number of business data items associated with the staff member.

[0031] The business system contains multiple business sections, and each business section can include multiple business modules for executing specific business. For example, the business system includes the field personnel management section and the field equipment inspection section, and the field personnel management section can include the personnel information management module and the personnel attendance module. The business module is used to manage related business data.

[0032] Personnel priority can represent the importance of a staff member in the business system. Specifically, the personnel priority can be determined by the number of business modules involved in the staff member and the number of business data associated with the staff member.

[0033] In the case of poor network conditions, if the business data managed by each business module is directly uploaded to the server, data upload failure or data loss may occur. In order to improve the reliability of business data upload, important business data can be uploaded first to avoid the loss of important business.

[0034] In an embodiment of the present invention, in order to achieve the priority upload of important business data, the priority of the staff is determined according to the number of business modules associated with the staff and the number of business data associated with the staff. Specifically, the number of business modules associated with the staff and the number of business data can be weighted and summed, and the staff priority of the staff can be determined according to the result of the weighted summation. The larger the value obtained by the weighted summation, the higher the staff priority. The staff priority of the staff can also be determined first according to the number of business modules associated with the staff, wherein the larger the number, the higher the staff priority. In the case where the number of business modules associated with different staff members is the same, the staff priority is continued to be determined according to the number of business data associated with the staff, wherein the more the number, the higher the staff priority. In the case where the number of business modules associated with different staff members is the same, and the number of associated business data is the same, the staff priority can be determined according to the order of the first letter of the staff member's surname in the English alphabet.

[0035] In a specific example, the business modules and business data associated with personnel are shown in Table 1. The business system includes multiple business sections A and business sections B. Business section A includes three business modules, P1, P2 and P3, and business section B includes two business modules, P4 and P5. The staff members associated with business module P1 include Zhang San, Li Si, Wang Wu and Ma Liu, and the staff members associated with business module P2 include Zhang San and Wang Wu.

[0036] Table 1

[0037]

[0038] For each staff member, it is necessary to determine the number of business modules and the number of business data items associated with him, as shown in Table 2. Taking staff member Zhang San as an example, the business modules associated with him include P1, P2, P3 and P4, that is, the number of associated business modules is 4, and the number of associated business data items is the sum of the business items of all business modules associated with Zhang San, specifically 6.

[0039] Table 2

[0040]

[0041] S120. Sort the business data according to personnel priority.

[0042] The business data associated with important personnel is often also relatively important. In the embodiment of the present invention, in order to ensure the reliability of uploading business data, the business data associated with the staff with higher personnel priority is uploaded first according to the personnel priority. Specifically, the business data is counted based on the staff as the dimension, that is, the business data associated with each staff member is determined. Then, the business data is sorted in descending order of staff priority, wherein multiple business data associated with the same staff member are randomly sorted.

[0043] S130: Upload the business data based on the sorting result of the business data.

[0044] In the embodiment of the present invention, the business data is uploaded in sequence according to the sorting result in S120, which can ensure that the relevant business data of important staff members is uploaded first, thereby improving the reliability of data uploading.

[0045] Business data may include personnel name, business description, business attachments, and the unique value of the business data, where the unique value may be composed of the project location, business data abbreviation, and document ID. For example, business data is {name: "Zhang San", business description: "Attendance", attachment: "218273817", unique value: project location + business data abbreviation + document ID}.

[0046] Since each piece of business data contains a large amount of data, data loss is prone to occur in remote areas with poor network environment. Therefore, before uploading each piece of business data, the business data can be split according to the network status. For example, the product of the current network upload speed and the unit time is calculated, and the calculation result is used as the minimum split unit of the business data to split it, and multiple data blocks are obtained. Each data block has a unique identifier, which can characterize the number of data blocks of the business data and the position of the current data block in the business data, so as to facilitate the receiver to perform data splicing and data integrity monitoring. Finally, the data blocks are sent in sequence according to the order of the data blocks. After receiving each data block, the receiver can reorganize the data block according to the identifier of the data block and perform data integrity detection. After detecting the loss of the data block, a retransmission request containing the data block identifier can be sent.

[0047] The technical solution of the embodiment of the present invention determines the personnel priority of the staff member by the number of business modules associated with the staff member and the number of business data, and then sorts the business data according to the personnel priority, and finally uploads the business data based on the sorting result of the business data, thereby improving the reliability of data uploading.

[0048] Embodiment 2

[0049] Figure 2This is a flowchart of a data uploading method provided in Embodiment 2 of the present invention. This embodiment further refines the above embodiment and provides specific steps for determining the personnel priority of a staff member according to the number of business modules associated with the staff member and the number of business data, as well as specific steps for uploading business data based on the sorting results of the business data. Figure 2 As shown, the method includes:

[0050] S210 . Extract one staff member in turn as the current staff member, and use the number of business modules associated with the current staff member as the staff breadth of the current staff member.

[0051] In the embodiment of the present invention, since each piece of business data is associated with a staff member, the business data is sorted by importance based on the importance of the staff member in the business system. In order to determine the priority of the staff member, a staff member is sequentially extracted as the current staff member, and the number of business modules associated with the current staff member is obtained as the staff breadth of the current staff member.

[0052] S220, summing up the number of business data items associated with the current person in each business module, taking the summed result as the staff depth of the current person, and returning to execute the operation of extracting one staff member in turn as the current person until the traversal of the staff members is completed.

[0053] In the embodiment of the present invention, the number of business data associated with the current person in each business module is summed, and the sum result is used as the personnel depth of the current person. Then, the operation of extracting one staff member as the current person is returned to be executed in sequence until the traversal of the staff members is completed, and the personnel breadth and personnel depth of all staff members are obtained.

[0054] S230. Determine the personnel priority of the staff based on the personnel breadth and personnel depth.

[0055] In an embodiment of the present invention, after obtaining the personnel breadth and personnel depth of each staff member, the personnel priority of the staff member is determined. Specifically, the number of business modules associated with the staff member and the number of business data can be weighted and summed, and the personnel priority of the staff member can be determined according to the result of the weighted summation, and the larger the value obtained by the weighted summation, the higher the personnel priority. The personnel priority of the staff member can also be determined first according to the number of business modules associated with the staff member, wherein the larger the number, the higher the personnel priority. In the case where the number of business modules associated with different staff members is the same, the personnel priority is continued to be determined according to the number of business data associated with the staff member, wherein the more the number, the higher the personnel priority. In the case where the number of business modules associated with different staff members is the same, and the number of associated business data is the same, the personnel priority can be determined according to the order of the first letter of the staff member's surname in the English alphabet.

[0056] S240. Sort the business data according to personnel priority.

[0057] S250: Upload the business data based on the sorting result of the business data.

[0058] Optionally, based on the sorting results of the business data, upload the business data, including:

[0059] Divide each piece of business data into a text part and an attachment part;

[0060] According to the sorting result of the business data, the text part of the business data is uploaded in sequence;

[0061] According to the sorting result of the business data, the attachment parts of the business data are uploaded in sequence.

[0062] In this optional embodiment, a specific method for uploading business data based on the sorting results of the business data is provided: first, each business data is divided into a text part and an attachment part. Then, according to the sorting results of the business data, the text part of the business data is uploaded in sequence. Then, according to the sorting results of the business data, the attachment part of the business data is uploaded in sequence. By transmitting the text and attachment separately, the text data with a small network bandwidth occupancy can be uploaded first, so that the server receives the basic information contained in the business data. After the text part of all the business data is uploaded, the attachment part with a large network bandwidth occupancy is uploaded to improve the reliability of data transmission.

[0063] In a specific example, if a total of 5 business data need to be sent, the business data can be divided first, and then the text parts of the 5 business data can be uploaded in sequence according to the business data sorting results. After the text parts are uploaded, the attachment parts of the 5 business data can be uploaded in sequence.

[0064] When the network status is not good, even if the text and attachments are segmented, it may still be impossible to transfer the complete file. Therefore, the text part of the business data can be segmented according to the network status to obtain at least two text data blocks, and the text part can be sent as a unit of text data blocks; the identifier of each text data block includes the total number of text data blocks contained in the text part and the position of the current text data block in the text part. Further, according to the network status, the attachment part of the business data is segmented to obtain at least two attachment data blocks, and the attachment part can be sent as a unit of attachment data blocks; the identifier of each attachment data block includes the total number of attachment data blocks contained in the text part and the position of the current attachment data block in the text part.

[0065] Optionally, based on the sorting result of the business data, uploading the business data also includes:

[0066] Based on the sorting result of the business data, each piece of business data is split into business items to obtain at least one data item;

[0067] According to the business priority of each data item, the data items are reassembled to obtain updated business data;

[0068] According to the sorting result of the business data, the updated business data is uploaded.

[0069] In this optional embodiment, another implementation method for uploading business data based on the sorting result of the business data is provided: first, based on the sorting result of the business data, each business data is split into business items to obtain at least one data item. Then, according to the pre-set business priority of each data item, the data items are reassembled to obtain updated business data. Finally, according to the sorting result of the business data, the updated business data is uploaded.

[0070] In a specific example, the business data is {name: "Zhang San", business description: "Attendance", attachment: "218273817", unique value: project location + business data abbreviation + document ID}. According to the dimensions of name + unique value, business description and attachment, a piece of business data can be split into three data items. Then, according to the pre-set priority of the data item (business description> name + unique value> attachment), the business data is reassembled to obtain the business data of {business description: "Attendance", name: "Zhang San", unique value: project location + business data abbreviation + document ID, attachment: "218273817"}. Finally, according to the sorting result of the business data, the updated business data is sent. It can achieve limited sending of data items with high importance, thereby ensuring the success rate of sending data items with high priority.

[0071] Optionally, according to the sorting result of the business data, the updated business data is uploaded, including:

[0072] According to the network status, the updated service data is divided to obtain at least two transmission data blocks;

[0073] Upload the updated business data in units of transmission data blocks;

[0074] The identifier of each transmission data block includes the total number of transmission data blocks included in the updated service data and the position of the current transmission data block in the updated service data.

[0075] In this optional embodiment, the specific method of uploading the updated business data according to the sorting result of the business data is as follows: Since each business data contains an attachment, the network requirements are often high, and data upload failure is likely to occur when the network is not good. To avoid this situation, the updated business data is segmented according to the network status to obtain at least two transmission data blocks, and finally the updated business data is uploaded in units of transmission data blocks. Among them, each transmission data block includes the total number of transmission data blocks included in the updated business data and the position of the current transmission data block in the updated business data.

[0076] In the case of network interruption, the server can obtain the total number of transmission data blocks included in the updated service data and the position of the current transmission data block in the updated service data included in the transmission data block identifier, and request the service system to retransmit from the interruption point. The interruption point can be represented by the position of the transmission data block in the updated service data.

[0077] Similarly, in the case of incomplete data, the missing transmission data blocks can be determined based on the total number of transmission data blocks contained in the received transmission data blocks and the position of the current transmission data blocks in the updated business data, and the business system can be requested to resend the missing transmission data blocks. In the case of poor network status, the data can be resent in a targeted manner by dividing the transmission data blocks, without the need to resend all of them, which improves the efficiency of business data upload and reduces the demand for network quality during business data upload.

[0078] Optionally, after uploading the updated business data, the following is also included:

[0079] Parsing the data retransmission request initiated by the server to obtain the identifier of the transmission data block contained in the data retransmission request;

[0080] According to the identifier of the transmission data block, the data block to be retransmitted is determined in the transmission data block, and the data block to be retransmitted is re-uploaded.

[0081] In this optional embodiment, after the updated business data is uploaded, if the upload fails, the server will determine the identifier of the transmission data block that failed to be transmitted based on the identifier of the received transmission data block, and then initiate a data retransmission request to the business system. The business system parses the identifier of the transmission data block contained in the data retransmission request, and determines the data block to be retransmitted in the transmission data block, and then re-uploads the data block to be retransmitted. By dividing the business data into multiple transmission data blocks, in the case of data transmission interruption or data loss, only the part that was not successfully uploaded can be re-uploaded. Compared with the method of re-uploading all, the demand for network quality is reduced, which is more suitable for data transmission in poor network environment.

[0082] Optionally, business data can be uploaded in Json format.

[0083] In this optional embodiment, the business data is uploaded in Json format. Specifically, before each piece of business data is transmitted, the business data is converted into the format of a Json file. When splitting the data, the Json file can be split into multiple Json blocks according to the network status. The identifier of each Json block includes the number of Json blocks contained in the Json file to which the Json block belongs, and the position in the Json file. When data upload fails, the server can record the identifier of the Json block that has been successfully uploaded, and after the network is restored, request the business system to continue uploading from the location where the last upload was interrupted.

[0084] The technical solution of the embodiment of the present invention determines the personnel priority by the personnel breadth and personnel depth of the staff, and then sorts the business data according to the personnel priority, so that the business data related to important personnel can be uploaded first, thereby improving the reliability of data upload. Before uploading the data, the data is divided into text and attachments or the business data is reorganized. When the network bandwidth is limited, the text part that occupies less bandwidth can be sent first, or the important part of the business data can be uploaded first. Finally, the business data is split according to the network status. In the case of data transmission interruption or data loss, only the part that was not successfully uploaded can be re-uploaded. Compared with the method of re-uploading all, the demand for network quality is reduced, and it is more suitable for data transmission in poor network environment.

[0085] Embodiment 3

[0086] Figure 3 This is a schematic diagram of the structure of a data uploading device provided by Embodiment 3 of the present invention. Figure 3 As shown, the device comprises:

[0087] A priority determination module 310, for determining the personnel priority of a staff member according to the number of business modules associated with the staff member and the number of business data items;

[0088] A data sorting module 320, used to sort the business data according to the personnel priority;

[0089] The data uploading module 330 is used to upload the business data based on the sorting result of the business data.

[0090] The technical solution of the embodiment of the present invention determines the personnel priority of the staff member by the number of business modules associated with the staff member and the number of business data, and then sorts the business data according to the personnel priority, and finally uploads the business data based on the sorting result of the business data, thereby improving the reliability of data uploading.

[0091] Optionally, the priority determination module 310 is specifically configured to:

[0092] Extract one staff member in turn as the current staff member, and use the number of business modules associated with the current staff member as the staff breadth of the current staff member;

[0093] Sum the number of business data items associated with the current person in each business module, use the sum result as the staff depth of the current person, and return to execute the operation of extracting a staff member as the current person in turn until the traversal of the staff members is completed;

[0094] Based on the personnel breadth and the personnel depth, personnel priorities of the personnel are determined.

[0095] Optionally, the data upload module 330 includes:

[0096] A data division unit, used for dividing each piece of business data into a text part and an attachment part;

[0097] A text uploading unit, used to upload the text part of the business data in sequence according to the sorting result of the business data;

[0098] The attachment uploading unit is used to upload the attachment part of the business data in sequence according to the sorting result of the business data.

[0099] Optionally, the data upload module 330 further includes:

[0100] A business splitting unit, used for performing business splitting on each piece of business data based on the sorting result of the business data to obtain at least one data item;

[0101] A data reassembly unit, used to reassemble the data items according to the business priority of each data item to obtain updated business data;

[0102] The data uploading unit is used to upload the updated business data according to the sorting result of the business data.

[0103] Optional data upload unit, specifically used for:

[0104] According to the network status, the updated service data is divided to obtain at least two transmission data blocks;

[0105] Uploading the updated service data in units of the transmission data blocks;

[0106] The identifier of each transmission data block includes the total number of transmission data blocks included in the updated service data and the position of the current transmission data block in the updated service data.

[0107] Optionally, the data upload unit is further specifically used for:

[0108] After uploading the updated service data, parsing the data retransmission request initiated by the server to obtain the identifier of the transmission data block contained in the data retransmission request;

[0109] According to the identifier of the transmission data block, a data block to be retransmitted is determined in the transmission data block, and the data block to be retransmitted is re-uploaded.

[0110] Optionally, business data can be uploaded in Json format.

[0111] The data uploading device provided in the embodiment of the present invention can execute the data uploading method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0112] In the technical solution of the present invention, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0113] Embodiment 4

[0114] According to an embodiment of the present invention, the present invention also provides an electronic device, a readable storage medium and a computer program product.

[0115] Figure 4A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, applicators, blade applicators, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0116] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. The input / output (I / O) interface 15 is also connected to the bus 14.

[0117] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0118] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a data uploading method.

[0119] In some embodiments, the data upload method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the data upload method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the data upload method in any other appropriate manner (e.g., by means of firmware).

[0120] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0121] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or application.

[0122] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, 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 foregoing.

[0123] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0124] The systems and techniques described herein may be implemented in a computing system that includes a backend component (e.g., as a data applier), or a computing system that includes a middleware component (e.g., an application applier), or a computing system that includes a frontend component (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0125] A computing system may include a client and an application server. The client and the application server are generally remote from each other and usually interact through a communication network. The relationship between the client and the application server is generated by computer programs running on corresponding computers and having a client-application server relationship with each other. The application server may be a cloud application server, also known as a cloud computing application server or a cloud host, which is a host product in a cloud computing application system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS applications.

[0126] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0127] 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 can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A data uploading method, characterized in that: include: Determine the staff's priority level based on the number of business modules and business data items associated with the staff; sorting the business data according to the personnel priority; Based on the sorting result of the business data, the business data is uploaded.

2. The data uploading method according to claim 1, characterized in that: Determine the staff's priority based on the number of business modules and business data items associated with the staff, including: Extract one staff member in turn as the current staff member, and use the number of business modules associated with the current staff member as the staff breadth of the current staff member; Sum the number of business data items associated with the current person in each business module, use the sum result as the staff depth of the current person, and return to execute the operation of extracting a staff member as the current person in turn until the traversal of the staff members is completed; Based on the personnel breadth and the personnel depth, personnel priorities of the personnel are determined.

3. The data uploading method according to claim 1, characterized in that: Based on the sorting result of the business data, uploading the business data includes: Divide each piece of business data into a text part and an attachment part; According to the sorting result of the business data, the text part of the business data is uploaded in sequence; According to the sorting result of the business data, the attachment parts of the business data are uploaded in sequence.

4. The data uploading method according to claim 1, characterized in that: Based on the sorting result of the business data, uploading the business data further includes: Based on the sorting result of the business data, each piece of business data is split into business items to obtain at least one data item; Reassembling the data items according to the business priority of each data item to obtain updated business data; According to the sorting result of the business data, the updated business data is uploaded.

5. The data uploading method according to claim 4, characterized in that: According to the sorting result of the business data, the updated business data is uploaded, including: According to the network status, the updated service data is divided to obtain at least two transmission data blocks; Uploading the updated service data in units of the transmission data blocks; The identifier of each transmission data block includes the total number of transmission data blocks included in the updated service data and the position of the current transmission data block in the updated service data.

6. The data uploading method according to claim 5, characterized in that: After uploading the updated business data, it also includes: Parsing the data retransmission request initiated by the server to obtain an identifier of a transmission data block contained in the data retransmission request; According to the identifier of the transmission data block, a data block to be retransmitted is determined in the transmission data block, and the data block to be retransmitted is re-uploaded.

7. The data uploading method according to any one of claims 1 to 6, characterized in that: The business data is uploaded in Json format.

8. A data uploading device, characterized in that: include: A priority determination module is used to determine the personnel priority of a staff member according to the number of business modules associated with the staff member and the number of business data items; A data sorting module, used to sort the business data according to the personnel priority; The data uploading module is used to upload the business data based on the sorting result of the business data.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the data uploading method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the data uploading method according to any one of claims 1 to 7 when executed.

Citation Information

Patent Citations

  • Method and apparatus for client service transmission

    CN109314673A

  • Message reporting method and device for multiple Internet of Things devices, and storage medium

    CN110933168A

  • Multi-user access control method and device for intelligent equipment

    CN112600897A

  • Video data transmission method and device and electronic equipment

    CN114024914A

  • Data processing method and device, customer service system and electronic equipment

    CN116186623A