Data Interaction Method, Apparatus, Device, and Storage Medium

By receiving and preprocessing the interactive data of multiple applications, sorting and sorting, matching application information to determine the target application and interaction information, and sending it to the target application, the problem of data sharing and jump fluency between different application systems or applications is solved, and effective data sharing and smooth user jumping is achieved.

CN111679919BActive Publication Date: 2025-06-27CHINA PING AN PROPERTY INSURANCE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202010345845.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-27
Publication Date
2025-06-27
Estimated Expiration
2040-04-27

AI Technical Summary

Technical Problem

In the prior art, effective data sharing cannot be achieved between different application systems or different applications of the same application system, and the user's jump between different application systems or applications is not smooth.

Method used

By receiving interactive data sent by multiple applications at different points in time, data preprocessing is performed to obtain standard data, sorting and sorting according to standard data, matching application information to determine target application and interaction information, and sending target interaction information to target application.

Benefits of technology

It realizes the unified format of data of different applications or application systems and performs data breakpoint connections between different applications or application systems, improving the smoothness of users' jump between different applications or application systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111679919B_ABST
    Figure CN111679919B_ABST
Patent Text Reader

Abstract

This application relates to the field of data processing. Specifically, it uses time point information and application identifiers to determine a second application that interacts with a first application, and discloses a data interaction method, apparatus, device, and storage medium. The method includes: receiving interaction data sent by multiple applications at different time points; performing data preprocessing on the interaction data to obtain standard data; classifying and sorting the standard data according to category priorities to obtain a type information sequence; receiving a first message sent by the first application, the first message including first time point information and a first application identifier; matching the first message with the type information sequence to determine a second message, the second message including a target application identifier and target interaction information; and sending the target interaction information to a second application corresponding to the target application identifier. Thereby, effective sharing of different applications is achieved and the fluency of user jumps between different applications is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data interaction, and particularly to a data interaction method, apparatus, device, and storage medium. Background Art

[0002] In the development of modern Internet technologies, there are various independent operating application software (APP) systems in different Internet companies, carrying different businesses within the company. With the development of the company, in order to better serve users, the independent operating APPs need to exchange data between different applications in the same APP system or between different APP systems, so as to achieve shared use of data in different APP systems or different applications in the same APP system. Currently, data interaction between different APP systems is usually achieved through a data bus. In this data interaction method, there is no unified data standard between different APP systems or different applications in the same APP system, and the data formats are various. Effective data sharing cannot be achieved between different applications in the same APP system or between different APP systems; the sender and receiver of the data need to be clearly specified. When the receiver is not clearly indicated, it is necessary to wait until the information of the clearly specified receiver is received before jumping to another corresponding APP system or another corresponding application, making it difficult for users to smoothly jump between different APP systems or different applications. Summary of the Invention

[0003] This application provides a data interaction method, apparatus, device, and storage medium, aiming to achieve effective sharing of different applications and improve the smoothness of user jumps between different applications.

[0004] In a first aspect, this application provides a data interaction method, and the method includes:

[0005] Receiving interaction data sent by multiple applications at different time points;

[0006] Performing data preprocessing on the interaction data to obtain standard data;

[0007] Classifying and sorting the standard data according to category priorities to obtain a type information sequence;

[0008] Receiving a first message sent by a first application, where the first message includes first time point information and a first application identifier;

[0009] Matching the first message with the type information sequence to determine a second message, where the second message includes a target application identifier and target interaction information;

[0010] Send the target interaction information to a second application corresponding to the target application identifier.

[0011] In a second aspect, the present application further provides a data interaction device, the device comprising:

[0012] A data receiving unit, configured to receive interaction data sent by multiple applications at different time points;

[0013] A data processing unit, configured to perform data preprocessing on the interaction data to obtain standard data;

[0014] A data sorting unit, configured to perform classification and sorting according to the standard data and sort according to category priorities to obtain a type information sequence;

[0015] An information receiving unit, configured to receive first information sent by a first application, the first information including first time point information and a first application identifier;

[0016] An information matching unit, configured to match the first information with the type information sequence to determine second information, the second information including a target application identifier and target interaction information;

