CN114844860B - WeChat enterprise signal processing method, device, equipment and medium - Google Patents
WeChat enterprise signal processing method, device, equipment and medium Download PDFInfo
- Publication number
- CN114844860B CN114844860B CN202210461221.3A CN202210461221A CN114844860B CN 114844860 B CN114844860 B CN 114844860B CN 202210461221 A CN202210461221 A CN 202210461221A CN 114844860 B CN114844860 B CN 114844860B
- Authority
- CN
- China
- Prior art keywords
- signal
- enterprise
- micro
- callback
- application
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephonic Communication Services (AREA)
Abstract
The application provides a processing method, a device, equipment and a medium for a WeChat enterprise signal. The method comprises the following steps: receiving callback event information of a micro-signal enterprise signal, wherein the micro-signal enterprise signal is a micro-signal enterprise signal of a subsidiary company belonging to the group, a URL address corresponding to the callback event information is a URL address of the group system, and the callback event information comprises callback events and application parameters; determining a target subsidiary system according to the application parameters, callback configuration information of each micro-signal enterprise signal and the association relation between the micro-signal enterprise signal and the subsidiary system, wherein the callback configuration information is the application parameters configured in a URL address bar in a callback mode of each micro-signal enterprise signal; and forwarding the callback event message to the target sub-company system according to the callback message forwarding address of the target sub-company system. The method of the application realizes the unified management of the subsidiary micro-signal enterprise signals of the group.
Description
Technical Field
The present application relates to management systems, and in particular, to a method, an apparatus, a device, and a medium for processing a micro-signal enterprise signal.
Background
WeChat enterprise signals are mobile services that WeChat provides for enterprise clients, aiming at providing enterprise mobile application portals. IT can help the enterprise establish connections between employees, upstream and downstream supply chains, and enterprise IT systems.
The existing management system of the micro-letter enterprise signals only supports the management work of a single micro-letter enterprise signal, and does not support the collaborative unified management of a plurality of enterprise signals. For example, due to restrictions of enterprise WeChat flow mechanisms: a single application of a micro-signal enterprise signal can only configure a callback address, and under the condition that a group system and a sub-company system exist at the same time, one micro-signal can only be managed by the corresponding sub-company system, the group system and the sub-company system cannot be notified at the same time, and if the group system takes over the micro-signal enterprise signal, the sub-company cannot keep relative independence.
Therefore, it is needed to provide a method for processing the micro-letter enterprise signals, which realizes unified management of cross-micro-letter enterprise signals at the group level, and maintains the relative independence of the micro-letter enterprise signals of all the sub-companies.
Disclosure of Invention
The application provides a processing method, device, equipment and medium of a micro-letter enterprise signal, which are used for at least solving the problems that the cooperative unified management of a plurality of micro-letter enterprise signals is not supported in the existing scheme and the relative independence of a sub-company system cannot be maintained.
In a first aspect, the present application provides a method for processing a micro-signaling enterprise signal, including:
receiving callback event information of a micro-signal enterprise signal, wherein the micro-signal enterprise signal is a micro-signal enterprise signal of a subsidiary company belonging to the group, a URL address corresponding to the callback event information is a URL address of the group system, and the callback event information comprises callback events and application parameters;
determining a target subsidiary system according to the application parameters, callback configuration information of each micro-signal enterprise signal and the association relation between the micro-signal enterprise signal and the subsidiary system, wherein the callback configuration information is the application parameters configured in a URL address bar in a callback mode of each micro-signal enterprise signal;
and forwarding the callback event message to the target sub-company system according to the callback message forwarding address of the target sub-company system, wherein the group system configures the callback message forwarding address for each sub-company system in advance.
In one possible design, the determining the target sub-company system according to the application parameters, callback configuration information of each micro-signal enterprise signal, and correspondence between the micro-signal enterprise signal and the sub-company system includes:
determining a target WeChat enterprise number corresponding to an application parameter matched with the application parameter included in the callback event message in the application parameters included in the callback configuration information of each WeChat enterprise number;
and acquiring a target sub-company system associated with the target micro-signal enterprise according to the association relation between the micro-signal enterprise and the sub-company system.
In one possible design, when the WeChat Enterprise number is in callback mode; and the address bar of the micro-letter enterprise signal is configured with the URL address of the group system, and application parameters corresponding to the application of the micro-letter enterprise signal are set behind the URL address, wherein the application parameters comprise an application identifier and an application address.
In one possible design, the method further comprises:
acquiring application messages from the encapsulation interfaces of the applications of the micro-signal enterprise signals, wherein the group system encapsulates a plurality of application interfaces of the micro-signal enterprise signals in advance to obtain the encapsulation interfaces of each application, and the subsidiary accesses the applications of the micro-signal enterprise signals through the encapsulation interfaces;
acquiring a target application of the micro-signal enterprise signal according to the corresponding relation between the packaging interface and the application;
and updating the data of the target application of the subsidiary according to the application message so as to realize the data consistency of the group system and the subsidiary system.
In one possible design, the method further comprises:
when a request message is acquired, generating N sub-requests according to the number N of the sub-companies managed by the group system, wherein N is an integer greater than 1, and the managed sub-companies are sub-companies of the micro-signal enterprise signals for inputting parameter information into the group system;
according to the parameter information of the micro-signal enterprise signals, each sub-request is sent to an encapsulation interface of an application of the micro-signal enterprise signals of the corresponding sub-company;
wherein the request message is a tag data modification request or a welcome push request.
In one possible design, the parameter information includes: an access token for invoking an interface, the method further comprising:
according to the preset period, synchronizing access tokens of the micro-signal enterprise signals of the subsidiaries of the group system so as to call the packaging interface.
In one possible design, the method further comprises:
acquiring an H5 page configuration request sent by a WeChat enterprise number of a subsidiary, wherein the H5 page configuration request comprises a URL address of an H5 page;
and establishing an association relation between the H5 page and the subsidiary, and setting the H5 page as a page accessible by a group system mobile phone terminal.
In one possible design, the group system handset is configured to input a web page access request, where the web page access request includes a URL of an H5 page and encrypted user information; and the WeChat enterprise number of the subsidiary is used for decrypting the encrypted user information and acquiring the user information, and when the user information is correct, the group system mobile phone terminal is allowed to display an H5 page.
In a second aspect, the present application provides a processing apparatus for a microsignal enterprise signal, applied to a group system, the apparatus comprising:
the receiving module is used for receiving callback event information of a micro-signal enterprise number, wherein the micro-signal enterprise number is a micro-signal enterprise number of a subsidiary company belonging to the group, a URL address corresponding to the callback event information is a URL address of the group system, and the callback event information comprises a callback event and application parameters;
the processing module is used for determining a target sub-company system according to the application parameters, callback configuration information of each micro-letter enterprise signal and the association relation between the micro-letter enterprise signal and the sub-company system, wherein the callback configuration information is the application parameters configured in the URL address bar in a callback mode of each micro-letter enterprise signal;
and the forwarding module is used for forwarding the callback event message to the target sub-company system according to the callback message forwarding address of the target sub-company system, wherein the group system configures the callback message forwarding address for each sub-company system in advance.
In a third aspect, the present application provides a processing device for a micro-signaling enterprise signal, including: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes computer-executable instructions stored by the memory such that the at least one processor performs a method of processing a micro-signal enterprise signal.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of a method for processing a WeChat enterprise number.
The application provides a processing method, a device, equipment and a medium of a WeChat enterprise number, wherein the method is characterized in that a callback event message of the WeChat enterprise number of a group system is used, the WeChat enterprise number is a WeChat enterprise number of a subsidiary company belonging to the group, a URL address corresponding to the callback event message is a URL address of the group system, namely, the URL address of the WeChat enterprise number is uniformly modified into the URL address of the group system, and the callback event message comprises a callback event and application parameters; the group system determines a target subsidiary system according to the application parameters, callback configuration information of each micro-signal enterprise signal and the association relation between the micro-signal enterprise signal and the subsidiary system, wherein the callback configuration information is the application parameters configured in the URL address bar in a callback mode of each micro-signal enterprise signal; on the basis of modifying the URL address of the micro-letter enterprise signal, the application parameters configured in the URL address bar enable the group system to have the capability of receiving callback event information of the micro-letter enterprise signal; the group system determines a target sub-company system through the association relation between the micro-signal enterprise signals and the sub-company system, and achieves the purpose of forwarding callback events of the micro-signal enterprise signals to the sub-company system through the group system, so that collaborative unified management of a plurality of micro-signal enterprise signals is supported, and the sub-company systems keep relative independence.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
FIG. 1 is a schematic diagram of a processing architecture of a WeChat enterprise signal according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a workbench interface for a WeChat enterprise number according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a method for processing a WeChat enterprise signal according to an embodiment of the present application;
FIG. 4 is a diagram of URL address configuration and key configuration according to an embodiment of the present application;
FIG. 5 is a second flowchart of a method for processing a WeChat enterprise signal according to an embodiment of the present application;
fig. 6 is a flowchart III of a processing method of a micro-signal enterprise signal according to an embodiment of the present application;
fig. 7 is a flowchart of a method for processing a micro-signal enterprise signal according to an embodiment of the present application;
FIG. 8 is a block diagram of a processing device for a WeChat enterprise signal according to an embodiment of the present application;
fig. 9 is a schematic hardware diagram of a processing device for a micro-signal enterprise signal according to an embodiment of the present application.
Specific embodiments of the present application have been shown by way of the above drawings and will be described in more detail below. The drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but rather to illustrate the inventive concepts to those skilled in the art by reference to the specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
FIG. 1 is a schematic diagram of a processing architecture of a WeChat enterprise signal according to an embodiment of the present application; fig. 2 is a schematic diagram of a workbench interface of a micro-signal enterprise signal according to an embodiment of the present application. As shown in fig. 1, the processing architecture provided in this embodiment includes a terminal and a server. The terminal can be a device which can interact with a user, such as a mobile phone, a tablet personal computer and the like. For example, the terminal may be the computer 101 and/or the mobile phone 102 shown in fig. 1. The computer 101 may be in communication with a server 103. The handset 102 may communicate with a server 103.
As shown in fig. 2, the terminal may be used to display a workbench interface for the micro-letter enterprise number, where the workbench interface includes an option of "all applications" and an option of "efficiency tools", where all applications include applications such as conferences, live broadcasts, welcome, adding contacts and tags, and the like. For the application, in the callback mode of the WeChat enterprise signal, the URL address of the callback of the application can be set, so that callback event information of the application is fed back to the corresponding URL address.
In the prior art, when an application of a WeChat enterprise number generates a callback event message, the callback event message can only be sent to a server 103 corresponding to the URL address according to the URL address corresponding to the application, namely, only a single sub-company system or a group system can receive the callback event message and perform corresponding management, so that the group system and the sub-company system cannot be notified at the same time; or only the group system receives the callback event message and performs corresponding management, so that the micro-signal enterprise signals of the sub-company system lose relative independence.
In the embodiment of the present application, the server 103 may deploy data from a group system or a sub-company system, which is a server of the group system or the sub-company system. According to the embodiment of the application, the URL address of the group system is configured in the callback mode of the micro-letter enterprise signal of the sub-company system, and the application parameter is added behind the URL address, and the application parameter is associated with the micro-letter enterprise signal, so that the URL address of the group system can receive the callback event information, and the corresponding micro-letter enterprise signal of the sub-company can be determined according to the application parameter. Further, a callback message forwarding address is configured for each sub-company system, so that callback event information is forwarded to the sub-company system corresponding to the micro-signal enterprise number according to the callback message forwarding address, and therefore both the group system and the sub-company system can receive the callback event information and perform corresponding management, and meanwhile the micro-signal enterprise number of the sub-company system has relative independence.
The following describes the technical scheme of the present application and how the technical scheme of the present application solves the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 3 is a flowchart of a method for processing a micro-signal enterprise signal according to an embodiment of the present application. The method provided in this embodiment may be implemented by the server in fig. 1 or other servers, which is not particularly limited herein. As shown in fig. 3, the method includes:
s301, receiving callback event information of a micro-signal enterprise number, wherein the micro-signal enterprise number is a micro-signal enterprise number of a subsidiary company belonging to the group, a URL address corresponding to the callback event information is a URL address of the group system, and the callback event information comprises callback events and application parameters.
When the application in the micro-signal enterprise signal of the sub-company of the group changes, a callback event message of the micro-signal enterprise signal is triggered. For example, when the address book of the micro-letter enterprise number changes, a callback event message is triggered. The URL address corresponding to the callback event message is a URL address of a group system, so that the group system can receive the callback event message of the micro-signal enterprise signal.
The callback event message comprises a callback event and application parameters. The callback event is, for example, an event in which the address book changes. The application parameters may include an application identification and an application address.
For example, the application is identified as AppId and the application address is AgentId. The AgentId is an authorized address of a sub-company system and is used for marking micro-signal enterprise signals of different sub-company systems and the jump of the authorized URL address; the AppId can be checked at the management end of the WeChat enterprise number, and different AppIds represent different applications, for example, the AppId of the address book is different from the AppId of the tag.
Those skilled in the art will appreciate that the URL address of the callback event message may be preset. Fig. 4 is a diagram of URL address configuration and key configuration according to an embodiment of the present application. As shown in fig. 4, the URL address of the callback event message is set in the application management interface.
Specifically, when the micro-signal enterprise signal is in the callback mode, the micro-signal enterprise signal enters an application management interface, a URL address of the group system can be configured in a URL configuration item of the application management interface, and application parameters corresponding to the application of the micro-signal enterprise signal, such as the application identifier and the application address, are set behind the URL address. The group system identifies which micro-signal enterprise signal application has callback event through identifying the application parameter corresponding to the micro-signal enterprise signal application added after the URL address; the URL address is used for receiving callback event information in a callback process, and is a publicly accessible address.
Specifically, the application management interface further comprises a request Token and an encryption and decryption parameter EncodingAESKey, when the WeChat enterprise number is in a callback mode, the request Token is a key for opening the application of the WeChat enterprise number, when the request Token is matched correctly, the group system can access the URL address, and the encryption and decryption parameter EncodingAESKey is a key for encryption and decryption in the process of transmitting data including callback event information, so that the data is prevented from being intercepted and encrypted in the transmission process to generate secret leakage.
S302, determining a target subsidiary system according to the application parameters, callback configuration information of each micro-signal enterprise and association relation between the micro-signal enterprise and the subsidiary system, wherein the callback configuration information is the application parameters configured in the URL address bar in a callback mode of each micro-signal enterprise.
Specifically, determining a target micro-signal enterprise signal corresponding to an application parameter matched with the application parameter included in the callback event message in the application parameters included in the callback configuration information of each micro-signal enterprise signal; and acquiring a target sub-company system associated with the target micro-signal enterprise according to the association relation between the micro-signal enterprise and the sub-company system.
The application parameters are application parameters in callback event messages corresponding to the WeChat enterprise signals in a callback mode, and when the application parameters are consistent with the application parameters configured in the URL address bar, the group system can accurately locate the WeChat enterprise signals with specific application changes; and the group system can confirm which sub-company system the currently located micro-signal enterprise signal belongs to according to the association relation between the micro-signal enterprise signal and the sub-company system which are input in the group system in advance.
S303, forwarding the callback event message to the target sub-company system according to the callback message forwarding address of the target sub-company system, wherein the group system configures the callback message forwarding address for each sub-company system in advance.
Specifically, the group system sets a callback message forwarding address corresponding to each sub-company system in advance, and is configured to send the callback event message to the corresponding sub-company system after receiving the callback event message of the micro-signal enterprise signal in S301 and after confirming which sub-company system the callback event message belongs to in S302, and receive the callback event message by a callback message forwarding receiving address pre-configured in the sub-company system.
In the specific implementation process, because the group system corresponds to a plurality of sub-company systems, the situation that the message can not be forwarded in time exists, after the group system receives the callback event message of the WeChat enterprise number, the callback event message is added into the kafka message queue, and the kafka message queue comprising the callback event message is encrypted through the encryption and decryption parameters EncodingAESKey which are acquired by the group system;
subscribing the encrypted kafka message queue through a group system, decrypting the encrypted kafka message queue through an encryption and decryption parameter EncodingAESKey, determining which micro-information enterprise number corresponds to an application identifier and an application address in the kafka message queue according to information contained in the decrypted kafka message queue, encrypting a callback event through the encryption and decryption parameter EncodingAESKey according to a sub-company system corresponding to the micro-information enterprise number, encrypting the callback event to be sent in the kafka message queue through the encryption and decryption parameter EncodingAESKey again, and sending the encrypted callback event to a corresponding specific sub-company system.
The encryption and decryption parameters EncodingAESKey are used for encrypting or decrypting the data in the process of each data interaction, so that the security of the data is ensured.
In the embodiment of the application, the group system acquires the application change of the micro-signal enterprise signal corresponding to the sub-company system by receiving the callback event message of the micro-signal enterprise signal; the URL address corresponding to the callback event message is a URL address of a group system, application parameters corresponding to the application of the micro-signal enterprise signal are set behind the URL address, and an association relationship between the micro-signal enterprise signal and a sub-company system is set in the group system, so that the corresponding sub-company system can be searched according to the application parameters corresponding to the application of the micro-signal enterprise signal and the association relationship between the micro-signal enterprise signal and the sub-company system behind the URL address corresponding to the callback event message; the group system is also provided with a callback message forwarding address, so that callback message forwarding can be realized when a corresponding sub-company system is found; in the embodiment of the application, the group system can send the application change of the micro-letter enterprise number to the corresponding sub-company system while the micro-letter enterprise number of the sub-company system is connected through the group system, that is, the group system and the sub-company system can both receive callback event information and perform corresponding management, and meanwhile, the micro-letter enterprise number of the sub-company system has relative independence.
Fig. 5 is a flowchart second of a processing method of a micro-signal enterprise signal according to an embodiment of the present application. As shown in fig. 5, the method includes:
s501, acquiring application messages from the encapsulation interfaces of the applications of the micro-signal enterprise signals, wherein the group system encapsulates a plurality of application interfaces of the micro-signal enterprise signals in advance to obtain the encapsulation interfaces of each application, and the subsidiary accesses the applications of the micro-signal enterprise signals through the encapsulation interfaces.
The subsidiary system does not interact with the WeChat enterprise signal through the encapsulated interfaces of the applications already encapsulated in the WeChat enterprise signal, the group system encapsulates the application interfaces of the WeChat enterprise signal in advance, and the subsidiary system can access the applications of the WeChat enterprise signal through the application interfaces secondarily encapsulated by the group system while ensuring that the subsidiary system can access the applications of the WeChat enterprise signal.
S502, acquiring the target application of the micro-signal enterprise signal according to the corresponding relation between the packaging interface and the application.
And when the encapsulation interfaces of the applications of the WeChat enterprise signals are encapsulated in the group system, the corresponding relation between the encapsulation interfaces and the applications is also established, so that support is provided for subsequent calling of the interfaces and searching of the corresponding target applications.
Therefore, according to the corresponding relation between the packaging interface and the application, the target application accessed by the WeChat enterprise number can be obtained.
S503, updating the data of the target application of the subsidiary according to the application message so as to realize the data consistency of the group system and the subsidiary system.
The application information can be obtained through the corresponding target application found by the encapsulation interface, and the corresponding data update can be carried out according to the application information subsidiary;
optionally, the execution body described in S501 to S503 is a group system, which indicates that the group system can actively access an application package interface of a micro-signal enterprise signal and realize application data operation of a sub-company system.
In one possible implementation, access tokens of the WeChat enterprise numbers of the subsidiaries of the group system are synchronized according to a preset period for invocation of the encapsulated application interface.
Specifically, the access token comprises an Access token, the group system obtains the authority of the access token for acquiring the micro-signal enterprise number of the sub-company system through the parameter information of the micro-signal enterprise number, and periodically synchronizes, so that the updated access token can be timely obtained each time the access is required, and smooth access is ensured.
In this embodiment, the encapsulated interfaces are repackaged through the group system, so that the sub-company system can access the application of the WeChat enterprise number according to the interfaces encapsulated by the group system, the capability of the sub-company system to manage own WeChat enterprise number is reserved, the real-time data maintenance through the sub-company system is ensured, and the relative independence of the sub-company system is reserved.
The group system can also perform unified data management or modification on a plurality of sub-company systems at the same time, and fig. 6 is a flowchart III of a processing method of a micro-signal enterprise signal provided by the embodiment of the application. As shown in fig. 6, the method includes:
s601, when a request message is acquired, generating N sub-requests according to the number N of the sub-companies managed by the group system, wherein N is an integer greater than 1, and the managed sub-companies are the sub-companies of the WeChat enterprise number for inputting the parameter information of the WeChat enterprise number into the group system.
The group system completes the configuration of various parameters and addresses in advance and can send a request message to the micro-signal enterprise signal; generating N sub-requests in the group system according to the to-be-transmitted request message and the number N of the sub-companies managed by the group system, and transmitting each sub-request to the sub-company system and each micro-signal enterprise number thereof to finish the corresponding request.
S602, according to the parameter information of the WeChat enterprise number, each sub-request is sent to an encapsulation interface of an application of the WeChat enterprise number of the corresponding sub-company;
wherein the request message is a tag data modification request or a welcome push request.
The request message provided in this embodiment may be various messages for applications. For example, a tag data modification request or a welcome push request may be used.
Taking the request message as a tag data modification request as an example, after the group system sends the tag data modification request message, the tag data modification request is sent to an application of the micro-letter enterprise number according to the application identifier of the micro-letter enterprise number. Specifically, the tag data modification request is encrypted according to an encryption and decryption parameter Access token, the encrypted request is sent to an API interface of a micro-letter enterprise number repackaged by a group system, then all the micro-letter enterprise numbers decrypt the request, after the decryption is successful, the tag of the application of the corresponding micro-letter enterprise number is changed according to the request sent by the group system, for example, the parameter a of the tag is modified to b.
Taking the request message as a welcome push request as an example, when the group system receives an event of adding an external contact, inquiring welcome materials corresponding to the external contact according to the URL address corresponding to the member label of the external contact, determining which welcome is sent to the corresponding WeChat enterprise number according to the parameter information of the WeChat enterprise number corresponding to the external contact, and sending the welcome to an encapsulation interface of an application of the WeChat enterprise number of a corresponding subsidiary after confirmation, so that the aim of unified sending is achieved.
In the embodiment of the application, the group system carries out related actions including application data modification and data transmission in a mode of sending the request message, thereby realizing unified management and modification of the sub-company system and the micro-letter enterprise signals thereof.
Fig. 7 is a flowchart of a method for processing a micro-signal enterprise signal according to an embodiment of the present application.
As shown in fig. 7, the processing method of the micro-signal enterprise signal according to the embodiment of the present application further includes the configuration of pages:
s701, acquiring an H5 page configuration request sent by a micro-signal enterprise signal of a subsidiary, wherein the H5 page configuration request comprises a URL address of an H5 page.
In practical use, for convenience of user operation, functions of browsing and operating at the mobile phone end are generally set, for example, in this embodiment, when the micro-signal enterprise number of the sub-company is already configured to the group system for management, the group system needs to reconfigure the display of the page, and obtains an H5 page configuration request sent by the micro-signal enterprise number of the sub-company, so that H5 page configuration can be performed.
S702, establishing an association relation between the H5 page and the subsidiary, and setting the H5 page as a page accessible by a group system mobile phone terminal.
The association relation between the H5 page and the subsidiary can provide a basis for configuring the H5 page of the WeChat enterprise number corresponding to the specific subsidiary for the subsequent group collection system, and the H5 page is set as the page accessible by the group system mobile phone end, so that the group system can have configuration authority.
After the basic configuration is carried out, the group system mobile phone end is used for inputting a webpage access request, wherein the webpage access request comprises the URL of an H5 page and encrypted user information; and the WeChat enterprise number of the subsidiary is used for decrypting the encrypted user information and acquiring the user information, and when the user information is correct, the group system mobile phone terminal is allowed to display an H5 page.
Specifically, the group system acquires an H5 page configuration request sent by a micro-signal enterprise number of a subsidiary, acquires user information of a sending requester through an access token of the micro-signal enterprise number of the subsidiary which is already input into the group system, adds a time stamp to the user information, encrypts the user information added with the time stamp by RSA, acquires the encrypted user information, can carry out page jump according to the URL of the H5 page and the encrypted user information, decrypts the encrypted user information through the subsidiary system after the page jump to the subsidiary system, and displays the corresponding H5 page in a group system mobile phone terminal according to the decryption information and the established association relation between the H5 page and the subsidiary.
In the embodiment, the H5 page of the sub-company system is configured in the group system mobile phone end, so that the group system can be conveniently displayed and managed uniformly through the mobile end.
In summary, the embodiment of the application can embody the realization of unified management of a plurality of WeChat enterprise signals, and ensure that tag data, welcome words and the like can be uniformly modified through a group system; callback events of the WeChat enterprise signals can be ensured to be fed back to the sub-company system through the group system in real time; meanwhile, the capability of independently completing the own WeChat enterprise number business iteration of the sub-company system is reserved, and the innovation activity of the sub-company can be stimulated to the greatest extent.
Fig. 8 is a block diagram of a processing device for a micro-signal enterprise signal according to an embodiment of the present application. As shown in fig. 8, the apparatus includes: a receiving module 801, a processing module 802 and a forwarding module 803;
the receiving module 801 is configured to receive a callback event message of a micro-signal enterprise signal, where the micro-signal enterprise signal is a micro-signal enterprise signal of a subsidiary company belonging to the group, a URL address corresponding to the callback event message is a URL address of the group system, and the callback event message includes a callback event and an application parameter.
Before receiving the callback event message through the receiving module 801, setting the micro-signal enterprise signal in a callback mode;
and configuring the URL address of the group system in an address bar corresponding to the callback mode, and adding application parameters corresponding to the application of the micro-signal enterprise signal after the URL address, wherein the application parameters comprise an application identifier and an application address.
And the processing module 802 is configured to determine a target sub-company system according to the application parameters, callback configuration information of each micro-letter enterprise signal, and an association relationship between the micro-letter enterprise signal and the sub-company system, where the callback configuration information is an application parameter configured in a URL address bar in a callback mode of each micro-letter enterprise signal.
The callback event message is further used for determining a target micro-signal enterprise signal corresponding to the application parameter matched with the application parameter included in the callback event message in the application parameters included in the callback configuration information of each micro-signal enterprise signal;
and acquiring a target sub-company system associated with the target micro-signal enterprise according to the association relation between the micro-signal enterprise and the sub-company system.
And a forwarding module 803, configured to forward the callback event message to the target sub-company system according to the callback message forwarding address of the target sub-company system, where the group system configures a callback message forwarding address for each sub-company system in advance.
The receiving module 801 is further configured to obtain an application message from an application package interface of the micro-signal enterprise signal, where the group system packages a plurality of application interfaces of the micro-signal enterprise signal in advance, so as to obtain an application package interface of each application, and the subsidiary accesses the application of the micro-signal enterprise signal through the application package interface.
The processing module 802 is further configured to obtain a target application of the WeChat enterprise signal according to a correspondence between the encapsulation interface and the application;
the forwarding module 803 is further configured to update data of the target application of the sub-company according to the application message, so as to achieve data consistency between the group system and the sub-company system.
The processing module 802 is further configured to generate N sub-requests according to the number N of sub-companies managed by the group system when the request message is acquired, where N is an integer greater than 1, and the managed sub-companies are sub-companies of the micro-signal enterprise signal for inputting parameter information into the group system;
according to the parameter information of the micro-signal enterprise signals, each sub-request is sent to an encapsulation interface of an application of the micro-signal enterprise signals of the corresponding sub-company;
wherein the request message is a tag data modification request or a welcome push request.
Fig. 9 is a schematic hardware diagram of a processing device for a micro-signal enterprise signal according to an embodiment of the present application. As shown in fig. 9, the processing device 90 for a micro signal enterprise signal provided in this embodiment includes: at least one processor 901 and a memory 902. The device 90 further comprises a communication means 903. The processor 901, the memory 902, and the communication unit 903 are connected via a bus 904.
In a specific implementation process, at least one processor 901 executes computer-executable instructions stored in the memory 902, so that the at least one processor 901 performs a processing method of a micro signal enterprise signal as above.
The specific implementation process of the processor 901 may refer to the above-mentioned method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
In the embodiment shown in fig. 9, it should be understood that the processor may be a central processing unit (english: central Processing Unit, abbreviated as CPU), or may be other general purpose processors, digital signal processors (english: digital Signal Processor, abbreviated as DSP), application specific integrated circuits (english: application Specific Integrated Circuit, abbreviated as ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
The memory may comprise high speed RAM memory or may further comprise non-volatile storage NVM, such as at least one disk memory.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present application are not limited to only one bus or to one type of bus.
The application also provides a computer readable storage medium, wherein the computer readable storage medium stores computer execution instructions, and when a processor executes the computer execution instructions, the processing method of the micro-signal enterprise signal is realized.
The computer readable storage medium described above may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk. A readable storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. In the alternative, the readable storage medium may be integral to the processor. The processor and the readable storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuits, ASIC for short). The processor and the readable storage medium may reside as discrete components in a device.
The division of the units is merely a logic function division, and there may be another division manner when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
Claims (10)
1. A method for processing a microsignal enterprise signal, the method being applied to a group system, the method comprising:
receiving callback event information of a micro-signal enterprise signal, wherein the micro-signal enterprise signal is a micro-signal enterprise signal of a subsidiary company belonging to the group, a URL address corresponding to the callback event information is a URL address of the group system, and the callback event information comprises callback events and application parameters;
determining a target subsidiary system according to the application parameters, callback configuration information of each micro-signal enterprise signal and the association relation between the micro-signal enterprise signal and the subsidiary system, wherein the callback configuration information is the application parameters configured in a URL address bar in a callback mode of each micro-signal enterprise signal;
forwarding the callback event message to the target sub-company system according to the callback message forwarding address of the target sub-company system, wherein the group system configures the callback message forwarding address for each sub-company system in advance;
the determining the target sub-company system according to the application parameters, callback configuration information of each micro-signal enterprise signal and the corresponding relation between the micro-signal enterprise signal and the sub-company system comprises the following steps:
determining a target WeChat enterprise number corresponding to an application parameter matched with the application parameter included in the callback event message in the application parameters included in the callback configuration information of each WeChat enterprise number;
and acquiring a target sub-company system associated with the target micro-signal enterprise according to the association relation between the micro-signal enterprise and the sub-company system.
2. The method of claim 1, wherein when the micro-signal enterprise signal is in a callback mode; and the address bar of the micro-letter enterprise signal is configured with the URL address of the group system, and application parameters corresponding to the application of the micro-letter enterprise signal are set behind the URL address, wherein the application parameters comprise an application identifier and an application address.
3. The method according to claim 1, wherein the method further comprises:
acquiring application messages from the encapsulation interfaces of the applications of the micro-signal enterprise signals, wherein the group system encapsulates a plurality of application interfaces of the micro-signal enterprise signals in advance to obtain the encapsulation interfaces of each application, and the subsidiary accesses the applications of the micro-signal enterprise signals through the encapsulation interfaces;
acquiring a target application of the micro-signal enterprise signal according to the corresponding relation between the packaging interface and the application;
and updating the data of the target application of the subsidiary according to the application message so as to realize the data consistency of the group system and the subsidiary system.
4. A method according to claim 3, characterized in that the method further comprises:
when a request message is acquired, generating N sub-requests according to the number N of the sub-companies managed by the group system, wherein N is an integer greater than 1, and the managed sub-companies are sub-companies of the micro-signal enterprise signals for inputting parameter information into the group system;
according to the parameter information of the micro-signal enterprise signals, each sub-request is sent to an encapsulation interface of an application of the micro-signal enterprise signals of the corresponding sub-company;
wherein the request message is a tag data modification request or a welcome push request.
5. The method of claim 4, wherein the parameter information comprises: an access token for invoking an interface, the method further comprising:
according to the preset period, synchronizing access tokens of the micro-signal enterprise signals of the subsidiaries of the group system so as to call the packaging interface.
6. The method according to claim 1, wherein the method further comprises:
acquiring an H5 page configuration request sent by a WeChat enterprise number of a subsidiary, wherein the H5 page configuration request comprises a URL address of an H5 page;
and establishing an association relation between the H5 page and the subsidiary, and setting the H5 page as a page accessible by a group system mobile phone terminal.
7. The method of claim 6, wherein the group system handset side is configured to input a web page access request, the web page access request including a URL of an H5 page and encrypted user information; and the WeChat enterprise number of the subsidiary is used for decrypting the encrypted user information and acquiring the user information, and when the user information is correct, the group system mobile phone terminal is allowed to display an H5 page.
8. A processing device for a microsignal enterprise signal, the device comprising:
the receiving module is used for receiving callback event information of a micro-signal enterprise number, wherein the micro-signal enterprise number is a micro-signal enterprise number of a subsidiary company belonging to the group, a URL address corresponding to the callback event information is a URL address of the group system, and the callback event information comprises a callback event and application parameters;
the processing module is used for determining a target sub-company system according to the application parameters, callback configuration information of each micro-letter enterprise signal and the association relation between the micro-letter enterprise signal and the sub-company system, wherein the callback configuration information is the application parameters configured in the URL address bar in a callback mode of each micro-letter enterprise signal;
the forwarding module is used for forwarding the callback event message to the target sub-company system according to the callback message forwarding address of the target sub-company system, wherein the group system configures the callback message forwarding address for each sub-company system in advance;
the processing module is specifically configured to determine, in application parameters included in callback configuration information of each micro-letter enterprise signal, a target micro-letter enterprise signal corresponding to an application parameter matched with the application parameter included in the callback event message;
and acquiring a target sub-company system associated with the target micro-signal enterprise according to the association relation between the micro-signal enterprise and the sub-company system.
9. A processing device for a microsignal enterprise signal, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing computer-executable instructions stored in the memory causes the at least one processor to perform the method of processing a microsignal enterprise signal as claimed in any one of claims 1-7.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, carries out the steps of the method for processing a microsignal enterprise signal according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210461221.3A CN114844860B (en) | 2022-04-28 | 2022-04-28 | WeChat enterprise signal processing method, device, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210461221.3A CN114844860B (en) | 2022-04-28 | 2022-04-28 | WeChat enterprise signal processing method, device, equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114844860A CN114844860A (en) | 2022-08-02 |
CN114844860B true CN114844860B (en) | 2023-09-26 |
Family
ID=82566857
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210461221.3A Active CN114844860B (en) | 2022-04-28 | 2022-04-28 | WeChat enterprise signal processing method, device, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114844860B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116757644A (en) * | 2023-08-11 | 2023-09-15 | 杭州面朝信息科技有限公司 | Method, system, electronic equipment and medium based on enterprise WeChat random friend adding |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105049427A (en) * | 2015-06-29 | 2015-11-11 | 用友优普信息技术有限公司 | Management method and management device for login accounts of application systems |
CN106936687A (en) * | 2015-12-30 | 2017-07-07 | 航天信息软件技术有限公司 | A kind of wechat public number access device, system and method and mobile terminal |
CN106941441A (en) * | 2017-02-21 | 2017-07-11 | 珠海全志科技股份有限公司 | A kind of implementation method for supporting many wechat public numbers to access |
CN108234487A (en) * | 2017-12-29 | 2018-06-29 | 重庆远望广告有限公司 | Approaches to IM based on wechat public platform |
CN109274579A (en) * | 2018-09-04 | 2019-01-25 | 江苏龙虎网信息科技股份有限公司 | It is a kind of that user's uniform authentication method is applied based on wechat platform more |
CN109873720A (en) * | 2019-02-26 | 2019-06-11 | 山东浪潮云信息技术有限公司 | A kind of cloud center intelligence O&M method and system based on enterprise's public platform |
CN110177039A (en) * | 2019-05-21 | 2019-08-27 | 深圳壹账通智能科技有限公司 | Message sharing method, device, computer equipment and storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107657471B (en) * | 2016-09-22 | 2021-04-30 | 腾讯科技(北京)有限公司 | Virtual resource display method, client and plug-in |
-
2022
- 2022-04-28 CN CN202210461221.3A patent/CN114844860B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105049427A (en) * | 2015-06-29 | 2015-11-11 | 用友优普信息技术有限公司 | Management method and management device for login accounts of application systems |
CN106936687A (en) * | 2015-12-30 | 2017-07-07 | 航天信息软件技术有限公司 | A kind of wechat public number access device, system and method and mobile terminal |
CN106941441A (en) * | 2017-02-21 | 2017-07-11 | 珠海全志科技股份有限公司 | A kind of implementation method for supporting many wechat public numbers to access |
CN108234487A (en) * | 2017-12-29 | 2018-06-29 | 重庆远望广告有限公司 | Approaches to IM based on wechat public platform |
CN109274579A (en) * | 2018-09-04 | 2019-01-25 | 江苏龙虎网信息科技股份有限公司 | It is a kind of that user's uniform authentication method is applied based on wechat platform more |
CN109873720A (en) * | 2019-02-26 | 2019-06-11 | 山东浪潮云信息技术有限公司 | A kind of cloud center intelligence O&M method and system based on enterprise's public platform |
CN110177039A (en) * | 2019-05-21 | 2019-08-27 | 深圳壹账通智能科技有限公司 | Message sharing method, device, computer equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
"基于消息推送的企业移动办公应用集成系统设计与实现";陈刚;《中国优秀硕士学位论文全文数据库——信息科技》(第第07期期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114844860A (en) | 2022-08-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11784788B2 (en) | Identity management method, device, communications network, and storage medium | |
US7353044B2 (en) | Method for processing and transmitting data on a mobile telephone network and microchip onboard system | |
CN101667240B (en) | Intelligent card and card writing method, equipment and system thereof | |
KR20160009969A (en) | Method and apparatus for provisioning profile of embedded universal integrated circuit card | |
CN103546435A (en) | Data synchronizing method and server | |
CN111008325B (en) | Data query method, device, electronic equipment and system | |
CN113806777A (en) | File access realization method and device, storage medium and electronic equipment | |
CN109347839A (en) | Centralized password management method and centralized password management, device, electronic equipment and computer storage medium | |
CN114844860B (en) | WeChat enterprise signal processing method, device, equipment and medium | |
US10841287B2 (en) | System and method for generating and managing a key package | |
CN113642014A (en) | Data access system based on hybrid cloud and public cloud server | |
KR102014108B1 (en) | Method and RSP Server Apparatus for Providing SIM Profile to eUICC Device | |
CN112035859B (en) | Password service calling method and device, storage medium and electronic device | |
CN113923251A (en) | Distributed gateway system | |
CN111581576B (en) | Development processing method and device based on micro-service and storage medium | |
CN115686542A (en) | Application installation method, device, equipment and storage medium | |
CN117579277A (en) | Encryption and decryption method, device and equipment of information and storage medium | |
US11496306B2 (en) | Data communication target control with contact tokens | |
CN113472785B (en) | Data processing method and device, electronic equipment and readable storage medium | |
CN113315758B (en) | Information agent method and device | |
CN113595962B (en) | Safety control method and device and safety control equipment | |
CN112839132B (en) | Method and system for realizing mobile phone input method with information encryption function | |
CN115190168B (en) | Edge server management system and server cluster | |
CN116320066A (en) | Multi-protocol communication control method and device | |
GB2417173A (en) | Encryption in communications systems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |