CN115102936B - Batch information uploading method and device, storage medium and electronic equipment - Google Patents

Batch information uploading method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN115102936B
CN115102936B CN202210712948.4A CN202210712948A CN115102936B CN 115102936 B CN115102936 B CN 115102936B CN 202210712948 A CN202210712948 A CN 202210712948A CN 115102936 B CN115102936 B CN 115102936B
Authority
CN
China
Prior art keywords
information
uploading
client
batch
identity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210712948.4A
Other languages
Chinese (zh)
Other versions
CN115102936A (en
Inventor
李兴涛
李炜豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Dajiaying Information Technology Co Ltd
Original Assignee
Suzhou Dajiaying Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Dajiaying Information Technology Co Ltd filed Critical Suzhou Dajiaying Information Technology Co Ltd
Priority to CN202210712948.4A priority Critical patent/CN115102936B/en
Publication of CN115102936A publication Critical patent/CN115102936A/en
Application granted granted Critical
Publication of CN115102936B publication Critical patent/CN115102936B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/101Access control lists [ACL]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5018Thread allocation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a batch information uploading method and device, a storage medium and electronic equipment. The method comprises the following steps: responding to a batch information uploading request, and acquiring configuration information of the client; determining an information uploading mode according to the configuration information, and displaying a corresponding information uploading interface; under the condition that the information uploading interface is input with the application scene elements of the current batch, a first thread is started, wherein the first thread is used for sequentially inputting batch information to the local cache of the client, and each information record in the batch information comprises the relation between the application scene elements and the identity information pointed by the information record; in response to the number of information records entered being greater than the first threshold, a second thread is started, the second thread being configured to extract information records from the local cache and upload the extracted information records to the server. The application can efficiently input and transmit information in batches.

Description

Batch information uploading method and device, storage medium and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a batch information uploading method and device, a storage medium and electronic equipment.
Background
Along with the continuous development of science and technology, electronic equipment gradually has the capability of supporting various batch information uploading modes, but the uploading of batch information involves more data, so that a plurality of problems exist in the aspects of transmission method design and data management, particularly, in the aspect of application scenes of multi-client uploading, how to ensure that clients realize quick and convenient batch uploading, and a server can finally obtain correct data is a technical problem to be solved.
Disclosure of Invention
In order to solve at least one technical problem described above, an embodiment of the application provides a batch information uploading method, a batch information uploading device, a storage medium and electronic equipment.
In one aspect, an embodiment of the present application provides a batch information uploading method, which is applied to a client, and the method includes:
responding to a batch information uploading request, acquiring configuration information of the client, wherein the configuration information is used for indicating whether the client is provided with an independent encryption information identification module or not and whether the client is provided with networking information encryption identification capability or not under the condition that the client is not provided with the independent encryption information identification module;
determining an information uploading mode of the client according to the configuration information;
Responding to the condition that the information uploading mode is not empty, and displaying a corresponding information uploading interface;
under the condition that the information uploading interface is input with the application scene elements of the current batch, a first thread is started, the first thread is used for sequentially inputting batch information into the local cache of the client, and each information record in the batch information comprises the relation between the application scene elements and the identity information pointed by the information record;
and in response to the number of the entered information records being greater than a first threshold, starting a second thread, wherein the second thread is used for extracting the information records from the local cache and uploading the extracted information records to a server.
In one embodiment, the first thread is configured to perform the following operations:
reading identity information based on the information uploading mode, and displaying an identity reading progress on the information uploading interface;
under the condition that the identity information is read, carrying out multiple checks on the identity information, wherein the multiple checks comprise identity item comparison check and blacklist check;
displaying information records determined according to the identity information and the application scene elements on the information uploading interface under the condition that the multiple checks pass;
And continuing to receive next identity information in response to the information record being confirmed.
In one embodiment, the second thread is configured to perform the following operations:
reading a first number of information records from the local cache to obtain an information record packet;
transmitting the information record packet to the server;
deleting the information record in the information record packet in the local cache in response to the successful sending condition;
and in response to the condition that the information transmission stopping condition is not met, repeating the step of reading the preset number of information records in the local cache to obtain an information record packet.
In one embodiment, the case where the information transmission stop condition is not reached includes at least one of:
the number of information records in the local cache is higher than a second threshold value and no uploading stopping instruction is received, wherein the second threshold value is lower than the first threshold value;
the number of information record packets transmitted is smaller than the second number and no instruction to stop uploading is received.
In one embodiment, the plurality of checks further includes an identity information check re-check for querying whether the identity information has been entered into the local cache, the first thread further being configured to:
Deleting the information record which is associated with the identity information and has been input under the condition that the identity item comparison check passes, the blacklist check passes and the identity information check and re-check does not pass;
and the information record determined according to the read identity information and the application scene element is used as a first information record in the local cache;
the next identity information is continued to be received.
In another aspect, a batch information uploading method is provided, and is applied to a server, and the method includes:
and acquiring information records uploaded by each client, wherein the clients are used for executing the following operations:
responding to a batch information uploading request, acquiring configuration information of the client, wherein the configuration information is used for indicating whether the client is provided with an independent encryption information identification module or not and whether the client is provided with networking information encryption identification capability or not under the condition that the client is not provided with the independent encryption information identification module;
determining an information uploading mode of the client according to the configuration information;
responding to the condition that the information uploading mode is not empty, and displaying a corresponding information uploading interface;
Under the condition that the information uploading interface is input with the application scene elements of the current batch, a first thread is started, the first thread is used for sequentially inputting batch information into the local cache of the client, and each information record in the batch information comprises the relation between the application scene elements and the identity information pointed by the information record;
and in response to the number of the entered information records being greater than a first threshold, starting a second thread, wherein the second thread is used for extracting the information records from the local cache and uploading the extracted information records to a server.
In one embodiment, the identity information comprises at least two identity items, the method further comprising:
transversely comparing the information records uploaded by the clients to find out a related information record set, wherein each information record in the related information record set is respectively from different clients and has the same identity item;
and reserving the information record with the latest recording time in the associated information record set, and deleting other information records in the associated information record set.
In another aspect, a batch information uploading device is provided, and is applied to a client, and the device includes:
The system comprises a request acquisition module, a network information encryption identification module and a network information encryption identification module, wherein the request acquisition module is used for responding to a batch information uploading request and acquiring configuration information of the client, wherein the configuration information is used for indicating whether the client is provided with the independent encryption information identification module or not and whether the client is provided with the network information encryption identification capability or not under the condition that the client is not provided with the independent encryption information identification module;
the uploading mode determining module is used for determining an information uploading mode of the client according to the configuration information;
the interface display module is used for responding to the condition that the information uploading mode is not empty and displaying a corresponding information uploading interface;
the asynchronous module is used for starting a first thread under the condition that the information uploading interface is input with the application scene elements of the current batch, the first thread is used for sequentially inputting batch information into the local cache of the client, and each information record in the batch information comprises the relation between the application scene elements and the identity information pointed by the information record; and in response to the number of entered information records being greater than a first threshold, starting a second thread, wherein the second thread is used for extracting the information records from the local cache and uploading the extracted information records to a server.
In one embodiment, the first thread is configured to perform the following operations:
reading identity information based on the information uploading mode, and displaying an identity reading progress on the information uploading interface;
under the condition that the identity information is read, carrying out multiple checks on the identity information, wherein the multiple checks comprise identity item comparison check and blacklist check;
displaying information records determined according to the identity information and the application scene elements on the information uploading interface under the condition that the multiple checks pass;
and continuing to receive next identity information in response to the information record being confirmed.
In one embodiment, the second thread is configured to perform the following operations:
reading a first number of information records from the local cache to obtain an information record packet;
transmitting the information record packet to the server;
deleting the information record in the information record packet in the local cache in response to the successful sending condition;
and in response to the condition that the information transmission stopping condition is not met, repeating the step of reading the preset number of information records in the local cache to obtain an information record packet.
In one embodiment, the case where the information transmission stop condition is not reached includes at least one of:
the number of information records in the local cache is higher than a second threshold value and no uploading stopping instruction is received, wherein the second threshold value is lower than the first threshold value;
the number of information record packets transmitted is smaller than the second number and no instruction to stop uploading is received.
In one embodiment, the plurality of checks further includes an identity information check re-check for querying whether the identity information has been entered into the local cache, the first thread further being configured to:
deleting the information record which is associated with the identity information and has been input under the condition that the identity item comparison check passes, the blacklist check passes and the identity information check and re-check does not pass;
and the information record determined according to the read identity information and the application scene element is used as a first information record in the local cache;
the next identity information is continued to be received.
In another aspect, a batch information uploading device is provided, and the batch information uploading device is applied to a server, and includes:
The information record acquisition module is used for acquiring information records uploaded by each client, and the clients are used for executing the following operations:
responding to a batch information uploading request, acquiring configuration information of the client, wherein the configuration information is used for indicating whether the client is provided with an independent encryption information identification module or not and whether the client is provided with networking information encryption identification capability or not under the condition that the client is not provided with the independent encryption information identification module;
determining an information uploading mode of the client according to the configuration information;
responding to the condition that the information uploading mode is not empty, and displaying a corresponding information uploading interface;
under the condition that the information uploading interface is input with the application scene elements of the current batch, a first thread is started, the first thread is used for sequentially inputting batch information into the local cache of the client, and each information record in the batch information comprises the relation between the application scene elements and the identity information pointed by the information record;
in response to the number of entered information records being greater than a first threshold, initiating a second thread for extracting information records from the local cache and uploading the extracted information records to a server
In one embodiment, the identity information includes at least two identity items, and the information recording module is further configured to perform the following operations:
transversely comparing the information records uploaded by the clients to find out a related information record set, wherein each information record in the related information record set is respectively from different clients and has the same identity item;
and reserving the information record with the latest recording time in the associated information record set, and deleting other information records in the associated information record set.
In another aspect, an embodiment of the present application provides an electronic device including at least one processor, and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the at least one processor implements the batch information uploading method by executing the instructions stored by the memory.
In another aspect, embodiments of the present application provide a computer program product comprising a computer program or instructions which, when executed by a processor, implement a batch information uploading method as described above.
The embodiment of the application provides a batch information uploading method, a client can asynchronously send information records in a local cache to a server, so that the simultaneous input and uploading of the information records can be realized, the two threads are not mutually influenced, the efficient input and uploading can be automatically executed, and the uploading process fully considers the information input capacity of the electronic equipment and the information input tendency of a user, so that the batch information uploading scheme of the embodiment of the application not only has high efficiency and high speed, but also fully respects the information uploading individuation tendency of the user, and improves the user satisfaction and viscosity.
Drawings
In order to more clearly illustrate the technical solutions and advantages of embodiments of the present application or related technologies, the drawings that are needed in the embodiments or related technology description will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to the drawings without inventive effort for those skilled in the art.
Fig. 1 is a flow chart of a batch information uploading method according to an embodiment of the present disclosure;
FIG. 2 is a flow chart of another method for uploading batch information according to the embodiment of the present disclosure;
FIG. 3 is a block diagram of a batch information uploading device provided by an embodiment of the present application;
fig. 4 is a schematic hardware structure of an apparatus for implementing the method provided by the embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the embodiments of the present application.
It should be noted that the terms "first," "second," and the like in the description and the claims of the embodiments of the present application and the above-described drawings are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or server that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In order to make the objects, technical solutions and advantages of the embodiments of the present application more apparent, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the detailed description and specific examples, while indicating the embodiment of the application, are intended for purposes of illustration only and are not intended to limit the scope of the application.
The terms "first" and "second" are used below for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present embodiment, unless otherwise specified, the meaning of "plurality" is two or more.
The embodiment of the application can be applied to a server-client scene or a distributed scene. Referring to fig. 1, fig. 1 is a schematic flow chart of a batch information uploading method according to an embodiment of the present application. Embodiments of the present application provide method operational steps as described above in the embodiments or flowcharts, but may include more or fewer operational steps based on conventional or non-inventive labor. The order of steps recited in the embodiments is merely one way of performing the order of steps and does not represent a unique order of execution. When implemented in a system, terminal device or server product in practice, the methods illustrated in the embodiments or figures may be performed sequentially or in parallel (e.g., in a parallel processor or multithreaded environment), and may include:
S101, responding to a batch information uploading request, acquiring configuration information of the client, wherein the configuration information is used for indicating whether the client is provided with an independent encryption information identification module or not and whether the client is provided with networking information encryption identification capability or not under the condition that the client is not provided with the independent encryption information identification module.
The client in the embodiment of the application can be operated on various electronic equipment, such as an intelligent terminal, a palm computer, a notebook computer, a desktop computer and the like, and the electronic equipment only needs to have a display function, a storage function, a communication interaction function with a server and an instruction execution function.
In order to fully mine the information identification capability of the electronic equipment and maximally transmit the capability to a user, and avoid the problem that the related technology only depends on the user to decide a specific information uploading method or directly conceal the specific information uploading method which can be supported, the embodiment of the application firstly detects the specific information uploading capability which can be provided by the electronic equipment and configures configuration information representing the capability.
Specifically, the independent encryption information identification module may be invoked; setting the configuration information to a first preset value in response to successful calling, wherein the first preset value is used for indicating that the electronic equipment has independent encryption information identification capability; responding to the condition of calling failure, and inquiring the near field communication module; responding to the condition that the query result is not empty, setting the configuration information to a second preset value, wherein the second preset value is used for indicating that the electronic equipment has networking-based near field communication identification capability; and setting the configuration information to a third preset value in response to the condition that the query result is empty, wherein the third preset value is used for indicating that the electronic equipment does not have networking-based near field communication identification capability.
The embodiment of the application divides the information uploading capability of the electronic equipment into three types:
(1) The capability of uploading the encrypted information can be independently realized, and the encrypted software module which is usually built in the electronic equipment can rapidly extract the encrypted information under the off-network state and upload the information to an application program. This type of electronic device is given a first preset value.
(2) Although independent encryption information upload is not possible, encryption information extraction based on near field communication in a networking state may be performed and the information uploaded to an application. This type of electronic device is given a second preset value.
(3) The network disconnection or networking state does not have independent encryption information extraction capability. This type of electronic device is given a third preset value.
S102, determining an information uploading mode of the client according to the configuration information.
The embodiment of the application is not limited to a specific information uploading mode determining method, for example, the above-mentioned independent encryption information uploading mode or information uploading mode based on near field communication in a networking state may be adopted.
In one embodiment, an information uploading model of the electronic device may be determined according to the configuration information, where the information uploading model includes at least two information uploading modes supported by the electronic device. And sequencing the at least two information uploading modes based on recommendation degrees, wherein the recommendation degrees are determined according to the resource consumption of the information uploading modes and the current state of the electronic equipment. And displaying an information uploading mode selection interface according to the sorting result, wherein the information uploading mode selection interface is used for selecting an information uploading mode, and determining the selection result as the information uploading mode in the step S102.
In a specific implementation process, an information uploading model can be determined according to specific configuration information, it is ensured that all three types of electronic equipment can be fully excavated to obtain batch information uploading capability, that is, the electronic equipment with different information uploading capability can be matched with a corresponding information uploading model, so that in a later information uploading process, a proper information uploading mode selection interface can be matched with the electronic equipment, the self input capability of the electronic equipment is fully excavated, meanwhile, a humanized information uploading mode selection interface is provided for a user, and finally batch information uploading efficiency is improved.
Specifically, in the case where the configuration information is a first preset value, the information uploading model includes an independent encrypted bulk information uploading mode, and the information uploading model further includes: at least one of a networked near field communication entry mode, an optically-based character recognition mode, a text input mode.
In one embodiment, the information uploading mode included in the information uploading model can be determined according to the size of the display interface of the electronic device, and if the display interface is large, the information uploading mode can include an independent encryption information uploading mode, a networking near field communication input mode, an optical-based character recognition mode and a text input mode. If the display interface is smaller, the method only comprises an independent encryption batch information uploading mode, and then comprises a networking near field communication inputting mode, an optical-based character recognition mode and a text inputting mode, wherein the networking near field communication inputting mode, the optical-based character recognition mode and the text inputting mode can be selected according to actual configuration or historical batch information uploading habit determination of a user.
And when the configuration information is a second preset value, the information uploading model comprises a networking near field communication input mode, and the information uploading model further comprises: at least one of an optically based character recognition mode and a text input mode. The selection of the information uploading model in this case may refer to the foregoing, and is based on the same inventive concept, and will not be described herein.
The ranking based on the recommendation degree is one of main steps for providing batch information uploading mode guidance for users while ensuring the full exploitation of the information uploading capability of the electronic equipment. The method and the device have the advantages that the information uploading capability of the electronic equipment is fully mined, so that multiple information uploading modes can be provided for the user, the user can possibly generate difficulty in selection, the purpose of fully providing the diversified batch information uploading modes and reasonably guiding the user to improve the batch information uploading comfort level of the user is achieved in order to help the user to quickly find the most suitable batch information uploading mode, and the batch information uploading modes are ranked based on recommendation degree.
In one embodiment, for each of the information upload modes, a degree of adaptation of the information upload mode to a current state of the electronic device is determined, and the information upload mode is based on time consumption, hardware operation consumption, and hardware allocation rationality in the current state.
For example, for near field communication identification requiring networking, but the current electronic device is not networked, even if the current surrounding environment cannot support wireless networking, the adaptation degree of the information uploading mode and the current state of the electronic device may be significantly reduced, and even if the current surrounding environment can support networking, if the electronic device is not networked, the time consumption of the information uploading mode in the current state is necessarily increased relative to the state of networking. In addition, the electronic equipment is based on the hardware of the electronic equipment no matter the electronic equipment is an independent encryption information extraction module or a near field communication module needing networking, and the loss of the hardware is increased along with the increase of the running time and is not suitable for being frequently operated, so that the reasonable allocation can be ensured by evaluating the hardware running consumption and the hardware allocation rationality, if the running consumption is large or the allocation is unreasonable, for example, the allocation is frequently started recently, the recommendation is properly reduced, and all sides can be comprehensively evaluated, and the reasonable recommendation is obtained.
In some embodiments, the hardware operation consumption may be determined according to the hardware already-operated time and the historical operation frequency distribution of the hardware, obviously, the longer the hardware already-operated time, the higher the highest frequency in the historical operation frequency distribution or the longer the accumulated time above the preset frequency, the more likely the hardware operation consumption is increased, the hardware operation consumption may be calculated by respectively constructing a hardware operation consumption model by using the hardware already-operated time, the highest frequency in the historical operation frequency distribution and the accumulated time above the preset frequency as independent variables, the embodiment of the application is not limited to specific parameters and structures of the hardware operation consumption model, the model may be constructed in various ways on the basis of specific independent variables, for example, the model may be constructed by an experimental neural network, or three independent variables may be preset according to actual needs, and the three independent variables are all in a algebraic expression of positive correlation, and then the embodiment of the application is determined by combining the experimental method.
In some embodiments, the hardware deployment rationality may be determined based on a hardware history call frequency, e.g., if the hardware was frequently called by a high frequency in the last period of time, the hardware deployment rationality may be given a low value. In the method, the hardware running consumption and hardware allocation are reasonably quantified in response to actual demands, and are respectively determined through a preset running consumption model and a historical call frequency, so that the recommendation degree is obtained.
And determining the recommendation degree of the batch information uploading mode according to the adaptation degree, the time consumption, the hardware operation consumption and the hardware allocation rationality. And ordering the at least two information uploading modes in a descending order of recommendation degree to obtain an ordering result, so that an information uploading mode selection interface can be displayed based on the ordering result.
S103, responding to the condition that the information uploading mode is not null, and displaying a corresponding information uploading interface.
Specifically, the user may obtain the information selection mode of step S103 by selecting the control in the information upload mode selection interface, so as to display a corresponding information upload interface for the user.
S104, under the condition that the information uploading interface is input with the application scene elements of the current batch, starting a first thread, wherein the first thread is used for sequentially inputting batch information into the local cache of the client, and each information record in the batch information comprises the relation between the application scene elements and the identity information pointed by the information record.
The embodiment of the application can generate batch information according to the application scene elements, so that the adaptation degree of a batch information input method and the application scene is higher, the method in the application can be widely applied to various application scenes, the embodiment of the application is not limited to the specific content of the application scene elements, and the embodiment of the application can be understood as abstract expression of elements in the application scene. For example, taking a game as an example, the application scene element may be a game place, a game task, etc., taking a recruitment application as an example, the application scene element may be first party enterprise information, and the interactive interview application as an example, the application scene element may be a work kind, interview time, etc.
In the case that an information uploading mode is selected and an application scene element is input, batch uploading can be achieved based on the information uploading mode, specifically, the operation of uploading can be completed through a first thread, the first thread sequentially obtains identity information based on the information uploading mode, information records are formed according to the identity information and the application scene element, and each information record forms batch information, and the embodiment of the application does not limit the identity information and can comprise at least one of the following: name, gender, age, date of birth, identification number, social security account number, etc., each of which is included in the identity information may be considered an identity item in embodiments of the present application.
S105, in response to the fact that the number of the recorded information records is larger than a first threshold value, starting a second thread, wherein the second thread is used for extracting the information records from the local cache, and uploading the extracted information records to a server.
The first threshold is not limited, and may be set according to practical situations, for example, it may be 100,300,500, etc. The number of the information records which can be cached locally is limited, so that the client can asynchronously send the information records in the local cache to the server, the information records can be recorded and uploaded at the same time, the two threads are not mutually influenced, the efficient recording and uploading can be automatically executed, and the uploading process fully considers the information recording capacity of the electronic equipment and the information recording tendency of the user, so that the batch information uploading scheme of the embodiment of the application is high in efficiency and speed, fully honors the information uploading individuation tendency of the user, and improves the user satisfaction and viscosity.
In a specific embodiment, the first thread is configured to perform the following operations:
(1) And reading the identity information based on the information uploading mode, and displaying the identity reading progress on the information uploading interface.
(2) And under the condition that the identity information is read, carrying out multiple checks on the identity information, wherein the multiple checks comprise identity item comparison check and blacklist check.
The identity information in the embodiment of the application can comprise a plurality of identity items, such as a name and an identity card number, or a name, a gender and an identity card number.
Taking name and ID card number as examples, the identity item comparison check includes checking whether the name and ID card number are matched.
Taking name, gender and identity card number as examples, the identity item comparison and verification comprises verifying whether the name, the gender and the identity card number are matched.
The blacklist verification is used for verifying whether the user corresponding to the identity information is a blacklist user, and if the user is the blacklist user, the blacklist user cannot be provided with services, so that information of the user does not need to be recorded.
(3) And displaying information records determined according to the identity information and the application scene elements on the information uploading interface under the condition that the multiple checks pass.
(4) In response to the information record being confirmed, the next identity information is continued to be received.
Of course, if any of the checks that need to be performed fails, step (3-4) cannot be performed. For example, in one embodiment, the plurality of checks further includes an identity information check and re-check, the identity information check and re-check is used to query whether the identity information has been entered into the local cache, and the first thread is further configured to perform the following operations:
Deleting the information record which is related to the identity information and has been input under the condition that the identity item comparison check passes, the blacklist check passes and the identity information check and duplication check does not pass; and the information record determined according to the read identity information and the application scene element is used as a first information record in the local cache; the next identity information is continued to be received.
According to the embodiment, repeated identity information can be found in the client information input link, the latest identity information is directly reserved, the previous identity information is deleted, repeated information input is avoided, the latest identity information is set to be put into the first local cache, so that the latest identity information can be uploaded as soon as possible, and the server is ensured to have records aiming at the identity information.
In one embodiment, the second thread is configured to perform the following operations:
(10) And reading the first number of information records in the local cache to obtain an information record packet.
The first number is not limited by the embodiment of the present application, for example, 10 records in the local cache data may be packaged each time.
(20) And transmitting the information record packet to the server.
(30) And deleting the information record in the information record packet in the local cache in response to the successful sending condition.
(40) And in response to the condition that the information transmission stop condition is not met, repeating the step of reading the preset number of information records in the local cache to obtain an information record packet.
Specifically, the case where the above information transmission stop condition is not reached includes at least one of:
the number of information records in the local buffer is higher than a second threshold value, and no upload stop instruction is received, and if the second threshold value is lower than the first threshold value, it is determined that the information transmission stop condition is not reached. The embodiment of the present application is not limited to the second threshold, and for example, it may be 90,200,450 or the like. That is, when there are still more information records in the local cache and no instruction to stop uploading is received, the packaged information record packet is continuously sent to the server.
If the number of transmitted information record packets is smaller than the second number and the instruction to stop uploading is not received, it is also possible to identify that the information transmission stop condition is not reached.
The embodiment of the application can count the number of the sent information record packets from the last time the second thread is started, and can also determine that the information sending stop condition is not reached if the counting result is smaller than the second number and the uploading stop instruction is not received. The second number is not limited by the embodiment of the present application, and may be determined by referring to the first threshold and the first number, which is not limited by the present application.
The embodiment of the application provides a batch information uploading method, which is applied to a server as shown in fig. 2, and comprises the following steps:
s201, information records uploaded by all clients are obtained.
The method for obtaining the information record by the client is not limited in the embodiment of the present application, and the following operations may be executed by the client in brief description with reference to the foregoing:
responding to a batch information uploading request, acquiring configuration information of the client, wherein the configuration information is used for indicating whether the client is provided with an independent encryption information identification module or not and whether the client is provided with networking information encryption identification capability or not under the condition that the client is not provided with the independent encryption information identification module;
determining an information uploading mode of the client according to the configuration information;
Responding to the condition that the information uploading mode is not empty, and displaying a corresponding information uploading interface;
under the condition that the information uploading interface is input with the application scene elements of the current batch, a first thread is started, the first thread is used for sequentially inputting batch information into the local cache of the client, and each information record in the batch information comprises the relation between the application scene elements and the identity information pointed by the information record;
and in response to the number of the recorded information records being greater than a first threshold, starting a second thread, wherein the second thread is used for extracting the information records from the local cache and uploading the extracted information records to a server.
By the method, the server can acquire the uploaded information records from each client, so that the information record input and uploading based on the server-client architecture are realized. In a specific embodiment, after the server obtains the information records uploaded by each client, the following operations may be further performed:
s202, transversely comparing the information records uploaded by the clients to find a related information record set, wherein the information records in the related record set are respectively from different clients, and the information records have the same identity item.
The server may receive information records from the clients, and by means of a lateral comparison, it may be able to find information records with the same identity item, for example, information record 1 and information record 2 are from client 1 and client 2, respectively, information record 1 is Zhang san, identity number … … 1221, information record 2 is Zhang san, identity number … … 1221 is provided with the same identity number, that is, information record 1 and information record 2 are provided with the same identity item, information record 1 and information record 2 form an association record set, and information record 1 and information record 2 are information records in the association record set, respectively.
In another embodiment, after the above-mentioned lateral comparison of the information records uploaded from each client to find the associated information record set, the following operations may also be performed:
and comparing any two information records in the associated information record set by identity items to obtain a target record subset, wherein different identity items exist in any two information records in the target record subset. And acquiring the reliability corresponding to each information record in the target record subset, determining other information records except the information record with the highest reliability in the target record subset as information records to be deleted, and deleting the information records to be deleted in the associated information record set.
The information records recorded by the target record subset have inconsistent identity items, the identity items are necessarily consistent under the condition of correct recording, if the identity items are inconsistent, recording errors are indicated, therefore, the server side can acquire the reliability of the information records in the target record subset, the higher the reliability is, the smaller the error probability of the information records is, the redundant information records in the related information records can be removed by deleting the information records with low reliability, and the cleaning of the information records is realized. The embodiment of the application is not limited to the reliability acquisition method, and the corresponding reliability can be determined through the information record input mode, for example, the reliability of an independent encryption batch information uploading mode, a networking near field communication input mode, an optical-based character recognition mode and a text input mode is sequentially reduced.
Of course, before the deletion operation is performed, if there are at least two information records with highest reliability in the target record subset, the target information record may be further selected based on the record to be deleted from the at least two information records with highest reliability, and in the deletion operation, information records other than the target information record in the at least two information records with highest reliability may be also deleted together.
The difference in any one identity item in the embodiments of the present application may cause the relevant two information records to be included in the target record subset, which may indicate that the target record subset may have the following cases:
for the information record A and the information record B, the names are different, and the abnormal identity item is the name;
for the information record A and the information record C, the ages are different, and the abnormal identity item is the age;
that is, for an information record pair composed of any two information records, there may be a case where the abnormal identity items are different for different information record pairs. The present situation that the abnormal identity items are different is utilized to screen the information records with the highest reliability, so that the target information record is obtained.
For example, there are two information records with highest reliability:
information record P: name: zhang III, sex: man, ID card number: … … 2332 and 2332;
information record Q: name: plum four, sex: man, ID card number: … … 2332 and 2332;
the name in the information record to be deleted is Li IV and the identification number is … … 2332, which indicates that the information record P is wrong, in which case the information record Q can be used as the target information record and the information record P can be deleted. According to the method, the further cleaning of at least two information records with the same highest reliability can be completed according to the situation that any two information records in the target record subset are different from each other in the possible abnormal identity item, the associated information record set obtained after cleaning basically does not comprise wrong information records, and the accuracy of the associated information record set is improved to the greatest extent.
S203, reserving the information record with the latest recording time in the related information record set, and deleting other information records in the related information record set.
For a washed set of associated information records, or for a non-washed set of associated records, a unique information record may be retained and other information records deleted according to the entry time, since the information record with the latest entry time is most probable to be the information record eventually generated by the user, i.e. the final state data, following the previous example, if the entry time of information record 1 is latest, information record 1 is retained and information record 2 is deleted.
According to the embodiment of the application, the repeated information records corresponding to the identity information can be deleted again by checking at the client, and then the information records corresponding to the identity information repeated in the associated record set can be deleted selectively by transverse comparison at the server, so that the aim of only reserving one information record is finally achieved, the information record is the data corresponding to the corresponding user in the application, other deleted information records possibly correspond to the data generated by the user at different historical moments and are not final state data, the final state data can be reserved effectively, and the most accurate service is provided for the user based on the final state data so as to avoid the interference of the historical data.
Referring to fig. 3, a block diagram of a batch information uploading device in this embodiment is shown, and the batch information uploading device is applied to a client, where the device includes:
a request acquisition module 10, configured to acquire configuration information of the client in response to a batch information upload request, where the configuration information is used to indicate whether the client has an independent encrypted information identification module, and whether the client has a networking information encrypted identification capability without having the independent encrypted information identification module;
an upload mode determining module 20, configured to determine an information upload mode of the client according to the configuration information;
an interface display module 30, configured to display a corresponding information upload interface in response to a situation that the information upload mode is not null;
an asynchronous module 40, configured to start a first thread when the information upload interface is used to record a current batch of application scenario elements, where the first thread is configured to sequentially record batch information into a local cache of the client, and each information record in the batch information includes a relationship between the application scenario elements and identity information pointed by the information record; and in response to the number of the entered information records being greater than a first threshold, starting a second thread, wherein the second thread is used for extracting the information records from the local cache and uploading the extracted information records to a server.
In one embodiment, the first thread is configured to perform the following operations:
reading identity information based on the information uploading mode, and displaying the identity reading progress on the information uploading interface;
under the condition that the identity information is read, carrying out multiple checks on the identity information, wherein the multiple checks comprise identity item comparison check and blacklist check;
displaying information records determined according to the identity information and the application scene elements on the information uploading interface under the condition that the multiple checks pass;
in response to the information record being confirmed, the next identity information is continued to be received.
In one embodiment, the second thread is configured to perform the following operations:
reading a first number of information records from the local cache to obtain an information record packet;
transmitting the information recording packet to the server;
deleting the information record in the information record packet in the local cache in response to the successful sending condition;
and in response to the condition that the information transmission stop condition is not met, repeating the step of reading the preset number of information records in the local cache to obtain an information record packet.
In one embodiment, the case where the above information transmission stop condition is not reached includes at least one of:
the number of information records in the local cache is higher than a second threshold value, and no uploading stopping instruction is received, wherein the second threshold value is lower than the first threshold value;
the number of information record packets transmitted is smaller than the second number and no instruction to stop uploading is received.
In one embodiment, the plurality of checks further includes an identity information check and re-check, the identity information check and re-check being used to query whether the identity information has been entered into the local cache, the first thread being further configured to:
deleting the information record which is related to the identity information and has been input under the condition that the identity item comparison check passes, the blacklist check passes and the identity information check and duplication check does not pass;
and the information record determined according to the read identity information and the application scene element is used as a first information record in the local cache;
the next identity information is continued to be received.
In this embodiment, a batch information uploading device is further provided, and the batch information uploading device is applied to a server, where the device includes:
The information record acquisition module is used for acquiring information records uploaded by all clients, and the clients are used for executing the following operations:
responding to a batch information uploading request, acquiring configuration information of the client, wherein the configuration information is used for indicating whether the client is provided with an independent encryption information identification module or not and whether the client is provided with networking information encryption identification capability or not under the condition that the client is not provided with the independent encryption information identification module;
determining an information uploading mode of the client according to the configuration information;
responding to the condition that the information uploading mode is not empty, and displaying a corresponding information uploading interface;
under the condition that the information uploading interface is input with the application scene elements of the current batch, a first thread is started, the first thread is used for sequentially inputting batch information into the local cache of the client, and each information record in the batch information comprises the relation between the application scene elements and the identity information pointed by the information record;
in response to the number of entered information records being greater than a first threshold, initiating a second thread for extracting information records from the local cache and uploading the extracted information records to a server
In one embodiment, the information recording module is further configured to perform the following operations:
transversely comparing the information records uploaded by the clients to find a related information record set, wherein each information record in the related information record set is respectively from different clients and has the same identity item;
and reserving the information record with the latest recording time in the related information record set, and deleting other information records in the related information record set.
The device part and the method embodiment in the embodiment of the present application are based on the same inventive concept, and are not described in detail herein.
Further, fig. 4 shows a schematic hardware structure of an apparatus for implementing the method provided by the embodiment of the present application, where the apparatus may participate in forming or including the device or the system provided by the embodiment of the present application. As shown in fig. 4, the apparatus 10 may include one or more processors 102 (shown as 102a, 102b, … …,102 n) which may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA, a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, the method may further include: a display, an input/output interface (I/O interface), a Universal Serial Bus (USB) port (which may be included as one of the ports of the I/O interface), a network interface, a power supply, and/or a camera. It will be appreciated by those of ordinary skill in the art that the configuration shown in fig. 4 is merely illustrative and is not intended to limit the configuration of the electronic device described above. For example, the device 10 may also include more or fewer components than shown in FIG. 4, or have a different configuration than shown in FIG. 4.
It should be noted that the one or more processors 102 and/or other data processing circuits described above may be referred to generally herein as "data processing circuits. The data processing circuit may be embodied in whole or in part in software, hardware, firmware, or any other combination. Further, the data processing circuitry may be a single stand-alone processing module, or incorporated in whole or in part into any of the other elements in the device 10 (or mobile device). As referred to in embodiments of the application, the data processing circuit acts as a processor control (e.g., selection of the path of the variable resistor termination connected to the interface).
The memory 104 may be used to store software programs and modules of application software, such as program instructions/data storage devices corresponding to the above-described method in the embodiments of the present application, and the processor 102 executes the software programs and modules stored in the memory 104 to perform various functional applications and data processing, i.e., implement a batch information uploading method as described above. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 104 may further include memory located remotely from processor 102, which may be connected to device 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission means 106 is arranged to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communications provider of device 10. In one example, the transmission device 106 includes a network adapter (NetworkInterfaceController, NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a radio frequency (RadioFrequency, RF) module for communicating wirelessly with the internet.
The display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with a user interface of the device 10 (or mobile device).
It should be noted that: the sequence of the embodiments of the present application is only for description, and does not represent the advantages and disadvantages of the embodiments. And the foregoing description has been directed to specific embodiments of this application. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
All the embodiments of the present application are described in a progressive manner, and identical and similar parts of all the embodiments are mutually referred to, and each embodiment mainly describes differences from other embodiments. In particular, for the device and server embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and references to the parts of the description of the method embodiments are only required.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The instructions in the storage medium may execute a batch information uploading method, applied to a client, where the method includes:
responding to a batch information uploading request, acquiring configuration information of the client, wherein the configuration information is used for indicating whether the client is provided with an independent encryption information identification module or not and whether the client is provided with networking information encryption identification capability or not under the condition that the client is not provided with the independent encryption information identification module;
Determining an information uploading mode of the client according to the configuration information;
responding to the condition that the information uploading mode is not empty, and displaying a corresponding information uploading interface;
under the condition that the information uploading interface is input with the application scene elements of the current batch, a first thread is started, the first thread is used for sequentially inputting batch information into the local cache of the client, and each information record in the batch information comprises the relation between the application scene elements and the identity information pointed by the information record;
and in response to the number of the recorded information records being greater than a first threshold, starting a second thread, wherein the second thread is used for extracting the information records from the local cache and uploading the extracted information records to a server.
In one embodiment, the first thread is configured to perform the following operations:
reading identity information based on the information uploading mode, and displaying the identity reading progress on the information uploading interface;
under the condition that the identity information is read, carrying out multiple checks on the identity information, wherein the multiple checks comprise identity item comparison check and blacklist check;
Displaying information records determined according to the identity information and the application scene elements on the information uploading interface under the condition that the multiple checks pass;
in response to the information record being confirmed, the next identity information is continued to be received.
In one embodiment, the second thread is configured to perform the following operations:
reading a first number of information records from the local cache to obtain an information record packet;
transmitting the information recording packet to the server;
deleting the information record in the information record packet in the local cache in response to the successful sending condition;
and in response to the condition that the information transmission stop condition is not met, repeating the step of reading the preset number of information records in the local cache to obtain an information record packet.
In one embodiment, the case where the above information transmission stop condition is not reached includes at least one of:
the number of information records in the local cache is higher than a second threshold value, and no uploading stopping instruction is received, wherein the second threshold value is lower than the first threshold value;
the number of information record packets transmitted is smaller than the second number and no instruction to stop uploading is received.
In one embodiment, the plurality of checks further includes an identity information check and re-check, the identity information check and re-check being used to query whether the identity information has been entered into the local cache, the first thread being further configured to:
deleting the information record which is related to the identity information and has been input under the condition that the identity item comparison check passes, the blacklist check passes and the identity information check and duplication check does not pass;
and the information record determined according to the read identity information and the application scene element is used as a first information record in the local cache;
the next identity information is continued to be received.
On the other hand, a batch information uploading method is provided, and is applied to a server, and the method comprises the following steps:
and acquiring information records uploaded by all clients, wherein the clients are used for executing the following operations:
responding to a batch information uploading request, acquiring configuration information of the client, wherein the configuration information is used for indicating whether the client is provided with an independent encryption information identification module or not and whether the client is provided with networking information encryption identification capability or not under the condition that the client is not provided with the independent encryption information identification module;
Determining an information uploading mode of the client according to the configuration information;
responding to the condition that the information uploading mode is not empty, and displaying a corresponding information uploading interface;
under the condition that the information uploading interface is input with the application scene elements of the current batch, a first thread is started, the first thread is used for sequentially inputting batch information into the local cache of the client, and each information record in the batch information comprises the relation between the application scene elements and the identity information pointed by the information record;
and in response to the number of the recorded information records being greater than a first threshold, starting a second thread, wherein the second thread is used for extracting the information records from the local cache and uploading the extracted information records to a server.
In one embodiment, the method further comprises:
transversely comparing the information records uploaded by the clients to find a related information record set, wherein each information record in the related information record set is respectively from different clients and has the same identity item;
and reserving the information record with the latest recording time in the related information record set, and deleting other information records in the related information record set.
The foregoing description of the preferred embodiments of the present application is not intended to limit the embodiments of the present application, but is intended to cover all modifications, equivalents, improvements and alternatives falling within the spirit and principles of the embodiments of the present application.

Claims (11)

1. A batch information uploading method, which is applied to a client, the method comprising:
responding to a batch information uploading request, acquiring configuration information of the client, wherein the configuration information is used for indicating whether the client is provided with an independent encryption information identification module or not and whether the client is provided with networking information encryption identification capability or not under the condition that the client is not provided with the independent encryption information identification module;
according to the configuration information, determining an information uploading mode of the client, wherein the information uploading mode further comprises: at least one of a networked near field communication entry mode, an optically-based character recognition mode, a text input mode;
responding to the condition that the information uploading mode is not empty, and displaying a corresponding information uploading interface;
under the condition that the information uploading interface is input with the application scene elements of the current batch, a first thread is started, the first thread is used for sequentially inputting batch information into the local cache of the client, and each information record in the batch information comprises the relation between the application scene elements and the identity information pointed by the information record;
And in response to the number of the entered information records being greater than a first threshold, starting a second thread, wherein the second thread is used for extracting the information records from the local cache and uploading the extracted information records to a server.
2. The method of claim 1, wherein the first thread is configured to perform the following operations:
reading identity information based on the information uploading mode, and displaying an identity reading progress on the information uploading interface;
under the condition that the identity information is read, carrying out multiple checks on the identity information, wherein the multiple checks comprise identity item comparison check and blacklist check;
displaying information records determined according to the identity information and the application scene elements on the information uploading interface under the condition that the multiple checks pass;
and continuing to receive next identity information in response to the information record being confirmed.
3. The method of claim 1 or 2, wherein the second thread is configured to perform the following operations:
reading a first number of information records from the local cache to obtain an information record packet; transmitting the information record packet to the server;
Deleting the information record in the information record packet in the local cache in response to the successful sending condition;
and in response to the condition that the information transmission stopping condition is not met, repeating the step of reading the preset number of information records in the local cache to obtain an information record packet.
4. A method according to claim 3, wherein the case where the information transmission stop condition is not reached comprises at least one of:
the number of information records in the local cache is higher than a second threshold value and no uploading stopping instruction is received, wherein the second threshold value is lower than the first threshold value;
the number of information record packets transmitted is smaller than the second number and no instruction to stop uploading is received.
5. The method of claim 2, wherein the plurality of checks further comprises an identity information check re-check for querying whether the identity information has been entered into the local cache, the first thread further configured to:
deleting the information record which is associated with the identity information and has been input under the condition that the identity item comparison check passes, the blacklist check passes and the identity information check and re-check does not pass;
And the information record determined according to the read identity information and the application scene element is used as a first information record in the local cache;
the next identity information is continued to be received.
6. A batch information uploading method, which is applied to a server, the method comprising: and acquiring information records uploaded by each client, wherein the clients are used for executing the following operations:
responding to a batch information uploading request, acquiring configuration information of the client, wherein the configuration information is used for indicating whether the client is provided with an independent encryption information identification module or not and is not provided with independent adding
Whether the secret information identification module has networking information encryption identification capability or not;
according to the configuration information, determining an information uploading mode of the client, wherein the information uploading mode further comprises: at least one of a networked near field communication entry mode, an optically-based character recognition mode, a text input mode;
responding to the condition that the information uploading mode is not empty, and displaying a corresponding information uploading interface;
under the condition that the information uploading interface is input with the application scene elements of the current batch, a first thread is started, the first thread is used for sequentially inputting batch information into the local cache of the client, and each information record in the batch information comprises the relation between the application scene elements and the identity information pointed by the information record;
And in response to the number of the entered information records being greater than a first threshold, starting a second thread, wherein the second thread is used for extracting the information records from the local cache and uploading the extracted information records to a server.
7. The method of claim 6, wherein the identity information comprises at least two identity items, the method further comprising:
transversely comparing the information records uploaded by the clients to find out a related information record set, wherein each information record in the related information record set is respectively from different clients and has the same identity item;
and reserving the information record with the latest recording time in the associated information record set, and deleting other information records in the associated information record set.
8. A batch information uploading device, applied to a client, the device comprising: a request acquisition module, configured to acquire a configuration message of the client in response to a batch information upload request
The configuration information is used for indicating whether the client side is provided with an independent encryption information identification module or not and whether the client side is provided with networking information encryption identification capability or not under the condition that the client side is not provided with the independent encryption information identification module;
The uploading mode determining module is configured to determine an information uploading mode of the client according to the configuration information, where the information uploading mode further includes: at least one of a networked near field communication entry mode, an optically-based character recognition mode, a text input mode;
the interface display module is used for responding to the condition that the information uploading mode is not empty and displaying a corresponding information uploading interface;
the asynchronous module is used for starting a first thread under the condition that the information uploading interface is input with the application scene elements of the current batch, the first thread is used for sequentially inputting batch information into the local cache of the client, and each information record in the batch information comprises the relation between the application scene elements and the identity information pointed by the information record; and in response to the number of entered information records being greater than a first threshold, starting a second thread, wherein the second thread is used for extracting the information records from the local cache and uploading the extracted information records to a server.
9. A batch information uploading device, applied to a server, comprising: the information record acquisition module is used for acquiring information records uploaded by each client, wherein the clients
For performing the following operations:
responding to a batch information uploading request, acquiring configuration information of the client, wherein the configuration information is used for indicating whether the client is provided with an independent encryption information identification module or not and whether the client is provided with networking information encryption identification capability or not under the condition that the client is not provided with the independent encryption information identification module;
according to the configuration information, determining an information uploading mode of the client, wherein the information uploading mode further comprises: at least one of a networked near field communication entry mode, an optically-based character recognition mode, a text input mode;
responding to the condition that the information uploading mode is not empty, and displaying a corresponding information uploading interface;
under the condition that the information uploading interface is input with the application scene elements of the current batch, a first thread is started, the first thread is used for sequentially inputting batch information into the local cache of the client, and each information record in the batch information comprises the relation between the application scene elements and the identity information pointed by the information record;
and in response to the number of the entered information records being greater than a first threshold, starting a second thread, wherein the second thread is used for extracting the information records from the local cache and uploading the extracted information records to a server.
10. A computer-readable storage medium having stored therein at least one instruction or at least one program loaded and executed by a processor to implement a batch information upload method according to claim 1 to 5,
or a batch information uploading method as claimed in claim 6.
11. An electronic device comprising at least one processor, and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the at least one processor implementing a bulk information upload method according to any one of claims 1 to 5 or a bulk information upload method according to claim 6 by executing the instructions stored by the memory.
CN202210712948.4A 2022-06-22 2022-06-22 Batch information uploading method and device, storage medium and electronic equipment Active CN115102936B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210712948.4A CN115102936B (en) 2022-06-22 2022-06-22 Batch information uploading method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210712948.4A CN115102936B (en) 2022-06-22 2022-06-22 Batch information uploading method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN115102936A CN115102936A (en) 2022-09-23
CN115102936B true CN115102936B (en) 2023-11-21

Family

ID=83292462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210712948.4A Active CN115102936B (en) 2022-06-22 2022-06-22 Batch information uploading method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN115102936B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750377A (en) * 2012-06-21 2012-10-24 深圳市谷米科技有限公司 Massive data storage and retrieval method
WO2017101606A1 (en) * 2015-12-15 2017-06-22 北京奇虎科技有限公司 System and method for collecting and analyzing data
CN109741022A (en) * 2018-12-24 2019-05-10 广州市中智软件开发有限公司 E-Government front-end information shared method, apparatus, storage medium and equipment
CN110147354A (en) * 2019-04-19 2019-08-20 平安科技(深圳)有限公司 Batch data edit methods, device, computer equipment and storage medium
CN113051050A (en) * 2021-03-12 2021-06-29 国电南瑞科技股份有限公司 Multithreading-based fusion terminal batch access method and system
CN113568856A (en) * 2021-08-10 2021-10-29 河海大学 News text classification system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9389936B2 (en) * 2011-09-23 2016-07-12 Microsoft Technology Licensing, Llc. Monitoring the responsiveness of a user interface

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750377A (en) * 2012-06-21 2012-10-24 深圳市谷米科技有限公司 Massive data storage and retrieval method
WO2017101606A1 (en) * 2015-12-15 2017-06-22 北京奇虎科技有限公司 System and method for collecting and analyzing data
CN109741022A (en) * 2018-12-24 2019-05-10 广州市中智软件开发有限公司 E-Government front-end information shared method, apparatus, storage medium and equipment
CN110147354A (en) * 2019-04-19 2019-08-20 平安科技(深圳)有限公司 Batch data edit methods, device, computer equipment and storage medium
CN113051050A (en) * 2021-03-12 2021-06-29 国电南瑞科技股份有限公司 Multithreading-based fusion terminal batch access method and system
CN113568856A (en) * 2021-08-10 2021-10-29 河海大学 News text classification system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于B/S的数据上传技术的实现;杨竣辉;黄婵;;计算机时代(06);全文 *

Also Published As

Publication number Publication date
CN115102936A (en) 2022-09-23

Similar Documents

Publication Publication Date Title
CN110011788B (en) Data processing method, system and related equipment based on block chain
CN113568884B (en) File management method and device, electronic equipment and storage medium
CN107733708B (en) Equipment parameter configuration method and device, computer equipment and storage medium
CN109272381A (en) Business recommended method, apparatus, electronic equipment and readable storage medium storing program for executing
CN107872534B (en) Information pushing method and device, server and readable storage medium
CN105069617B (en) A kind of method and apparatus for restoring imperfect transaction
CN107786593A (en) Task deployment method, example deployment method, apparatus and equipment
CN107908686B (en) Information pushing method and device, server and readable storage medium
CN105847367A (en) Service request processing method and apparatus
CN111414374B (en) Block chain transaction concurrent processing method, device and equipment
CN104994147B (en) The recommendation method of software download, system and the server-side being applicable in and user equipment
CN109388552B (en) Method and device for determining duration of starting application program and storage medium
CN115102936B (en) Batch information uploading method and device, storage medium and electronic equipment
CN104778389A (en) Numerical value transferring method, terminal, server and system
CN110162293B (en) Random number generation method and device for load balancing and terminal
CN112069190B (en) Batch data acquisition method, device, equipment and medium
CN111024955A (en) Method and hand-held glucose meter for transmitting glucose measurements
CN109271454A (en) A kind of method and the network equipment that data are synchronous
CN109325095A (en) Method, equipment and the storage medium that the sharing information of publication is counted
CN111178958B (en) Virtual resource distribution method, device, system and medium based on resource pre-distribution
CN110858201B (en) Data processing method and system, processor and storage medium
CN114547184A (en) Personnel information synchronization method, terminal device and storage medium
CN110324366B (en) Data processing method, device and system
CN113872994A (en) Organization architecture synchronization method, device, computer equipment and storage medium
CN107908949B (en) Information updating method and device and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant