Information reporting method, device, equipment and medium
The cloud communication platform uses a unified reporting interface to convert the initial reporting information into target reporting information and submit it to multiple SMS channel supply platforms, solving the problem of the need to adapt to multiple interfaces and manual reporting in the existing technology, and achieving full automation and efficiency improvement of the information reporting process.
Patent Information
- Application Number
- CN202411651573.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-18
- Publication Date
- 2025-02-28
AI Technical Summary
In the prior art, cloud communication platforms need to report information to multiple SMS channels, resulting in the need to adapt to multiple interfaces. Manual reporting takes a long time, low efficiency, and timeliness cannot be guaranteed.
The cloud communication platform converts the initial reporting information into target reporting information through a unified reporting interface, and submits it to multiple SMS channel supply platforms, obtains multiple reporting results, and returns the target reporting results to the SMS application platform.
It realizes full automation of the information reporting process, reduces the complexity of the cloud communication platform connecting multiple SMS channel supply platforms, and greatly improves the efficiency of information reporting.
Smart Images

Figure CN119545300A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technology, and in particular to an information reporting method, device, equipment and medium. Background Art
[0002] The SMS application platform can use the cloud communication platform to send SMS to user terminals, such as video application push SMS, etc. The cloud communication platform can collect authentication information, signature information, extension code and other information from the SMS application platform and report it to the SMS channel supply platform. The SMS channel supply platform further reports the information that needs to be reported to different operators. In related technologies, the cloud communication platform needs to report information to multiple SMS channel supply platforms. There are differences in the reporting systems of different SMS channel supply platforms, and multiple sets of interfaces need to be adapted. In addition, the reporting is manually implemented, which is time-consuming and inefficient. Summary of the invention
[0003] In order to solve the above technical problems, the present disclosure provides an information reporting method, device, equipment and medium.
[0004] The present disclosure provides an information reporting method, which is applied to a cloud communication platform and includes:
[0005] Responding to the reporting triggering operation of the SMS application platform, obtaining initial reporting information;
[0006] Using a reporting interface, the initial reporting information is converted into target reporting information and submitted to multiple SMS channel supply platforms, wherein the multiple SMS channel supply platforms are all provided with the reporting interface;
[0007] Acquire multiple reporting results of the multiple SMS channel supply platforms, and return target reporting results corresponding to the multiple reporting results to the SMS application platform.
[0008] The embodiment of the present disclosure also provides an information reporting device, which is arranged on a cloud communication platform and includes:
[0009] An acquisition module, used to obtain initial reporting information in response to a reporting trigger operation of the SMS application platform;
[0010] A submission module, used to convert the initial reporting information into target reporting information by using a reporting interface and submit the information to multiple SMS channel supply platforms, wherein the multiple SMS channel supply platforms are all provided with the reporting interface;
[0011] The result module is used to obtain multiple reporting results of the multiple SMS channel supply platforms, and return the target reporting results corresponding to the multiple reporting results to the SMS application platform.
[0012] An embodiment of the present disclosure also provides an electronic device, which includes: a processor; a memory for storing executable instructions of the processor; the processor is used to read the executable instructions from the memory and execute the instructions to implement the information reporting method provided by the embodiment of the present disclosure.
[0013] The embodiment of the present disclosure further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute the information reporting method provided by the embodiment of the present disclosure.
[0014] Compared with the prior art, the technical solution provided by the disclosed embodiment has the following advantages: the information reporting solution provided by the disclosed embodiment, the cloud communication platform responds to the reporting trigger operation of the SMS application platform to obtain the initial reporting information; the initial reporting information is converted into the target reporting information by using the reporting interface and submitted to multiple SMS channel supply platforms, wherein the multiple SMS channel supply platforms are all provided with reporting interfaces; multiple reporting results of multiple SMS channel supply platforms are obtained, and the target reporting results corresponding to the multiple reporting results are returned to the SMS application platform. With the above technical solution, the cloud communication platform can convert the initial reporting information of the SMS application platform into the target reporting information by using a unified reporting interface and submit it to multiple SMS channel supply platforms, and obtain the reporting results and return them to the SMS application platform, thus realizing the full automation of the information reporting process, and by setting a unified reporting interface between the cloud communication platform and multiple SMS channel supply platforms, there is no need for the cloud communication platform to adapt to multiple sets of interfaces, which effectively reduces the complexity of the cloud communication platform docking between multiple SMS channel supply platforms and greatly improves the efficiency of information reporting. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0016] Figure 1 A schematic diagram of the information reporting process in the related art;
[0017] Figure 2 A flowchart of an information reporting method provided in an embodiment of the present disclosure;
[0018] Figure 3 A schematic diagram of a reporting process of a reporting state machine provided in an embodiment of the present disclosure;
[0019] Figure 4 A schematic diagram of an information reporting process provided by an embodiment of the present disclosure;
[0020] Figure 5 A schematic diagram of the structure of an information reporting device provided in an embodiment of the present disclosure;
[0021] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0022] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0023] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0024] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0025] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0026] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0027] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0028] In the related art, when the SMS application platform reports the SMS related information, it can report directly to the operator. Specifically, it can be submitted according to the standards of different operators, including system submission, offline submission, offline return results, upstream synchronous submission, polling request results, long link submission synchronous return, etc. Manual reporting is time-consuming, inefficient, and timeliness cannot be guaranteed; for example, Figure 1 A schematic diagram of the information reporting process in the related technology, such as Figure 1 As shown, the SMS application platform can also submit to the SMS channel supply platform for reporting through the cloud communication platform, but there is offline manual submission, which is time-consuming and labor-intensive, with extremely high communication costs, and timeliness cannot be guaranteed. Even if it can be submitted online, the cloud communication platform needs to report information to multiple SMS channel supply platforms. There are gaps in the reporting systems of different SMS channel supply platforms, and multiple sets of interfaces need to be adapted, which makes docking complex and inefficient.
[0029] In order to solve the above problems, the embodiments of the present disclosure provide an information reporting method, which is introduced below in conjunction with specific embodiments.
[0030] Figure 2 The present invention provides a flowchart of an information reporting method provided in an embodiment of the present invention. The method can be executed by an information reporting device, wherein the device can be implemented by software and / or hardware and can generally be integrated in an electronic device. Figure 2 As shown, the method is applied to a cloud communication platform, including:
[0031] Step 101: In response to a reporting trigger operation of a short message application platform, initial reporting information is obtained.
[0032] The information reporting method of the disclosed embodiment can be executed by a cloud communication platform. The cloud communication platform can be a cloud platform that provides SMS services for SMS application platforms. The cloud communication platform can obtain cloud communication technologies, services and resources from operators through the SMS channel supply platform and provide them to the SMS application platform for use. The SMS channel supply platform can be a platform that provides cloud communication technologies and services, and provides a variety of communication solutions for SMS application platforms by integrating and utilizing communication network resources from multiple operators. Operators, also known as SMS service providers, can be companies or platforms that provide communication infrastructure and services. The SMS application platform can be a platform that uses SMS services. The SMS application platform can include enterprises or individual users, etc. The SMS service can be a service that users directly send or receive text or digital information through a communication terminal, and data is transmitted through the signaling channel and signaling network of the mobile communication system. For example, the SMS application platform can be a video application, a live broadcast application, etc., without specific limitation.
[0033] Among them, the reporting trigger operation can be a specific operation that the SMS application platform needs to trigger the reporting process. In the embodiment of the present disclosure, the reporting trigger operation can include at least one of the following: SMS signature entry, SMS channel entry, SMS sub-port modification and SMS authentication information modification. SMS signature entry can be understood as an operation of applying for an SMS signature. The SMS signature can be a specific identifier attached before or after the SMS content to indicate the sender or source of the SMS, that is, to indicate which SMS application platform sent the SMS. The SMS signature is usually the name, brand or other specific identification of the SMS application platform. In this way, the recipient can clearly know the sender of the SMS; SMS channel entry can be an operation of applying for an SMS sending channel assigned to the SMS application platform. The SMS channel, also known as the main code number, can be a unique number assigned to the SMS application platform by the SMS service provider, used to identify the SMS sending channel of the SMS application platform. This number is the basis for SMS sending, and all SMS will be sent through this main code number; SMS sub-port modification can be an operation of modifying the extension code or sub-code number of the SMS. The SMS sub-port, also known as the extension code, can be an operation of modifying the extension code or sub-code number of the SMS. The extended code or sub-code number is a code number extended on the basis of the main code number to further distinguish different types of text messages or different business departments. The sub-code number can be understood as a string of numbers added after the main code number for detailed management and classification. The extended code allows the same signature to send text messages with different contents through different extended codes, thereby improving the flexibility and efficiency of text message sending. The extended code allows each text message to be traced back not only to the sender, but also to a specific business system or department, thereby enhancing traceability and clarifying responsibilities. The text message authentication information can be an important part of the real-name information of the text message service platform, and can include key certification documents and other related information of qualifications or credentials. For example, the text message authentication information can include the business license, organization code certificate, legal representative identity certificate, etc. of a text message service platform. The text message authentication information can include information in various formats such as images and texts. The real-name information can be the information obtained by the text message service end for identity authentication and qualification review of users using the text message service. This mechanism can not only prevent the abuse of communication resources, but also protect the rights and interests of the text message application platform.
[0034] The reporting process of the disclosed embodiment may be a process in which the SMS application platform, after obtaining the SMS signature, SMS channel, and SMS sub-port of the SMS service, packages this information with real-name information and other information and submits it to the operator. After the SMS application platform of the disclosed embodiment submits it to the cloud communication platform, the cloud communication platform submits it to the operator through the SMS channel supply platform to complete the reporting process. The reporting process enables the SMS service to have the advantages of enhanced credibility, improved security, easier supervision, and enhanced traceability. Therefore, the SMS application platform needs to execute the reporting process before using the SMS service.
[0035] Specifically, the cloud communication platform can detect the operation of the SMS application platform. When a reporting trigger operation is detected, the initial reporting information at this time can be obtained from the SMS application platform. The initial reporting information can be the original and comprehensive information required for the reporting process provided in the SMS application platform. For example, the initial reporting information can include SMS signature, SMS channel, SMS sub-port, SMS authentication information, and identification information of different information.
[0036] In some embodiments, in response to a reporting trigger operation of a text message application platform, initial reporting information is obtained, including: generating a pending report record in response to a reporting trigger operation of a text message application platform; detecting the pending report record at a preset time interval, and obtaining initial reporting information when the pending report record is detected.
[0037] The records to be reported can be records used to trigger the reporting process, and are actively generated by the cloud communication platform when a reporting trigger operation is detected. The number of records to be reported is the same as the number of reporting trigger operations, and can include one or more, with no specific limit. The preset time interval can be the time period for the cloud communication platform to detect the records to be reported, and whether there are records to be reported can be detected every preset time interval. After the cloud communication platform detects the reporting trigger operation of the SMS application platform, it can actively generate records to be reported, and the cloud communication platform can periodically pull the records to be reported at preset time intervals. If the records to be reported are pulled, a reporting process is triggered for each record to be reported, and the initial reporting information can be obtained from the SMS application platform at the beginning of the reporting process. In the above scheme, by generating records to be reported in the reporting trigger operation, and asynchronously and periodically monitoring the records to be reported to trigger the reporting process, not only can the reporting process be automatically started, but also the asynchronous method improves the execution efficiency.
[0038] Step 102: using a reporting interface to convert the initial reporting information into target reporting information and submitting it to multiple SMS channel supply platforms, wherein the multiple SMS channel supply platforms are all provided with a reporting interface.
[0039] Among them, the reporting interface can be an interface with a unified target interface specification set between the cloud communication platform and multiple SMS channel supply platforms. The target interface specification is used to define the data interaction method between the cloud communication platform and each SMS channel supply platform, including the data format, transmission protocol, security requirements, etc. during the interaction. The target interface specification abstracts and predefines the information required by the downstream (that is, the SMS channel supply platform) according to the needs of the SMS application platform and the different requirements of the downstream. When reporting information, the cloud communication platform can fill in the predefined content according to the target interface specification and submit it to each SMS channel supply platform. Each SMS channel supply platform is developed in accordance with the target interface specification, that is, the interface of each SMS channel supply platform complies with the target interface specification, and the reporting interface is one of the interfaces.
[0040] The target reporting information may be information after the initial reporting information is filled and organized according to the target interface specification corresponding to the reporting interface, that is, information that needs to be reported, which is used to submit to each SMS channel supply platform and further submitted to the downstream operator to complete the reporting process.
[0041] In an embodiment of the present disclosure, using a reporting interface to convert initial reporting information into target reporting information and submitting it to multiple SMS channel supply platforms can include: filling in the initial reporting information or the identification information of the initial reporting information according to the target interface specification of the reporting interface to obtain the target reporting information; submitting the target reporting information to multiple SMS channel supply platforms through the reporting interface.
[0042] The identification information of the initial reporting information may include multiple identifiers corresponding to various types of information in the initial reporting information. In the embodiment of the present disclosure, the identification information may include a sender identifier and a detail identifier. The sender identifier can be used to uniquely identify the SMS application platform that is currently reporting the information, indicating the sender who will subsequently send the SMS, and is also used to uniquely identify the initial reporting information; the detail identifier can be an identifier that represents the party that signs the SMS in the initial reporting information. The sender identifier may be the same as or different from the detail identifier. When the sender identifier is different from the detail identifier, the sender is different from the owner, and the sender obtains authorization to sign the SMS from the owner.
[0043] Specifically, after receiving the initial reporting information, the cloud communication platform fills the initial reporting information or the identification information of the initial reporting information according to the target interface specification of the reporting interface to obtain the target reporting information, that is, the initial reporting information can be assembled according to the unified target interface specification, and only the identification information of the initial reporting information can be assembled during the assembly, or all the initial reporting information can be assembled to obtain the target reporting information; and the target reporting information is submitted to multiple SMS channel supply platforms through the reporting interface, and each SMS channel supply platform can return a response to the information submission, that is, whether the submission is successful. The target reporting information can include only the identification information filled in according to the target interface specification, or it can include all the initial reporting information filled in according to the target interface specification, specifically including various images, files, etc. in the SMS authentication information.
[0044] In the above scheme, unified SMS service information reporting is performed through the cloud communication platform, and a unified interface specification is set between the cloud communication platform and the SMS channel supply platform. For a cloud communication platform facing multiple SMS channel supply platforms, the complexity of system docking is reduced from multiple development and adaptation to one development, and no subsequent adaptation is required, which effectively reduces the complexity of the cloud communication platform docking between multiple SMS channel supply platforms and improves the reporting efficiency.
[0045] Step 103: Acquire multiple reporting results of multiple SMS channel supply platforms, and return the target reporting results corresponding to the multiple reporting results to the SMS application platform.
[0046] The reporting result may be the result of whether the reporting is successful or not obtained from the operator after the SMS channel supply platform further submits the information to be reported to the downstream operator. Different SMS channel supply platforms may be connected to different operators, and each SMS channel supply platform will obtain the corresponding reporting result. The target reporting result may be a final reporting result determined based on multiple reporting results fed back after submitting multiple SMS channel supply platforms to an initial reporting information sent by the SMS service platform. One initial reporting information corresponds to one target reporting result. The target reporting result may include successful reporting and failed reporting. When the reporting fails, it may include multiple types of failure results.
[0047] After the cloud communication platform uses the reporting interface to submit the target reporting information corresponding to the initial reporting information or the identification information of the initial reporting information to multiple SMS channel supply platforms, each SMS channel supply platform can assemble the information according to the specifications of the connected operator and submit it to the operator for reporting, and after receiving the reporting result returned by the operator, call the callback interface of the cloud communication platform to return the reporting result and the sender identification in the identification information to the cloud communication platform through a receipt or active push; the cloud communication platform can receive the reporting results returned by each SMS channel supply platform through the callback interface, and then determine the target reporting results corresponding to the multiple reporting results and return them to the SMS application platform. The callback interface here also has the above-mentioned unified target interface specification.
[0048] In some embodiments, multiple reporting results all include the sender identifier of the initial reporting information, and returning the target reporting results corresponding to the multiple reporting results to the SMS application platform may include: determining the target reporting result based on the multiple reporting results and result rules; returning the target reporting result to the SMS application platform corresponding to the sender identifier.
[0049] The sender identifier can be used to uniquely identify the SMS application platform that is currently reporting information, and can also be used to uniquely identify the initial reporting information. The result rule can be a rule for aggregating multiple results fed back by multiple SMS channel supply platforms to determine whether the final report is successful. The result rule can be set according to the needs of the SMS service. For example, the result rule can be set according to the number of successful reporting results or according to the resource size of the operator and the number of successful reporting results. When the result rule is set according to the number of successful reporting results, an example can be: when the number of successful reporting results among the multiple reporting results corresponding to an initial reporting information is greater than the quantity threshold, it can be determined that the target reporting result is a successful reporting, otherwise, the target reporting result is a failed reporting.
[0050] The cloud communication platform can receive the reporting results returned by each SMS channel supply platform through the callback interface. Each reporting result can carry the sender ID. Then, for multiple reporting results with the same sender ID, the corresponding target reporting result can be determined by aggregation processing according to the result rules, and the target reporting result can be returned to the SMS application platform corresponding to the sender ID.
[0051] When there are multiple SMS application platforms, multiple SMS channel supply platforms carry the sender ID when feeding back the reporting results to the cloud communication platform. The cloud communication platform can aggregate and feedback the reporting results of the same SMS application platform based on the sender ID, thereby realizing asynchronous unified feedback of the reporting results. This solution effectively reduces the invalid waiting between interfaces and avoids invalid polling between different platforms through the asynchronous interface interaction form of unified sender ID. It can ensure that the SMS channel supply platform actively notifies the cloud communication platform after receiving the reporting results as soon as possible. After the cloud communication platform aggregates the final reporting results, it will promptly feedback to the SMS application platform.
[0052] In some embodiments, each reporting result is represented by a unified response code.
[0053] The response code can represent different reporting results through different combinations of numbers or letters. For example, the response code for a successful reporting result is 0, the response code for a parameter error in a failed reporting result is 1001, the response code for an overspeed in a failed reporting result is 1002, and the response code for a system error in a failed reporting result is 1003. These are just examples. The disclosed embodiment can unify the definition of the response code between the cloud communication platform and the SMS channel supply platform, that is, after multiple SMS channel supply platforms obtain the reporting results from the operator, they can convert them into a unified response code and transmit them to the cloud communication platform, which can effectively improve the transmission efficiency between interfaces and further reduce the complexity of docking.
[0054] The information reporting scheme provided by the disclosed embodiment is that the cloud communication platform responds to the reporting trigger operation of the SMS application platform to obtain the initial reporting information; uses the reporting interface to convert the initial reporting information into the target reporting information and submits it to multiple SMS channel supply platforms, wherein the multiple SMS channel supply platforms are all provided with reporting interfaces; obtains multiple reporting results of the multiple SMS channel supply platforms, and returns the target reporting results corresponding to the multiple reporting results to the SMS application platform. With the above technical scheme, the cloud communication platform can submit the initial reporting information or identification information of the SMS application platform to multiple SMS channel supply platforms using a unified reporting interface, and obtain the reporting results and return them to the SMS application platform, thereby realizing the full automation of the information reporting process, and by setting a unified reporting interface between the cloud communication platform and multiple SMS channel supply platforms, there is no need for the cloud communication platform to adapt to multiple sets of interfaces, which effectively reduces the complexity of the cloud communication platform connecting between multiple SMS channel supply platforms and greatly improves the efficiency of information reporting.
[0055] In some embodiments, the cloud communication platform is provided with a reporting state machine for triggering the reporting process. The information reporting method of the disclosed embodiment may further include: in response to obtaining the initial reporting information, setting the state of the reporting state machine to a pending reporting state; in response to receiving information submission success information returned by multiple SMS channel supply platforms, adjusting the state of the reporting state machine from a pending reporting state to a reporting state; in response to obtaining a target reporting result, adjusting the state of the reporting state machine from a reporting state to a reporting success state or a reporting failure state corresponding to the target reporting result.
[0056] A state machine is a mathematical model and software design used to describe the behavior of a system. It consists of a set of states, a set of input events (or conditions, signals, trigger conditions) and a set of conversion rules (or actions, behaviors). The system is in a state at any time. When an input event occurs, the system may transfer to another state and perform corresponding actions according to the current state and conversion rules. The reporting state machine can automatically trigger the reporting process by monitoring various scenarios of the SMS application platform, and when different operations of the cloud communication platform occur, it executes a step in the reporting process according to the current state and conversion rules, and transfers to another state. The reporting state machine can realize the full automation of the reporting process.
[0057] The cloud communication platform can monitor the operation of the SMS application platform through the reporting state machine. After detecting the reporting trigger operation and obtaining the initial reporting information, the state of the reporting state machine is set to the pending reporting state. The pending reporting state can be the state in which the information to be reported is obtained and is about to be prepared for reporting. The reporting state machine can pull the pending reporting records and call the reporting interface to convert the initial reporting information into target reporting information and submit it to multiple SMS channel supply platforms. The target reporting information is further pushed to downstream suppliers through the SMS channel supply platform. Each SMS channel supply platform can return the response information of the submission operation after receiving the target reporting information submitted by the cloud communication platform. If the response information is the information of successful information submission, the state of the reporting state machine is adjusted from the pending reporting state to the reporting state. The reporting state can be the state in which the cloud communication platform is reporting after submitting the information to be reported to the SMS channel supply platform and has not yet obtained the reporting result. If the response information is the information of failed information submission, the state of the reporting state machine is changed from the pending reporting state to the reporting state. The reporting status is adjusted to the pending submission status. The pending submission status may be a status in which the information to be reported fails to be submitted to the SMS channel supply platform but still needs to be submitted. At this time, the submission may fail due to the failure of calling the reporting interface due to the timeout of the reporting interface. The submission continues until the successful submission information of the information is received. After the cloud communication platform obtains multiple reporting results returned by multiple SMS channel supply platforms and determines the target reporting result, if the target reporting result is a successful reporting, the status of the reporting state machine is adjusted from the reporting state to the successful reporting state. The successful reporting state indicates that the current information reporting for the initial reporting information is successful. If the target reporting result is a failed reporting, the status of the reporting state machine is adjusted from the reporting state to the failed reporting state. The failed reporting state indicates that the current information reporting for the initial reporting information has failed. The target reporting information can be modified according to the type of reporting failure. After that, the status of the reporting state machine can be readjusted from the failed reporting state to the pending reporting state and return to the reporting process again until the reporting is successful.
[0058] Optionally, when the SMS channel supply platform receives the reporting invalidation information from the corresponding operator, it means that the validity period of the information reporting of the SMS application platform may have expired and become invalid. The reporting invalidation information can be returned to the cloud communication platform. The reporting state machine of the cloud communication platform can adjust the reporting success state to the reporting failure state, and further return the reporting invalidation information to the SMS business platform, so that the SMS business platform can be informed of the change of the reporting status in a timely manner.
[0059] For example, Figure 3 A schematic diagram of a reporting process of a reporting state machine provided in an embodiment of the present disclosure, such as Figure 3As shown, the figure shows the state change process of the reporting state machine and the reporting process. Specifically, when the cloud communication platform performs reporting triggering operations such as SMS signature entry, SMS channel entry, SMS sub-port modification, and SMS authentication information modification on the SMS application platform, it will actively trigger the reporting process and generate a record to be reported. At this time, the reporting state machine is in the waiting state; the cloud communication platform actively pulls the waiting record, calls the SMS channel supply platform, and pushes the information to be reported to the supplier. If the submission fails, the reporting state machine is adjusted to the waiting state; if the submission is successful, the reporting state machine is adjusted to the reporting state; the SMS channel supply platform can actively push the reporting result to the cloud communication platform. If the reporting is successful, the reporting state machine is adjusted to the reporting success state. If the reporting fails, the reporting state machine is adjusted to the reporting failure state. After modifying the corresponding reporting information, the reporting state machine is adjusted to the waiting state again; when the downstream operator changes the reporting state, the SMS channel supply platform actively changes the state from the reporting success state to the reporting failure state, and re-trigger the reporting process.
[0060] This solution provides a flow mode based on the reporting state machine, which automatically performs the reporting process of the reporting information of the SMS service, directly eliminating the need for manual participation in the reporting and updating of relevant information. By automatically triggering the state machine mode of the reporting record, the reporting process is fully automated, effectively improving the reporting efficiency.
[0061] In some embodiments, when the target reporting information only includes identification information, and the identification information includes a sender identification and a detail identification, the information reporting method of the disclosed embodiment may further include: in response to receiving an information acquisition request from a target SMS channel supply platform among multiple SMS channel supply platforms, extracting the corresponding target SMS authentication information based on the target detail identification carried in the information acquisition request; and submitting the target SMS authentication information to the target SMS channel supply platform through the detail information interface.
[0062] Among them, the detail identifier can be an identifier representing the party that signed the SMS in the initial reporting information. The sender identifier can be the same as the detail identifier or different. When the sender identifier is different from the detail identifier, the sender is different from the party that signed the SMS, and the sender obtains the authorization of the SMS signature from the party that signed the SMS. The target SMS channel supply platform can be a platform among multiple SMS channel supply platforms that needs to submit reporting information to the corresponding operator. Since the target reporting information only includes identification information, when it needs to be submitted to the downstream operator, the specific files, images, data and other details corresponding to the various different identifiers in the identification information can be obtained, mainly SMS authentication information. The target detail identifier can be one of the identification information carried in the target reporting information received by the target SMS channel supply platform, which is used to uniquely represent the SMS authentication information. The detail information interface can be an interface for transmitting detail information such as SMS authentication information, and has the above-mentioned unified target interface specification.
[0063] Specifically, when the target reporting information submitted by the cloud communication platform to each SMS channel supply platform only includes identification information, each SMS channel supply platform can call the details information interface to send information acquisition information to the cloud communication platform when detailed information is needed. The embodiment of the present disclosure takes the response information including SMS authentication information as an example; when the cloud communication platform receives the information acquisition request sent by the target SMS channel supply platform, it can query and extract the target SMS authentication information corresponding to the target details identifier from the local according to the target details identifier in the information acquisition request, and submit the target SMS authentication information to the target SMS channel supply platform through the details information interface, so that after the target SMS channel supply platform receives the target SMS authentication information, it assembles the reporting information according to the operator's requirements and sends it to complete the reporting process.
[0064] In the related technology, when the authentication information containing a large number of pictures is transmitted during information reporting, there is a large amount of information redundancy because the cloud communication platform needs to transmit it to multiple SMS channel supply platforms separately, resulting in inefficient transmission efficiency. At the same time, when the authentication information changes, a lot of data needs to be updated.
[0065] The above scheme proposes an information transmission method based on detail identification, which realizes the asynchronous transmission of detail information such as authentication information and identification information by obtaining detail information such as authentication information in the reporting record when needed through detail identification, effectively reduces the redundancy in the message transmission process, and greatly improves the efficiency of transmission of detail information such as authentication information and the timeliness of authentication information changes while reducing network bandwidth.
[0066] Next, the information reporting scheme of the embodiment of the present disclosure is further described by a specific example. Figure 4 A schematic diagram of an information reporting process provided by an embodiment of the present disclosure, such as Figure 4As shown, the figure takes the SMS signature entry triggering reporting process of the SMS application platform as an example, the signature application in the figure is the SMS signature entry, and the figure takes an SMS channel supply platform and an operator as examples, which can specifically include: the SMS application platform submits the signature application, that is, the initial reporting information is sent to the cloud communication platform; the cloud communication platform converts the initial reporting information into the target reporting information according to the unified target interface specification, and the target reporting information carries the sender identifier corresponding to the initial reporting information and the detailed identifier of the SMS authentication information, and uses the reporting interface to submit it to the SMS channel supply platform together. After receiving the request, the SMS channel supply platform promptly returns the response information of the request result, that is, whether the feedback information submission is successful, and there is no need to return the specific reporting result. After further splicing and submitting it to the operator for signature reporting according to the information required by the operator, wait for the reporting result returned by the operator. After the SMS channel supply platform clarifies the reporting result, it automatically calls the callback interface provided by the cloud communication platform with the sender identifier at the first time, and notifies the cloud communication platform of the reporting result by receipt or active push, and the reporting result includes the sender identifier; the cloud communication platform can return the reporting result to the SMS application platform corresponding to the sender identifier.
[0067] When different authentication information is needed, the SMS channel supply platform actively uses the detail identifier to call the detail information interface provided by the cloud communication platform to obtain the corresponding SMS authentication information from the cloud communication platform, effectively reducing the redundancy of authentication information. In addition, when there are multiple SMS channel supply platforms, the cloud communication platform can obtain multiple reporting results of the same sender identifier and determine the target reporting result according to the result rule, and return the target reporting result to the SMS application platform.
[0068] This solution sets up a unified reporting system through the cloud communication platform, and sets up a unified interface specification between the cloud communication platform and the SMS channel supply platform. For a cloud communication platform facing multiple SMS channel supply platforms, the complexity of system docking is reduced from multiple development and adaptation to one development, and no subsequent adaptation is required, which effectively reduces the complexity of the cloud communication platform docking between multiple SMS channel supply platforms and improves the reporting efficiency; and through the asynchronous interface interaction form of the unified sender identification, it effectively reduces the invalid waiting between interfaces and avoids invalid polling between different platforms; through the state machine mode that automatically triggers the reporting record, the reporting process is fully automated, effectively improving the reporting efficiency; through the method of obtaining detailed information such as authentication information in the reporting record when needed through the detailed identification, the asynchronous transmission of detailed information such as authentication information and identification information is realized, which effectively reduces the redundancy in the message transmission process, while reducing the network bandwidth, greatly improving the efficiency of transmitting detailed information such as authentication information.
[0069] Figure 5This is a schematic diagram of the structure of an information reporting device provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware and can generally be integrated into an electronic device. Figure 5 As shown, the device is set on a cloud communication platform and includes:
[0070] The acquisition module 501 is used to obtain initial reporting information in response to the reporting triggering operation of the SMS application platform;
[0071] A submission module 502, used to convert the initial reporting information into target reporting information by using a reporting interface and submit the information to multiple SMS channel supply platforms, wherein the multiple SMS channel supply platforms are all provided with the reporting interface;
[0072] The result module 503 is used to obtain multiple reporting results of the multiple SMS channel supply platforms, and return the target reporting results corresponding to the multiple reporting results to the SMS application platform.
[0073] Optionally, the acquisition module 501 is used to:
[0074] In response to the reporting triggering operation of the SMS application platform, a record to be reported is generated;
[0075] The record to be reported is detected at a preset time interval, and when the record to be reported is detected, the initial reporting information is obtained.
[0076] Optionally, the reporting triggering operation includes at least one of the following: SMS signature entry, SMS channel entry, SMS sub-port modification, and SMS authentication information modification.
[0077] Optionally, the submission module 502 is used to:
[0078] Filling the initial reporting information or the identification information of the initial reporting information according to the target interface specification of the reporting interface to obtain the target reporting information;
[0079] The target reporting information is submitted to the multiple SMS channel supply platforms through the reporting interface.
[0080] Optionally, when the target reporting information includes only the identification information, the identification information includes a sender identification and a detail identification, the device further includes an information transmission module, which is used to:
[0081] In response to receiving an information acquisition request of a target SMS channel provisioning platform among the multiple SMS channel provisioning platforms, extracting corresponding target SMS authentication information based on a target detail identifier carried in the information acquisition request;
[0082] Submit the target SMS authentication information to the target SMS channel supply platform through the detailed information interface.
[0083] Optionally, the multiple reporting results all include the sender identifier of the initial reporting information, and the result module 503 is used to:
[0084] Determine the target reporting result according to the multiple reporting results and result rules;
[0085] The target reporting result is returned to the SMS application platform corresponding to the sender identification.
[0086] Optionally, each of the reporting results is represented by a unified response code.
[0087] Optionally, the cloud communication platform is provided with a reporting state machine for triggering a reporting process, and the device further comprises a state machine module for:
[0088] In response to obtaining the initial reporting information, setting the state of the reporting state machine to a pending reporting state;
[0089] In response to receiving information submission success information returned by the multiple SMS channel supply platforms, adjusting the state of the reporting state machine from the pending reporting state to the reporting state;
[0090] In response to obtaining the target reporting result, the state of the reporting state machine is adjusted from the reporting state to a reporting success state or a reporting failure state corresponding to the target reporting result.
[0091] The information reporting device provided in the embodiments of the present disclosure can execute the information reporting method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
[0092] The embodiments of the present disclosure also provide a computer program product, including a computer program / instruction, which, when executed by a processor, implements the information reporting method provided by any embodiment of the present disclosure.
[0093] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure.
[0094] The following specific reference Figure 6 , which shows a schematic diagram of the structure of an electronic device 600 suitable for implementing the embodiment of the present disclosure. The electronic device 600 in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0095] like Figure 6 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0096] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0097] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the information reporting method of the embodiment of the present disclosure are executed.
[0098] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0099] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0100] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0101] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: obtains initial reporting information in response to the reporting trigger operation of the SMS application platform; converts the initial reporting information into target reporting information using the reporting interface and submits it to multiple SMS channel supply platforms, wherein the multiple SMS channel supply platforms are all provided with the reporting interface; obtains multiple reporting results of the multiple SMS channel supply platforms, and returns the target reporting results corresponding to the multiple reporting results to the SMS application platform.
[0102] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0103] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0104] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.
[0105] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0106] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0107] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0108] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0109] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0110] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. An information reporting method, characterized in that: Applied to cloud communication platforms, including: Responding to the reporting triggering operation of the SMS application platform, obtaining initial reporting information; Using a reporting interface, the initial reporting information is converted into target reporting information and submitted to multiple SMS channel supply platforms, wherein the multiple SMS channel supply platforms are all provided with the reporting interface; Acquire multiple reporting results of the multiple SMS channel supply platforms, and return target reporting results corresponding to the multiple reporting results to the SMS application platform.
2. The method according to claim 1, characterized in that: The step of obtaining initial reporting information in response to the reporting triggering operation of the SMS application platform includes: In response to the reporting triggering operation of the SMS application platform, a record to be reported is generated; The record to be reported is detected at a preset time interval, and when the record to be reported is detected, the initial reporting information is obtained.
3. The method according to claim 1 or 2, characterized in that: The reporting triggering operation includes at least one of the following: SMS signature entry, SMS channel entry, SMS sub-port modification, and SMS authentication information modification.
4. The method according to claim 1, characterized in that: The method of using the reporting interface to convert the initial reporting information into target reporting information and submitting it to multiple SMS channel supply platforms includes: Filling the initial reporting information or the identification information of the initial reporting information according to the target interface specification of the reporting interface to obtain the target reporting information; The target reporting information is submitted to the multiple SMS channel supply platforms through the reporting interface.
5. The method according to claim 4, characterized in that When the target reporting information only includes the identification information, and the identification information includes a sender identification and a detail identification, the method further includes: In response to receiving an information acquisition request of a target SMS channel provisioning platform among the multiple SMS channel provisioning platforms, extracting corresponding target SMS authentication information based on a target detail identifier carried in the information acquisition request; Submit the target SMS authentication information to the target SMS channel supply platform through the detailed information interface.
6. The method according to claim 1, characterized in that The multiple reporting results all include the sender identifier of the initial reporting information, and returning the target reporting results corresponding to the multiple reporting results to the SMS application platform includes: Determine the target reporting result according to the multiple reporting results and result rules; The target reporting result is returned to the SMS application platform corresponding to the sender identification.
7. The method according to claim 1, characterized in that Each of the reporting results is represented by a unified response code.
8. The method according to claim 1, characterized in that The cloud communication platform is provided with a reporting state machine for triggering a reporting process, and the method further comprises: In response to obtaining the initial reporting information, setting the state of the reporting state machine to a pending reporting state; In response to receiving information submission success information returned by the multiple SMS channel supply platforms, adjusting the state of the reporting state machine from the pending reporting state to the reporting state; In response to obtaining the target reporting result, the state of the reporting state machine is adjusted from the reporting state to a reporting success state or a reporting failure state corresponding to the target reporting result.
9. An information reporting device, characterized in that: Set up on the cloud communication platform, including: An acquisition module, used to obtain initial reporting information in response to a reporting trigger operation of the SMS application platform; A submission module, used to convert the initial reporting information into target reporting information by using a reporting interface and submit the information to multiple SMS channel supply platforms, wherein the multiple SMS channel supply platforms are all provided with the reporting interface; The result module is used to obtain multiple reporting results of the multiple SMS channel supply platforms, and return the target reporting results corresponding to the multiple reporting results to the SMS application platform.
10. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the information reporting method described in any one of claims 1-8.
11. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is used to execute the information reporting method described in any one of claims 1-8.
