An information processing method, device, server, storage medium and program product
By obtaining user identifiers from WeChat Official Account users and parsing business data to determine the service resumption status and push notifications, the problem of users not being able to know in a timely manner about the restoration of mobile services was solved, thus improving the user experience.
Patent Information
- Application Number
- CN202410875159.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2044-07-01
AI Technical Summary
Users are unable to promptly learn when their mobile phone service is restored after being suspended due to unpaid bills, resulting in a poor user experience.
By obtaining the user identifier of the official account user, the business data is parsed regularly to obtain start-up and shutdown information, determine whether the user is a user who has been suspended and restarted, and push a suspension and restart notification to the user.
It enables timely notification to users when a phone is restarted after being shut down, improving the user experience and avoiding passive waiting and repeated testing.
Smart Images

Figure CN118740895B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of data processing, and in particular to an information processing method and device, a server, a storage medium and a program product. BACKGROUND
[0002] The resumption of suspension refers to that after a mobile phone is suspended due to arrears, the user pays off the arrears, and the operator resumes the normal opening of the mobile phone service of the user.
[0003] In the prior art, after a user recharges the mobile phone, the user often cannot know that the mobile phone service has been resumed in time, and can only passively wait, or frequently test whether the mobile phone has been resumed when the user urgently needs to use the mobile phone service, and the user experience is poor.
[0004] At present, there is an urgent need for a method capable of timely notifying a mobile phone user of the resumption of suspension. SUMMARY
[0005] The present application provides an information processing method and device, a server, a storage medium and a program product to solve the technical problem that a user cannot know in time that a mobile phone is resumed in the prior art.
[0006] In a first aspect, the present application provides an information processing method, comprising: obtaining a user identifier of a public number user, obtaining service data of the public number user according to the user identifier every preset time, performing field segmentation processing on the service data to obtain a plurality of data fields; obtaining start and stop information according to an attribute identifier of each data field; wherein the start and stop information represents that the public number user is in a suspended state or that the public number user is in a started state; determining whether the public number user is a suspended resumption user according to the start and stop information; and when it is determined that the public number user is a suspended resumption user, pushing a suspended resumption notification to the public number user for prompting processing.
[0007] Optionally, in the method described above, determining whether the public number user is a suspended resumption user according to the start and stop information comprises: when it is determined that the obtained start and stop information is stop information, and when the start and stop information obtained after the stop information is obtained is start information within a preset valid time, determining that the public number user is a suspended resumption user; wherein the stop information represents that the public number user is in a suspended state; and the start information represents that the public number user is in a started state.
[0008] Optionally, in the method described above, obtaining a user identifier of a public number user comprises: obtaining historical subscription data and real-time subscription data from a public number service server and a big data message middleware respectively, and performing data analysis on the historical subscription data and the real-time subscription data to obtain a user identifier of a public number user.
[0009] Optionally, the method as described above, after determining that the public account user is a stop-restart user, the method further comprises: querying the user identifier of the public account user in a database; and pushing a stop-restart notification to the public account user, comprising: storing the user identifier of the public account user in the database and pushing a stop-restart notification to the public account user when it is determined that the user identifier of the public account user does not exist in the database.
[0010] Optionally, the method as described above, after determining that the public account user is a stop-restart user, the method further comprises: obtaining the home information and stop-restart information of the public account user according to the user identifier; and pushing a stop-restart notification to the public account user, comprising: generating a stop-restart notification according to the home information and stop-restart information of the public account user and pushing the stop-restart notification to the public account user.
[0011] Optionally, the method as described above, before determining whether the public account user is a stop-restart user according to the start-stop information, the method further comprises: obtaining a white list comprising user identifiers of public account users who do not need to be pushed a stop-restart notification; and determining whether the public account user is a stop-restart user according to the start-stop information, comprising: querying the user identifier of the public account user in the white list; and determining whether the public account user is a stop-restart user according to the start-stop information when it is determined that the user identifier of the public account user does not exist in the white list.
[0012] In a second aspect, the present application provides an information processing device, comprising: an obtaining module, configured to obtain a user identifier of a public account user, obtain service data of the public account user according to the user identifier every preset time, and perform field segmentation processing on the service data to obtain a plurality of data fields; the obtaining module is further configured to obtain start-stop information according to an attribute identifier of each data field; wherein the start-stop information represents that the public account user is in a stop state or the public account user is in a start state; a processing module, configured to determine whether the public account user is a stop-restart user according to the start-stop information; and the processing module is further configured to push a stop-restart notification to the public account user to perform a reminding process when it is determined that the public account user is a stop-restart user.
[0013] In a third aspect, the present application provides a server, comprising: a processor and a memory connected with the processor in communication; the memory stores computer execution instructions; and the processor executes the computer execution instructions stored in the memory to realize the information processing method of the first aspect.
[0014] In a fourth aspect, the present application provides a computer readable storage medium, wherein the computer readable storage medium stores computer execution instructions, and the computer execution instructions are used for implementing the information processing method according to the first aspect when executed by a processor.
[0015] In a fifth aspect, the present application provides a computer program product, wherein the computer program product comprises a computer program, and the computer program is used for implementing the information processing method according to the first aspect when executed by a processor.
[0016] The information processing method, device, server, storage medium and program product provided by the present application obtain a user identifier of a public number user, obtain service data of the public number user according to the user identifier every preset time, perform field segmentation processing on the service data to obtain a plurality of data fields, obtain start-stop machine information according to an attribute identifier of each data field, wherein the start-stop machine information indicates that the public number user is in a stop state or that the public number user is in a start state, determine whether the public number user is a stop-start user according to the start-stop machine information, and push a stop-start notification to the public number user to perform reminding processing when it is determined that the public number user is a stop-start user. Compared with the prior art in which a user cannot know in time that a mobile phone service is stopped and started, the present application obtains service data of a public number user according to a user identifier of the public number user obtained, obtains start-stop machine information according to an attribute identifier of each data field of the service data, determines whether the public number user is a stop-start user according to the start-stop machine information, and pushes a stop-start notification when it is determined that the public number user is a stop-start user. In this way, the stop-start notification can be pushed to the public number user in time when the mobile phone of the public number user is stopped and started, so that the user can know in time that the mobile phone service has been restored, without passive waiting or repeated testing. The technical problem that the user cannot know in time that the mobile phone is stopped and started in the prior art is solved. BRIEF DESCRIPTION OF DRAWINGS
[0017] The accompanying drawings, which are incorporated herein and form part of the specification, illustrate embodiments consistent with the present application and, together with the description, further serve to explain the principles of the application.
[0018] Figure 1 A structural schematic diagram of an information processing system provided by an embodiment of the present application is shown in the figure.
[0019] Figure 2 A flowchart of an information processing method embodiment one provided by an embodiment of the present application is shown in the figure.
[0020] Figure 3 A flowchart of an information processing method embodiment two provided by an embodiment of the present application is shown in the figure.
[0021] Figure 4A flowchart of an information processing method embodiment three provided by the embodiment of the present application is shown in the figure;
[0022] Figure 5 A flowchart of an information processing method embodiment four provided by the embodiment of the present application is shown in the figure;
[0023] Figure 6 A flowchart of an information processing method embodiment five provided by the embodiment of the present application is shown in the figure;
[0024] Figure 7 A structural diagram of an information processing device embodiment provided by the embodiment of the present application is shown in the figure;
[0025] Figure 8 A structural diagram of a server embodiment provided by the embodiment of the present application is shown in the figure.
[0026] The above figures have shown the explicit embodiments of the present application, which will be described in more detail hereinafter. These figures and the written description are not intended to limit the scope of the present application concept in any way, but to illustrate the present application concept to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0027] The exemplary embodiments will be described in detail herein with reference to the accompanying drawings. Unless otherwise indicated, the same numbers on different drawings represent the same or similar elements. The following exemplary embodiments described are not meant to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the appended claims.
[0028] It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards, and provide corresponding operation portal for user to choose authorization or rejection.
[0029] Reopening of suspension refers to that after the mobile phone is suspended due to arrears, the mobile phone user pays off the arrears, and the operator resumes the normal opening of the mobile phone service of the user.
[0030] In the prior art, after the user recharges the mobile phone, the user often cannot know that the mobile phone service has been resumed in time, and can only passively wait, or frequently test whether the mobile phone has been resumed when the user urgently needs to use the mobile phone service, and the user experience is poor.
[0031] At present, there is an urgent need for a method capable of timely notifying the mobile phone user of the reopening of suspension.
[0032] The information processing method provided in the present application aims to solve the above technical problems of the prior art.
[0033] The specific application scenario of the present application is shown in Figure 1 . Figure 1 A structural schematic diagram of an information processing system provided by an embodiment of the present application is shown in the figure. The information processing system includes a public number service server 11, a big data message middleware 12 and an information processing server 13. The public number service server 11 and the big data message middleware 12 are respectively in communication connection with the information processing server 13. The big data message middleware 12 can be Kafka.
[0034] The information processing server 13 can obtain the user identifier of the public number user from the public number service server 11 and the big data message middleware 12. Exemplarily, the historical subscription data and the real-time subscription data can be obtained from the public number service server 11 and the big data message middleware 12 respectively, and the historical subscription data and the real-time subscription data are subjected to data analysis to obtain the user identifier of the public number user. The information processing server 13 can obtain the business data of the public number user according to the obtained user identifier every preset time, perform field segmentation processing on the business data to obtain a plurality of data fields, and obtain start-stop machine information according to the attribute identifier of each data field. The start-stop machine information represents that the public number user is in a stop state or that the public number user is in a start state.
[0035] The information processing server 13 can determine whether the public number user is a stop-restart user according to the start-stop machine information, and push a stop-restart notification to the public number user for reminding when it is determined that the public number user is a stop-restart user.
[0036] The technical solutions of the present application and how the technical solutions of the present application solve the above technical problems will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes can not be described in detail in some embodiments. The embodiments of the present application will be described below with reference to the accompanying drawings.
[0037] Figure 2 A flowchart of an information processing method embodiment one provided by an embodiment of the present application is shown in the figure. Referring to Figure 2 , the information processing method can be executed by an information processing server, and specifically includes the following steps:
[0038] Step S201: Obtain the user identifier of the public number user, and obtain the business data of the public number user according to the user identifier every preset time, perform field segmentation processing on the business data to obtain a plurality of data fields.
[0039] In the embodiment, the information processing server can obtain the user identifier of the public account user. Specifically, the public account user can be a user who subscribes to the service of pushing the notice of resuming the service after suspension on the public account. The user identifier can be the mobile phone number of the public account user.
[0040] In a possible implementation, the information processing server can obtain the historical subscription data and the real-time subscription data from the public account service server and the big data message middleware respectively, and perform data analysis on the historical subscription data and the real-time subscription data to obtain the user identifier of the public account user. The big data message middleware can be Kafka.
[0041] In the embodiment, the information processing server can obtain the service data of the public account user according to the user identifier at a preset time interval. Specifically, the information processing server can obtain the service data of the public account user from the big data message middleware according to the user identifier. The service data can be the B-domain resuming service after suspension user data source data. The preset time interval can be 1 second.
[0042] The information processing server can perform field segmentation processing on the service data to obtain a plurality of data fields. The service data is composed of a plurality of fields, and the fields are separated by the character '\ 001 \'. The service data can be segmented into a plurality of data fields based on the separation character.
[0043] Step S202: Obtain the start-stop information according to the attribute identifier of each data field.
[0044] The start-stop information indicates that the public account user is in the state of suspension or the state of resuming the service.
[0045] In the embodiment, each data field can have an attribute identifier, such as the attribute identifier "start-stop field", indicating that the data field is a start-stop field. Therefore, the information processing server can obtain the start-stop information according to the attribute identifier of each data field after performing field segmentation processing on the service data to obtain a plurality of data fields. For example, the start-stop information is obtained from the start-stop field. The start-stop information indicates that the public account user is in the state of suspension or the state of resuming the service.
[0046] Step S203: Determine whether the public account user is a resuming service after suspension user according to the start-stop information.
[0047] In this embodiment, the information processing server can determine whether the public account user is a stop-restart user according to the start-stop information. Illustratively, when it is determined that the obtained start-stop information is stop information, and the start-stop information obtained after the stop information is obtained is start information within a preset valid time, it is determined that the public account user is a stop-restart user. The preset valid time can be 7 days.
[0048] Step S204: When it is determined that the public account user is a stop-restart user, a stop-restart notification is pushed to the public account user for prompt processing.
[0049] In this embodiment, the information processing server can push a stop-restart notification to the public account user when it is determined that the public account user is a stop-restart user. Illustratively, the stop-restart notification can include the mobile phone number, user ID, home province, home city, stop-restart time, stop-restart channel, stop-restart reason, etc. of the public account user.
[0050] In this embodiment, the user identifier of the public account user is obtained, and every preset time, the service data of the public account user is obtained according to the user identifier, the service data is subjected to field segmentation processing to obtain a plurality of data fields, the start-stop information is obtained according to the attribute identifier of each data field, the start-stop information indicates that the public account user is in a stop state or the public account user is in a start state, whether the public account user is a stop-restart user is determined according to the start-stop information, and when it is determined that the public account user is a stop-restart user, a stop-restart notification is pushed to the public account user for prompt processing. Compared with the prior art in which the user cannot know the stop-restart of the mobile phone service in time, according to the user identifier of the public account user obtained in the present application, the service data of the public account user is obtained, the start-stop information is obtained according to the attribute identifier of each data field of the service data, whether the public account user is a stop-restart user is determined according to the start-stop information, and a stop-restart notification is pushed when it is determined that the public account user is a stop-restart user. In this way, when the mobile phone of the public account user is stopped and restarted, a stop-restart notification can be pushed to the public account user in time, so that the user can know that the mobile phone service has been restored in time without passive waiting or repeated testing. The technical problem that the user cannot know the stop-restart of the mobile phone in time in the prior art is solved.
[0051] Figure 3 A flowchart of an information processing method embodiment two provided by the present application is shown in FIG. 2. Referring to FIG. 2, the information processing method can be executed by an information processing server, and specifically includes the following steps: Figure 3
[0052] Step S301: Obtain historical subscription data and real-time subscription data from the public number service server and the big data message middleware respectively, and perform data analysis on the historical subscription data and the real-time subscription data to obtain a user identifier of a public number user.
[0053] In this embodiment, the information processing server can obtain historical subscription data from the public number service server. Specifically, the information processing server can obtain a hive table from the public number service server, and the historical subscription data is stored in the hive table. For example, the information processing server can obtain the historical subscription data from the public number service server every preset time.
[0054] In this embodiment, the information processing server can obtain a user identifier of a public number user from the historical subscription data. The public number user can be a user who subscribes to the downtime reopening notification push service on the public number. The user identifier can be a mobile phone number of the public number user. Specifically, the historical subscription data can be analyzed by using Flink SQL technology to obtain the user identifier of the public number user. Further, a PaimonDWD table can be generated according to the user identifier of the public number user obtained from the historical subscription data, and the historical subscription data is imported into the lake.
[0055] In this embodiment, the information processing server can obtain real-time subscription data from the big data message middleware. Specifically, the big data message middleware can be Kafka. The information processing server can read the subscription data pushed in real time from the upstream from the Kafka.
[0056] In this embodiment, the information processing server can obtain a user identifier of a public number user from the real-time subscription data. Specifically, the real-time subscription data can be analyzed by using Flink SQL technology to obtain the user identifier of the public number user. Further, the user identifier of the public number user obtained from the real-time subscription data can be written into an existing PaimonDWD table, and the real-time subscription data is imported into the lake.
[0057] In a possible implementation, the downtime reopening notification push of the public number user is implemented by using the combination of Flink and data lake technology.
[0058] Step S302: Obtain service data of the public number user according to the user identifier every preset time, and perform field segmentation processing on the service data to obtain a plurality of data fields.
[0059] In this embodiment, the information processing server can obtain service data of the public number user according to the user identifier every preset time. For example, the service data can be B-domain downtime reopening user data source data. The preset time can be 1s.
[0060] In a possible implementation, the information processing server can associate the B-domain stop-restart user data source data pushed by the big data message middleware Kafka and the subscription data in the Paimon DWD table through the user identifier through the DataStream API of Flink, to generate a real-time wide table at the user level.
[0061] The business data can be composed of multiple fields, and the information processing server can perform field segmentation processing on the business data to obtain multiple data fields. For example, the fields are separated by the character '\001\', and the information processing server can segment the business data into multiple data fields based on the separation character.
[0062] Step S303: Obtain the start-stop machine information according to the attribute identifier of each data field.
[0063] The start-stop machine information indicates that the public account user is in a stop state or that the public account user is in a start state.
[0064] In this embodiment, each data field can have an attribute identifier, such as an attribute identifier "start-stop machine field", indicating that the data field is a start-stop machine field. Therefore, the information processing server can obtain the start-stop machine information according to the attribute identifier of each data field after performing field segmentation processing on the business data to obtain multiple data fields. For example, the start-stop machine information is obtained from the start-stop machine field. The start-stop machine information indicates that the public account user is in a stop state or a start state.
[0065] Step S304: Determine that the public account user is a stop-restart user when it is determined that the obtained start-stop machine information is stop information, and the start-stop machine information obtained within a preset valid time after obtaining the stop information is start information.
[0066] The stop information indicates that the public account user is in a stop state, and the start information indicates that the public account user is in a start state.
[0067] In this embodiment, the information processing server can determine whether the public account user is a stop-restart user according to the start-stop machine information. Specifically, the public account user can be determined to be a stop-restart user when it is determined that the obtained start-stop machine information is stop information, and the start-stop machine information obtained within a preset valid time after obtaining the stop information is start information. For example, the preset valid time can be 7 days.
[0068] In a possible implementation, the information processing server can determine whether the public account user is a stop-restart user according to the label of the start-stop field of the business data. Specifically, the public account user can be determined to be a stop-restart user when it is determined that the label of the start-stop field of the business data is a stop label, and the label of the start-stop field of the new business data obtained within the valid time after the business data is obtained is a start label.
[0069] Step S305: When it is determined that the public account user is a stop-restart user, a stop-restart notification is pushed to the public account user for prompt processing.
[0070] In this embodiment, the information processing server can push a stop-restart notification to the public account user when it is determined that the public account user is a stop-restart user. For example, the information processing server can push the stop-restart notification to the public account user through the big data message middleware Kafka. The stop-restart notification can include the mobile phone number, user ID, home province, home city, stop-restart time, stop-restart channel, and stop-restart reason of the public account user.
[0071] In a possible implementation, the information processing server can also store the mobile phone number, user ID, home province, home city, stop-restart time, stop-restart channel, and stop-restart reason of the public account user in the Mysql database, so that the public account business server can perform business statistics according to the above information.
[0072] In this embodiment, the user identifier of the public account user can be comprehensively obtained by obtaining historical subscription data from the public account business server and obtaining real-time subscription data from the big data message middleware. Whether the public account user is a stop-restart user can be accurately determined according to the start-stop information within the valid time, and the stop-restart notification can be timely pushed to the public account user, thereby further solving the technical problem that the user cannot know the stop-restart of the mobile phone in time in the prior art.
[0073] Figure 4 A flowchart of an information processing method embodiment three provided by the embodiments of the present application is shown. Referring to FIG. 4, Figure 4 The information processing method can be executed by an information processing server, and after it is determined that the public account user is a stop-restart user, the information processing method can further include the following steps:
[0074] Step S401: Query the user identifier of the public account user in the database.
[0075] In this embodiment, after determining that the public account user is the stop-and-reopen user, the information processing server can query the user identifier of the public account user in the database. For example, the database can be a Redis (Remote Dictionary Server) database. The Redis database is a persistent database, and the Redis cluster mode can ensure high availability of data and good response time of query requests.
[0076] The user identifier of the stop-and-reopen user can be stored in the database. For example, in the Redis persistent database, data is stored in the form of key-value. The user identifier of the public account user can be stored in the database as a key. In a possible implementation, an expiration time can be set. When the storage time of the user identifier reaches the expiration time, the user identifier can be deleted from the database.
[0077] After determining that the public account user is the stop-and-reopen user, the user identifier of the public account user can be queried in the database to check the user identifier.
[0078] The step S204 or the step S305 specifically includes the following steps.
[0079] Step S402: When it is determined that the database does not store the user identifier of the public account user, the user identifier of the public account user is stored in the database, and a stop-and-reopen notification is pushed to the public account user.
[0080] In this embodiment, the information processing server can query the user identifier of the stop-and-reopen user in the database. When it is determined that the database does not store the user identifier, the user identifier is stored in the database, and a stop-and-reopen notification is pushed to the public account user.
[0081] For example, in the Redis persistent database, after determining that the public account user is the stop-and-reopen user, the information processing server can query the user identifier of the public account user in the Redis database. If the query result is empty, that is, the database does not store the user identifier, the user identifier is stored in the database as a key, and a stop-and-reopen notification is pushed to the public account user. If the query result is not empty, it means that there is a repeated delivery situation, and a stop-and-reopen notification does not need to be pushed to the public account user.
[0082] In the embodiment, after determining that the public account user is a suspension reopening user, the user identifier of the public account user is queried in the database, and when it is determined that the user identifier does not exist in the database, the user identifier is stored and a suspension reopening notification is pushed. In this way, the user identifier can be checked for duplication before the suspension reopening notification is pushed, so as to avoid repeated pushing, effectively improve the efficiency of notification pushing, and improve the user experience. Further, the technical problem that users cannot know the suspension reopening of the mobile phone in real time in the prior art is solved.
[0083] Figure 5 A flowchart of an information processing method embodiment four provided by the embodiment of the application is shown in FIG. 4. Referring to FIG. 4, the information processing method can be executed by an information processing server. After determining that the public account user is a suspension reopening user, the information processing method can further include the following steps: Figure 5
[0084] Step S501: Obtain the home information and suspension reopening information of the public account user according to the user identifier.
[0085] In the embodiment, after determining that the public account user is a suspension reopening user, the information processing server can obtain the home information and suspension reopening information of the public account user according to the user identifier.
[0086] Specifically, the home information and suspension reopening information of the public account user can be queried in the database according to the user identifier, and compared with the home information and suspension reopening information of the public account user in the previously obtained business data. If the relevant information in the business data is missing, the information in the database is used to fill in the missing information. If the relevant information in the business data is inconsistent with the relevant information in the database, the relevant information in the database is used to overwrite the relevant information in the business data. For example, the home information of the public account user can include home province information and home city information, and the suspension reopening information can include suspension reopening time, suspension reopening channel, suspension reopening reason, and the like.
[0087] In a possible implementation, a user-level real-time wide table can be associated with a Hudi table. The Hudi table can store user labels, names, genders, ages, home province and city information, locations, and the like. The home city field, the home province field, and the user ID field corresponding to the suspension reopening user missing in the real-time wide table can be queried and filled in. If the above fields are inconsistent, the above fields are overwritten to ensure that the data of the above fields is completely used from the corresponding data in the Hudi table.
[0088] The above step S204 or step S305 specifically includes the following steps:
[0089] Step S502: generating a suspension resumption notification according to the home information and the suspension resumption information of the public account user, and pushing the suspension resumption notification to the public account user.
[0090] In this embodiment, after obtaining the home information and the suspension resumption information of the public account user, the suspension resumption notification can be generated according to the home information and the suspension resumption information, and the suspension resumption notification can be pushed to the public account user. For example, the suspension resumption notification can include the mobile phone number, the user ID, the home province, the home city, the suspension resumption time, the suspension resumption channel, the suspension resumption reason, and the like of the public account user.
[0091] In this embodiment, after determining that the public account user is a suspension resumption user, the home information and the suspension resumption information of the public account user are obtained, the suspension resumption notification is generated and pushed. In this way, the home information and the suspension resumption information of the suspension resumption user can be carried in the suspension resumption notification, so that the user can obtain more detailed information and the user experience is improved. Further, the technical problem that the user cannot obtain the suspension resumption information of the mobile phone in real time is solved.
[0092] Figure 6 A flowchart of an information processing method embodiment five provided by the present application is shown in FIG. 5. Referring to FIG. 5, the information processing method can be executed by an information processing server. Before determining whether the public account user is a suspension resumption user according to the start and stop information, the information processing method can further include the following steps: Figure 6
[0093] Step S601: obtaining a white list.
[0094] The white list includes the user identifier of the public account user who does not need to be pushed the suspension resumption notification.
[0095] In this embodiment, before determining whether the public account user is a suspension resumption user according to the start and stop information, the white list can be obtained, and the white list includes the user identifier of the public account user who does not need to be pushed the suspension resumption notification. For example, the white list data can be dynamically and real-timely read from the Mysql by using the FlinkCDC technology.
[0096] The white list can be configured in the Mysql. The Mysql table structure can include an auto-increment id, a reserved field, a mobile phone number, a reason, whether to set into effect, a description, and a data storage time. The white list can be created by the information processing server and modified by the public account business server.
[0097] Step S602: querying the user identifier of the public account user in the white list.
[0098] Step S603: When it is determined that the user identifier of the public account user does not exist in the white list, it is determined according to the start-stop machine information whether the public account user is a stop machine reopening user.
[0099] In the embodiment, since it is not necessary to push the stop machine reopening notification for the public account user corresponding to the user identifier in the white list, the user identifier of the public account user is queried in the white list, and when it is determined that the user identifier of the public account user does not exist in the white list, it is determined according to the start-stop machine information whether the public account user is a stop machine reopening user. If the user identifier of the public account user exists in the white list, it is not necessary to determine whether the public account user is a stop machine reopening user.
[0100] In the embodiment, before it is determined whether the public account user is a stop machine reopening user, the user identifier of the public account user is queried in the white list, and when it is determined that the user identifier does not exist in the white list, it is determined whether the public account user is a stop machine reopening user. In this way, the public account user who does not need to push the stop machine reopening notification can be filtered out before it is determined whether the stop machine reopening user, the efficiency of the notification pushing is effectively improved, and the user experience is improved. The technical problem that the user cannot know the mobile phone stop machine reopening in real time in the prior art is further solved.
[0101] Figure 7 A structure schematic diagram of an information processing device embodiment provided by the embodiment is shown in FIG. 7. Figure 7 As shown in FIG. 7, the information processing device 70 includes an acquisition module 71 and a processing module 72. The acquisition module 71 is configured to acquire a user identifier of a public account user, acquire service data of the public account user according to the user identifier every preset time, perform field segmentation processing on the service data, and obtain a plurality of data fields. The acquisition module 71 is further configured to acquire start-stop machine information according to an attribute identifier of each data field. The start-stop machine information indicates that the public account user is in a stop machine state or the public account user is in a start machine state. The processing module 72 is configured to determine whether the public account user is a stop machine reopening user according to the start-stop machine information. The processing module 72 is further configured to push a stop machine reopening notification to the public account user to perform a reminding process when it is determined that the public account user is a stop machine reopening user.
[0102] The information processing device provided by the embodiment can execute the technical solutions shown in the method embodiments, and the implementation principles and beneficial effects are similar, which will not be described here.
[0103] In a possible implementation, the processing module 72 is specifically configured to determine that the public account user is a stoppage restart user when it is determined that the obtained start-stop machine information is stoppage information, and when the start-stop machine information obtained after the stoppage information is obtained is start-up information within a preset valid time; the stoppage information indicates that the public account user is in a stoppage state; and the start-up information indicates that the public account user is in a start-up state.
[0104] In a possible implementation, the obtaining module 71 is specifically configured to obtain historical subscription data and real-time subscription data from a public account service server and a big data message middleware respectively, and perform data analysis on the historical subscription data and the real-time subscription data to obtain a user identifier of a public account user.
[0105] The information processing apparatus provided in the embodiments of the present application can execute the technical solutions shown in the method embodiments, and the implementation principles and beneficial effects are similar, and will not be repeated here.
[0106] In a possible implementation, the processing module 72 is further configured to query the user identifier of the public account user in a database after determining that the public account user is a stoppage restart user; and the processing module 72 is specifically configured to store the user identifier of the public account user in the database when it is determined that the user identifier of the public account user does not exist in the database, and push a stoppage restart notification to the public account user.
[0107] The information processing apparatus provided in the embodiments of the present application can execute the technical solutions shown in the method embodiments, and the implementation principles and beneficial effects are similar, and will not be repeated here.
[0108] In a possible implementation, the obtaining module 71 is further configured to obtain, after determining that the public account user is a stoppage restart user, the place of origin information and the stoppage restart information of the public account user according to the user identifier; and the processing module 72 is specifically configured to generate a stoppage restart notification according to the place of origin information and the stoppage restart information of the public account user, and push the stoppage restart notification to the public account user.
[0109] The information processing apparatus provided in the embodiments of the present application can execute the technical solutions shown in the method embodiments, and the implementation principles and beneficial effects are similar, and will not be repeated here.
[0110] In one possible implementation, the acquisition module 71 is further configured to acquire a whitelist before determining whether the public account user is a user who has been suspended and then resumed based on the start / stop information. The whitelist includes user identifiers of public account users who do not need to receive a notification of suspension and resumption. The processing module 52 is specifically configured to query the user identifier of the public account user in the whitelist. If it is determined that the user identifier of the public account user does not exist in the whitelist, the processing module 52 determines whether the public account user is a user who has been suspended and then resumed based on the start / stop information.
[0111] The information processing apparatus provided in this application embodiment can execute the technical solutions shown in the above method embodiments. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0112] Figure 8 This is a schematic diagram of a server embodiment provided in this application. Figure 8 As shown, the server 80 includes: a processor 81, a memory 82 communicatively connected to the processor 81, and a communication interface 83; wherein, the memory 82 stores computer execution instructions; the processor 81 executes the computer execution instructions stored in the memory 82 to implement the technical solutions in any of the foregoing method embodiments.
[0113] Optionally, the memory 82 can be either standalone or integrated with the processor 81.
[0114] Optionally, when the memory 82 is a device independent of the processor 81, the server 80 may further include a bus 84 for connecting the aforementioned devices.
[0115] The server is used to execute the technical solutions in any of the aforementioned method embodiments. Its implementation principle and technical effect are similar, and will not be described again here.
[0116] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the technical solutions in any of the foregoing method embodiments.
[0117] This application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the technical solutions in any of the foregoing method embodiments.
[0118] It should be noted that, for the foregoing method embodiments, the sequences of the described actions are merely illustrative, and the present application is not limited to the sequences of the described actions. In some embodiments, the sequences of the described actions can be changed or reordered. In some embodiments, some of the actions can be performed simultaneously. In some embodiments, some of the actions can be omitted, or other actions can be added.
[0119] It should be noted that, in the flowcharts disclosed in the present application, each step is shown in sequence according to the direction of the arrow, but these steps are not necessarily executed in the order of the arrow direction. Unless otherwise specified in the present application, the execution of these steps is not limited in strict order, and these steps can be executed in other orders. Moreover, at least some of the steps in the flowcharts can include multiple sub-steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily sequential, but can be performed in rotation or alternation with other steps or sub-steps or stages of other steps.
[0120] It should be understood that the above-described device embodiments are only illustrative, and the device of the present application can also be implemented in other ways. For example, the division of units / modules in the above-described embodiments is only a logical functional division, and actual implementation can have another division manner. For example, multiple units / modules or components can be combined, or can be integrated into another system, or some features can be omitted or not executed.
[0121] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present application can be integrated in one unit / module, or each unit / module can exist physically, or two or more units / modules can be integrated together. The integrated unit / module can be realized in the form of hardware or in the form of a software program module.
[0122] If the integrated units / modules are implemented in the form of hardware, the hardware can be a digital circuit, an analog circuit, etc. The physical implementation of the hardware structure includes, but is not limited to, transistors, memristors, etc. Unless otherwise specified, the processor can be any appropriate hardware processor, such as a CPU, a GPU, an FPGA, a DSP, an ASIC, etc. Unless otherwise specified, the storage unit can be any appropriate magnetic storage medium or magneto-optical storage medium, such as resistive random access memory (RRAM), dynamic random access memory (DRAM), static random access memory (SRAM), enhanced dynamic random access memory (EDRAM), high-bandwidth memory (HBM), hybrid memory cube (HMC), etc.
[0123] If the integrated units / modules are implemented in the form of software program modules and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application or the essential part or all or part of the technical solutions that make contributions to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server or a network device, etc.) to execute all or part of the steps of the embodiments of the present application. The aforementioned storage medium includes a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store program codes.
[0124] In the above embodiments, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the related description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above embodiments are described, but as long as the combination of the technical features does not exist contradictory, it should be considered as the scope of the present application
[0125] Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. It is intended that the specification and examples be considered as exemplary only, with the true scope and spirit of the application being indicated by the following claims.
[0126] It is to be understood that the application is not limited to the precise construction herein disclosed and shown in the drawings, and that various modifications and changes can be made by those skilled in the art without departing from the scope of the application. The scope of the application is limited only by the claims that follow.
Claims
1. An information processing method, characterized in that, include: Obtain the user identifier of the official account user, and at preset time intervals, obtain the business data of the official account user based on the user identifier, and perform field segmentation processing on the business data to obtain multiple data fields; Based on the attribute identifier of each of the data fields, start / stop information is obtained; wherein, the start / stop information indicates that the official account user is in a stopped state or the official account user is in a powered-on state; Based on the start / stop information, determine whether the official account user is a user who has had their service suspended and then resumed. When it is determined that the user of the official account is a user whose service has been suspended and then resumed, a notification to the user of the official account is pushed to remind them. Determining whether the public account user is a user who has had their service suspended and then resumed based on the aforementioned start / stop information includes: If the obtained start / stop information is determined to be stop information, and if the obtained start / stop information is determined to be start information within a preset effective time after obtaining the stop information, the official account user is determined to be a user who has stopped and restarted. The shutdown information indicates that the official account user is in a shutdown state; the power-on information indicates that the official account user is in a power-on state.
2. The information processing method according to claim 1, characterized in that, Obtain the user identifier of the official account user, including: Historical subscription data and real-time subscription data are obtained from the official account business server and the big data message middleware, respectively. The historical subscription data and real-time subscription data are then parsed to obtain the user identifier of the official account user.
3. The information processing method according to any one of claims 1 to 2, characterized in that, After determining that the public account user is a user who has resumed service after a suspension, the method further includes: Query the database for the user identifier of the aforementioned public account user; Send a notification to the WeChat Official Account users about service resumption after shutdown, including: If it is determined that the user identifier of the official account user does not exist in the database, the user identifier of the official account user is stored in the database, and a notification to the official account user is sent to indicate whether the account has been shut down and whether it has been restarted.
4. The information processing method according to any one of claims 1 to 2, characterized in that, After determining that the public account user is a user who has resumed service after a suspension, the method further includes: Based on the user identifier, obtain the location information and service suspension / reactivation information of the official account user; Send a notification to the WeChat Official Account users about service resumption after shutdown, including: A service suspension and resumption notification is generated based on the location information and service suspension and resumption information of the official account user, and the service suspension and resumption notification is pushed to the official account user.
5. The information processing method according to any one of claims 1 to 2, characterized in that, Before determining whether the public account user is a user who has resumed service after a suspension based on the start / stop information, the method further includes: Obtain a whitelist, which includes user identifiers of public account users who do not require push notifications for service interruption and resumption. Determining whether the public account user is a user who has had their service suspended and then resumed based on the aforementioned start / stop information includes: Search the whitelist for the user identifier of the official account user; If it is determined that the user identifier of the official account user does not exist in the whitelist, the system determines whether the official account user is a user who has been suspended and then restarted based on the start / stop information.
6. An information processing device, characterized in that, include: The acquisition module is used to acquire the user identifier of the official account user, and at preset time intervals, acquire the business data of the official account user based on the user identifier, and perform field segmentation processing on the business data to obtain multiple data fields; The acquisition module is further configured to acquire start / stop information based on the attribute identifier of each data field; wherein the start / stop information indicates that the public account user is in a stopped state or the public account user is in a powered-on state. The processing module is used to determine whether the public account user is a user who has resumed service after a shutdown based on the startup and shutdown information. The processing module is also used to push a shutdown and restart notification to the official account user when it is determined that the user is a user who has restarted after a shutdown, so as to provide a reminder. The processing module is specifically used for: If the obtained start / stop information is determined to be stop information, and if the obtained start / stop information is determined to be start information within a preset effective time after obtaining the stop information, the official account user is determined to be a user who has stopped and restarted. The shutdown information indicates that the official account user is in a shutdown state; the power-on information indicates that the official account user is in a power-on state.
7. A server, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the information processing method as described in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the information processing method as described in any one of claims 1 to 5.
9. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the information processing method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
System and method for remote monitoring of biomass boiler based on Wechat and cloud application
CN107036066A
A WeChat official account-based user electricity consumption information query system and an application method thereof
CN109598640A