[0017] An information sending unit, configured to send the target interaction information to a second application corresponding to the target application identifier.

[0018] In a third aspect, the present application further provides a computer device, the computer device comprising a memory and a processor; the memory is used to store a computer program; the processor is configured to execute the computer program and implement the data interaction method as described above when executing the computer program.

[0019] In a fourth aspect, the present application further provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor is caused to implement the data interaction method as described above.

[0020] The present application discloses a data interaction method, apparatus, device and storage medium. Data preprocessing is performed on the interaction data of multiple applications at different time points; the standard data obtained from the preprocessing is classified and sorted according to the category priority to obtain a type information sequence; the first information sent by the first application is received; the first information is matched with the type information sequence to determine the second information, where the second information includes a target application identifier and target interaction information; the target interaction information is sent to the second application corresponding to the target application identifier, so that the data of different applications or different APP systems can be effectively shared after being in a unified format. In addition, when the data sender or the first application is determined, even if the data receiver or the second application is not clearly specified, the above data interaction method can also determine the second application and the data to be interacted, realizing the breakpoint connection of data between different applications or different APP systems, and improving the fluency of the user's jump between different applications or different APP systems. Description of the Drawings

[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0022] Figure 1 It is a schematic flowchart of a data interaction method provided by an embodiment of the present application;

[0023] Figure 2 It is a schematic flowchart of a data interaction method provided by another embodiment of the present application;

[0024] Figure 3 It is a schematic block diagram of a data interaction device provided by an embodiment of the present application;

[0025] Figure 4 It is a schematic block diagram of the structure of a computer device provided by an embodiment of the present application. Detailed Embodiments

[0026] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the protection scope of the present application.

[0027] The flowcharts shown in the accompanying drawings are only illustrative examples, and do not necessarily include all contents and operations / steps, nor do they necessarily need to be executed in the described order. For example, some operations / steps can be decomposed, combined or partially merged, so the actual execution order may change according to the actual situation.

[0028] The following will describe in detail some embodiments of the present application with reference to the accompanying drawings. Without conflict, the following embodiments and the features in the embodiments can be combined with each other.

[0029] Embodiments of the present application provide a data interaction method, apparatus, computer device and storage medium. The data interaction method can be used in a data interaction system. The data interaction system includes a data sender, a data receiver and a data interaction device. The data sender and the data receiver perform data interaction through the data interaction device. The data sender and the data receiver can be different APP systems or different applications of the same APP system. Hereinafter, an example in which the data sender and the data receiver are different applications of the same APP system will be used for explanation.

[0030] The data between the data sender and the data receiver can be the same or different, which is not limited herein. Exemplarily, the first application is the data sender and the second application is the data receiver. The data format of the first application is different from that of the second application.

[0031] For example, according to statistical analysis, a certain user always clicks on a car wash service software, that is, the first application, within a certain area. Then, when the user is within a circular area with the center of the area as the center and a radius of 8 kilometers, the second application recommends service information related to car services. Another example is that a certain user always opens a food ordering application software, that is, the first application, around 11:00. Then, when the first application and the second application interact within this time range, the second application recommends nearby dining information for it.

[0032] In the above data interaction system, even if the data formats of the data sender and the data receiver are different, effective sharing and interaction between the data sender and the data receiver can still be achieved. In addition, when the data sender is determined, even if the data receiver is not explicitly specified, the data interaction system can also determine the data receiver that needs to perform data interaction with the data sender and the data to be interacted, realizing the breakpoint continuation of the data and improving the fluency of the user's jump between different application software systems or different applications.

[0033] Understandably, the first application above can be a data sender, and the second application can be a data receiver. Or, the first application can be a data receiver, and the second application can be a data sender. Of course, the first application can be a data receiver in a certain scenario or at a certain time node, and the second application is a data sender in that certain scenario or at that certain time node; the first application is a data receiver in another scenario or at another time node, and the second application is a data sender in that other scenario or at that other time node. Here, an example where the first application is a data sender and the second application is a data receiver will be used for explanation.

