Method, device and storage medium for processing file based on organization object
By detecting the file integrity of institutional objects in banking operations and prompting users when necessary, users can choose the appropriate processing method, thus solving the problem of loss caused by incomplete transaction files and achieving complete file merging and preventing loss.
Patent Information
- Application Number
- CN202310693424.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-12
- Publication Date
- 2026-02-17
- Estimated Expiration
- 2043-06-12
AI Technical Summary
In banking operations, transaction files uploaded by different institutions within the same time zone may be incomplete, leading to file loss. Existing technologies simply discard incomplete files without effectively solving this problem.
By acquiring the files to be uploaded from the organization, the integrity of the files is checked. If the files are incomplete, a prompt message is sent to the user at a preset time. The user can then choose to retry, force merge, or abandon the process based on the prompt, thus ensuring file integrity.
It enables complete file merging in banking operations, avoids file loss, and provides flexible processing methods to adapt to different situations.
Smart Images

Figure CN116701316B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of big data, and particularly relates to a file processing method and device based on an organization object, equipment and a storage medium. BACKGROUND
[0002] At present, in bank business, files are packaged and sent to a host according to time zones, but in the same time zone, multiple organizations upload transaction files, and in the uploading process, the transaction files of different organizations are not complete when merged, but in most cases, it may only need to wait for a few minutes to complete the processing of all transaction files, and the host can wait for a period of time to avoid the loss of transaction files of the day.
[0003] However, the current solution is to directly give up the incomplete transaction files.
[0004] Therefore, there is an urgent need for a file processing method based on an organization object, which can completely merge different files and avoid the loss of files. SUMMARY
[0005] The present application provides a file processing method and device based on an organization object, equipment and a storage medium, which can completely merge different files and avoid the loss of files.
[0006] In a first aspect, the present application provides a file processing method based on an organization object, which comprises:
[0007] Obtain the file to be uploaded corresponding to the organization object, and detect the file to be uploaded corresponding to the organization object to obtain the detection result corresponding to the organization object; wherein the detection result is used to represent the integrity of the file corresponding to the organization object;
[0008] If the detection result corresponding to the organization object represents that the file corresponding to the organization object is not complete, at the first preset time, prompt information is sent to the user, wherein the prompt information is used to prompt the user to perform manual processing;
[0009] In response to the processing instruction of the user, the file of the organization object is adjusted based on the processing mode indicated by the processing instruction; wherein the processing instruction is used to indicate the processing mode of the file of the organization object.
[0010] In one example, the processing mode is a retry mode, or a forced merging mode, or a giving-up mode;
[0011] The retry mode indicates that the files to be uploaded of the organization object are detected again; the forced merging mode indicates that the non-existing content in the files to be uploaded of the organization object is abandoned; and the abandonment mode indicates that each of the files to be uploaded corresponding to the organization object is abandoned.
[0012] In one example, based on the processing indication indicating the processing mode, the files of the organization object are adjusted, including:
[0013] If the processing indication indicates the retry mode, based on the processing indication indicating the processing mode, the step of detecting the files to be uploaded corresponding to the organization object is performed again;
[0014] If the processing indication indicates the forced merging mode, based on the processing indication indicating the processing mode, it is determined to abandon the non-existing content in the files to be uploaded of the organization object;
[0015] If the processing indication indicates the abandonment mode, based on the processing indication indicating the processing mode, it is determined to abandon each of the files to be uploaded corresponding to the organization object.
[0016] In one example, when the current time is the first preset time, before the prompt information is sent to the user, the method further includes:
[0017] When the current time is the second preset time, an alarm message is sent; the first preset time is later than the second preset time; and the alarm message indicates that the files to be uploaded corresponding to the organization object at the second preset time are incomplete.
[0018] After it is determined that the preset time length has been waited, the step of detecting the files to be uploaded corresponding to the organization object is performed again.
[0019] In one example, the method further includes:
[0020] If the detection results corresponding to each of the organization objects all indicate that the files corresponding to the organization objects are complete, the files to be uploaded corresponding to each of the organization objects are merged to obtain a file set to be uploaded; and the file set to be uploaded is transmitted to a receiving device.
[0021] In one example, the files to be uploaded corresponding to each of the organization objects are merged to obtain a file set to be uploaded, including:
[0022] The associated files associated with each of the files to be uploaded corresponding to the organization objects are called;
[0023] The files to be uploaded corresponding to each of the institutional objects and the associated files corresponding to each of the institutional objects are merged to obtain a set of files to be uploaded.
[0024] In one example, the method further includes:
[0025] If the detection result corresponding to the institutional object represents that the file corresponding to the institutional object is complete, the file to be uploaded corresponding to a next institutional object is detected.
[0026] In one example, the method further includes:
[0027] List information of the institutional objects is obtained, and the institutional objects are obtained from the list information or are called from a database according to a preset logical language.
[0028] In a second aspect, the present application provides a file processing device based on institutional objects, and the device includes:
[0029] A first obtaining unit is configured to obtain a file to be uploaded corresponding to an institutional object, and detect the file to be uploaded corresponding to the institutional object to obtain a detection result corresponding to the institutional object, wherein the detection result represents completeness of the file corresponding to the institutional object.
[0030] A sending unit is configured to send a prompt information to a user if the detection result corresponding to the institutional object represents that the file corresponding to the institutional object is incomplete, wherein the prompt information is used to prompt the user to perform manual processing.
[0031] An adjusting unit is configured to adjust the file of the institutional object based on a processing mode indicated by a processing instruction in response to the processing instruction, wherein the processing instruction is used to indicate the processing mode of the file of the institutional object.
[0032] In one example, the processing mode is a retry mode, a forced merging mode or an abandonment mode.
[0033] The retry mode represents that the file to be uploaded of the institutional object is detected again, the forced merging mode represents that non-existing content in the file to be uploaded of the institutional object is abandoned, and the abandonment mode represents that each of the files to be uploaded corresponding to the institutional object is abandoned.
[0034] In one example, the adjusting unit includes:
[0035] An executing module is configured to execute again the step of detecting the file to be uploaded corresponding to the institutional object based on the processing mode indicated by the processing instruction if the processing mode indicated by the processing instruction is the retry mode.
[0036] The first abandonment module is configured to determine to abandon the non-existing content in the file to be uploaded of the institutional object based on the indicated processing manner indicated by the processing instruction if the indicated processing manner indicated by the processing instruction is the forced merging manner.
[0037] The second abandonment module is configured to determine to abandon each file to be uploaded corresponding to the institutional object based on the indicated processing manner indicated by the processing instruction if the indicated processing manner indicated by the processing instruction is the abandonment manner.
[0038] In one example, the apparatus further includes:
[0039] The sending unit is configured to send an alarm message when the current time is the second preset time; the first preset time is later than the second preset time; and the alarm message indicates that the file to be uploaded corresponding to the institutional object at the second preset time is incomplete.
[0040] The execution unit is configured to perform the step of detecting the file to be uploaded corresponding to the institutional object again after determining that a preset time length has been waited.
[0041] In one example, the apparatus further includes:
[0042] The processing unit is configured to perform merging processing on the file to be uploaded corresponding to each institutional object to obtain a file set to be uploaded if the detection result corresponding to each institutional object indicates that the file corresponding to the institutional object is complete, and transmit the file set to be uploaded to a receiving device.
[0043] In one example, the processing unit includes:
[0044] The calling module is configured to call the associated file associated with the file to be uploaded corresponding to each institutional object.
[0045] The processing module is configured to perform merging processing on the file to be uploaded corresponding to each institutional object and the associated file corresponding to each institutional object to obtain a file set to be uploaded.
[0046] In one example, the apparatus further includes:
[0047] The detection unit is configured to detect the file to be uploaded corresponding to a next institutional object if the detection result corresponding to the institutional object indicates that the file corresponding to the institutional object is complete.
[0048] In one example, the apparatus further includes:
[0049] The second acquisition unit is used to acquire a list of institutional objects and retrieve institutional objects from the list; or to retrieve institutional objects from the database according to a preset logic language.
[0050] Thirdly, this application provides an electronic device, including: a processor, and a memory communicatively connected to the processor;
[0051] The memory stores computer-executed instructions;
[0052] The processor executes computer execution instructions stored in the memory to implement the method as described in the first aspect.
[0053] Fourthly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method described in the first aspect.
[0054] Fifthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements the method described in the first aspect.
[0055] This application provides a file processing method, apparatus, device, and storage medium based on an organization object. The method involves acquiring the file to be uploaded corresponding to the organization object, detecting the file to be uploaded, and obtaining a detection result for the organization object. If the detection result indicates that the file corresponding to the organization object is incomplete, a prompt message is issued to the user at a first preset time, wherein the prompt message prompts the user to perform manual processing. Responding to the user's processing instruction, the file of the organization object is adjusted based on the processing method indicated by the processing instruction, wherein the processing instruction indicates the processing method for the file of the organization object. Using this technical solution, different files can be completely merged, and file loss can be avoided. Attached Figure Description
[0056] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0057] Figure 1 This is a flowchart illustrating a document processing method based on an organization object according to Embodiment 1 of this application;
[0058] Figure 2 This is a flowchart illustrating a document processing method based on an organization object, according to Embodiment 2 of this application.
[0059] Figure 3is a flow diagram of a file processing method based on an organization object according to Embodiment Three of the present application.
[0060] Figure 4 is a structural diagram of a file processing device based on an organization object according to Embodiment Four of the present application.
[0061] Figure 5 is a structural diagram of a file processing device based on an organization object according to Embodiment Five of the present application.
[0062] Figure 6 is a block diagram of an electronic device according to an exemplary embodiment.
[0063] The above figures have shown the explicit embodiments of the present application, which will be described in more detail hereinafter. These figures and the written description are not intended to limit the scope of the present application concept in any way, but to illustrate the present application concept to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0064] The exemplary embodiments will be described in detail herein with reference to the attached drawings. In the following description, the same numbers are used to indicate the same or similar components. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the appended claims.
[0065] The present application provides a file processing method, device, equipment and storage medium based on an organization object, aiming at solving the above technical problems of the prior art.
[0066] The technical solutions of the present application and how the technical solutions of the present application solve the above technical problems will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of the present application will be described below with reference to the drawings.
[0067] Figure 1 is a flow diagram of a file processing method based on an organization object according to Embodiment One of the present application.
[0068] Embodiment One includes the following steps:
[0069] S101, obtaining the file to be uploaded corresponding to the organization object, and detecting the file to be uploaded corresponding to the organization object to obtain a detection result corresponding to the organization object; wherein the detection result is used to represent the integrity of the file corresponding to the organization object.
[0070] In one example, the institution objects refer to different units, and each institution object corresponds to multiple files, and part of the files are files to be uploaded. For example, the institution objects can be institution object A, institution object B and institution object C. Institution object A corresponds to file 1, file 2 and file 3, and file 1 and file 2 are files to be uploaded. Specifically, the detection of the files to be uploaded corresponding to the institution object is performed in a newly created institution object, and the detection result corresponding to the institution object is obtained. Specifically, the detection result can be a detection file, or the size of the file to be uploaded marked in the detection file. If the detection file of the institution object exists in the newly created institution object, or the size of the file to be uploaded marked in the detection file is the same as the preset threshold, it is indicated that the detection result corresponding to the institution object represents that the files corresponding to the institution object are complete.
[0071] S102, if the detection result corresponding to the institution object represents that the files corresponding to the institution object are not complete, the user is prompted with prompt information at the first preset time, and the prompt information is used to prompt the user to perform manual processing.
[0072] In one example, if there is no detection file, it is indicated that the detection result corresponding to the institution object represents that the files corresponding to the institution object are not complete. If the detection result corresponding to the institution object represents that the files corresponding to the institution object are not complete, the current time is obtained, and if the current time is the first preset time, it is indicated that the files corresponding to the institution object are not complete, and at this time, the user needs to be reminded to attract the attention of the user, and then the user performs manual processing.
[0073] S103, in response to the processing indication of the user, the files of the institution object are adjusted based on the processing mode indicated by the processing indication, and the processing indication is used to indicate the processing mode of the files of the institution object.
[0074] In one example, the processing mode is a retry mode, or a forced merging mode, or an abandonment mode; wherein the retry mode represents that the files to be uploaded of the institution object are detected again; the forced merging mode represents that the non-existing content in the files to be uploaded of the institution object is abandoned; and the abandonment mode represents that each file to be uploaded corresponding to the institution object is abandoned.
[0075] In this embodiment, the processing indication of the user is an indication issued by the user after receiving the prompt message, and then the files of the institution object are processed, and different processing indications correspond to different processing modes.
[0076] The application provides a file processing method based on an organization object. The method comprises the following steps: obtaining a file to be uploaded corresponding to the organization object, detecting the file to be uploaded corresponding to the organization object, obtaining a detection result corresponding to the organization object, and issuing a prompt information to a user when a current time is a first preset time if the detection result corresponding to the organization object indicates that the file corresponding to the organization object is incomplete. The file of the organization object is adjusted based on a processing mode indicated by a processing instruction in response to the processing instruction. The processing instruction is used to indicate the processing mode of the file of the organization object. The technical scheme can completely combine different files, flexibly adjust the file to be uploaded in the organization according to different situations, and avoid the loss of the file.
[0077] Figure 2 FIG. 1 is a flowchart of a file processing method based on an organization object according to an embodiment of the application.
[0078] The embodiment two comprises the following steps:
[0079] S201, obtaining list information of the organization object, obtaining the organization object from the list information, or calling the organization object from a database according to a preset logical language.
[0080] In the embodiment, for example, the organization object can be organization object A, organization object B and organization object C. The organization object A, the organization object B and the organization object C are obtained from the list information. The preset logical language can be SQL language, and the organization object A, the organization object B and the organization object C are called from the database according to the preset logical language.
[0081] S202, obtaining a file to be uploaded corresponding to the organization object, and detecting the file to be uploaded corresponding to the organization object, obtaining a detection result corresponding to the organization object; wherein the detection result is used to indicate the integrity of the file corresponding to the organization object.
[0082] The step can be referred to the step S101 described above, and will not be described here.
[0083] S203, issuing an alarm message when a current time is a second preset time; wherein the first preset time is later than the second preset time; the alarm message indicates that the file to be uploaded corresponding to the organization object is incomplete at the second preset time.
[0084] In the embodiment, the alarm message is issued when the current time is the second preset time, which is used to prompt the user to pay attention to the file to be uploaded corresponding to the organization object.
[0085] S204, after determining that a preset time length is waited, the step of detecting the file to be uploaded corresponding to the organization object is executed again.
[0086] In this embodiment, the preset time length can be 3 minutes. The preset time length is used to wait for the mechanism object to continue to generate the file to be uploaded. After the preset time length is exceeded, the step of detecting the file to be uploaded corresponding to the mechanism object is performed again.
[0087] S205, if the detection result corresponding to the mechanism object represents that the file corresponding to the mechanism object is incomplete, the first preset time is the current time, and a prompt information is sent to the user, wherein the prompt information is used to prompt the user to perform manual processing.
[0088] By way of example, this step can refer to the above step S102, and will not be described again.
[0089] S206, in response to the processing instruction of the user, the file of the mechanism object is adjusted based on the processing mode indicated by the processing instruction, wherein the processing instruction is used to indicate the processing mode of the file of the mechanism object.
[0090] In one example, based on the processing mode indicated by the processing instruction, the file of the mechanism object is adjusted, comprising:
[0091] If the processing mode indicated by the processing instruction is a retry mode, based on the processing mode indicated by the processing instruction, the step of detecting the file to be uploaded corresponding to the mechanism object is performed again.
[0092] If the processing mode indicated by the processing instruction is a forced merging mode, based on the processing mode indicated by the processing instruction, it is determined to abandon the non-existing content in the file to be uploaded of the mechanism object.
[0093] If the processing mode indicated by the processing instruction is an abandonment mode, based on the processing mode indicated by the processing instruction, it is determined to abandon each file to be uploaded corresponding to the mechanism object.
[0094] In this embodiment, if the processing manner indicated by the processing instruction is the retry manner, the step of detecting the file to be uploaded corresponding to the agency object is performed again, indicating that the user continues to wait for the file to be uploaded corresponding to the agency object to be generated. If the processing manner indicated by the processing instruction is the forced merging manner, it is determined to abandon the non-existing content in the file to be uploaded of the agency object. For example, the agency object can be agency object A, and the agency object A corresponds to file 1, file 2 and file 3, wherein file 1 and file 2 are files to be uploaded, and file 1 has been uploaded at present. If the processing manner indicated by the processing instruction is the forced merging manner, it is determined to abandon file 2 in the file to be uploaded of the agency object. For example, the agency object can be agency object B, and the agency object B corresponds to file 4, file 5 and file 6, wherein file 4 and file 5 are files to be uploaded, and file 4 has been uploaded at present. If the processing manner indicated by the processing instruction is the abandonment manner, it is determined to abandon file 4 corresponding to the agency object B based on the processing manner indicated by the processing instruction.
[0095] S207, if the detection result corresponding to the agency object indicates that the file corresponding to the agency object is complete, detecting the file to be uploaded corresponding to the next agency object.
[0096] In this embodiment, if the detection result corresponding to the agency object indicates that the file corresponding to the agency object is complete, the file to be uploaded corresponding to the next agency object needs to be detected. Specifically, step S202 is also performed on the file to be uploaded corresponding to the next agency object.
[0097] S208, if the detection result corresponding to each agency object indicates that the file corresponding to the agency object is complete, merging the files to be uploaded corresponding to each agency object to obtain a file set to be uploaded, and transmitting the file set to be uploaded to the receiving device.
[0098] In this embodiment, for example, the agency object can be agency object A, agency object B and agency object C. If the file corresponding to the agency object A is complete, the file corresponding to the agency object B is complete, and the file corresponding to the agency object C is complete, the file corresponding to the agency object A, the file corresponding to the agency object B and the file corresponding to the agency object C are merged to obtain a file set to be uploaded, and the file set to be uploaded is transmitted to the receiving device.
[0099] In one example, merging the files to be uploaded corresponding to each agency object to obtain a file set to be uploaded includes:
[0100] Retrieving the associated file associated with the file to be uploaded corresponding to each agency object;
[0101] The to-be-uploaded files corresponding to each organization object and the associated files corresponding to each organization object are merged to obtain a file set to be uploaded.
[0102] In this embodiment, for example, the organization object can be organization object A, the organization object A corresponds to file 1, file 2 and file 3, the associated file associated with file 1 corresponding to the organization object A is file 4, and file 1, file 2, file 3 and file 4 are merged to obtain a file set to be uploaded. Specifically, the file set to be uploaded is in a newly created organization object.
[0103] The application provides a file processing method based on an organization object. If the detection results corresponding to each organization object all represent that the files corresponding to the organization objects are complete, the to-be-uploaded files corresponding to each organization object are merged to obtain a file set to be uploaded, and the file set to be uploaded is transmitted to a receiving device. By using the technical solution, artificial intervention process is automatically introduced in batches, an organization object that does not exist is configured in the organization object, important data can be processed by using the scheme, daily data correctness is ensured by manual additional checking, or data is manually processed, for example, details are summarized, data is de-duplicated, and the like, so as to meet the requirements of downstream data use.
[0104] Figure 3 FIG. 1 is a flowchart of a file processing method based on an organization object according to Embodiment Three of the application.
[0105] Embodiment Three includes the following steps:
[0106] S301, the process is started after the current system time is greater than the merging start time.
[0107] S302, a new organization object is created.
[0108] S303, to-be-uploaded files corresponding to an organization object are obtained.
[0109] S304, the to-be-uploaded files corresponding to the organization object are detected to obtain a detection result corresponding to the organization object.
[0110] S305, the current time is obtained.
[0111] S306, when the second preset time is reached, an alarm message is sent, and after a preset time length is determined to be waited, the step of detecting the to-be-uploaded files corresponding to the organization object is performed again.
[0112] S307, when the first preset time is reached, in response to a processing instruction of a user, the file of the organization object is adjusted based on a processing mode indicated by the processing instruction.
[0113] S308, if the detection result corresponding to the organization object represents that the file corresponding to the organization object is complete, detecting the file to be uploaded corresponding to the next organization object.
[0114] S309, if the detection result corresponding to each organization object represents that the file corresponding to the organization object is complete, merging the files to be uploaded corresponding to each organization object to obtain a file set to be uploaded; and transmitting the file set to be uploaded to a receiving device.
[0115] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process in the embodiment can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
[0116] Figure 4 is a structural schematic diagram of a file processing device based on an organization object according to an embodiment four of the present application. Specifically, the device 40 in the embodiment four comprises:
[0117] The first acquisition unit 401 is configured to acquire the file to be uploaded corresponding to the organization object, and detect the file to be uploaded corresponding to the organization object to obtain a detection result corresponding to the organization object; wherein the detection result is used to represent the completeness of the file corresponding to the organization object.
[0118] The sending unit 402 is configured to, if the detection result corresponding to the organization object represents that the file corresponding to the organization object is not complete, send a prompt information to the user at a first preset time point as the current time point, wherein the prompt information is used to prompt the user to perform manual processing.
[0119] The adjusting unit 403 is configured to, in response to a processing instruction of the user, adjust the file of the organization object based on a processing mode indicated by the processing instruction; wherein the processing instruction is used to indicate the processing mode of the file of the organization object.
[0120] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described device can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
[0121] Figure 5 is a structural schematic diagram of a file processing device based on an organization object according to an embodiment five of the present application. Specifically, the device 50 in the embodiment five comprises:
[0122] The first acquisition unit 501 is configured to acquire the file to be uploaded corresponding to the organization object, and detect the file to be uploaded corresponding to the organization object to obtain a detection result corresponding to the organization object; wherein the detection result is used to represent the completeness of the file corresponding to the organization object.
[0123] The sending unit 502 is configured to send a prompt information to the user if the detection result corresponding to the organization object indicates that the file corresponding to the organization object is incomplete, and the current time is the first preset time, where the prompt information is used to prompt the user to perform manual processing.
[0124] The adjusting unit 503 is configured to adjust the file of the organization object based on the processing mode indicated by the processing instruction in response to the processing instruction of the user, where the processing instruction is used to indicate the processing mode of the file of the organization object.
[0125] In one example, the processing mode is a retry mode, or a forced merging mode, or an abandonment mode.
[0126] The retry mode indicates that the detection on the file to be uploaded of the organization object is performed again, the forced merging mode indicates that the non-existing content in the file to be uploaded of the organization object is abandoned, and the abandonment mode indicates that each file to be uploaded corresponding to the organization object is abandoned.
[0127] In one example, the adjusting unit 503 includes:
[0128] The executing module 5031 is configured to perform again the step of detecting the file to be uploaded corresponding to the organization object based on the processing mode indicated by the processing instruction if the processing mode indicated by the processing instruction is the retry mode.
[0129] The first abandoning module 5032 is configured to determine to abandon the non-existing content in the file to be uploaded of the organization object based on the processing mode indicated by the processing instruction if the processing mode indicated by the processing instruction is the forced merging mode.
[0130] The second abandoning module 5033 is configured to determine to abandon each file to be uploaded corresponding to the organization object based on the processing mode indicated by the processing instruction if the processing mode indicated by the processing instruction is the abandonment mode.
[0131] In one example, the apparatus 50 further includes:
[0132] The sending unit 504 is configured to send an alarm message if the current time is the second preset time, where the first preset time is later than the second preset time, and the alarm message indicates that the file to be uploaded corresponding to the organization object is incomplete at the second preset time.
[0133] The executing unit 505 is configured to perform again the step of detecting the file to be uploaded corresponding to the organization object after a preset time length is waited.
[0134] In one example, the apparatus 50 further includes:
[0135] The processing unit 506 is configured to, if the detection result corresponding to each organization object indicates that the file corresponding to the organization object is complete, perform merging processing on the to-be-uploaded file corresponding to each organization object to obtain a to-be-uploaded file set, and transmit the to-be-uploaded file set to the receiving device.
[0136] In one example, the processing unit 506 includes:
[0137] The calling module 5061 is configured to call the associated file associated with the to-be-uploaded file corresponding to each organization object.
[0138] The processing module 5062 is configured to perform merging processing on the to-be-uploaded file corresponding to each organization object and the associated file corresponding to each organization object to obtain a to-be-uploaded file set.
[0139] In one example, the apparatus 50 further includes:
[0140] The detection unit 507 is configured to, if the detection result corresponding to the organization object indicates that the file corresponding to the organization object is complete, perform detection on the to-be-uploaded file corresponding to the next organization object.
[0141] In one example, the apparatus further includes:
[0142] The second acquisition unit 508 is configured to acquire list information of organization objects, acquire the organization objects from the list information, or call the organization objects from a database according to a preset logical language.
[0143] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the apparatus described above can refer to the corresponding process in the foregoing method embodiments, which will not be described herein.
[0144] Figure 6 is a block diagram of an electronic device according to an example embodiment. The device can be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, etc.
[0145] The electronic device 600 can include one or more of the following components: a processing component 602, a memory 604, a power supply component 606, a multimedia component 608, an audio component 610, an input / output (I / O) interface 612, a sensor component 614, and a communication component 616.
[0146] The processing component 602 generally controls the overall operations of the electronic device 600, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 602 can include one or more processors 620 to execute instructions and to complete the steps of the methods described above, in whole or in part. Moreover, the processing component 602 can include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.
[0147] The memory 604 is configured to store various types of data to support the operations of the electronic device 600. Examples of these data include instructions to operate any applications or methods on the electronic device 600, contact data, phonebook data, messages, pictures, videos, and so on. The memory 604 can be implemented by any type of volatile or non-volatile storage devices or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, magnetic disc or optical disc.
[0148] The power component 606 provides power to the various components of the electronic device 600. The power component 606 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 600.
[0149] The multimedia component 608 includes a screen to provide an output interface between the electronic device 600 and a user. In some embodiments, the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes the touch panel, the screen can be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense a touch, a slide, and a gesture on the touch panel. The touch sensor can not only sense a boundary of a touching or sliding action, but also detect duration and pressure related to the touching or sliding action. In some embodiments, the multimedia component 608 includes a front camera and / or a back camera. The front camera and / or the back camera can receive external multimedia data when the electronic device 600 is in an operating mode, such as a shooting mode or a video mode. Each of the front camera and the back camera can be a fixed optical lens system or have a focal length and optical zoom capability.
[0150] The audio component 610 is configured to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC) that is configured to receive an external audio signal when the electronic device 600 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 604 or transmitted via the communication component 616. In some embodiments, the audio component 610 also includes a speaker for outputting audio signals.
[0151] The I / O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which can be a keypad, a click wheel, buttons, and the like. The buttons can include, but are not limited to, a home button, a volume button, a start button, and a lock button.
[0152] The sensor component 614 includes one or more sensors for providing status assessments of various aspects of the electronic device 600. For example, the sensor component 614 can detect an open / closed position of the electronic device 600, relative positioning of components, such as a display and a keypad of the electronic device 600, a change of position of the electronic device 600 or a component of the electronic device 600, presence or absence of user contact with the electronic device 600, orientation or acceleration / deceleration / g-force and temperature of the electronic device 600. The sensor component 614 can include a proximity sensor configured to detect presence of a nearby object without any physical touch. The sensor component 614 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 614 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0153] The communication component 616 is configured to facilitate wired or wireless communication between the electronic device 600 and other devices. The electronic device 600 can access a wireless network based on a corresponding communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an example embodiment, the communication component 616 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In an example embodiment, the communication component 616 also includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technology.
[0154] In exemplary embodiments, the electronic device 600 can be implemented with one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic elements for performing the above-described methods.
[0155] In exemplary embodiments, a non-transitory computer-readable storage medium including instructions, such as the memory 604 including instructions, is also provided, which can be executed by the processor 620 of the electronic device 600 to complete the above-described methods. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0156] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform a mechanism object-based file processing method of the electronic device described above.
[0157] The present application also discloses a computer program product, comprising a computer program which, when executed by a processor, implements the method as described in the embodiments.
[0158] The various embodiments of the systems and techniques described above can be implemented in digital electronic circuitry, integrated circuitry, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system on chips (SoCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
[0159] Program code for carrying out methods of the present application can be written in any combination of one or more programming languages. This program code can be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the program code, when executed by the processor or controller, produces a means for implementing the functions / acts specified in the flowcharts and / or block diagrams. The program code can be executed entirely on a machine, partially on a machine, partially on a machine and partially on a remote machine or entirely on a remote machine or electronic device.
[0160] In the context of the present application, a machine-readable medium can be a tangible medium that can contain or store program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable storage medium can include, without limitation, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium will include one or more lines of electrical connections, portable computer disks, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or Flash memory), optical fibers, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
[0161] To provide for interaction with a user, the systems and techniques described here can be implemented on a computer 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 a trackball) by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
[0162] The systems and techniques described here can be implemented in a computing system that includes a back end component, e.g., as a data server, or that includes a middleware component, e.g., an application server, or that includes a front end component, e.g., a client computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here, or any combination of these, e.g., a client computer including a graphical user interface through which a user can interact with an implementation of the systems and techniques described here, and a data server remotely located from the client computer and from each other. The components of the system can 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), and the Internet.
[0163] The computer system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also known as cloud computing server or cloud host, which is a host product in the cloud computing service system, and solves the defects of large management difficulty and weak business scalability in traditional physical host and VPS (Virtual Private Server, or VPS for short) services. The server can also be a distributed system server or a server combined with a blockchain. It should be understood that the various forms of flow shown above can be used to reorder, add or delete steps. For example, the steps described in this application can be executed in parallel, in sequence, or in a different order, as long as the desired results of the technical solutions disclosed in this application can be achieved, and this application does not limit this.
[0164] Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. It is intended that the application be limited only by the scope of the claims, a properly construed, and any variations, uses, or adaptations of the application following in general the principles of the application and including such steps as come within the normal practice of the art to which the application pertains and claims priority thereto. It is intended that the specification and examples be considered exemplary only, with the true scope and spirit of the application being indicated by the following claims.
[0165] It is to be understood that the application is not limited to the precise construction herein disclosed and shown in the drawings, and that various changes in form and detail can be made therein without departing from the scope of the application. The scope of the application is limited only by the claims that follow.
Claims
1. An institutional object-based file processing method, characterized by, The method comprises: obtaining files to be uploaded corresponding to an organization object, and detecting the files to be uploaded corresponding to the organization object to obtain a detection result corresponding to the organization object; wherein the detection result is used to represent the integrity of the files corresponding to the organization object; if the detection result corresponding to the organization object represents that the files corresponding to the organization object are incomplete, then at a current time being a first preset time, sending a prompt information to a user, wherein the prompt information is used to prompt the user to perform manual processing; in response to a processing instruction of the user, adjusting the files of the organization object based on a processing mode indicated by the processing instruction; wherein the processing instruction is used to indicate the processing mode of the files of the organization object, and the processing mode is a retry mode, or a forced merging mode, or an abandonment mode; wherein the retry mode represents that the detection of the files to be uploaded of the organization object is performed again; the forced merging mode represents that the non-existing content in the files to be uploaded of the organization object is abandoned; and the abandonment mode represents that each of the files to be uploaded corresponding to the organization object is abandoned.
2. The method of claim 1, wherein, adjusting the files of the organization object based on the processing mode indicated by the processing instruction comprises: if the processing mode indicated by the processing instruction is the retry mode, then based on the processing mode indicated by the processing instruction, the step of detecting the files to be uploaded corresponding to the organization object is performed again; if the processing mode indicated by the processing instruction is the forced merging mode, then based on the processing mode indicated by the processing instruction, it is determined to abandon the non-existing content in the files to be uploaded of the organization object; if the processing mode indicated by the processing instruction is the abandonment mode, then based on the processing mode indicated by the processing instruction, it is determined to abandon each of the files to be uploaded corresponding to the organization object.
3. The method of claim 1, wherein, before sending the prompt information to the user at the current time being the first preset time, the method further comprises: at the current time being a second preset time, sending an alarm message; wherein the first preset time is later than the second preset time; and the alarm message represents that the files to be uploaded corresponding to the organization object at the second preset time are incomplete; after it is determined that a preset time length has been waited, the step of detecting the files to be uploaded corresponding to the organization object is performed again.
4. The method of claim 1, wherein, The method further comprises: if the detection results corresponding to each of the organization objects all represent that the files corresponding to the organization objects are complete, then the files to be uploaded corresponding to each of the organization objects are merged to obtain a file set to be uploaded; and the file set to be uploaded is transmitted to a receiving device.
5. The method of claim 4, wherein, merging the files to be uploaded corresponding to each of the organization objects to obtain the file set to be uploaded comprises: calling associated files associated with each of the files to be uploaded corresponding to the organization objects; merging the files to be uploaded corresponding to each of the organization objects and the associated files corresponding to each of the organization objects to obtain the file set to be uploaded.
6. The method according to any one of claims 1-5, characterized in that, The method further comprises: if the detection result corresponding to the organization object represents that the files corresponding to the organization object are complete, then the files to be uploaded corresponding to a next organization object are detected.
7. The method according to any one of claims 1-5, characterized in that, The method further includes: obtaining list information of the organization object, obtaining the organization object from the list information, or calling the organization object from a database according to a preset logical language.
8. An apparatus for processing a file based on an institutional object, characterized by comprising: The device includes: a first obtaining unit configured to obtain a file to be uploaded corresponding to the organization object, and detect the file to be uploaded corresponding to the organization object to obtain a detection result corresponding to the organization object, wherein the detection result is used to represent the integrity of the file corresponding to the organization object; a sending unit configured to send a prompt information to a user at a first preset time point if the detection result corresponding to the organization object represents that the file corresponding to the organization object is incomplete, wherein the prompt information is used to prompt the user to perform manual processing; an adjusting unit configured to adjust the file of the organization object based on a processing mode indicated by a processing instruction of the user in response to the processing instruction of the user, wherein the processing instruction is used to indicate the processing mode of the file of the organization object, and the processing mode is a retry mode, a forced merging mode, or an abandonment mode; wherein the retry mode represents that the file to be uploaded of the organization object is detected again, the forced merging mode represents that the content not existing in the file to be uploaded of the organization object is abandoned, and the abandonment mode represents that each file to be uploaded corresponding to the organization object is abandoned.
9. An electronic device, comprising: including: a processor, and a memory connected with the processor in communication; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory to implement the method in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer execution instructions, and the computer execution instructions are executed by the processor to implement the method in any one of claims 1-7.
11. A computer program product, characterised in that, including a computer program, which is executed by the processor to implement the method in any one of claims 1-7.
Citation Information
Patent Citations
File reconciliation processing method and device
CN112037003A
Information digital input method, device and equipment and readable storage medium
CN115496046A