CN110598141B - Information query method, electronic device and computer readable storage medium - Google Patents

Information query method, electronic device and computer readable storage medium Download PDF

Info

Publication number
CN110598141B
CN110598141B CN201910758814.4A CN201910758814A CN110598141B CN 110598141 B CN110598141 B CN 110598141B CN 201910758814 A CN201910758814 A CN 201910758814A CN 110598141 B CN110598141 B CN 110598141B
Authority
CN
China
Prior art keywords
user
asset information
behavior
information
sequence
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
CN201910758814.4A
Other languages
Chinese (zh)
Other versions
CN110598141A (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910758814.4A priority Critical patent/CN110598141B/en
Publication of CN110598141A publication Critical patent/CN110598141A/en
Application granted granted Critical
Publication of CN110598141B publication Critical patent/CN110598141B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • 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/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • 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/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to data processing, and provides an information query method, which comprises the following steps: an account center is constructed, and the account center is in wireless connection with a plurality of information terminals; the account center stores accounts of a plurality of information terminals, wherein the accounts comprise user IDs and asset information used by the user IDs; when the account of any information terminal changes, the account center stores the user ID into a message queue; the account center builds an active user list according to the user liveness; acquiring an intersection of the active user list and the message queue; and the account center acquires the asset information updated by the user ID from the corresponding information terminal according to the user ID in the intersection. The invention also provides an electronic device and a computer readable storage medium. The invention pre-stores the updated content of the asset information to the account center, thereby improving the service response speed.

Description

Information query method, electronic device and computer readable storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to an information query method, an electronic device, and a computer readable storage medium.
Background
When a plurality of items of information need to be queried, the prior art generally installs an APP on a mobile phone or a computer of a user, opens an APP interface to request a service interface related to the information query, and sequentially queries each item of user information through the service interface.
The query method generally can only query each item of information in sequence, when multiple items of information are selected to query simultaneously, when the returned information query result is displayed at the front end of the APP, all the information needs to be queried, if one or more services are slow, the front end user queries the information very slowly, the service response speed is slow, and the user experience is affected.
Disclosure of Invention
In view of the foregoing, an object of the present invention is to provide an information query method, an electronic device, and a computer-readable storage medium, which pre-store content of an update of asset information in an account center, and improve service response speed.
In order to achieve the above object, the present invention provides an electronic device including a memory and a processor, wherein the memory includes an information inquiry program, and the information inquiry program when executed by the processor implements the steps of:
an account center is established, and the account center is in wireless connection with a plurality of information terminals, wherein the account center stores accounts of the information terminals, and the accounts comprise user IDs and asset information used by the user IDs;
when the account of any information terminal changes, the account center stores the user ID into a message queue;
constructing an active user list according to the user liveness;
acquiring an intersection user of the active user list and the message queue;
and acquiring the asset information updated by the user ID from the corresponding information terminal according to the intersection user ID.
In addition, in order to achieve the above object, the present invention further provides an information query method, including:
an account center is established, and the account center is in wireless connection with a plurality of information terminals, wherein the account center stores accounts of the information terminals, and the accounts comprise user IDs and asset information used by the user IDs;
when the account of any information terminal changes, the account center stores the user ID into a message queue;
constructing an active user list according to the user liveness;
acquiring an intersection user of the active user list and the message queue;
and acquiring the asset information updated by the user ID from the corresponding information terminal according to the intersection user ID.
Preferably, after the step of acquiring the asset information updated by the user ID from the corresponding information terminal according to the intersection user ID, the method further includes:
and storing the updated asset information in the account center in a local snapshot mode.
Preferably, the step of obtaining the intersection user of the active user list and the message queue comprises:
and determining intersection users of the active user list and the message queue according to the set time period.
Preferably, the step of constructing an active user list according to the user liveness includes:
displaying an account center page at a client, obtaining browsing behavior data and clicking behavior data of the client to the account center page, and storing a user with browsing behavior or/and a user with clicking behavior to an active user list, wherein an information terminal stores an account of the client, and the client obtains asset information stored in the information terminal through the account center.
Further, preferably, the step of acquiring the user ID updated asset information from the corresponding information terminal according to the intersection user ID further includes: and updating the asset information of the user in the intersection according to the asset inquiry behavior habit of the user ID in the intersection, wherein the account center acquires the asset information updated by the user ID from the corresponding information terminal according to the browsing behavior data or/and the clicking behavior data of the user ID in the intersection.
Still further, preferably, the method comprises, preferably,
the step of updating the asset information of the users in the intersection according to the user ID asset inquiry behavior habit in the intersection comprises the following steps:
forming behavior sequences by browsing behavior data or/and clicking behavior data of users in the intersection, wherein the behavior sequences are time sequences which are ordered by various asset information identifiers according to behavior occurrence time;
dividing the behavior sequence into a plurality of first sub-sequences with at least one sequence length, the sequence length of the first sub-sequences being shorter than the sequence length of the behavior sequence;
constructing a tree of behavior sequences according to the first subsequence;
combining the asset information identifier represented by the root node of each branch of the tree of the behavior sequence with the asset information identifier represented by the child nodes except the child node at the bottom layer to form a plurality of second subsequences with different sequence lengths according to the layer sequence;
obtaining the predicted probability that the asset information identifier of the next order of each second sub-sequence is any asset information identifier in the behavior sequence;
ordering the second subsequence and a third subsequence consisting of asset information identifiers of a next order according to the order of the prediction probability from high to low;
screening out a third subsequence comprising the maximum prediction probability of the last asset information identifier of the user behavior sequence, thereby obtaining the asset information identifier of the next order of the last asset information identifier, and updating the asset information corresponding to the asset information identifier of the next order of the user.
Still further, preferably, the step of constructing a tree of the behavior sequences from the first sub-sequence comprises:
each asset information identifier appearing in the behavior sequence is taken as a root node, various asset information identifier combinations in the first subsequence are taken as branches, each branch of each root node connected with the root node forms each subtree, the asset information identifier Fu Zaihang represented by the root node is the node value of the root node, the number of occurrences in the sequence is the node value of the root node, and the sum of the number of occurrences of the asset information identifier combinations represented by the root node to the child nodes in each first subsequence is the node value of the child node.
In addition, preferably, the account center further includes a step of data cleaning by browsing behavior data and clicking behavior data before the step of acquiring the asset information updated by the user ID from the corresponding information terminal according to the user ID in the intersection, and the invalid behavior record is removed from the behavior data.
In addition, in order to achieve the above object, the present invention also provides a computer-readable storage medium including an information inquiry program therein, which when executed by a processor, implements the steps of the above information inquiry method.
According to the information query method, the electronic device and the computer readable storage medium, the user query is not used as a user asset information calling trigger point, the asset information is updated according to the intersection of the active user list and the message queue, the asset information and updated content thereof are stored in the account center in advance, and when a client requests related service personal client information, the local information is returned directly, so that the service response speed is improved, and the user experience is optimized.
Drawings
FIG. 1 is a schematic view of an application environment of a preferred embodiment of an information query method of the present invention;
FIG. 2 is a block diagram of the information query procedure of FIG. 1 according to a preferred embodiment;
FIG. 3 is a flow chart of a preferred embodiment of the information query method of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
The invention provides an information query method which is applied to an electronic device 1. Referring to fig. 1, an application environment of a preferred embodiment of the information query method of the present invention is shown.
In this embodiment, the electronic device 1 may be a terminal client having an operation function, such as a server, a mobile phone, a tablet computer, a portable computer, and a desktop computer.
The memory 11 includes at least one type of readable storage medium. The at least one type of readable storage medium may be a non-volatile storage medium such as flash memory, a hard disk, a multimedia card, a card memory, etc. In some embodiments, the readable storage medium may be an internal storage unit of the electronic device 1, such as a hard disk of the electronic device 1. In other embodiments, the readable storage medium may also be an external memory of the electronic device 1, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the electronic device 1.
In the present embodiment, the readable storage medium of the memory 11 is generally used for storing the information inquiry program 10 or the like installed in the electronic device 1. The memory 11 may also be used for temporarily storing data that has been output or is to be output.
Processor 12 may in some embodiments be a central processing unit (Central Processing Unit, CPU), microprocessor or other data processing chip for executing program code or processing data stored in memory 11, such as executing kiosk 10, etc.
The network interface 13 may optionally comprise a standard wired interface, a wireless interface (e.g. WI-FI interface), typically used to establish a communication connection between the electronic device 1 and other electronic clients.
The communication bus 14 is used to enable connected communication between these components.
Fig. 1 shows only an electronic device 1 with components 11-14, but it is understood that not all shown components are required to be implemented, and that more or fewer components may be implemented instead.
Optionally, the electronic device 1 may further comprise a user interface, which may comprise an input unit such as a Keyboard (Keyboard), a voice input device such as a microphone or the like having voice recognition functionality, a voice output device such as a sound box, a headset or the like, and optionally a standard wired interface, a wireless interface.
Optionally, the electronic device 1 may also comprise a display, which may also be referred to as a display screen or display unit.
In some embodiments, the display may be an LED display, a liquid crystal display, a touch-control liquid crystal display, an Organic Light-Emitting Diode (OLED) touch device, or the like. The display is used for displaying information processed in the electronic device 1 and for displaying a visualized user interface.
Optionally, the electronic device 1 further comprises a touch sensor. The area provided by the touch sensor for the user to perform a touch operation is referred to as a touch area. Further, the touch sensors described herein may be resistive touch sensors, capacitive touch sensors, and the like. The touch sensor may include not only a contact type touch sensor but also a proximity type touch sensor. Furthermore, the touch sensor may be a single sensor or may be a plurality of sensors arranged in an array, for example.
Optionally, the electronic device 1 may further include logic gates, sensors, audio circuits, etc., which are not described herein.
In the embodiment of the apparatus shown in fig. 1, an operating system and a kiosk 10 may be included in a memory 11, which is a computer storage medium; the processor 12 performs the following steps when executing the information inquiry program 10 stored in the memory 11:
an account center is established, and the account center is in wireless connection with a plurality of information terminals, wherein the account center stores accounts of the information terminals, and the accounts comprise user IDs and asset information used by the user IDs;
when the account of any information terminal changes, the account center stores the user ID into a message queue;
constructing an active user list according to the user liveness;
acquiring an intersection user of the active user list and the message queue;
and acquiring the asset information updated by the user ID from the corresponding information terminal according to the intersection user ID.
In other embodiments, the information query program 10 may be further partitioned into one or more modules, one or more modules being stored in the memory 11 and executed by the processor 12 to perform the present invention. The invention may refer to a series of computer program instruction segments capable of performing a specified function. Referring to FIG. 2, a functional block diagram of a preferred embodiment of the information query program 10 of FIG. 1 is shown. The information inquiry program 10 can be divided into:
an account center construction module 110 for constructing an account center, wherein the account center is in wireless connection with a plurality of information terminals, and stores accounts of the information terminals, and the accounts comprise user IDs and asset information for the user IDs;
the message queue construction module 120 stores the user ID into the message queue by the account center when the account of any one of the information terminals is changed;
an active user list construction module 130, wherein the account center constructs an active user list according to the user liveness;
an intersection acquisition module 140 that acquires an intersection of the active user list and the message queue;
and the updating module 150 is used for acquiring the asset information updated by the user ID from the corresponding information terminal according to the user ID in the intersection.
In addition, the invention also provides an information query method. Referring to fig. 3, a flowchart of a preferred embodiment of the information query method of the present invention is shown. The method may be performed by an apparatus, which may be implemented in software and/or hardware.
In this embodiment, the information query method includes:
step S1, an account center is constructed, the account center is in wireless connection with a plurality of information terminals, the plurality of information terminals comprise a debit card center, a credit card center, a financial center, servers of insurance companies, automobile companies and the like, the account center stores accounts of the plurality of information terminals, and the accounts comprise user IDs and asset information for the user IDs;
step S2, when the account of any information terminal changes, the account center stores the user ID into a message queue;
step S3, the account center builds an active user list according to the user activity level, wherein the user activity level is used for indicating the activity level of the user corresponding to the account center, the activity level can be embodied through data such as browsing or/and clicking actions of the client side on the account center, a threshold value can be set, and a user ID corresponding to the user activity level larger than the threshold value is stored in the active user list;
s4, acquiring an intersection of the active user list and the message queue;
and S5, the account center acquires the asset information updated by the user ID from the corresponding information terminal according to the user ID in the intersection.
In step S1, the account center is in a network structure, and exchanges data with a plurality of information terminals through a network protocol, where the information terminals may be account proxy application servers, including applications and data storage, to store and change information of accounts.
In an alternative embodiment, step S2 includes:
synchronizing an account of the information terminal to an account center by adopting a set time interval;
the account center judges whether the account changes or not according to the time stamp, the version number or/and whether new records exist or not;
if the account changes, storing the user ID into a message queue;
if the account has not changed, the user ID is not stored.
In another alternative embodiment, step S2 includes:
when the account of the information terminal changes (such as adding, modifying, deleting and the like of information), an account change signal is sent to an account center;
the account center stores the user ID in the account change signal to the message queue.
According to the information query method, the user query is not used as a user asset information calling trigger point, asset information is updated according to the intersection of the active user list and the message queue, the asset information and updated content thereof are stored in the account center in advance, and when a client requests related service personal client information, local information is returned directly, so that the service response speed is improved.
Preferably, in step S5, the updated asset information is stored in the account center in a local snapshot.
Preferably, the account center further constructs a client consultation interface, which is used for obtaining the asset information of which the information terminal changes, storing the asset information into a local snapshot, that is, updating various asset information is synchronized to the client consultation interface, the client consultation interface further obtains a query request of a client, the asset information corresponding to the query request in the local snapshot is returned to the client, for example, real-time asset information of a debit card center is stored in the account center, a user queries a balance of a bank card, and the account center displays the local asset of the user on the client.
The information query method improves service response speed by optimizing the processing flow of querying personal asset related services to various customer asset information of each business, and performing serial execution from the original to the changing customer asset service query; the processing flow is the asset information service of each business customer, such as debit card, credit card, car insurance, life insurance, financial management, integral and the like, if the asset information of the customer changes, the processing flow can be synchronized to a unified customer consultation interface in real time, then related asset information is inquired immediately and stored in a local snapshot, and when the customer requests the related asset information, the local snapshot information is returned directly, so that the service response speed is improved.
Preferably, in step S4, the active user list for the set period of time is selected to intersect the message queue, e.g. the active user list for one week is selected to intersect the message queue.
In an embodiment of the present invention, in the information query method,:
in step S3, displaying an account center page on the client, obtaining browsing behavior data and clicking behavior data of the client on the account center page, and storing a user with browsing behavior or/and a user with clicking behavior into an active user list, wherein the browsing behavior refers to a behavior of entering the account center page, clicking a function button of triggering the account center page and an asset information inquiry page, and entering an asset information inquiry page, but not clicking and inquiring asset information content; the clicking action is to click a function button of the account center page and the asset information inquiry page, enter the asset information inquiry page and click and inquire the asset information content;
in step S5, the account center further updates the asset information of the user in the intersection according to the property query behavior habit of the user ID in the intersection, specifically, the account center obtains the property information updated by the user ID from the corresponding information terminal according to the browsing behavior data or/and the clicking behavior data (the browsed content or/and the content of the clicking query) of the user ID in the intersection, for example, the content of the user ID in the intersection in the aspect of the automobile browsed by the client, and then the account center obtains the property information updated by the user ID from the information terminal corresponding to the automobile company.
In another embodiment of the present invention, the information query method includes:
in step S3, displaying an account center page on the client, obtaining browsing behavior data and clicking behavior data of the client to the account center page, and storing a user with browsing behavior or/and a user with clicking behavior into an active user list;
step S4, an intersection of the active user list and the message queue is obtained, e.g. the active user list is [ u ] 1 u 3 u 5 ]The user in the message queue is [ u ] 1 u 2 u 6 ]The user of the intersection is u 1 That is, the user is an active user and the account of the information terminal is updated at the same time;
step S5, the account center also updates the asset information of the user in the intersection according to the asset inquiry behavior habit of the user ID in the intersection, and specifically comprises the following steps:
step S51, browsing behavior data or/and clicking behavior data of users in the intersection are formed into a behavior sequence, wherein the behavior sequence is a time sequence which is ordered by various asset information identifiers according to behavior occurrence time;
step S52, dividing the behavior sequence into a plurality of first subsequences by adopting at least one sequence length, wherein the sequence length of the first subsequences is shorter than that of the behavior sequence;
step S53, building a tree of behavior sequences from the first subsequence, specifically: taking each asset information identifier appearing in the behavior sequence as a root node, taking various asset information identifier combinations in the first subsequence as branches, forming each subtree by each branch of each root node connected with the root node, wherein the asset information identifier Fu Zaihang represented by the root node is a node value of the root node, the number of occurrences in the sequence of the asset information identifiers represented by the root node is the node value of the child node, and the sum of the number of occurrences in each first subsequence of the asset information identifier combinations represented by the root node to the child node is the node value of the child node;
step S54, combining the asset information identifier represented by the root node of each branch in the subtree of the tree with the asset information identifiers represented by the sub-nodes except the bottom sub-node to form a plurality of second sub-sequences with different sequence lengths according to the layer sequence;
in step S55, the predicted probability that the asset information identifier of the next order of each second sub-sequence is any asset information identifier in the behavior sequence is obtained by
Wherein p (x|y) 1 y 2 …y i ) And p (i+1, x) represents a prediction probability that the asset information identifier of the second subsequence order i+1 with sequence length i is x, p (i, x) represents a prediction probability that the asset information identifier of the second subsequence order i is x, p (1, x) represents a prediction probability that the asset information identifier of the second subsequence order 1 is x, y 1 A root node, y, representing a subtree of the tree of the behavior sequence 2 ,…,y i Representing the root node y of the subtree 1 Layer 2 to layer i child node of a branch, y 1 y 2 …y i Representing a second subsequence of sequence length i corresponding to the branch, 1.ltoreq.i.ltoreq.n-1, N representing the highest number of layers of the branch, x representing the asset information identifier to be predicted, N (y 1 =x) represents the node value of x for the root node in the first layer of the subtree of the tree of the behavior sequence Σn (y) 1 ) The sum of the node values of the root nodes of the subtrees of the first layer of the tree representing the behavior sequence, N (y i+1 =x) represents the branch i-layer node y i The child node of the (i+1) th layer is the node value of x, N (y) i ) Node y representing the ith layer of the branch i Is used to determine the node value of (c),representing the i-layer node y of the branch where the second subsequence is located i Adding node values of all child nodes of the (i+1) th layer;
in step S56, the second subsequences and the next-order asset information identifiers are sorted according to the prediction probability, that is, the third subsequence comprising the second subsequence and the next-order asset information identifiers is sorted according to the prediction probability, for example, the first subsequence is ebacebcdefgfabcbacbg, the second subsequence comprises EBACBC, ABCDE, GFAB, CBACBG, one second subsequence is illustrated as the third subsequence, one second subsequence is GFAB, the next-order asset information identifiers may be A, B, C, D, E, F or G, and the third subsequence comprising the second subsequence and the next-order asset information identifiers is sorted according to the prediction probability, for example, GFABC, GFABG, GFABE, GFABA, GFABD, GFABB and GFABF are sorted according to the prediction probability, and in step S56, all the second subsequences and the next-order asset information identifiers are sorted;
in step S57, a third subsequence including the maximum prediction probability of the last asset information identifier of the user behavior sequence is screened out, so as to obtain asset information identifiers of the next order of the last asset information identifier, and the asset information corresponding to the asset information identifiers of the next order of the user is updated, and if the last asset information identifier of the behavior sequence is G, as above, for example, assuming GFABC is the third subsequence including G corresponding to the maximum prediction probability, the asset information corresponding to F is updated.
In the above two embodiments, before step S6, the method further includes a step of performing data cleansing by browsing behavior data and clicking behavior data, and removing invalid behavior records from the behavior data, for example, opening a page of an account center without performing behavior data of asset information query, and for example, opening an abnormal behavior record of an extreme behavior that is always in an asset information query state.
In addition, the embodiment of the invention also provides a computer readable storage medium, wherein the computer readable storage medium comprises an information inquiry program, and the information inquiry program realizes the following steps when being executed by a processor:
step S1, an account center is constructed, the account center is in wireless connection with a plurality of information terminals, the plurality of information terminals comprise a debit card center, a credit card center, a financial center, servers of insurance companies, automobile companies and the like, the account center stores accounts of the plurality of information terminals, and the accounts comprise user IDs and asset information for the user IDs;
step S2, when the account of any information terminal changes, the account center stores the user ID into a message queue;
step S3, the account center builds an active user list according to the user activity level, wherein the user activity level is used for indicating the activity level of the user corresponding to the account center, the activity level can be embodied through data such as browsing or/and clicking actions of the client side on the account center, a threshold value can be set, and a user ID corresponding to the user activity level larger than the threshold value is stored in the active user list;
s4, acquiring an intersection of the active user list and the message queue;
and S5, the account center acquires the asset information updated by the user ID from the corresponding information terminal according to the user ID in the intersection.
The embodiment of the computer readable storage medium of the present invention is substantially the same as the embodiment of the information query method and the electronic device, and will not be described herein.
According to the information query method, the electronic device and the computer readable storage medium information terminal, the updating of the services of various asset information can be synchronized to the account query of the account center, meanwhile, various asset information of some accounts can be updated according to the user account asset query behavior, the personal comprehensive asset query speed is improved, and the user experience is improved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method 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, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, apparatus, article or method that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments. From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising several instructions for causing a terminal client (which may be a mobile phone, a computer, a server, or a network client, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (8)

1. An information query method, comprising:
an account center is established and is in wireless connection with a plurality of information terminals, wherein the account center stores accounts of the information terminals, and the accounts comprise user IDs and corresponding asset information;
when the account of any information terminal changes, the account center stores the user ID into a message queue;
constructing an active user list according to the user liveness;
acquiring an intersection user of the active user list and the message queue;
acquiring asset information updated by the user ID from a corresponding information terminal according to the intersection user ID; wherein, include:
forming behavior sequences by browsing behavior data or/and clicking behavior data of users in the intersection, wherein the behavior sequences are time sequences which are ordered by various asset information identifiers according to behavior occurrence time;
dividing the behavior sequence into a plurality of first sub-sequences with at least one sequence length, the sequence length of the first sub-sequences being shorter than the sequence length of the behavior sequence;
constructing a tree of behavior sequences according to the first subsequence; wherein the step of constructing a tree of behavior sequences from the first subsequence comprises: taking each asset information identifier appearing in the behavior sequence as a root node, taking various asset information identifier combinations in the first subsequence as branches, forming each subtree by each branch of each root node connected with the root node, wherein the asset information identifier Fu Zaihang represented by the root node is a node value of the root node, the number of occurrences in the sequence of the asset information identifiers represented by the root node is the node value of the child node, and the sum of the number of occurrences in each first subsequence of the asset information identifier combinations represented by the root node to the child node is the node value of the child node;
combining the asset information identifier represented by the root node of each branch of the subtree of the behavior sequence tree with the asset information identifier represented by the child nodes except the bottom child node to form a plurality of second subsequences with different sequence lengths according to the layer sequence;
obtaining the predicted probability that the asset information identifier of the next order of each second sub-sequence is any asset information identifier in the behavior sequence;
ordering the second subsequence and a third subsequence consisting of asset information identifiers of a next order according to the order of the prediction probability from high to low;
screening out a third subsequence comprising the maximum prediction probability of the last asset information identifier of the user behavior sequence, thereby obtaining the asset information identifier of the next order of the last asset information identifier, and updating the asset information corresponding to the asset information identifier of the next order of the user.
2. The information query method according to claim 1, wherein after the step of acquiring the user ID updated asset information from the corresponding information terminal according to the intersection user ID, the method further comprises:
and storing the updated asset information in the account center in a local snapshot mode.
3. The information query method of claim 1, wherein the step of obtaining an intersection user of the list of active users and the message queue comprises:
and determining intersection users of the active user list and the message queue according to the set time period.
4. The information query method of claim 1, wherein the step of constructing an active user list according to user liveness comprises:
displaying an account center page at a client, obtaining browsing behavior data and clicking behavior data of the client to the account center page, and storing a user with browsing behavior or/and a user with clicking behavior to an active user list, wherein an information terminal stores an account of the client, and the client obtains asset information stored in the information terminal through the account center.
5. The information query method as claimed in claim 4, wherein the step of acquiring the user ID updated asset information from the corresponding information terminal according to the intersection user ID further comprises:
and the account center acquires the asset information updated by the user ID from the corresponding information terminal according to the browsing behavior data or/and the clicking behavior data of the user ID in the intersection.
6. The information query method as claimed in claim 4, wherein before the step of the account center acquiring the asset information updated by the user ID from the corresponding information terminal according to the user ID in the intersection, the method further comprises:
and a step of performing data cleaning on the browsing behavior data and the clicking behavior data, and removing invalid behavior records from the behavior data.
7. An electronic device comprising a memory and a processor, wherein the memory stores an information query program, and the information query program when executed by the processor performs the steps of:
an account center is established, and the account center is in wireless connection with a plurality of information terminals, wherein the account center stores accounts of the information terminals, and the accounts comprise user IDs and asset information used by the user IDs;
when the account of any information terminal changes, the account center stores the user ID into a message queue;
constructing an active user list according to the user liveness;
acquiring an intersection user of the active user list and the message queue;
acquiring asset information updated by the user ID from a corresponding information terminal according to the intersection user ID; wherein, include:
forming behavior sequences by browsing behavior data or/and clicking behavior data of users in the intersection, wherein the behavior sequences are time sequences which are ordered by various asset information identifiers according to behavior occurrence time;
dividing the behavior sequence into a plurality of first sub-sequences with at least one sequence length, the sequence length of the first sub-sequences being shorter than the sequence length of the behavior sequence;
constructing a tree of behavior sequences according to the first subsequence; wherein the step of constructing a tree of behavior sequences from the first subsequence comprises: taking each asset information identifier appearing in the behavior sequence as a root node, taking various asset information identifier combinations in the first subsequence as branches, forming each subtree by each branch of each root node connected with the root node, wherein the asset information identifier Fu Zaihang represented by the root node is a node value of the root node, the number of occurrences in the sequence of the asset information identifiers represented by the root node is the node value of the child node, and the sum of the number of occurrences in each first subsequence of the asset information identifier combinations represented by the root node to the child node is the node value of the child node;
combining the asset information identifier represented by the root node of each branch of the subtree of the behavior sequence tree with the asset information identifier represented by the child nodes except the bottom child node to form a plurality of second subsequences with different sequence lengths according to the layer sequence;
obtaining the predicted probability that the asset information identifier of the next order of each second sub-sequence is any asset information identifier in the behavior sequence;
ordering the second subsequence and a third subsequence consisting of asset information identifiers of a next order according to the order of the prediction probability from high to low;
screening out a third subsequence comprising the maximum prediction probability of the last asset information identifier of the user behavior sequence, thereby obtaining the asset information identifier of the next order of the last asset information identifier, and updating the asset information corresponding to the asset information identifier of the next order of the user.
8. A computer-readable storage medium, wherein an information inquiry program is included in the computer-readable storage medium, which when executed by a processor, implements the steps of the information inquiry method according to any one of claims 1 to 6.
CN201910758814.4A 2019-08-16 2019-08-16 Information query method, electronic device and computer readable storage medium Active CN110598141B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910758814.4A CN110598141B (en) 2019-08-16 2019-08-16 Information query method, electronic device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910758814.4A CN110598141B (en) 2019-08-16 2019-08-16 Information query method, electronic device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110598141A CN110598141A (en) 2019-12-20
CN110598141B true CN110598141B (en) 2023-10-13

Family

ID=68854562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910758814.4A Active CN110598141B (en) 2019-08-16 2019-08-16 Information query method, electronic device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110598141B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105278977A (en) * 2014-07-14 2016-01-27 阿里巴巴集团控股有限公司 Web parts loading method and apparatus
CN107229652A (en) * 2016-03-25 2017-10-03 阿里巴巴集团控股有限公司 A kind of account data and account asset data update method, apparatus and system
CN108108492A (en) * 2018-01-17 2018-06-01 北京网信云服信息科技有限公司 A kind of data processing method, device and assets center system
CN109272408A (en) * 2018-10-31 2019-01-25 平安科技(深圳)有限公司 Vehicle loan financial product intelligent recommendation method, apparatus, equipment and medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050234860A1 (en) * 2002-08-30 2005-10-20 Navio Systems, Inc. User agent for facilitating transactions in networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105278977A (en) * 2014-07-14 2016-01-27 阿里巴巴集团控股有限公司 Web parts loading method and apparatus
CN107229652A (en) * 2016-03-25 2017-10-03 阿里巴巴集团控股有限公司 A kind of account data and account asset data update method, apparatus and system
CN108108492A (en) * 2018-01-17 2018-06-01 北京网信云服信息科技有限公司 A kind of data processing method, device and assets center system
CN109272408A (en) * 2018-10-31 2019-01-25 平安科技(深圳)有限公司 Vehicle loan financial product intelligent recommendation method, apparatus, equipment and medium

Also Published As

Publication number Publication date
CN110598141A (en) 2019-12-20

Similar Documents

Publication Publication Date Title
CN109064031B (en) Project affiliate credit evaluation method based on block chain, block chain and storage medium
US20190108486A1 (en) System and method for intelligent and automatic electronic communication support and routing
CN107967135B (en) Calculation engine implementation method, electronic device and storage medium
US11194794B2 (en) Search input recommendations
US20100241663A1 (en) Providing content items selected based on context
CN111859132A (en) Data processing method and device, intelligent equipment and storage medium
WO2018005204A1 (en) Providing communication ranking scheme based on relationship graph
CN108874876B (en) Message pushing method, computer readable storage medium and terminal equipment
JP5264813B2 (en) Evaluation apparatus, evaluation method, and evaluation program
US20220253574A1 (en) Method and system for log based predictive analytics
CN113114734B (en) Information processing method, device, equipment and storage medium
CN113515703A (en) Information recommendation method and device, electronic equipment and readable storage medium
CN111193804B (en) Distributed storage method and device, network node and storage medium
CN110598141B (en) Information query method, electronic device and computer readable storage medium
EP3671459B1 (en) Method and apparatus for generating log data having increased filterability
CN110619541B (en) Application program management method, device, computer equipment and storage medium
CN116071123A (en) Commodity data processing method, commodity data processing system, electronic equipment and storage medium
CN113362097B (en) User determination method and device
US20180046656A1 (en) Constructing filterable hierarchy based on multidimensional key
CN110795424B (en) Characteristic engineering variable data request processing method and device and electronic equipment
CN114036421A (en) Method, device and computer equipment for displaying HTML5 page response time
CN110555537A (en) Multi-factor multi-time point correlated prediction
CN110688375B (en) Method, apparatus and computer readable storage medium for customer penetration analysis
US11061759B1 (en) System and method for restoring deleted objects and their assignments to other objects based on any deletion of the other objects
CN118540374A (en) Data return method and device, electronic equipment and storage 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