CN114124681B - Binding information sending method and device, storage medium and electronic device - Google Patents

Binding information sending method and device, storage medium and electronic device Download PDF

Info

Publication number
CN114124681B
CN114124681B CN202111266924.2A CN202111266924A CN114124681B CN 114124681 B CN114124681 B CN 114124681B CN 202111266924 A CN202111266924 A CN 202111266924A CN 114124681 B CN114124681 B CN 114124681B
Authority
CN
China
Prior art keywords
binding
log
target
account
recorded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111266924.2A
Other languages
Chinese (zh)
Other versions
CN114124681A (en
Inventor
徐军锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202111266924.2A priority Critical patent/CN114124681B/en
Publication of CN114124681A publication Critical patent/CN114124681A/en
Application granted granted Critical
Publication of CN114124681B publication Critical patent/CN114124681B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • H04L41/065Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis involving logical or physical relationship, e.g. grouping and hierarchies

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method and a device for sending binding information, a storage medium and an electronic device, wherein the method comprises the following steps: obtaining a recorded binding result of a binding process from an initial log set as a log of binding failure to obtain a target log set, wherein the initial log set is used for recording logs generated in the binding process of binding equipment to binding equipment; acquiring an operation account set corresponding to the target log set, wherein the operation account set is used for recording an account for executing a target binding process recorded by a log in the target log set; and sending target binding information to the mobile terminal corresponding to the account recorded by the operation account set, wherein the target binding information is used for indicating a user using the account recorded by the operation account set to complete a target binding process. By adopting the technical scheme, the problems of low success rate of equipment binding and the like in the related technology are solved.

Description

Binding information sending method and device, storage medium and electronic device
Technical Field
The present invention relates to the field of computers, and in particular, to a method and apparatus for sending binding information, a storage medium, and an electronic apparatus.
Background
With the development of society and the improvement of material conditions, various intelligent devices appear in the life process of providing high quality for people, and the control and the operation of people are facilitated. The premise of such control and operation is that the binding of the device is successful, and the device can be controlled and operated only if the binding is successful. Because the binding process of the device is complex and the test process is repeated continuously, binding failure occurs in the binding process, and the reasons for the binding failure are various, so that the user cannot complete the binding of the device smoothly.
Aiming at the problems of low success rate of equipment binding and the like in the related technology, no effective solution is proposed yet.
Disclosure of Invention
The embodiment of the invention provides a method and a device for sending binding information, a storage medium and an electronic device, which are used for at least solving the problems of low success rate of equipment binding and the like in the related technology.
According to an embodiment of the present invention, there is provided a method for transmitting binding information, including: obtaining a recorded binding result of a binding process from an initial log set as a log of binding failure to obtain a target log set, wherein the initial log set is used for recording a log generated in the binding process of a bound device to the binding device; acquiring an operation account set corresponding to the target log set, wherein the operation account set is used for recording accounts for executing a target binding process recorded by a log in the target log set; and sending target binding information to the mobile terminal corresponding to the account recorded by the operation account set, wherein the target binding information is used for indicating a user using the account recorded by the operation account set to complete the target binding process.
In an exemplary embodiment, obtaining the log that the binding result of the recorded binding process is binding failure from the initial log set, to obtain a target log set includes: acquiring a log with a binding result of the recorded binding process as a binding failure from the initial log set as a candidate log; obtaining a target log with the corresponding failure reason as a target failure reason from the candidate log; and recording the target log into the target log set.
In an exemplary embodiment, obtaining a target log from the candidate log, where the corresponding failure cause is a target failure cause, includes: determining the target failure reason as a network reason and an information reason, wherein the network reason is used for indicating that the binding process fails due to network connection, and the information reason is used for indicating that the binding process fails due to information input error; and acquiring the corresponding log of the failure source due to the network reason from the candidate log as the target log, and acquiring the corresponding log of the failure source due to the information reason from the candidate log as the target log.
In an exemplary embodiment, obtaining the operation account set corresponding to the target log set includes: clustering the logs recorded by the target log set according to the operation account to obtain the operation account and the log with the corresponding relation; clustering the logs corresponding to each operation account according to the bound equipment to obtain the operation accounts and the bound equipment with corresponding relations; and extracting failure data from the log corresponding to each bound device to obtain an operation account with a corresponding relation, wherein the bound device and the failure data are used as the operation account set.
In an exemplary embodiment, extracting failure data from a log corresponding to each bound device to obtain an operation account with a corresponding relationship, where the bound device and the failure data are used as the operation account set, and includes: extracting failure reasons and retry times from logs corresponding to each bound device as the failure data; removing data with the corresponding retry times greater than a time threshold value from the operation account with the corresponding relation and the bound equipment to obtain target data; recording the failure reason and the retry times into the target data to obtain an operation account with a corresponding relation, wherein the bound equipment and the failure data are used as the operation account set.
In an exemplary embodiment, sending the target binding information to the mobile terminal corresponding to the account recorded in the operation account set includes: acquiring a binding information template and acquiring a mobile terminal communication identifier corresponding to an account recorded by the operation account set from accounts and mobile terminal communication identifiers with corresponding relations; the operation account number with corresponding relation is recorded in the operation account number set, and the bound equipment and the failure data are added to the corresponding position in the binding information template to obtain the target binding information; and sending the target binding information to the mobile terminal communication identifier corresponding to the account recorded by the operation account set.
In an exemplary embodiment, after sending the target binding information to the mobile terminal corresponding to the account recorded in the operation account set, the method further includes: under the condition that the confirmation operation executed on the target binding information is detected, jumping to a binding page corresponding to the target binding process; and displaying binding prompt information on the binding page, wherein the binding prompt information is used for prompting the completion of the operation of the target binding process.
According to another embodiment of the present invention, there is also provided a device for transmitting binding information, including: the first acquisition module is used for acquiring a log with a binding failure as a binding result of the recorded binding process from an initial log set to obtain a target log set, wherein the initial log set is used for recording a log generated in the binding process of the bound equipment to the binding equipment;
the second acquisition module is used for acquiring an operation account set corresponding to the target log set, wherein the operation account set is used for recording and executing an account of a target binding process recorded by a log in the target log set;
And the sending module is used for sending target binding information to the mobile terminal corresponding to the account recorded by the operation account set, wherein the target binding information is used for indicating the user using the account recorded by the operation account set to complete the target binding process.
According to still another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium having a computer program stored therein, wherein the computer program is configured to perform the above-described binding information transmission method when run.
According to still another aspect of the embodiments of the present invention, there is further provided an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the above-mentioned method for sending binding information through the computer program.
In the embodiment of the invention, a recorded binding result of a binding process is obtained from an initial log set to be a log of binding failure, so as to obtain a target log set, wherein the initial log set is used for recording a log generated in the binding process of binding equipment to binding equipment; acquiring an operation account set corresponding to the target log set, wherein the operation account set is used for recording an account for executing a target binding process recorded by a log in the target log set; the method comprises the steps of sending target binding information to a mobile terminal corresponding to an account recorded by an operation account set, wherein the target binding information is used for indicating a user using the account recorded by the operation account set to finish a target binding process, namely, obtaining a target log set by obtaining a log with a binding result of the recorded binding process as a binding failure from a recorded initial log set, obtaining the corresponding account for executing the target binding process for the log in the target log set, obtaining the operation account set, and indicating the user using the account recorded by the operation account set to finish the target binding process by sending a target binding message to the mobile terminal corresponding to the account recorded by the binding account set, thereby improving the success rate of equipment binding. By adopting the technical scheme, the problems of low success rate of equipment binding and the like in the related technology are solved, and the technical effect of improving the success rate of equipment binding is realized.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
fig. 1 is a hardware block diagram of a computer terminal of a binding information transmitting method according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method of transmitting binding information according to an embodiment of the present invention;
FIG. 3 is a diagram of operation account set record data of a method for transmitting binding information according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a method of transmitting binding information according to an embodiment of the present invention;
Fig. 5 is a block diagram of a structure of a binding information transmitting apparatus according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The method embodiments provided by the embodiments of the present invention may be performed in a computer terminal, or a similar computing device. Taking the operation on a computer terminal as an example, fig. 1 is a block diagram of a hardware structure of a computer terminal according to a method for transmitting binding information according to an embodiment of the present invention. As shown in fig. 1, the computer terminal may include one or more (only one is shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 104 for storing data, and in one exemplary embodiment, may also include a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those skilled in the art that the configuration shown in fig. 1 is merely illustrative and is not intended to limit the configuration of the computer terminal described above. For example, a computer terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than the equivalent functions shown in FIG. 1 or more than the functions shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to a method for transmitting binding information in an embodiment of the present invention, and the processor 102 executes the computer program stored in the memory 104 to perform various functional applications and data processing, that is, to implement the above-mentioned method. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located relative to the processor 102, which may be connected to the computer terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of a computer terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, simply referred to as a NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is configured to communicate with the internet wirelessly.
In this embodiment, a method for sending binding information is provided and applied to the computer terminal, and fig. 2 is a flowchart of a method for sending binding information according to an embodiment of the present invention, where the flowchart includes the following steps:
Step S202, obtaining a recorded binding result of a binding process from an initial log set as a log of binding failure to obtain a target log set, wherein the initial log set is used for recording a log generated in the binding process of binding equipment to binding equipment;
Step S204, an operation account set corresponding to the target log set is obtained, wherein the operation account set is used for recording and executing an account of a target binding process recorded by a log in the target log set;
Step S206, sending target binding information to the mobile terminal corresponding to the account recorded by the operation account set, wherein the target binding information is used for indicating the user using the account recorded by the operation account set to complete the target binding process.
Through the steps, the target log set is obtained from the recorded initial log set, the log with the binding result of the binding process being binding failure is obtained, the corresponding account for executing the target binding process is obtained for the log in the target log set, the operation account set is obtained, and the user using the account recorded in the operation account set is indicated to complete the target binding process by sending the target binding message to the mobile terminal corresponding to the account recorded in the binding account set, so that the success rate of equipment binding is improved. By adopting the technical scheme, the problems of low success rate of equipment binding and the like in the related technology are solved, and the technical effect of improving the success rate of equipment binding is realized.
In the technical scheme provided in step S202, during the binding process of the bound device to the binding device, corresponding logs are generated, and are recorded into an initial log set, and then a required log is obtained from the initial log set. The data recorded in the log may have a binding result, but is not limited to, so that the binding result may be obtained from the initial log set based on the binding result recorded in the log as a judgment basis, and the binding result is a log of binding failure.
Alternatively, in this embodiment, the bound device may be, but not limited to, a smart home appliance, a sports device, or the like, such as: television, refrigerator, treadmill, body fat scale, etc. The binding device may be, but is not limited to, a cloud platform, or any other type of device that allows binding, etc.
In one exemplary embodiment, the target log set may be obtained, but is not limited to, by obtaining a log of binding failure as a binding result of the recorded binding procedure from the initial log set by: acquiring a log with a binding result of the recorded binding process as a binding failure from the initial log set as a candidate log; obtaining a target log with the corresponding failure reason as a target failure reason from the candidate log; and recording the target log into the target log set.
Optionally, in this embodiment, the binding failure log may be, but not limited to, recorded with the binding failure cause, first, the binding failure log is screened out according to the condition of the binding result, and is used as a candidate log, then, the log corresponding to the target failure cause is screened out from the candidate log according to the condition of the failure cause, and is used as a target log, and finally, the target log is recorded in the target log set.
Alternatively, in the present embodiment, the foregoing failure causes may include, but are not limited to: network reasons (such as failures due to unstable network connection signals), information reasons (such as failures due to information filling errors), version reasons (such as binding failures due to too low version), hardware reasons (such as binding failures due to device failure), and the like.
Through the above process, the corresponding binding information can be sent for some or some specific target failure reasons, so that the flexibility of sending the binding information is improved.
In one exemplary embodiment, the target log may be obtained from the candidate log by, but is not limited to, the following: determining the target failure reason as a network reason and an information reason, wherein the network reason is used for indicating that the binding process fails due to network connection, and the information reason is used for indicating that the binding process fails due to information input error; and acquiring the corresponding log of the failure source due to the network reason from the candidate log as the target log, and acquiring the corresponding log of the failure source due to the information reason from the candidate log as the target log.
Optionally, in this embodiment, the user performs the binding process by operating the account, so that the user can complete the binding process, and in determining the cause of the target failure, the binding process may be determined by, but not limited to, the following ways: and determining a target failure reason according to the operation difficulty of the user, taking the network reason and the information reason as the target failure reason according to the reason which is easy to solve by the user, searching for a log which accords with the requirement, and taking the found log which accords with the requirement as a target log.
Alternatively, in the present embodiment, the above-mentioned network reason refers to failure of the binding process due to network connection, and the above-mentioned network reason may be, but is not limited to, that the bound device is not connected to the network, that the network connection signal of the bound device connection is unstable, and the like.
Alternatively, in the present embodiment, the information cause described above means that the binding process fails due to an information input error. The information can be, but is not limited to, account and password information of an input account, name information of binding equipment or address information of the binding equipment, etc., for example, when the smart television is bound to the cloud platform, when the smart television logs in the account information, the input account or password, etc. information is wrong; and inputting address information of the cloud platform or name information of the cloud platform when searching the cloud platform on an interface of the smart television binding cloud platform.
In the technical solution provided in the step S204, the target binding process is a binding process that a binding result of the bound device to the binding device is a binding failure, in the binding process, the bound device will first log in an operation account, the account is used for marking an operation user corresponding to the execution of the binding process, the binding process generates a corresponding log, an operation account corresponding to the execution of the binding process is recorded in the log, and an operation account set corresponding to the target log set is obtained by obtaining the operation account corresponding to the log in the target log set.
Optionally, in this embodiment, the operation account is recorded in the operation account set, and the operation account set may also but is not limited to recording: the mobile phone number or mailbox corresponding to the operation account, the binding result, the bound equipment, the binding time for executing the binding, the failure data corresponding to the binding failure, and the like. The operation account may be, but is not limited to, a mobile phone number, a mailbox, a user name, etc.
In one exemplary embodiment, the set of operation accounts corresponding to the target log set may be obtained, but is not limited to, by: clustering the logs recorded by the target log set according to the operation account to obtain the operation account and the log with the corresponding relation; clustering the logs corresponding to each operation account according to the bound equipment to obtain the operation accounts and the bound equipment with corresponding relations; and extracting failure data from the log corresponding to each bound device to obtain an operation account with a corresponding relation, wherein the bound device and the failure data are used as the operation account set.
Optionally, in this embodiment, since one operation account may correspond to a plurality of logs, the above process of clustering the logs recorded by the target log set according to the operation account may be implemented, but is not limited to, by the following ways: firstly, an operation account recorded in a log is obtained, then, target logs are clustered according to the operation account, and target logs corresponding to the same operation account are aggregated, so that the operation account and the log with the corresponding relation are obtained. For example, there are 8 logs in the target log set, where the operation accounts corresponding to the log 1, the log 4 and the log 7 are the account a, the operation accounts corresponding to the log 2 and the log 5 are the account B, the operation accounts corresponding to the log 3 are the account C, the operation accounts corresponding to the log 6 and the log 8 are the account D, the log 1, the log 4 and the log 7 corresponding to the account a are aggregated to obtain the operation accounts and the log with the corresponding relationship, the account a corresponds to the log 1, the log 4 and the log 7, the account B corresponds to the log 2 and the log 5 are aggregated to obtain the log 2 and the log 5 corresponding to the operation account B with the corresponding relationship, and the operation accounts C and the log 3 with the corresponding relationship are obtained to obtain the log 6 and the log 8 corresponding to the operation account D with the corresponding relationship.
Alternatively, in this embodiment, since one operation account may correspond to a plurality of bound devices, the above process of clustering logs corresponding to each operation account according to the bound devices may be implemented, but not limited to, by the following ways: the method comprises the steps of finding out a bound device corresponding to a log from an operation account and the log which have a corresponding relation, classifying the log corresponding to the operation account according to the bound device, and aggregating the logs corresponding to the same bound device to obtain the operation account and the bound device which have the corresponding relation. For example, the bound device has a refrigerator, an air conditioner 1, an air conditioner 2 and a camera, the operation account is an account A, an account B, 5 logs are in a log set corresponding to the account A, one log is in a log set corresponding to the account B, the log 1 and the log 3 corresponding to the account A are all logs with binding failure according to the binding result of the refrigerator, the log 2 and the log 5 are all logs with binding failure according to the binding result of the camera, the log 4 is a log with binding failure according to the binding result of the air conditioner 2, the log 1 and the log 3 corresponding to the refrigerator are aggregated to obtain the operation account with the corresponding relationship and the bound device, the bound device corresponding to the account A is the refrigerator, the air conditioner 2 and the camera, and the logs corresponding to the refrigerator are the log 1, the log 3 and the air conditioner. The log 6 corresponding to the account B is a log of which the binding result corresponding to the air conditioner 1 is a binding failure, and the logs are clustered to obtain an operation account and a bound device with a corresponding relation, wherein the bound device corresponding to the account B is the air conditioner 1, and the log 6 corresponding to the air conditioner 1.
Optionally, in this embodiment, since the log generated during the binding process of the bound device to the bound device may, but is not limited to, record the failure data corresponding to the binding failure, the recorded failure data corresponding to the bound device is extracted from the log in the log set corresponding to the bound device, and the failure data is recorded corresponding to the bound device, that is, the failure data and the operation account are recorded corresponding to each other.
Optionally, in this embodiment, the information recorded in the operation account set may include, but is not limited to: an operation account, different bound devices corresponding to the operation account, and failure data of binding failures corresponding to the different bound devices.
In one exemplary embodiment, the failure data may be extracted from the log corresponding to each bound device by, but not limited to, the following way to obtain the operation account number with the corresponding relationship, where the bound device and the failure data are used as the operation account number set: extracting failure reasons and retry times from logs corresponding to each bound device as the failure data; removing data with the corresponding retry times greater than a time threshold value from the operation account with the corresponding relation and the bound equipment to obtain target data; recording the failure reason and the retry times into the target data to obtain an operation account with a corresponding relation, wherein the bound equipment and the failure data are used as the operation account set.
Alternatively, in the present embodiment, the foregoing failure data may include, but is not limited to: the method comprises the steps of screening failure data according to the retry times, eliminating the failure data with the retry times larger than a certain time threshold, and obtaining the remaining failure data with the retry times smaller than or equal to the certain time threshold, wherein the failure data is target data. For example, the failed data with the retry number greater than 2 times is removed, and the failed data with the retry number greater than 2 times is used for indicating that the user has retried 3 times or more, and even if the user retries again, the binding is difficult to succeed.
In the technical solution provided in step S206, the target binding information is used to instruct the user using the account recorded by the operation account set to complete the target binding process, that is, the user corresponding to the account that fails to bind may complete binding of the bound device to the binding device according to the target binding message prompt.
Alternatively, in this embodiment, the mobile terminal corresponding to the binding account may be, but not limited to: cell phones, computers, etc. Sending target binding information to the mobile terminal, wherein the target binding information can be recorded in a corresponding operation account set, and can be acquired by the following modes: the information sending center integrates information in the storage platform pulling operation account set storing the target binding information into the target binding information, or the storage platform storing the target binding information sends the operation account set information to the information sending platform at regular time.
Alternatively, in the present embodiment, the above-described method for transmitting binding information may be, but is not limited to, the following form: a short message form, a mail form, or an instant messaging form, etc. The above-described set of operating accounts may be stored, but is not limited to, by: kafka platform storage, and the like. For example, the target binding information is sent in a short message mode, the operation account set is stored in the kafka platform as an example, the short message sending platform obtains information in the operation account set through the kafka platform, then the obtained information in the operation account set is integrated into the target binding information, and finally the target binding information is sent to the user through sending a short message to a mobile phone of the user corresponding to the operation account.
In one exemplary embodiment, the target binding information may be, but is not limited to, sent to the mobile terminal corresponding to the account recorded by the operation account set by: acquiring a binding information template and acquiring a mobile terminal communication identifier corresponding to an account recorded by the operation account set from accounts and mobile terminal communication identifiers with corresponding relations; the operation account number with corresponding relation is recorded in the operation account number set, and the bound equipment and the failure data are added to the corresponding position in the binding information template to obtain the target binding information; and sending the target binding information to the mobile terminal communication identifier corresponding to the account recorded by the operation account set.
Alternatively, in this embodiment, the binding information template may, but is not limited to, a template edited in advance is stored in the information sending platform, and the binding information template may, but is not limited to, leave the positions of the operation account information, the bound device information, the failure cause information of the binding failure, and the like, and is used for filling in a blank according to specific information. The binding information template may include, but is not limited to, the following: the respectful user, you good-! Your XX (operating account number), the corresponding bound device XX (bound device), because XX (binding failure cause) fails to bind, suggest you can try binding again.
Alternatively, in this embodiment, the target binding information may be, but is not limited to, information obtained by adding the operation account, the bound device, the failure cause in the failure data, and the retry number to the corresponding location in the binding information template.
Optionally, in this embodiment, the mobile terminal communication identifier may be, but not limited to, acquired from the operation account set, the mobile terminal communication identifier may be, but not limited to, a mobile phone number corresponding to the operation account, a mailbox corresponding to the operation account, and the like, the sending the target binding message may be, but not limited to, by way of a short message or a mail, and the terminal may display the target binding information in the following manner, by way of a message column display, a message center display, and a popup window display.
In an exemplary embodiment, after sending the target binding information to the mobile terminal corresponding to the account recorded by the operation account set, the binding process of the device may be further completed by, but not limited to, the following manners: under the condition that the confirmation operation executed on the target binding information is detected, jumping to a binding page corresponding to the target binding process; and displaying binding prompt information on the binding page, wherein the binding prompt information is used for prompting the completion of the operation of the target binding process.
Alternatively, in this embodiment, after the target binding information is sent to the mobile terminal, the bound device may be bound to the device to be bound according to the target binding message received by the mobile terminal, and if it is determined that the re-binding operation is to be performed according to the target binding message, the confirmation operation performed on the target binding information may be implemented by, but is not limited to, clicking determination, binding linking, double clicking, and the like, that is, the re-binding operation is performed. After confirming that the user binds again, the binding process can be skipped from the target binding information page to a binding operation page corresponding to the target binding process, and the binding process is prompted to be completed by displaying a prompt message on the binding page.
Fig. 3 is a schematic diagram of data recorded by an operation account set in a method for sending binding information according to an embodiment of the present invention, as shown in fig. 3, according to functions and roles of the operation account set, the operation account set is used for recording accounts for executing a target binding process recorded by a log in a target log set, and a user who operates the accounts recorded by the account set is also required to help the user who operates the accounts to complete the target binding process according to the target information. The operation account set records all bound devices corresponding to the account, for example: air conditioner, refrigerator, camera television, etc. also records the reason why the bound device causes binding failure, also records the times that the bound device retries the binding process, the operation account set also records the mobile terminal communication identification corresponding to the account, and sends the target binding message to the mobile terminal through the mobile terminal communication identification. If the bound device corresponding to the account a has a refrigerator and an air conditioner, the reason for the failure of the refrigerator binding is network reason, the retry time is 1 time, a short message is sent to the mobile phone number 123 through the mobile phone number 123 corresponding to the account a, the reason for the failure of the refrigerator binding is prompted to be network reason, the retry time is 1 time, and the retry binding can be performed again; the reason of the air conditioner binding failure is information reason, the retry times are 2 times, a short message is sent to the mobile phone number 123, the user is prompted that the reason of the air conditioner binding failure is information reason such as information filling error, and the retry binding can be performed again; the bound device corresponding to the account number B is a television, and the reason for the binding failure is network reason and information reason, the mailbox corresponding to the account number B is abc@123.com, and mail is sent to the mailbox abc@123.com to prompt the user that the television binding fails, so that the binding can be retried.
In order to better understand the process of the method for sending the binding information, the following describes the implementation method flow of sending the binding information in combination with the alternative embodiment, but is not used for limiting the technical scheme of the embodiment of the invention.
In this embodiment, a method for sending binding information is provided, and fig. 4 is a schematic diagram of a method for sending binding information according to an embodiment of the present invention, as shown in fig. 4, specifically including the following steps:
Step one: the data is accessed to the platform, the behavior of the user occurs at the equipment (namely the bound equipment), corresponding logs (namely the initial log set) are generated in the binding process, and the data is accessed to the cloud platform kafka system and falls to the hdfs platform.
Step two: the data computing platform processes data, firstly filters according to the binding result, selects the log (namely the target log) which is the binding failure due to the network reason, and extracts the log (namely the target log set) of the binding failure. And then screening logs according to the account number and the equipment for executing the binding operation, and finding out the corresponding logs which are the same account number and the same equipment. And finally, screening the logs according to the binding retry times, and finding the logs with the retry times less than or equal to 2.
Finally, an account list (i.e. the above operation account set) is obtained, and the account list records the device information corresponding to the account, the failure reason, the failure times, and the like.
Step three: storing the obtained data: firstly, the cleaned account list data of the data computing platform is landed to an hdfs platform, and then the cleaned account list data is pushed to a kafka platform.
Step four: the short message platform sends short messages according to the data: the short message sending platform pulls an account list (namely the operation account set) from the kafka platform, sends a message (namely the target binding information) to a terminal (namely the mobile terminal), and the terminal can display the message in a message column, a popup message, a message in a message center and the like, and a user enters a binding link according to the message to complete the binding.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method of the various embodiments of the present invention.
Fig. 5 is a block diagram of a structure of a binding information transmitting apparatus according to an embodiment of the present invention; as shown in fig. 5, includes:
The first obtaining module 52 is configured to obtain, from an initial log set, a log that a binding result of the binding process is a binding failure, and obtain a target log set, where the initial log set is used to record a log generated in a binding process that a bound device is bound to a binding device;
a second obtaining module 54, configured to obtain an operation account set corresponding to the target log set, where the operation account set is used to record an account for executing a target binding process recorded by a log in the target log set;
And the sending module 56 is configured to send target binding information to a mobile terminal corresponding to an account recorded in the operation account set, where the target binding information is used to instruct a user using the account recorded in the operation account set to complete the target binding process.
Through the embodiment, the target log set is obtained by acquiring the log with the binding result of the recorded binding process as the binding failure from the recorded initial log set, the corresponding account for executing the target binding process is acquired for the log in the target log set, the operation account set is obtained, and the user using the account recorded in the operation account set is indicated to complete the target binding process by sending the target binding message to the mobile terminal corresponding to the account recorded in the binding account set, so that the success rate of equipment binding is improved. By adopting the technical scheme, the problems of low success rate of equipment binding and the like in the related technology are solved, and the technical effect of improving the success rate of equipment binding is realized.
In an exemplary embodiment, the first acquisition module includes:
the first acquisition unit is used for acquiring a log with a binding result of the recorded binding process as a binding failure from the initial log set as a candidate log;
a second obtaining unit, configured to obtain, from the candidate logs, a target log whose corresponding failure cause is a target failure cause;
and the recording unit is used for recording the target log into the target log set.
In an exemplary embodiment, the second obtaining unit is configured to:
determining the target failure reason as a network reason and an information reason, wherein the network reason is used for indicating that the binding process fails due to network connection, and the information reason is used for indicating that the binding process fails due to information input error;
and acquiring the corresponding log of the failure source due to the network reason from the candidate log as the target log, and acquiring the corresponding log of the failure source due to the information reason from the candidate log as the target log.
In an exemplary embodiment, the second acquisition module includes:
The first clustering unit is used for clustering the logs recorded by the target log set according to the operation account to obtain the operation account and the log with the corresponding relation;
the second clustering unit is used for clustering the logs corresponding to each operation account according to the bound equipment to obtain the operation accounts and the bound equipment with corresponding relations;
And the extraction unit is used for extracting failure data from the logs corresponding to each bound device to obtain operation accounts with corresponding relations, and the bound devices and the failure data are used as the operation account set.
In an exemplary embodiment, the extracting unit is configured to:
Extracting failure reasons and retry times from logs corresponding to each bound device as the failure data;
removing data with the corresponding retry times greater than a time threshold value from the operation account with the corresponding relation and the bound equipment to obtain target data;
Recording the failure reason and the retry times into the target data to obtain an operation account with a corresponding relation, wherein the bound equipment and the failure data are used as the operation account set.
In an exemplary embodiment, the transmitting module includes:
The third acquisition unit is used for acquiring the binding information template and acquiring the mobile terminal communication identifier corresponding to the account recorded by the operation account set from the account with the corresponding relation and the mobile terminal communication identifier;
the adding unit is used for adding the bound equipment and the failure data to the corresponding positions in the binding information template to obtain the target binding information;
And the sending unit is used for sending the target binding information to the mobile terminal communication identifier corresponding to the account recorded by the operation account set.
In an exemplary embodiment, the apparatus further comprises:
The jump module is used for jumping to a binding page corresponding to the target binding process under the condition that the confirmation operation executed on the target binding information is detected after the target binding information is sent to the mobile terminal corresponding to the account recorded by the operation account set;
The display module is used for displaying binding prompt information on the binding page, wherein the binding prompt information is used for prompting the completion of the operation of the target binding process.
An embodiment of the present invention also provides a storage medium including a stored program, wherein the program executes the method of any one of the above.
Alternatively, in the present embodiment, the above-described storage medium may be configured to store program code for performing the steps of:
S1, acquiring a recorded binding result of a binding process from an initial log set as a log of binding failure to obtain a target log set, wherein the initial log set is used for recording a log generated in the binding process of binding equipment to binding equipment;
S2, acquiring an operation account set corresponding to the target log set, wherein the operation account set is used for recording and executing an account of a target binding process recorded by a log in the target log set;
and S3, sending target binding information to the mobile terminal corresponding to the account recorded by the operation account set, wherein the target binding information is used for indicating a user using the account recorded by the operation account set to complete the target binding process.
An embodiment of the invention also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, where the transmission device is connected to the processor, and the input/output device is connected to the processor.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
S1, acquiring a recorded binding result of a binding process from an initial log set as a log of binding failure to obtain a target log set, wherein the initial log set is used for recording a log generated in the binding process of binding equipment to binding equipment;
S2, acquiring an operation account set corresponding to the target log set, wherein the operation account set is used for recording and executing an account of a target binding process recorded by a log in the target log set;
and S3, sending target binding information to the mobile terminal corresponding to the account recorded by the operation account set, wherein the target binding information is used for indicating a user using the account recorded by the operation account set to complete the target binding process.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory RAM), a removable hard disk, a magnetic disk, or an optical disk, etc., which can store program codes.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments and optional implementations, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may alternatively be implemented in program code executable by computing devices, so that they may be stored in a memory device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps within them may be fabricated into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (9)

1. A method for transmitting binding information, comprising:
Obtaining a recorded binding result of a binding process from an initial log set as a log of binding failure to obtain a target log set, wherein the initial log set is used for recording a log generated in a binding process of a bound device to a binding device, a corresponding log is generated in the binding process of the bound device to the binding device, and the generated corresponding log is recorded in the initial log set;
Acquiring an operation account set corresponding to the target log set, wherein the operation account set is used for recording an account for executing a target binding process recorded by a log in the target log set, and the operation account set is used for recording an operation account, different bound devices corresponding to the operation account and failure data of binding failure corresponding to the bound devices;
Sending target binding information to a mobile terminal corresponding to an account recorded by the operation account set, wherein the target binding information is used for indicating a user using the account recorded by the operation account set to complete the target binding process, and the target binding information is recorded in the corresponding operation account set;
The sending the target binding information to the mobile terminal corresponding to the account recorded by the operation account set comprises the following steps: acquiring a binding information template and acquiring a mobile terminal communication identifier corresponding to an account recorded by the operation account set from accounts and mobile terminal communication identifiers with corresponding relations; the operation account number with corresponding relation is recorded in the operation account number set, and the bound equipment and the failure data are added to the corresponding position in the binding information template to obtain the target binding information; the target binding information is sent to a mobile terminal communication identifier corresponding to the account recorded by the operation account set;
The user executes the binding process through the operation account, and in the process of executing the binding process, the bound device logs in the operation account, wherein the operation account is used for recording the user corresponding to the binding process.
2. The method for sending binding information according to claim 1, wherein obtaining the log that the binding result of the recorded binding process is binding failure from the initial log set, to obtain the target log set, includes:
acquiring a log with a binding result of the recorded binding process as a binding failure from the initial log set as a candidate log;
obtaining a target log with the corresponding failure reason as a target failure reason from the candidate log;
and recording the target log into the target log set.
3. The method for sending binding information according to claim 2, wherein obtaining a target log from the candidate logs, the corresponding failure cause being a target failure cause, includes:
determining the target failure reason as a network reason and an information reason, wherein the network reason is used for indicating that the binding process fails due to network connection, and the information reason is used for indicating that the binding process fails due to information input error;
and acquiring the corresponding log of the failure source due to the network reason from the candidate log as the target log, and acquiring the corresponding log of the failure source due to the information reason from the candidate log as the target log.
4. The method for sending binding information according to claim 1, wherein obtaining the operation account set corresponding to the target log set includes:
clustering the logs recorded by the target log set according to the operation account to obtain the operation account and the log with the corresponding relation;
Clustering the logs corresponding to each operation account according to the bound equipment to obtain the operation accounts and the bound equipment with corresponding relations;
And extracting failure data from the log corresponding to each bound device to obtain an operation account with a corresponding relation, wherein the bound device and the failure data are used as the operation account set.
5. The method for sending binding information according to claim 4, wherein extracting failure data from a log corresponding to each bound device to obtain an operation account having a corresponding relationship, the bound device and the failure data being the operation account set, comprises:
Extracting failure reasons and retry times from logs corresponding to each bound device as the failure data;
removing data with the corresponding retry times greater than a time threshold value from the operation account with the corresponding relation and the bound equipment to obtain target data;
Recording the failure reason and the retry times into the target data to obtain an operation account number, bound equipment and failure data which have corresponding relations as the operation account number set.
6. The method according to any one of claims 1 to 5, wherein after sending the target binding information to the mobile terminal corresponding to the account recorded in the operation account set, the method further comprises:
under the condition that the confirmation operation executed on the target binding information is detected, jumping to a binding page corresponding to the target binding process;
and displaying binding prompt information on the binding page, wherein the binding prompt information is used for prompting the completion of the operation of the target binding process.
7. A transmitting apparatus for binding information, comprising:
the first acquisition module is used for acquiring a log with a binding failure as a binding result of the recorded binding process from an initial log set to obtain a target log set, wherein the initial log set is used for recording a log generated in the binding process of the bound equipment to the binding equipment, and a corresponding log is generated in the binding process of the bound equipment to the binding equipment and is recorded into the initial log set;
The second acquisition module is used for acquiring an operation account set corresponding to the target log set, wherein the operation account set is used for recording an account for executing a target binding process recorded by a log in the target log set, and the operation account set is used for recording operation accounts with corresponding relations, different bound devices corresponding to the operation accounts and failure data of binding failure corresponding to the bound devices;
the mobile terminal comprises a transmitting module, a target binding module and a target binding module, wherein the transmitting module is used for transmitting target binding information to a mobile terminal corresponding to an account recorded by the operation account set, the target binding information is used for indicating a user using the account recorded by the operation account set to complete the target binding process, and the target binding information is recorded in the corresponding operation account set;
Wherein, the sending module includes: the third acquisition unit is used for acquiring the binding information template and acquiring the mobile terminal communication identifier corresponding to the account recorded by the operation account set from the account with the corresponding relation and the mobile terminal communication identifier; the adding unit is used for adding the bound equipment and the failure data to the corresponding positions in the binding information template to obtain the target binding information; the sending unit is used for sending the target binding information to the mobile terminal communication identifier corresponding to the account recorded by the operation account set;
Wherein the device is further for: and the user executes the binding process through the operation account, and in the process of executing the binding process, the bound equipment logs in the operation account, wherein the operation account is used for recording the user corresponding to the binding process.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein the program, when executed by a processor, implements the method of any one of claims 1 to 6.
9. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of the claims 1 to 6 by means of the computer program.
CN202111266924.2A 2021-10-28 2021-10-28 Binding information sending method and device, storage medium and electronic device Active CN114124681B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111266924.2A CN114124681B (en) 2021-10-28 2021-10-28 Binding information sending method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111266924.2A CN114124681B (en) 2021-10-28 2021-10-28 Binding information sending method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN114124681A CN114124681A (en) 2022-03-01
CN114124681B true CN114124681B (en) 2024-06-25

Family

ID=80377362

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111266924.2A Active CN114124681B (en) 2021-10-28 2021-10-28 Binding information sending method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN114124681B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109579221A (en) * 2018-11-30 2019-04-05 广东美的制冷设备有限公司 Household appliance, mobile terminal and its control method, system, storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731284B (en) * 2012-10-11 2016-12-21 腾讯科技(深圳)有限公司 Associate the method and system of multiple network account
CN112104663B (en) * 2020-10-30 2023-06-23 上海连尚网络科技有限公司 Method and equipment for managing login user and user equipment
CN112437462B (en) * 2020-11-23 2023-06-16 青岛海尔科技有限公司 Quality determination method and device of WIFI module, storage medium and electronic device
CN112600715B (en) * 2020-12-25 2023-02-03 青岛海尔科技有限公司 Distribution network operation analysis method and device, storage medium and electronic device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109579221A (en) * 2018-11-30 2019-04-05 广东美的制冷设备有限公司 Household appliance, mobile terminal and its control method, system, storage medium

Also Published As

Publication number Publication date
CN114124681A (en) 2022-03-01

Similar Documents

Publication Publication Date Title
CN104641673B (en) For automatically configuring the method and test system of tester
CN108845930B (en) Interface operation test method and device, storage medium and electronic device
CN109814531B (en) Automatic diagnosis method and system based on cloud platform and related equipment
CN109561002B (en) Voice control method and device for household electrical appliance
CN113596832B (en) Network connection establishment method and device, storage medium and electronic device
CN109426826B (en) User behavior analysis method and device
CN111008209B (en) Data reconciliation method, device and system, storage medium and electronic device
CN114124681B (en) Binding information sending method and device, storage medium and electronic device
WO2017167068A1 (en) Method, apparatus and system for checking change of telephone number
CN112422564A (en) Protocol testing method, device, storage medium and electronic device
CN104202348A (en) Method, device and system of pushing information
CN113596235B (en) Operation instruction issuing method and device, storage medium and electronic device
CN112420019B (en) Equipment testing method and device
CN112600715B (en) Distribution network operation analysis method and device, storage medium and electronic device
EP3331257A1 (en) Terminal configuration management method and apparatus
CN107454471A (en) Method for turning on television, television set and computer-readable recording medium
CN113434399B (en) Service node log processing method and device, storage medium and electronic device
CN111859327A (en) Login role identification method and device
CN107544852B (en) Page information display method and device
CN110737447B (en) Application updating method and device
CN114040399B (en) Equipment binding method and device, storage medium and electronic device
CN113852919B (en) Method and device for generating early warning message, storage medium and electronic device
CN111176871B (en) Target application processing method and device, storage medium and electronic device
CN113645655B (en) Distribution network testing method, device and system for internet of things (IoT) module and terminal
CN109213686B (en) Application packet body checking method and device, storage medium, processor and server

Legal Events

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