[0034] Please refer to Figure 1 , Figure 1 which is a schematic flowchart of the steps of a data interaction method provided by an embodiment of the present application.

[0035] As Figure 1 shown, the data interaction method specifically includes: steps S101 to S106.

[0036] S101. Receive interaction data sent by multiple applications at different time points.

[0037] Among them, the application programs installed in the terminal are called applications, which can be third-party application programs or system application programs. Specifically, third-party application programs are usually downloaded and installed in the terminal by users after the terminal leaves the factory. System application programs refer to application programs provided by the developer of the operating system, and system application programs are usually pre-installed in the terminal before the terminal leaves the factory, or installed in the terminal when the operating system is updated. The number of applications can be set according to actual needs, such as two, three, four or more, which is not limited here.

[0038] Specifically, the interaction data includes the application identifier and time point information of the application program. The application identifier is used to mark the category of the application program, and each application program uniquely corresponds to an application identifier. For example, the application identifier "a" corresponds one-to-one with the "car insurance claim" application program, and the application identifier "b" corresponds one-to-one with the "car insurance settlement" application program.

[0039] S102. Perform data preprocessing on the interaction data to obtain standard data.

[0040] Since the data formats of different applications are usually different, in order to ensure that applications with different data formats can recognize each other, after obtaining the interaction data sent by multiple applications, perform data preprocessing on the interaction data to obtain standard data.

[0041] In some embodiments, the data preprocessing of the interaction data to obtain standard data includes: performing data cleaning and data format conversion on the interaction data according to preset data cleaning and conversion rules to obtain standard data; storing the standard data in a database, and recording the time of data format conversion in a log.

[0042] Specifically, according to the preset data cleaning and conversion rules, data cleaning and data format conversion are performed on the interaction data to unify the formats of the interaction data at each time point, and the data with the unified format is used as the standard data. Among them, the preset data cleaning and conversion rules can be flexibly set according to actual needs, and the embodiments of the present application are not limited thereto.

[0043] Each different application is aggregated through a kafka queue. The application sends the interaction data that needs to be interacted to the kafka queue to achieve the aggregation of a large amount of data; then, Flink is used to perform data cleaning and several format conversions on the data, convert the format of the interaction data into the target format, unify the data format, and eliminate the data that does not meet the requirements and notify the application. This process ensures the correctness and integrity of the data. Compared with the data interaction between different applications through a data bus, the data interaction method of the embodiments of the present application can ensure that applications with different data formats can recognize each other and achieve the consistent recognition of data between different applications.

[0044] Among them, the standard data is stored in a database to facilitate the unified storage, management, and maintenance of the standard data corresponding to the interaction data of each application. The standard data stored in the database is in a unified format and is used to send the standard data to be interacted to other applications. Data docking with each application is achieved through the database to ensure the accuracy of data interaction.

[0045] Specifically, after the interaction data is preprocessed, the obtained standard data will be written into Elasticsearch, Hbase, and hive. Elasticsearch is used to perform data indexing on the written data to achieve fuzzy search and precise positioning of the data, thus solving the defect that the original data bus cannot perform fuzzy query on data. And Hbase is used to store the original data, and detailed query of the data can be performed when the data is queried. Finally, a large amount of data is stored in hive to achieve large-scale data storage, solve the ability of data tracing, and provide a data basis for subsequent data analysis and intelligent algorithms.

[0046] S103. Classify and sort the standard data according to the category priority to obtain a type information sequence.

[0047] To achieve the ordering of data, after obtaining the standard data, the labeled data can be classified and sorted according to the preset classification rules and sorted according to the category priority to obtain a type information sequence.

[0048] Among them, the preset classification rules and the preset category priority can be flexibly set according to actual needs. For example, the pre-classification rule can be to classify according to the actual generation of data. Another example is that the preset category priority can be that the "motor vehicle insurance claim reporting" category takes precedence over the "motor vehicle insurance claim settlement" category, and the "motor vehicle insurance claim settlement" category takes precedence over the "automobile repair" category. Exemplarily, during the process of motor vehicle insurance claim settlement, when the insured vehicle has a traffic accident and needs claim settlement, interact with the claim settlement application program first, and then consider interacting with the automobile repair application program.

