CN113643016A - Information merging method, device, electronic equipment, medium and product - Google Patents

Information merging method, device, electronic equipment, medium and product Download PDF

Info

Publication number
CN113643016A
CN113643016A CN202111020891.3A CN202111020891A CN113643016A CN 113643016 A CN113643016 A CN 113643016A CN 202111020891 A CN202111020891 A CN 202111020891A CN 113643016 A CN113643016 A CN 113643016A
Authority
CN
China
Prior art keywords
information
target
amount
user
time period
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.)
Granted
Application number
CN202111020891.3A
Other languages
Chinese (zh)
Other versions
CN113643016B (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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202111020891.3A priority Critical patent/CN113643016B/en
Publication of CN113643016A publication Critical patent/CN113643016A/en
Application granted granted Critical
Publication of CN113643016B publication Critical patent/CN113643016B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • G06Q20/102Bill distribution or payments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/906Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/14Payment architectures specially adapted for billing systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Software Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses an information merging method, an information merging device, electronic equipment, a medium and a product, which can be applied to the financial field or other fields. In order to avoid frequently sending information to a target user and avoid that the sum of the money amounts contained in a plurality of information is larger than or equal to the target money amount after the plurality of information are combined, the phenomenon of embezzlement occurs in case, and the loss which cannot be borne by the user is brought. The information processing method and device merge the information based on the relation between the sum of the money amount contained in the information and the target money amount. After the sum of the amounts of money contained in the plurality of information is greater than or equal to the target amount of money, the plurality of information is merged and sent, namely the number of merged information sent to the target user is greatly reduced before the information is merged with the amount of money contained in the plurality of information contained in the merged information, the sum of the amounts of money contained in the plurality of information contained in the merged information is smaller than the target amount of money, and the sum of the amounts of money contained in the plurality of information contained in the merged information cannot exceed the bearing range of the target user, so that the problem that the target user cannot execute corresponding operation due to late sending of the merged information, and serious loss is caused to the user can be solved.

Description

Information merging method, device, electronic equipment, medium and product
Technical Field
The present application relates to the field, and more particularly, to an information merging method, apparatus, electronic device, medium, and product.
Background
The terminal device of the user can receive information, such as short messages, from other electronic devices. Each time the electronic device obtains a piece of information, the electronic device sends the information to the terminal device of the user. The terminal equipment is enabled to frequently receive the information sent by the electronic equipment.
Disclosure of Invention
In view of the above, the present application provides an information merging method, apparatus, electronic device, medium, and product.
In order to achieve the above purpose, the present application provides the following technical solutions:
according to a first aspect of the embodiments of the present disclosure, there is provided an information merging method applied to an electronic device, the information merging method including:
acquiring a target amount corresponding to a target user, wherein the target amount is the maximum value of a deduction amount which can be borne by the target user;
if the current time belongs to a preset time period, monitoring whether information to be sent to the target user is obtained or not, wherein the information comprises deducted money;
if the information to be sent to the target user is obtained, detecting whether a second amount is smaller than the target amount, wherein the second amount is the sum of amounts contained in the information which is obtained in the preset time period and is not sent to the target user;
if the second amount is smaller than the target amount, storing the information to a target queue, wherein the target queue is used for storing the information which is obtained in the preset time period and is not sent to the target user;
returning to the step of monitoring whether information to be sent to the target user is obtained or not until the second amount is greater than or equal to the target amount or the current time reaches the latest time in the preset time period;
merging the information stored in the target queue to obtain merged information;
and sending the merging information to the target user, and deleting the information stored in the target queue.
According to a second aspect of the embodiments of the present disclosure, there is provided an information merging apparatus applied to an electronic device, the information merging method including:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a target amount corresponding to a target user, and the target amount is the maximum value of a deduction amount which can be borne by the target user;
the monitoring module is used for monitoring whether information to be sent to the target user is obtained or not if the current time belongs to a preset time period, and the information comprises deducted money;
the detection module is used for detecting whether a second amount is smaller than the target amount if the information to be sent to the target user is obtained, wherein the second amount is the sum of amounts contained in the information which is obtained within the preset time period and is not sent to the target user;
the storage module is used for storing the information to a target queue if the second amount is smaller than the target amount, wherein the target queue is used for storing the information which is obtained in the preset time period and is not sent to the target user;
triggering the monitoring module until the second amount is greater than or equal to the target amount, or the current time reaches the latest time in the preset time period;
the second acquisition module is used for merging the information stored in the target queue to obtain merged information;
and the first sending module is used for sending the merged information to the target user and deleting the information stored in the target queue.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the information merging method according to the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the information merging method according to the first aspect.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer program product directly loadable into an internal memory of a computer, wherein the memory is included in the electronic device shown in the third aspect and contains software codes, and the computer program can be loaded into and executed by the computer to implement the information merging method according to the first aspect.
According to the technical scheme, in the information merging method provided by the embodiment of the application, in order to avoid frequently sending information to the target user and avoid that the sum of the money amounts contained in the information is larger than or equal to the target money amount after the information is merged, the phenomenon of embezzlement occurs in case, and the loss which cannot be borne by the user is brought. The information processing method and device merge the information based on the relation between the sum of the money amount contained in the information and the target money amount. If the sum of the amounts of money contained in the plurality of information is greater than or equal to the target amount of money, merging and sending the plurality of information, if the sum of the amounts of money contained in the plurality of information is less than the target amount of money, accumulating the plurality of information again, and if the sum of the amounts of money contained in the plurality of accumulated information is greater than or equal to the target amount of money, merging and sending the plurality of information, namely, the number of merged information sent to the target user is greatly reduced before the merged information is not merged with the information.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a diagram illustrating a hardware architecture according to an embodiment of the present application;
fig. 2 is a flowchart of an information merging method provided in an embodiment of the present application;
fig. 3 is a structural diagram of an information merging device according to an embodiment of the present application;
FIG. 4 is a block diagram illustrating an apparatus for an electronic device in accordance with an example embodiment.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides an information merging method, an information merging device, electronic equipment, a medium and a product. Before introducing the technical solutions provided by the embodiments of the present application, a hardware architecture related to the embodiments of the present application is described.
Fig. 1 is a schematic diagram of a hardware architecture according to an embodiment of the present application. The hardware architecture comprises: an electronic device 11 and at least one terminal device 12.
For example, the electronic device 11 may be a server, a server cluster composed of a plurality of servers, or a cloud computing server center. The electronic device 11 may include a processor, memory, and a network interface, among others.
The electronic device 11 may be any electronic product capable of interacting with a user through one or more ways, such as a keyboard, a touch PAD, a touch screen, a remote controller, a voice interaction device, or a handwriting device, for example, a mobile phone, a notebook computer, a tablet computer, a palm computer, a personal computer, a wearable device, a smart television, a PAD, and the like. For example, the electronic device 11 has third-party software running therein.
Illustratively, the terminal device 12 may be any electronic product capable of interacting with a user through one or more modes of a keyboard, a touch PAD, a touch screen, a remote controller, a voice interaction device, a handwriting device, and the like, for example, a mobile phone, a notebook computer, a tablet computer, a palm computer, a personal computer, a wearable device, a smart television, a PAD, and the like.
It should be noted that fig. 1 is merely an example, and the type of the terminal device 12 may be various and is not limited to the smartphone in fig. 1.
The electronic device 11 can obtain information to be sent to the terminal device 12 held by the target user.
For example, the information to be sent to the target user may be a real-time information type. The real-time information type means: after the electronic device 11 obtains the information to be sent to the target user, it needs to send the information to the terminal device 12 immediately.
The real-time information type is exemplified below, and for example, a bank deduction short message of large consumption belongs to the real-time information type.
For example, the information to be sent to the target user may be a non-real-time information type. The non-real-time information type means: after obtaining the information to be sent to the target user, the electronic device 11 may send the information to the terminal device 12 after a period of time.
The following illustrates the non-real-time information type, for example, the vehicle violation message belongs to the non-real-time information type.
For example, the information belonging to the real-time information type and the information belonging to the non-real-time information type may be preset.
For example, each piece of information includes an information type identifier, and a correspondence between an information type and an information type may be set in advance. The information type is a real-time information type or a non-real-time information type.
For example, the information to be sent to the terminal device 12 held by the target user, which is obtained by the electronic device 11, may be generated by the electronic device 11, or may be information received by the electronic device from another server or a base station.
For example, for a plurality of pieces of information belonging to the non-real-time information type, the electronic device 11 may combine the plurality of pieces of information to obtain combined information, and send the combined information to the terminal device 12. Therefore, the short message service cost of the electronic equipment can be saved. The problem that the terminal equipment 12 frequently receives the information sent by the electronic equipment 11, so that the user feels poor is also avoided.
For example, in a plurality of messages to be sent to a target user, which are obtained by the electronic device according to the embodiment of the present application, senders of the plurality of messages are the same. The embodiment of the application is a process for combining a plurality of messages sent by the same sender to the same receiver.
For example, in the multiple pieces of information to be sent to the target user, obtained by the electronic device according to the embodiment of the present application, senders of the multiple pieces of information may be different. The embodiment of the application is a process for combining a plurality of messages sent by different senders to the same receiver.
It will be appreciated that the plurality of information, which is of a non-real-time information type, is not necessarily immaterial to the user. Particularly those containing the amount to be deducted, e.g., ETC deduction messages. Because the ETC message of deducting relates to the problem of deducting of bank card, if send after combining a plurality of ETC messages of deducting, if the sum of amount of money in a plurality of ETC messages of deducting is greater than or equal to the target amount of money, surpass user's the scope of bearing, probably not the ETC message of deducting that user's own business turn over highway leads to producing, probably because the stolen ETC message of deducting that the problem of brushing leads to producing, if send the user after combining a plurality of ETC messages of deducting, probably bring the loss for the user.
In summary, how to obtain a minimum number of pieces of merged information within the loss range that the user can bear is a problem that needs to be solved urgently by those skilled in the art. The obtained combined information is the minimum number, so that the number of information received by the terminal equipment is reduced, and the sum of the money in the information contained in the combined information is smaller than the target money, so that the corresponding operation cannot be performed due to the fact that the time for receiving the combined information is later in the loss range which can be borne by the user, for example, the loss is reported to a bank card, and the loss is brought to the user.
In the embodiment of the application, by extracting the money amount contained in the information, if the sum of the money amount contained in one or more pieces of information is larger than or equal to the target money amount, the plurality of pieces of information are merged and sent. If the sum of the money amounts contained in one or more pieces of information is less than the target money amount, the information can be sent in a suspension mode, and if the sum of the money amounts contained in the pieces of information to be collected is greater than or equal to the target money amount, the pieces of information are sent in a combined mode. Therefore, the purpose of sending a small amount of information to the terminal equipment is achieved.
It should be understood by those skilled in the art that the foregoing electronic devices and terminal devices are merely examples, and other existing or future electronic devices or terminal devices may be suitable for use with the present disclosure and are intended to be included within the scope of the present disclosure and are hereby incorporated by reference.
The information merging method provided by the embodiment of the present application is described below with reference to the above hardware architecture.
As shown in fig. 2, a flowchart of an information merging method provided in the embodiment of the present application may be applied to the electronic device 11 shown in fig. 1, and the method involves the following steps S21 to S27 in implementation.
Step S21: and acquiring a target amount corresponding to a target user, wherein the target amount is the maximum value of the deduction amount which can be borne by the target user.
For example, the target user may have multiple user accounts, e.g., multiple bank cards and/or multiple payment accounts, and the target amount may include: the sum of the deducted amounts for different user accounts of the same target user. In this application scenario, the information mentioned in each step in the information merging method provided in the embodiment of the present application may be generated by servers corresponding to different user accounts, that is, senders of different information may be different.
Illustratively, the target amount may include: the sum of the deducted amounts for the same user account (e.g. bank card). In this application scenario, the information mentioned in each step in the information merging method provided in the embodiment of the present application is generated by a server corresponding to the same user account, that is, senders of different information are the same.
Step S22: and if the current time belongs to a preset time period, monitoring whether information to be sent to the target user is obtained or not, wherein the information comprises deducted money.
Illustratively, the deducted amount refers to an amount deducted from a remaining balance corresponding to the corresponding user account.
Illustratively, the amount deducted is the amount deducted from the available white bar corresponding to the corresponding user account.
For example, the preset time period may be a local time period of the set range. For example, the setting range may be: any one of day, week, month and year.
For example, if the set range is a day, the preset time period may be [8 points, 22 points ]. For example, the preset time period may be set by a target user on the terminal device side. For example, the preset time period may be set by an operation and maintenance person on the electronic device side. For example, the preset time period may be obtained by learning, by the neural network model, a usage habit of the target user using the terminal device through the electronic device.
Illustratively, the preset time period is a time period in which the target user is not resting. And setting time periods within the range except the preset time period as the time period for the target user to rest or the time period which cannot be disturbed. The target user does not want to receive the information from the electronic device for a time period other than the preset time period within the set range.
For example, the preset time period may be equal to the set range.
For example, each time the earliest time of a preset time period is reached, monitoring is started to determine whether information to be sent to the target user is obtained. Since each setting range includes a preset time period, the information merging method provided in the embodiment of the present application performs steps S22 to S27 in a continuous loop.
Step S23: and if the information to be sent to the target user is obtained, detecting whether a second amount is smaller than the target amount, wherein the second amount is the sum of amounts contained in the information which is obtained in the preset time period and is not sent to the target user.
Illustratively, the information mentioned in the above step S23 belongs to a first type of non-real-time information types.
Illustratively, the first type may include one or more types, for example, the first type may include: ETC (Electronic TollCollection), and/or payment applications.
The first type is preset.
The ETC fee deduction type means that the electronic equipment can obtain fee deduction short messages after the vehicle runs at a high speed. The fee deduction short message belongs to the ETC fee deduction type.
The deduction type of the payment application program, for example, the target user may pay through the payment application program, and the server corresponding to the payment application program may send deduction information to the target user after detecting the payment behavior.
Illustratively, the first type is of a non-real-time information type.
It will be appreciated that over time, the electronic device may be constantly sending information to the terminal device. The second amount referred to in step S23 may change over time.
Step S24: and if the second amount is less than the target amount, storing the information to a target queue, wherein the target queue is used for storing the information which is obtained in the preset time period and is not sent to the target user.
That is, the sum of the amounts contained in all the information stored in the target queue is smaller than the target amount.
Step S25: returning to step S22 until the second amount is greater than or equal to the target amount, or the current time reaches the latest time in the preset time period.
And if the current time reaches the latest time of the preset time period, the current time does not belong to the preset time period.
Illustratively, if the sum of the money amounts contained in all the information obtained within the preset time period is smaller than the target money amount, the information stored in the target queue should be merged at the latest time of the preset time period and sent to the target user, so as to avoid the problem that the merged information is not sent for a long time, so that the phenomenon of being stolen and brushed cannot be found by the user in time.
Step S26: and merging the information stored in the target queue to obtain merged information.
In an optional implementation manner, after the plurality of pieces of information are merged, the plurality of pieces of information may be sorted and displayed in the merged information according to a time sequence of the information obtained by the electronic device. For example, if the time of the information 1 obtained by the electronic device is earlier than the time of the information 2, the content of the information 1 is before the content of the information 2 in the merged information.
Illustratively, the consolidated information further includes a sum of the amounts of money included in the plurality of information.
Step S27: and sending the merging information to the target user, and deleting the information stored in the target queue.
I.e., each time the execution is completed S27, the target queue has been emptied. When step S23 is executed for the first time after the target queue is emptied, the second amount is the amount included in the information obtained in step S22. When step S23 is executed the second time, the second amount is the sum of the amount included in the information obtained in step S22 and the amount included in the information included in the target queue.
In the information merging method provided by the embodiment of the application, in order to avoid frequently sending information to a target user and avoid that the sum of the money amounts contained in a plurality of information is greater than or equal to the target money amount after the plurality of information are merged, a phenomenon of embezzlement occurs in case, and loss which cannot be borne by the user is brought. The information processing method and device merge the information based on the relation between the sum of the money amount contained in the information and the target money amount. If the sum of the amounts of money contained in the plurality of information is greater than or equal to the target amount of money, merging and sending the plurality of information, if the sum of the amounts of money contained in the plurality of information is less than the target amount of money, accumulating the plurality of information again, and if the sum of the amounts of money contained in the plurality of accumulated information is greater than or equal to the target amount of money, merging and sending the plurality of information, namely, the number of merged information sent to the target user is greatly reduced before the merged information is not merged with the information.
In an alternative implementation, there are multiple methods for obtaining the target amount, and the embodiments of the present application provide, but are not limited to, the following two methods.
The first method of obtaining the target amount includes the following steps a11 through a 15.
Step A11: user portrait information corresponding to a plurality of users is acquired.
Illustratively, the user portrait information of the user is different in different application scenarios. For example, if the information mentioned in the steps included in the information merging method of the present application belongs to the ETC fee deduction type, the current application scenario is the ETC application scenario, it can be understood that the fee deduction condition of the ETC may be different in different areas, and the ETC fee deduction occurs in the process of entering and exiting the highway, so the user portrait information of the user includes but is not limited to: the geographic location of the user, and the frequency of travel of the user on the highway.
Since the target amount that the user can afford is related to the user's income, assets, exemplary user representation information of the user also includes, but is not limited to: revenue for the user, assets for the user.
Step A12: and clustering the users based on the user portrait information respectively corresponding to the users to obtain at least one user combination.
For example, the clustering method may be: the k-means algorithm or the DBSCAN (Density-Based clustering of Applications with Noise) algorithm or the GMM (Gaussian Mixture Model) algorithm.
Each user combination includes one or more users. The similarity of user image information of a plurality of users belonging to the same user group is high. That is, the target amounts corresponding to a plurality of users belonging to the same user group are relatively close.
Step A13: and searching a target user combination containing the target user from the at least one user combination.
Step A14: and obtaining the deduction amount of a plurality of users contained in the target user set in a plurality of historical time periods respectively, wherein the time length of the historical time periods is the same as that of the preset time period, and the deduction amount of the users in the historical time periods is the sum of the amounts contained in the information sent to the users in the historical time periods.
The deduction amount of the user in the historical time period is the sum of the money amounts contained in all the information obtained in the historical time period.
Illustratively, the information sent to the user during the historical period of time includes: merging information, and/or, information that is not merged.
In an alternative implementation manner, there are various implementation manners of step a14, and the embodiments of the present application provide, but are not limited to, the following manners. Step a14 may include the following steps a141 to a143 in the implementation process.
Step A141: and acquiring historical time periods which respectively correspond to a plurality of users belonging to the target user set and meet preset conditions within a set time length closest to the current time.
For example, the set period of time may be 1 month, 2 months, … 6 months, ….
Illustratively, the preset condition is that at least a preset number of pieces of information are obtained within a historical period of time. Illustratively, the predetermined number may be any integer of 1, 2, 3, ….
Illustratively, if the sum of the amounts of money included in all the information obtained in the history period a is max { the sum of the amounts of money included in all the information obtained in the history period 1 in the set period, the sum of the amounts of money included in all the information obtained in the history period 2 in the set period, …, and the sum of the amounts of money included in all the information obtained in the history period M in the set period }. Wherein, the set time period comprises M historical time periods in total. The history period a satisfies a preset condition.
For example, the set time period may be 1 week, 1 month, 2 months, ….
The following description will be given taking an example in which the set time period is 1 month. Assuming that the user 1 obtains a plurality of pieces of information in the history time period of No. 6-month-20 in 1 month (assumed to be 6-month in 2021 year), and the sum of money amounts included in each piece of information obtained in the history time period of No. 6-month-20 is max { the sum of money amounts included in a plurality of pieces of information obtained in the history time period of No. 6-month-1, the sum of money amounts included in a plurality of pieces of information obtained in the history time period of No. 6-month-2, and the sum of money amounts included in a plurality of pieces of information obtained in the history time periods of No. … and No. 6-month-30 }, the history time period of No. 6-month-20 satisfies a preset condition.
Step A142: and obtaining deduction amounts in the historical time periods corresponding to the multiple users belonging to the target user set respectively.
Assuming that the format of the historical time period, the number of obtained information in the historical time period and the sum of money contained in each piece of information obtained in the historical time period is as follows: historical time period (number, deduction amount). Still taking the above as an example, the user 1 corresponds to { historical time period A (number A, deduction amount)
It will be appreciated that the debit amount corresponding to a higher number of historical time periods is not necessarily higher than the debit amount corresponding to a lower number of historical time periods.
Step A15: and determining the target amount corresponding to the target user based on the deduction amount of the plurality of users in the plurality of historical time periods.
Illustratively, the target amount is an average of deduction amounts of a plurality of users included in the target user set in a plurality of historical time periods.
The second method of obtaining the target amount includes the following steps B11 through B12.
Step B11: and obtaining the deduction amount of the target user in a plurality of historical time periods, wherein the time length of the historical time periods is the same as that of the preset time period.
Step B12: and determining the target amount corresponding to the target user based on the deduction amount of the target user in a plurality of historical time periods.
Illustratively, the target amount is an average of the deduction amounts of the target user over a plurality of historical time periods.
In an alternative implementation, the preset time period may be a local time period of the set range. For example, if the range is set to be a day, the day is one.
Illustratively, if the preset time period is [8 o 'clock, 22 o' clock ], the time except the preset time period in one day is (22 o 'clock, 24 o' clock) ]. it is understood that, at the time except the preset time period in one day, the user may be at rest, in order to not disturb the user and reduce the complaint amount of the user, a plurality of pieces of information obtained in the rest time period may be combined to obtain non-real-time combined information, where the rest time period is a time period except the preset time period in the set range, and if the current time is the earliest time in the preset time period, the non-real-time combined information is sent to the target user.
The method is described in detail in the embodiments disclosed in the present application, and the method of the present application can be implemented by various types of apparatuses, so that an apparatus is also disclosed in the present application, and the following detailed description is given of specific embodiments.
As shown in fig. 3, a structure diagram of an information merging device provided in an embodiment of the present application includes: a first obtaining module 31, a monitoring module 32, a detecting module 33, a storing module 34, a triggering module 35, a second obtaining module 36 and a first sending module 37, wherein:
the first obtaining module 31 is configured to obtain a target amount corresponding to a target user, where the target amount is a maximum value of a deduction amount that the target user can bear;
the monitoring module 32 is configured to monitor whether information to be sent to the target user is obtained or not if the current time belongs to a preset time period, where the information includes a deducted amount of money;
the detection module 33 is configured to detect whether a second amount is smaller than the target amount if information to be sent to the target user is obtained, where the second amount is a sum of amounts included in the information that is obtained within the preset time period and is not sent to the target user;
a storage module 34, configured to store the information to a target queue if the second amount is less than the target amount, where the target queue is used to store information that is obtained within the preset time period and is not sent to the target user;
the triggering module 35 is configured to trigger the monitoring module until the second amount is greater than or equal to the target amount, or the current time reaches the latest time in the preset time period;
a second obtaining module 36, configured to combine the information stored in the target queue to obtain combined information;
a first sending module 37, configured to send the merged information to the target user, and delete the information stored in the target queue.
In an optional implementation manner, the preset time period belongs to a part of time of a set range, and further includes:
a third obtaining module, configured to combine multiple pieces of information obtained in a rest time period to obtain non-real-time combined information, where the rest time period is a time period in the set range except the preset time period;
and the second sending module is used for sending the non-real-time merging information to the target user if the current time is the earliest time in the preset time period.
In an optional implementation manner, the first obtaining module includes:
a first acquisition unit, configured to acquire user portrait information corresponding to each of a plurality of users;
the second acquisition unit is used for clustering the users based on the user portrait information respectively corresponding to the users to obtain at least one user combination;
the searching unit is used for searching a target user combination containing the target user from the at least one user combination;
a third obtaining unit, configured to obtain deduction amounts of a plurality of users included in the target user set in a plurality of historical time periods, where the historical time periods are the same as the preset time periods in time length, and the deduction amount of the user in the historical time period is a sum of amounts included in information sent to the user in the historical time period;
the first determining unit is used for determining the target money amount corresponding to the target user based on the deduction money amounts of a plurality of users in a plurality of historical time periods, wherein the deduction money amounts are contained in the target user combination.
In an optional implementation manner, the first obtaining module includes:
the fourth obtaining unit is used for obtaining the deduction amount of the target user in a plurality of historical time periods, the time length of the historical time periods is the same as that of the preset time period, and the deduction amount of the user in the historical time periods is the sum of the amounts contained in the information sent to the user in the historical time periods;
and the second determining unit is used for determining the target money amount corresponding to the target user based on the deduction money amount of the target user in a plurality of historical time periods.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 4 is a block diagram illustrating an apparatus for an electronic device in accordance with an example embodiment.
Electronic devices include, but are not limited to: a processor 41, a memory 42, a network interface 43, an I/O controller 44, and a communication bus 45.
It should be noted that, as those skilled in the art will appreciate, the structure of the electronic device shown in fig. 4 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown in fig. 4, or may combine some components, or may be arranged in different components.
The following describes each component of the electronic device in detail with reference to fig. 4:
the processor 41 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 42 and calling data stored in the memory 42, thereby performing overall monitoring of the electronic device. Processor 41 may include one or more processing units; illustratively, the processor 41 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 41.
Processor 41 may be a Central Processing Unit (CPU), or an application Specific Integrated circuit (asic), or one or more Integrated circuits configured to implement embodiments of the present invention, etc.;
the Memory 42 may include Memory, such as a Random-Access Memory (RAM) 421 and a Read-Only Memory (ROM) 422, and may also include a mass storage device 423, such as at least 1 disk storage. Of course, the electronic device may also include hardware required for other services.
The memory 42 is configured to store the executable instructions of the processor 41. The processor 41 has the following functions: acquiring a target amount corresponding to a target user, wherein the target amount is the maximum value of a deduction amount which can be borne by the target user;
if the current time belongs to a preset time period, monitoring whether information to be sent to the target user is obtained or not, wherein the information comprises deducted money;
if the information to be sent to the target user is obtained, detecting whether a second amount is smaller than the target amount, wherein the second amount is the sum of amounts contained in the information which is obtained in the preset time period and is not sent to the target user;
if the second amount is smaller than the target amount, storing the information to a target queue, wherein the target queue is used for storing the information which is obtained in the preset time period and is not sent to the target user;
returning to the step of monitoring whether information to be sent to the target user is obtained or not until the second amount is greater than or equal to the target amount or the current time reaches the latest time in the preset time period;
merging the information stored in the target queue to obtain merged information;
and sending the merging information to the target user, and deleting the information stored in the target queue.
A wired or wireless network interface 43 is configured to connect the electronic device to a network.
The processor 41, the memory 42, the network interface 43, and the I/O controller 44 may be connected to each other by a communication bus 45, which may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc.
In an exemplary embodiment, the electronic device may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the information merging method between the above knowledge points.
In an exemplary embodiment, the disclosed embodiments provide a storage medium comprising instructions, such as the memory 42 comprising instructions, executable by the processor 41 of the electronic device to perform the above-described method. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer readable storage medium is provided, which can be directly loaded into the internal memory of a computer, such as the memory 42, and contains software codes, and the computer program can be loaded into the computer and executed to implement the steps of any embodiment of the information merging method.
In an exemplary embodiment, a computer program product is also provided, which is directly loadable into an internal memory of a computer, such as a memory included in the electronic device, and contains software codes, and which, when loaded and executed by the computer, is able to carry out the steps of any of the embodiments of the information merging method described above.
It should be noted that the information merging method, apparatus, electronic device, medium, and product provided by the present invention may be used in the financial field or other fields, for example, may be used in an application scenario of ETC deduction short messages in the financial field. The other fields are arbitrary fields other than the financial field. The above description is only an example, and does not limit the application fields of the information merging method, apparatus, electronic device, medium, and product provided by the present invention.
Note that the features described in the embodiments in the present specification may be replaced with or combined with each other. For the device or system type embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. An information merging method applied to an electronic device, the information merging method comprising:
acquiring a target amount corresponding to a target user, wherein the target amount is the maximum value of a deduction amount which can be borne by the target user;
if the current time belongs to a preset time period, monitoring whether information to be sent to the target user is obtained or not, wherein the information comprises deducted money;
if the information to be sent to the target user is obtained, detecting whether a second amount is smaller than the target amount, wherein the second amount is the sum of amounts contained in the information which is obtained in the preset time period and is not sent to the target user;
if the second amount is smaller than the target amount, storing the information to a target queue, wherein the target queue is used for storing the information which is obtained in the preset time period and is not sent to the target user;
returning to the step of monitoring whether information to be sent to the target user is obtained or not until the second amount is greater than or equal to the target amount or the current time reaches the latest time in the preset time period;
merging the information stored in the target queue to obtain merged information;
and sending the merging information to the target user, and deleting the information stored in the target queue.
2. The information merging method according to claim 1, wherein the preset time period belongs to a part of time in a set range, further comprising:
combining a plurality of information obtained in a rest time period to obtain non-real-time combined information, wherein the rest time period is a time period in the set range except the preset time period;
and if the current time is the earliest time in the preset time period, sending the non-real-time merging information to the target user.
3. The information merging method according to claim 1 or 2, wherein the step of obtaining the target amount corresponding to the user comprises:
acquiring user portrait information corresponding to a plurality of users respectively;
clustering a plurality of users based on user portrait information respectively corresponding to the users to obtain at least one user combination;
searching a target user combination containing the target user from the at least one user combination;
obtaining deduction amounts of a plurality of users in a plurality of historical time periods respectively, wherein the deduction amounts of the plurality of users are contained in the target user set, the time length of the historical time periods is the same as that of the preset time period, and the deduction amount of the users in the historical time periods is the sum of the amounts contained in the information sent to the users in the historical time periods;
and determining the target amount corresponding to the target user based on the deduction amount of the plurality of users in the plurality of historical time periods.
4. The information merging method according to claim 1 or 2, wherein the step of obtaining the target amount corresponding to the user comprises:
obtaining the deduction amount of the target user in a plurality of historical time periods, wherein the time length of the historical time periods is the same as that of the preset time period, and the deduction amount of the user in the historical time periods is the sum of the amounts contained in the information sent to the user in the historical time periods;
and determining the target amount corresponding to the target user based on the deduction amount of the target user in a plurality of historical time periods.
5. An information merging apparatus, applied to an electronic device, the information merging method comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a target amount corresponding to a target user, and the target amount is the maximum value of a deduction amount which can be borne by the target user;
the monitoring module is used for monitoring whether information to be sent to the target user is obtained or not if the current time belongs to a preset time period, and the information comprises deducted money;
the detection module is used for detecting whether a second amount is smaller than the target amount if the information to be sent to the target user is obtained, wherein the second amount is the sum of amounts contained in the information which is obtained within the preset time period and is not sent to the target user;
the storage module is used for storing the information to a target queue if the second amount is smaller than the target amount, wherein the target queue is used for storing the information which is obtained in the preset time period and is not sent to the target user;
the triggering module is used for triggering the monitoring module until the second amount is larger than or equal to the target amount, or the current time reaches the latest time in the preset time period;
the second acquisition module is used for merging the information stored in the target queue to obtain merged information;
and the first sending module is used for sending the merged information to the target user and deleting the information stored in the target queue.
6. The information merging apparatus according to claim 5, wherein the preset time period belongs to a part of time within a set range, further comprising:
a third obtaining module, configured to combine multiple pieces of information obtained in a rest time period to obtain non-real-time combined information, where the rest time period is a time period in the set range except the preset time period;
and the second sending module is used for sending the non-real-time merging information to the target user if the current time is the earliest time in the preset time period.
7. The information merging apparatus according to claim 1 or 2, wherein the first obtaining module includes:
a first acquisition unit, configured to acquire user portrait information corresponding to each of a plurality of users;
the second acquisition unit is used for clustering the users based on the user portrait information respectively corresponding to the users to obtain at least one user combination;
the searching unit is used for searching a target user combination containing the target user from the at least one user combination;
a third obtaining unit, configured to obtain deduction amounts of a plurality of users included in the target user set in a plurality of historical time periods, where the historical time periods are the same as the preset time periods in time length, and the deduction amount of the user in the historical time period is a sum of amounts included in information sent to the user in the historical time period;
the first determining unit is used for determining the target money amount corresponding to the target user based on the deduction money amounts of a plurality of users in a plurality of historical time periods, wherein the deduction money amounts are contained in the target user combination.
8. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the information merging method of any one of claims 1 to 4.
9. A computer-readable storage medium in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform the information merging method of any one of claims 1 to 4.
10. A computer program product directly loadable into the internal memory of a computer, said memory being the memory comprised by the electronic device according to claim 8 and containing software code, said computer program being loadable and executable by the computer to implement the information merging method according to any of claims 1 to 4.
CN202111020891.3A 2021-09-01 2021-09-01 Information merging method, device, electronic equipment, medium and product Active CN113643016B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111020891.3A CN113643016B (en) 2021-09-01 2021-09-01 Information merging method, device, electronic equipment, medium and product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111020891.3A CN113643016B (en) 2021-09-01 2021-09-01 Information merging method, device, electronic equipment, medium and product

Publications (2)

Publication Number Publication Date
CN113643016A true CN113643016A (en) 2021-11-12
CN113643016B CN113643016B (en) 2024-02-23

Family

ID=78424834

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111020891.3A Active CN113643016B (en) 2021-09-01 2021-09-01 Information merging method, device, electronic equipment, medium and product

Country Status (1)

Country Link
CN (1) CN113643016B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107527200A (en) * 2017-08-29 2017-12-29 努比亚技术有限公司 A kind of payment management method, mobile terminal and computer-readable recording medium
CN107622394A (en) * 2017-09-21 2018-01-23 网易(杭州)网络有限公司 A kind of method of payment processes, medium, device and computing device
CN107742213A (en) * 2017-09-21 2018-02-27 深圳市买买提乐购金融服务有限公司 A kind of method of payment, system and terminal
CN112685676A (en) * 2020-12-30 2021-04-20 华控清交信息科技(北京)有限公司 Information recommendation method and device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107527200A (en) * 2017-08-29 2017-12-29 努比亚技术有限公司 A kind of payment management method, mobile terminal and computer-readable recording medium
CN107622394A (en) * 2017-09-21 2018-01-23 网易(杭州)网络有限公司 A kind of method of payment processes, medium, device and computing device
CN107742213A (en) * 2017-09-21 2018-02-27 深圳市买买提乐购金融服务有限公司 A kind of method of payment, system and terminal
CN112685676A (en) * 2020-12-30 2021-04-20 华控清交信息科技(北京)有限公司 Information recommendation method and device and electronic equipment

Also Published As

Publication number Publication date
CN113643016B (en) 2024-02-23

Similar Documents

Publication Publication Date Title
CN108111554B (en) Control method and device for access queue
CN108112038B (en) Method and device for controlling access flow
CN109472656B (en) Virtual article display method and device and storage medium
CN111966439A (en) Riding code display method and device and electronic equipment
CN107886424B (en) Settlement data processing method and device, computer equipment and storage medium
CN110827123A (en) Message pushing method and device, computer equipment and storage medium
CN105916125A (en) Method and device for reminding telephone charge balance
CN113609409A (en) Method and system for recommending browsing information, electronic device and storage medium
CN112261595B (en) Event reminding method and device, storage medium and mobile terminal
CN113643016B (en) Information merging method, device, electronic equipment, medium and product
CN116362750A (en) Data screening method and device, electronic equipment and storage medium
CN110766556A (en) Profit notification method, device, equipment and computer readable storage medium
CN110969493A (en) Bill amount determining method and device, electronic equipment and storage medium
CN114969530A (en) Service data processing method and device and server
CN113676414A (en) Information merging method, device, electronic equipment, medium and product
CN111460780A (en) Notification method, device, equipment and readable storage medium
CN112187667A (en) Data downloading method, device, equipment and storage medium
CN110852807A (en) User determination method and device, computer equipment and storage medium
CN114339642B (en) Identification method, device, equipment and medium for accompanying user
CN106570734B (en) Game transaction request processing method and device
CN113591005B (en) Information pushing method, device and terminal
CN114913000A (en) Credit card quota extracting method, device and server
CN114049128A (en) High-speed passing blacklist setting method, device, server and medium
CN115134414A (en) Charging prompting method, device, server, medium and product of ETC account
CN116700686A (en) Task duration prediction method, device, server and medium

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