[0049] S104. Receive the first information sent by the first application, where the first information includes the first time point information and the first application identifier.

[0050] Specifically, when the user uses the first application through the terminal at the current moment, the first application sends the first information to the server, and the server correspondingly receives the first information. The first information includes the first time point information corresponding to the current moment and the first application identifier.

[0051] Among them, the first application is an application program installed in the terminal, which can be a third-party application program or a system application program. Specifically, the third-party application program is usually downloaded and installed in the terminal by the user after the terminal leaves the factory. The system application program refers to an application program provided by the operating system developer, and the system application program is usually pre-installed in the terminal before the terminal leaves the factory, or installed in the terminal when the operating system is updated. The first time point information is the time point information when the user uses the first application at the current moment.

[0052] The first application identifier is used to identify the category of the first application used by the user at the current moment. Exemplarily, the category of the first application can be "motor vehicle insurance claim reporting", "motor vehicle insurance claim settlement" or "automobile repair", etc., and the corresponding application identifiers are "a", "b" and "c" respectively, but the embodiments of the present application are not limited thereto.

[0053] S105. Match the first information with the type information sequence to determine the second information, where the second information includes the target application identifier and the target interaction information.

[0054] Specifically, the first information includes the first time point information corresponding to the current moment and the first application identifier. According to the type information sequence, the first time point information, and the first application identifier, when determining the second time point information after the first time point information, the target application identifier corresponding to the application that interacts with the first application and the target interaction information required for the interaction can be determined. The determined target application identifier and target interaction information are used as the second information.

[0055] Among them, the second time point information is the time information of the next time point of the first time point information. For example, when performing statistics in the time dimension at intervals of 3 hours, taking 0:00, 3:00, 6:00, 9:00....21:00 as coordinates, a time axis is established. When the first time point information is the 6 o'clock slot, the second time point information is the 9 o'clock slot.

[0056] When it is determined through the above method that there are multiple applications interacting with the first application at the same time point information, the unique application identifier is determined through the backup category priority. The unique application identifier is used as the target application identifier, and according to the type information sequence, the interaction data required for the interaction between the first application and this application is determined as the target interaction information.

[0057] S106. Send the target interaction information to the second application corresponding to the target application identifier.

[0058] Specifically, after determining the target interaction information and the target application identifier, the target interaction information can be sent to the second application corresponding to the target application identifier.

[0059] In some embodiments, step S106 specifically includes: determining the second application program according to the target application identifier; sending the target interaction information to the second application program.

[0060] Specifically, the server can determine the corresponding second application in the type information sequence according to the target application identifier. Of course, the server can also pre-store the correspondence table between the application identifier and the second application, and traverse the correspondence table to find the second application corresponding to the target application identifier. It can be understood that the correspondence table can be set according to actual needs, and this embodiment does not make any limitations.

[0061] After determining the second application that has data interaction with the first application at the second time point information and the target interaction information of the interaction, send the target interaction information to the second application.

[0062] In some embodiments, before sending the target interaction information to the second application corresponding to the target application identifier, it further includes: caching the second information.

[0063] Specifically, the target interaction information and the target application identifier are cached in the in-memory database. When the target interaction information and the target application identifier reach the in-memory database, the in-memory database will send the target interaction information to the second application corresponding to the target application identifier according to the preset information transmission path, so as to accurately send the target interaction information to the second application and ensure the integrity and transactionality of the data. The in-memory database can be the database Hazelcast, and of course it can also be other databases, which is not limited in this embodiment of the present application.

[0064] The data interaction method provided in the above embodiment receives interaction data sent by multiple applications at different time points; preprocesses the interaction data to obtain standard data; classifies and sorts the standard data according to the category priority to obtain a type information sequence; receives the first information sent by the first application, where the first information includes the first time point information and the first application identifier; matches the first information with the type information sequence to determine the second information, where the second information includes the target application identifier and the target interaction information; and sends the target interaction information to the second application corresponding to the target application identifier, so that data of different applications or different APP systems can be effectively shared after being in a unified format. In addition, when the data sender or the first application is determined, even if the data receiver or the second application is not clearly specified, the above data interaction method can also determine the second application and the data to be interacted, realizing the breakpoint connection of data between different applications or different APP systems, and improving the smoothness of the user's jump between different applications or different APP systems.

[0065] Please refer to Figure 2 , Figure 2 which is a schematic flowchart of the steps of a data interaction method provided in an embodiment of the present application.

[0066] As Figure 2 shown, the data interaction method specifically includes: steps S201 to S208.

[0067] S201. Receive interaction data sent by multiple applications at different time points.

[0068] Among them, the application programs installed in the terminal are called applications. The interaction data includes the application identifier of the application program and the time point information. The application identifier is used to mark the category of the application program, and each application program uniquely corresponds to an application identifier. For example, the application identifier "a" corresponds one-to-one to the "car insurance claim" application program, and the application identifier "b" corresponds one-to-one to the "car insurance settlement" application program.

[0069] S202. Preprocess the interaction data to obtain standard data.

[0070] Since the data formats of different applications are usually different, in order to ensure that applications with different data formats can recognize each other, after obtaining the interaction data sent by multiple applications, the interaction data is preprocessed to obtain standard data.

[0071] In some embodiments, the preprocessing the interaction data to obtain standard data includes: cleaning and converting the data format of the interaction data according to a preset data cleaning and conversion rule to obtain standard data; storing the standard data in a database, and recording the time of data format conversion in a log.

[0072] Specifically, according to a preset data cleaning and conversion rule, the interaction data is cleaned and its data format is converted to unify the formats of the interaction data at each time point, and the data with the unified format is used as the standard data. Among them, the preset data cleaning and conversion rule can be flexibly set according to actual needs, and the embodiments of the present application are not limited thereto.

[0073] S203. Classify and sort the standard data according to the category priority to obtain a type information sequence.

[0074] In order to achieve the ordering of data, after obtaining the standard data, the labeled data can be classified and sorted according to a preset classification rule, and sorted according to the category priority to obtain a type information sequence.

[0075] In some embodiments, the classifying and sorting the standard data according to the category priority to obtain a type information sequence includes: sorting out time type information classified by time dimension according to the standard data; sorting the time type information according to the time dimension priority to obtain a type information sequence.

[0076] In some embodiments, sorting out time type information classified by time dimension according to the standard data includes: sorting out classification data and an interaction relationship network classified by time dimension according to the standard data; fusing the classification data and the interaction relationship network to obtain time type information.

[0077] Specifically, at a certain time point information, if there is an interaction between different applications, an interaction relationship network is established for the application identifiers corresponding to these applications. Exemplarily, if application A and application B interact at 6 o'clock, an interaction relationship network a-b is established for the application identifier a corresponding to application A and the application identifier B corresponding to application B.

[0078] Exemplarily, application A and application B interacted with classification data u at time 6, and application A and application C interacted with classification data v at time 6. Assuming that the application identifiers corresponding to application A, application B, and application C are a, b, and c respectively, the interaction relationship network of application A, application B, and application C is c-a-b. The classification data u is fused with a-b, and the classification data v is fused with c-a, so as to obtain time type information.

[0079] Among them, time dimension priority means sorting the time type information in chronological order. For example, the time type information M corresponding to 3 o'clock is located before the time type information N corresponding to 6 o'clock.

[0080] In some embodiments, sorting the time type information according to time dimension priority to obtain a type information sequence includes: sorting the time type information according to time dimension priority and a preset spare category priority to obtain a type information sequence.

[0081] Specifically, due to sorting according to the time dimension priority sequence, at the same time point, there may be data interactions between the same application and multiple applications. At this time, first sort the time type information according to time dimension priority to obtain a time information sequence. Then, sort the multiple applications under the same time point information according to the preset spare category priority, so as to obtain a type information sequence.

[0082] For example, during the process of vehicle insurance claims, when the insured vehicle has a traffic accident and needs to be claimed, it first interacts with the claim application program, and then considers interacting with the vehicle repair application program.

[0083] S204. Receive the first information sent by the first application, where the first information includes first time point information and a first application identifier.

[0084] Specifically, when the user uses the first application through the terminal at the current moment, the first application sends the first information to the server, and the server correspondingly receives the first information. The first information includes the first time point information corresponding to the current moment and the first application identifier.

[0085] Among them, the first application is an application program installed in the terminal. The first application identifier is used to identify the category of the first application used by the user at the current moment.

[0086] S205. Match the first information with the type information sequence to determine the second information, where the second information includes a target application identifier and target interaction information.

[0087] Specifically, the first information includes the first time point information corresponding to the current moment and the first application identifier. Based on the type information sequence, the first time point information, and the first application identifier, when determining the second time point information after the first time point information, the target application identifier corresponding to the application that interacts with the first application and the target interaction information required for the interaction can be determined. The determined target application identifier and target interaction information are used as the second information. Among them, the second time point information is the time information of the next time point after the first time point information.

[0088] S206. Send the target interaction information to the second application corresponding to the target application identifier.

[0089] Specifically, after determining the target interaction information and the target application identifier, the target interaction information can be sent to the second application corresponding to the target application identifier.

[0090] S207. Establish a service recommendation model according to the standard data.

[0091] Specifically, after obtaining the standard data, a service recommendation model can be established according to the standard data to be used for recommending relevant applications to users.

[0092] In some embodiments, the establishing a service recommendation model according to the standard data specifically includes: initializing a preset neural network model. Training the neural network model with a large amount of the standard data to obtain a service recommendation model. The neural network model can be a convolutional neural network model (CNN), a recurrent neural network model (RNN), etc., and the embodiments of the present application are not limited thereto.

[0093] S208. Generate a prompt message for prompting to recommend relevant applications according to the service recommendation model, so that the second application recommends relevant applications to the user.

[0094] Exemplarily, a certain user always clicks on a car wash service software, that is, the first application, within a certain area. Then when the user is within a circular area with the center of the area as the center and a radius of 8 kilometers, the second application recommends service information related to car services. Another example is that a certain user always opens a food ordering application software, that is, the first application, around 11:00. Then when the first application interacts with the second application within this time range, the second application recommends nearby dining information for it.

[0095] The data interaction method provided by the above embodiments receives interaction data sent by multiple applications at different time points; performs data preprocessing on the interaction data to obtain standard data; classifies and organizes the standard data and sorts it according to the category priority to obtain a type information sequence; receives the first information sent by the first application, where the first information includes the first time point information and the first application identifier; matches the first information with the type information sequence to determine the second information, where the second information includes the target application identifier and the target interaction information; sends the target interaction information to the second application corresponding to the target application identifier; establishes a service recommendation model according to the standard data; generates a prompt information for recommending relevant applications according to the service recommendation model, so that the second application can recommend relevant applications for the user, and can enable the data of different applications or different APP systems to be effectively shared after being unified in format. In addition, when the data sender or the first application is determined, even if the data receiver or the second application does not clearly indicate, the above data interaction method can also determine the second application and the data to be interacted, realizing the breakpoint connection of data between different applications or different APP systems, and improving the fluency of the user's jump between different applications or different APP systems.

[0096] Please refer to Figure 3 , Figure 3 FIG. is a schematic block diagram of a data interaction device further provided by an embodiment of the present application. The data interaction device is used to execute any one of the foregoing data interaction methods. Among them, the data interaction device can be configured in a server or a terminal.

[0097] Among them, the server can be an independent server or a server cluster. The terminal can be an electronic device such as a mobile phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant, and a wearable device.

[0098] As Figure 3 shown, the data interaction device 300 includes: a data receiving unit 301, a data processing unit 302, a data organizing unit 303, an information receiving unit 304, an information matching unit 305, and an information sending unit 306.

[0099] The data receiving unit 301 is configured to receive interaction data sent by multiple applications at different time points;

[0100] The data processing unit 302 is configured to perform data preprocessing on the interaction data to obtain standard data;

[0101] The data organizing unit 303 is configured to classify and organize the standard data and sort it according to the category priority to obtain a type information sequence;

[0102] An information receiving unit 304, configured to receive first information sent by a first application, where the first information includes first time point information and a first application identifier;

[0103] An information matching unit 305, configured to match the first information with a type information sequence to determine second information, where the second information includes a target application identifier and target interaction information;

[0104] An information sending unit 306, configured to send the target interaction information to a second application corresponding to the target application identifier.

[0105] In some embodiments, the data processing unit 302 is specifically configured to: perform data cleaning and data format conversion on the interaction data according to a preset data cleaning and conversion rule to obtain standard data; store the standard data in a database, and record the time of data format conversion in a log.

[0106] In some embodiments, the data sorting unit 303 includes an information sorting subunit and an information ranking subunit. Among them, the information sorting subunit is configured to sort out time type information classified by time dimension according to the standard data. The information ranking subunit is configured to rank the time type information in priority according to the time dimension to obtain a type information sequence.

[0107] In some embodiments, the information sorting subunit is specifically configured to: respectively sort out classified data and an interaction relationship network classified by time dimension according to the standard data; fuse the classified data and the interaction relationship network to obtain time type information.

[0108] In some embodiments, the information ranking subunit is specifically configured to rank the time type information in priority according to the time dimension and a preset standby category priority to obtain a type information sequence.

[0109] In some embodiments, the information sending unit 306 is specifically configured to: determine a second application according to the target application identifier; send the target interaction information to the second application.

[0110] In some embodiments, the data interaction device 300 further includes a model building unit and a prompt generating unit. Among them, the model building unit is configured to build a service recommendation model according to the standard data. The prompt generating unit is configured to generate prompt information for recommending related applications according to the service recommendation model, so that the second application recommends related applications to the user.

[0111] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described data interaction device and each unit can refer to the corresponding processes in the foregoing embodiments of the data interaction method, and will not be described herein again.

[0112] The above data interaction device can be implemented in the form of a computer program, which can run on a computer device as shown in Figure 4 the figure.

[0113] Please refer to Figure 4 , Figure 4 which is a schematic block diagram of a computer device provided by an embodiment of the present application. The computer device can be a server or a terminal.

[0114] Referring to Figure 4 , the computer device includes a processor, a memory, and a network interface connected through a system bus. Among them, the memory can include a non-volatile storage medium and an internal memory.

[0115] The non-volatile storage medium can store an operating system and a computer program. The computer program includes program instructions, which when executed, can cause the processor to execute a data interaction method.

[0116] The processor is used to provide computing and control capabilities to support the operation of the entire computer device.

[0117] The internal memory provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor, the processor can be caused to execute a data interaction method.

[0118] The network interface is used for network communication, such as sending assigned tasks, etc. Those skilled in the art can understand that Figure 4 the structure shown in

[0119] is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0120] Among them, the processor is used to run a computer program stored in the memory to implement the following steps:

[0121] Receive interaction data sent by multiple applications at different time points; perform data preprocessing on the interaction data to obtain standard data; classify and sort the standard data according to category priorities to obtain a type information sequence; receive a first message sent by a first application, where the first message includes first time point information and a first application identifier; match the first message with the type information sequence to determine a second message, where the second message includes a target application identifier and target interaction information; send the target interaction information to a second application corresponding to the target application identifier.

[0122] In some embodiments, when the processor implements performing data preprocessing on the interaction data to obtain standard data, it is used to implement: perform data cleaning and data format conversion on the interaction data according to preset data cleaning and conversion rules to obtain standard data; store the standard data in a database and record the time of data format conversion in a log.

[0123] In some embodiments, when the processor implements classifying and sorting the standard data according to category priorities to obtain a type information sequence, it is used to implement: sort out time type information classified by time dimension according to the standard data; sort the time type information according to time dimension priority to obtain a type information sequence.

[0124] In some embodiments, when the processor implements sorting out time type information classified by time dimension according to the standard data, it is used to implement: sort out classification data and an interaction relationship network classified by time dimension according to the standard data; fuse the classification data and the interaction relationship network to obtain time type information.

[0125] In some embodiments, when the processor implements sorting the time type information according to time dimension priority to obtain a type information sequence, it is used to implement: sort the time type information according to time dimension priority and a preset alternate category priority to obtain a type information sequence.

[0126] In some embodiments, when the processor implements sending the target interaction information to a second application corresponding to the target application identifier, it is used to implement: determine the second application according to the target application identifier; send the target interaction information to the second application.

[0127] In some embodiments, the processor is further configured to: establish a service recommendation model based on the standard data; generate a prompt message for prompting to recommend relevant applications according to the service recommendation model, so that the second application recommends relevant applications to the user.

[0128] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. The computer program includes program instructions, and the processor executes the program instructions to implement any one of the data interaction methods provided by the embodiments of the present application.

[0129] Among them, the computer-readable storage medium may be an internal storage unit of the computer device described in the foregoing embodiments, such as the hard disk or memory of the computer device. The computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a SmartMedia Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. equipped on the computer device.

[0130] As described above, the above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of various equivalent modifications or substitutions, and these modifications or substitutions should be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A data interaction method, characterized in that, It includes: Receiving interaction data sent by multiple applications at different time points; Performing data preprocessing on the interaction data to obtain standard data; Classifying and sorting the standard data according to category priorities to obtain a type information sequence; Among them, the sorting according to category priorities to obtain a type information sequence includes: Sorting in order of priority in the time dimension to obtain multiple applications under the same time point information; Sorting the multiple applications under the same time point information according to the preset application category priorities to obtain the type information sequence; Receiving first information sent by a first application, where the first information includes first time point information and a first application identifier; Matching the first information with the type information sequence to determine second information, where the second information includes a target application identifier and target interaction information; Sending the target interaction information to a second application corresponding to the target application identifier.

2. The data interaction method according to claim 1, wherein The performing data preprocessing on the interaction data to obtain standard data includes: Performing data cleaning and data format conversion on the interaction data according to preset data cleaning and conversion rules to obtain standard data; Storing the standard data in a database and recording the time of data format conversion in a log.

3. The data interaction method according to claim 1, wherein The classifying and sorting the standard data according to category priorities to obtain a type information sequence includes: Sorting out time type information classified by time dimension according to the standard data; Sorting the time type information in order of priority in the time dimension to obtain a type information sequence.

4. The data interaction method according to claim 3, wherein The sorting out time type information classified by time dimension according to the standard data includes: Sorting out classification data and an interaction relationship network classified by time dimension according to the standard data; fusing the classification data and the interaction relationship network to obtain time type information.

5. The data interaction method according to claim 3, characterized in that The sorting the time type information in order of priority in the time dimension to obtain a type information sequence includes: Sorting the time type information in order of priority in the time dimension and according to preset alternate category priorities to obtain a type information sequence.

6. The data interaction method according to claim 1, wherein The sending the target interaction information to a second application corresponding to the target application identifier includes: Determining a second application according to the target application identifier; Sending the target interaction information to the second application.

7. The data interaction method according to claim 1, wherein The method further includes: Establishing a service recommendation model according to the standard data; Generating prompt information for recommending relevant applications according to the service recommendation model so that the second application recommends relevant applications to the user.

8. A data interaction device, characterized in that, It includes: A data receiving unit for receiving interaction data sent by multiple applications at different time points; A data processing unit for performing data preprocessing on the interaction data to obtain standard data; A data sorting unit for classifying and sorting the standard data according to category priorities to obtain a type information sequence; Among them, the sorting according to category priorities to obtain a type information sequence includes: Sorting in order of priority in the time dimension to obtain multiple applications under the same time point information; Sort multiple applications under the information at the same time point according to the preset application category priority to obtain the type information sequence; An information receiving unit, configured to receive first information sent by a first application, where the first information includes first time point information and a first application identifier; An information matching unit, configured to match the first information with the type information sequence to determine second information, where the second information includes a target application identifier and target interaction information; An information sending unit, configured to send the target interaction information to a second application corresponding to the target application identifier.

9. A computer device, characterized in that, The computer device includes a memory and a processor; The memory is used to store a computer program; The processor is configured to execute the computer program and implement the data interaction method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor is caused to implement the data interaction method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Real-time dynamic interactive scene application-based recommendation method, system and equipment

    CN107301585A