CN117692891A - Resource subscription device, method, electronic equipment and storage medium - Google Patents

Resource subscription device, method, electronic equipment and storage medium Download PDF

Info

Publication number
CN117692891A
CN117692891A CN202311628480.1A CN202311628480A CN117692891A CN 117692891 A CN117692891 A CN 117692891A CN 202311628480 A CN202311628480 A CN 202311628480A CN 117692891 A CN117692891 A CN 117692891A
Authority
CN
China
Prior art keywords
resource
target
control
sending
management module
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.)
Pending
Application number
CN202311628480.1A
Other languages
Chinese (zh)
Inventor
刘茜溪
吕光旭
李善诗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
China Information Technology Designing and Consulting Institute Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
China Information Technology Designing and Consulting Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd, China Information Technology Designing and Consulting Institute Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202311628480.1A priority Critical patent/CN117692891A/en
Publication of CN117692891A publication Critical patent/CN117692891A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The application provides a resource subscription device, a resource subscription method, electronic equipment and a storage medium, relates to the technical field of computers, and can help industry clients save a large amount of time. The resource subscription device comprises a resource management module, a relation management module and a resource sending module. The resource management module comprises a rule management module and a content management module. The rule management module is used for storing the sending rule of each resource, and the content management module is used for storing the resource content of each resource. And the relation management module is used for storing the corresponding relation between the resource identifier of each resource and the equipment identifier of the terminal equipment subscribed to the resource. And the resource sending module is used for sending the resource content of the resource to the terminal equipment subscribing the resource according to the sending rule of each resource. The embodiment of the application is used in the resource subscription process.

Description

Resource subscription device, method, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a resource subscription device, a method, an electronic device, and a storage medium.
Background
With the communication technology alternation, mobile communication networks have undergone the rapid development of second generation mobile communication technology (the 2nd generation, 2G), third generation mobile communication technology (the 3rd generation,3G) and fourth generation mobile communication technology (the 4th generation,4G), and network infrastructure capabilities provided by operators are becoming stronger and network bandwidths are becoming wider. But the underlying communication services provided by operators over high speed networks do not change much. The mobile terminal in the hand of the user is continuously updated, and the functions of the mobile terminal are more and more powerful. So users are increasingly in need of information exchange.
Currently, when an industry client synchronizes 5G messages to a personal user in a mass-sending manner, the industry client not only needs related personnel to manually sort the content of the 5G messages, but also needs related personnel to manually determine the personal user who needs to accept the 5G messages, so that the operation is complicated, and a great deal of time is wasted.
Disclosure of Invention
The application provides a resource subscription device, a resource subscription method, electronic equipment and a storage medium, which can help industry clients save a great deal of time.
In order to achieve the above purpose, the present application adopts the following technical scheme:
in a first aspect, the present application provides a resource subscription apparatus, including:
the resource management module comprises a rule management module and a content management module; the rule management module is used for storing the sending rule of each resource; the content management module is used for storing the resource content of each resource; the sending rule of each resource is used for determining the sending time of the resource;
the relation management module is used for storing the corresponding relation between the resource identifier of each resource and the equipment identifier of the terminal equipment subscribing the resource;
and the resource sending module is used for sending the resource content of the resource to the terminal equipment subscribing the resource according to the sending rule of each resource.
Based on the technical scheme, the resource subscription device provided by the application can comprise the resource management module, the relation management module and the resource sending module, and can automatically send the 5G subscription message through the resource management module, the relation management module and the resource sending module, so that the application can help industry clients save a large amount of time.
Optionally, the device further includes a trigger management module, where the trigger management module is specifically configured to: and responding to a trigger instruction of the target terminal equipment aiming at the target control, and acquiring the equipment identification of the target terminal equipment. Determining a target resource with an association relationship with a target control and a control type of the target control; and generating subscription information according to the resource identification of the target resource, the control type of the target control and the equipment identification of the target terminal equipment, and sending the subscription information to the relation management module.
Optionally, the relationship management module is further configured to: receiving subscription information from a trigger management module; storing a corresponding relation between a resource identifier of a target resource and a device identifier of target terminal equipment under the condition that the control type of the target control is a subscription control; or deleting the corresponding relation between the resource identifier of the target resource and the equipment identifier of the target terminal equipment from the relation management module under the condition that the control type of the target control is a non-subscription control; and sending subscription information to the resource sending module.
Optionally, the resource sending module is further configured to: receiving subscription information from a relationship management module; creating a resource task for the target resource and executing the resource task under the condition that the control type of the target control is a subscription control; and deleting the resource task of the target resource under the condition that the control type of the target control is a non-subscription control.
Optionally, the resource sending module is specifically configured to: aiming at each sub-resource task, acquiring resource content corresponding to the sub-resource task from a content management module under the condition that the current time is consistent with the sending time of the sub-resource task; and sending the resource content corresponding to the sub-resource task to the target terminal equipment.
In a second aspect, the present application provides a method for subscribing to a resource, the method comprising:
responding to a trigger instruction of target terminal equipment aiming at a target control, and acquiring equipment identification of the target terminal equipment; determining a target resource with an association relationship with a target control and a control type of the target control; storing a corresponding relation between a resource identifier of a target resource and a device identifier of target terminal equipment under the condition that the control type of the target control is a subscription control; creating a resource task for the target resource and executing the resource task.
Optionally, the method further comprises: and deleting the corresponding relation between the resource identifier of the target resource and the equipment identifier of the target terminal equipment and deleting the resource task of the target resource under the condition that the control type of the target control is a non-subscription control.
Optionally, the resource task includes a plurality of sub-resource tasks; creating a resource task for the target resource and executing the resource task, including: acquiring a sending rule of a target resource; determining the sending time of the target resource based on the sending rule of the target resource; the sending time of the target resource comprises at least one sending time; creating a sub-resource task at each sending moment of the target resource; each sub-resource task is executed in turn in time order.
Optionally, sequentially executing each sub-resource task according to a time sequence, including: aiming at each sub-resource task, acquiring resource content corresponding to the sub-resource task from a content management module under the condition that the current time is consistent with the sending time of the sub-resource task; and sending the resource content corresponding to the sub-resource task to the target terminal equipment.
In a third aspect, the present application provides an electronic device, the apparatus comprising: a processor and a memory configured to store processor-executable instructions; wherein the processor is configured to execute the instructions to implement the resource subscription method as described in any one of the possible implementations of the second aspect and the second aspect.
In a fourth aspect, the present application provides a computer readable storage medium having instructions stored therein which, when run on a terminal, cause the terminal to perform a resource subscription method as described in any one of the possible implementations of the second aspect and the second aspect.
Drawings
FIG. 1 is a block diagram of an industry user sending a 5G message to a personal user via a chatbot in the prior art;
fig. 2 is a block diagram of a resource subscription device according to an embodiment of the present application;
FIG. 3 is a flowchart of interaction between a relationship management module and a resource sending module according to an embodiment of the present application;
fig. 4 is a flowchart of interaction between a resource sending module and a resource management module according to an embodiment of the present application;
fig. 5 is an interaction flow chart between a resource sending module and a target terminal device provided in an embodiment of the present application;
FIG. 6 is a flowchart of interaction among a server, a resource management module, and a trigger management module according to an embodiment of the present application;
fig. 7 is an interaction flow chart among a terminal device, a server, a trigger management module and a relationship management module provided in an embodiment of the present application;
Fig. 8 is a flow chart of a resource subscription method provided in an embodiment of the present application;
fig. 9 is a flowchart of another resource subscription method provided in an embodiment of the present application;
fig. 10 is a schematic block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following describes a time screening method and device provided in the embodiments of the present application in detail with reference to the accompanying drawings.
The term "and/or" is herein merely an association relationship describing an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone.
The terms "first" and "second" and the like in the description and in the drawings are used for distinguishing between different objects or for distinguishing between different processes of the same object and not for describing a particular sequential order of objects.
Furthermore, references to the terms "comprising" and "having" and any variations thereof in the description of the present application are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed but may optionally include other steps or elements not listed or inherent to such process, method, article, or apparatus.
It should be noted that, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
With the alternation of communication technologies, mobile communication networks have undergone the rapid development of 2G, 3G and 4G, and network infrastructure capabilities provided by operators are becoming stronger and network bandwidths are becoming wider. But the underlying communication services provided by operators over high speed networks do not change much. The mobile terminal in the hand of the user is continuously updated, and the functions of the mobile terminal are more and more powerful. So users are increasingly in need of information exchange.
Previously, short message service of operators is popular among users because of the characteristics of strong accessibility, high security, global interconnection and intercommunication and the like, but because of the service experience limitation, only limited text information can be transmitted, a large number of individual users select other information exchange modes, and some industry clients still select the short message mode to transmit necessary information for the users, but the business requirements of the users cannot be met.
It is the most basic service spirit for operators to meet user communication requirements. When the 5G (the 5th generation, 5G) age comes, operators have achieved a broad consensus in the global system for mobile communications (Global System for Mobile communications Association, GSMA) that short message service needs to be upgraded to a rich media message service, which we call 5G message service.
The 5G messaging service not only supports multimedia messaging interaction between individual users, but also enables industry customers to provide new types of rich media-based interactive digital services for their users. According to GSMA plan, 5G terminals will support 5G message service in the future, and related standards have completed the work. The appearance of the 5G message service brings brand new service experience for the majority of mobile phone users and precious development opportunities for industry clients and related industries.
Currently, business customers may interact with individual users through an operator network in the form of chat robots (chatbots).
The media formats that the chatbots of industry clients can include for sending message content to individual users in a point-to-point and mass messaging manner are: text, pictures, audio, video, expressions, locations, contacts, etc., may also contain rich media cards, and the message may also carry a list of options (including "suggested replies" and "suggested actions").
The content of a message sent by an individual user to a chatbot of an industry client may contain media formats of: text, pictures, audio, video, expressions, locations, contacts, etc. Individual users can trigger the chatbots of an industry client in a number of ways. For example, the search results trigger may be clicked after searching within the message search box. For example, the method can also be triggered by clicking on a webpage of a browser, or triggered by scanning a two-dimensional code, or triggered by inputting a chatbot identifier (identity document, ID), and the method can enter a message interaction interface after triggering.
The details of chatbots include account numbers, names, avatars, service descriptions, customer service phones, and the like. The user can view the chatbot detailed information acquired by the terminal. The user can store the chatbot detailed information locally at the terminal, and can delete the chatbot detailed information stored locally at the terminal. After receiving the message from the chatbot for the first time, the terminal queries the operator network to check the details of the chatbot, and if the chatbot is not found, the source of the message is considered to be unreliable and is not displayed to the user, so that the reliability of the source of the message is ensured.
The "suggested replies" and "suggested actions" in the options list are clickable keys on the interface. An individual user may interact with the chatbot through "suggested replies" and "suggested actions" in the list of options. Specifically, when the individual user clicks the "advice reply" button, the terminal device may send the content defined by the "advice reply" as one message to the chatbot. This piece of transmitted content is visible to the individual user.
When the individual user clicks the "advice operation" button, the terminal performs a function defined by the "advice operation", for example: opening a specific web page or Application (APP), invoking a phone dialing Application to complete an audiovisual phone call to a specific object, querying a location on a map and sending a terminal local geographic location, adding calendar events, editing and drafting, sending text messages or audiovisual messages, and the like.
The keys in the options list may include the following three presentation modes: suspension button, rich media card built-in button and the fixed button in message dialogue interface bottom. After the user clicks the hover key, all hover keys disappear. After the user clicks the built-in button of the rich media card, the built-in button does not disappear. After the user clicks the fixed key, the fixed key does not disappear.
Currently, an industry client may send a 5G message to an individual user through a chatbot, for example, fig. 1 is a block diagram of a structure in which an industry user sends a 5G message to an individual user through a chatbot in the prior art, and as shown in fig. 1, the block diagram may include the chatbot, an operator map platform, a 5G message channel, and a terminal device of the individual user.
Industry clients can access messages, i.e., platforms (massage as a platform, maaP), in the form of chatbots, and access and messaging in the hypertext transfer protocol (hype text transfer protocol, http) protocol, with the chatbots issuing messages using a message mass-sending interface. The operator MaaP platform is used for bearing the interactive 5G message service and is responsible for the functions of access, message content storage, message auditing, material file auditing and the like of the MaaP service. The 5G message channel has the capability of processing short messages and basic multimedia messages, is provided with a network interface with the MaaP platform, can be accessed to new 5G message industry clients, and provides a 5G message receiving and transmitting function for terminal equipment supporting 5G messages. An individual user refers to a user subscribed to a 5G messaging service.
However, when the current industry client synchronizes the 5G message to the individual user by means of mass-sending, the industry client needs not only to manually sort the content of the 5G message by related personnel, but also to manually determine the individual user who needs to accept the 5G message, which is complicated to operate and wastes a lot of time.
In order to solve the technical problem, according to the resource subscription method provided by the application, equipment information of each MSAP equipment in a target manufacturer can be acquired according to a preset acquisition period, equipment information of each MSAP equipment is adjusted according to a preset data adjustment specification aiming at each MSAP equipment, and finally the adjusted equipment information of each MSAP equipment is stored. Therefore, the equipment information of the MSAP equipment of each manufacturer can be unified, and operators are helped to update and audit the equipment information of the MSAP equipment of each manufacturer in time.
Fig. 2 is a block diagram of a resource subscription device provided in the embodiment of the present application, and as shown in fig. 2, the block diagram may include a server 201, an operator map platform 202, a 5G message channel 203, and a terminal device 204. The server 201 is a server of an industry client that transmits 5G messages, and the terminal device 204 is a terminal device of an individual user (hereinafter, simply referred to as a user) that receives 5G messages.
The server 201 may include a resource management module 205, a relationship management module 206, a resource sending module 207, and a trigger management module 208.
The trigger management module 208 is configured to store information such as a subscription control and an unsubscribe control corresponding to each resource, a control identifier and a control type of each control, and the like.
The resource management module 205 may include a rule management module 209 and a content management module 210. The rule management module 209 is used to store the transmission rule of each resource. The content management module 210 is used to store resource content of each resource. The transmission rule for each resource is used to determine the transmission time for that resource.
In this embodiment of the present application, the sending rule of each resource may be set by an individual user subscribed to the resource, or may be set by an industry client configuring the resource, for example, the sending rule may be set to send at a fixed time point, or the sending rule may be set to be an interval time from a last sending time, which is not limited in this embodiment of the present application.
The relationship management module 206 is configured to store a correspondence between a resource identifier of each resource and a device identifier of a terminal device subscribed to the resource.
The resource transmitting module 207 may include a driving module 211 and a storage module 212. The driving module 211 is configured to send the resource content of the resource to the terminal device subscribed to the resource according to the sending rule of each resource. The storage module 212 is configured to store a sending record of the resources subscribed by each terminal device, and a subscription progress.
In this embodiment of the present application, a chatbot may be set in the server 201, and accordingly, when the server 201 sends a 5G message to the terminal device 204 of the individual user, the server 201 may send the 5G message to the terminal device 204 of the individual user through the chatbot, which will be described below by taking the server 201 as an example.
In an alternative embodiment, the trigger management module may respond to a trigger instruction of the target terminal device for the target control, obtain a device identifier of the target terminal device, determine a target resource having an association relationship with the target control and a control type of the target control, and then generate subscription information according to the resource identifier of the target resource, the control type of the target control and the device identifier of the target terminal device, and send the subscription information to the relationship management module.
The target terminal device may be any user terminal device.
Specifically, in some embodiments, a user may perform a triggering operation on the target terminal device for the target control, and the target terminal device may determine a control identifier of the target control, a resource identifier of a target resource having an association with the target control, a control type of the target control, and a device identifier of the target terminal device in response to the triggering operation on the target control by the user, and then generate a triggering instruction for the target control according to the control identifier of the target control, the resource identifier of the target resource having the association with the target control, the control type of the target control, and the device identifier of the target terminal device, and send the triggering instruction to a trigger management module of the server.
After receiving a trigger instruction of the target terminal device for the target control, the trigger management module can acquire the control identification of the target control, the resource identification of the target resource, the control type of the target control and the device identification of the target terminal device. And then, the trigger management module can generate subscription information according to the resource identification of the target resource, the control type of the target control and the equipment identification of the target terminal equipment and send the subscription information to the relation management module.
In other embodiments, the user may perform a triggering operation on the target terminal device for the target control, and the target terminal device may generate a triggering instruction for the target control according to the control identifier of the target control and the device identifier of the target terminal device in response to the triggering operation of the user for the target control, and send the triggering instruction to the trigger management module 208 of the server.
After receiving the trigger instruction of the target terminal device for the target control, the trigger management module 208 may determine, according to the control identifier of the target control, the resource identifier of the target resource having an association relationship with the target control, and the control type of the target control. The trigger management module 208 may then generate subscription information based on the resource identification of the target resource, the control type of the target control, and the device identification of the target terminal device, and send the subscription information to the relationship management module 206.
In an optional implementation manner, after receiving the subscription information from the trigger management module, the relationship management module may store a correspondence between a resource identifier of the target resource and a device identifier of the target terminal device in a case that a control type of the target control is a subscription control; or deleting the corresponding relation between the resource identifier of the target resource and the equipment identifier of the target terminal equipment from the relation management module and sending the subscription information to the resource sending module under the condition that the control type of the target control is an unsubscribed control.
Specifically, fig. 3 is an interaction flow chart between the relationship management module and the resource sending module, as shown in fig. 3, after receiving subscription information, the relationship management module may obtain a control type carried in the subscription information, determine whether the control type is a subscription control, if yes, the relationship management module may store a resource identifier of a target resource and a device identifier of a target terminal device correspondingly, and send the subscription information to the resource sending module, and if not, the relationship management module may delete a correspondence between the resource identifier of the target resource and the device identifier of the target terminal device, and send the subscription information to the resource sending module.
In an alternative embodiment, after receiving the subscription information from the relationship management module, the resource sending module may create a resource task for the target resource if the control type of the target control is a subscription control, execute the resource task, and delete the resource task of the target resource if the control type of the target control is a non-subscription control.
Specifically, after receiving the subscription information, the resource sending module can acquire the control type carried in the subscription information, determine whether the control type is a subscription control, if so, create a resource task for the target resource, and execute the resource task, and if not, delete the resource task of the target resource.
In an alternative embodiment, the resource task may include a plurality of sub-resource tasks, and when the resource task is executed, the resource sending module may first obtain a sending rule of the target resource from the rule management module, and determine, based on the sending rule of the target resource, a sending time of the target resource, where the sending time includes at least one sending time. Then, the resource sending module may create a sub-resource task at each sending time of the target resource, and finally execute each sub-resource task in sequence according to the time sequence.
When each sub-resource task is executed in sequence according to the time sequence, the resource sending module can acquire the resource content corresponding to the sub-resource task from the content management module and send the resource content corresponding to the sub-resource task to the target terminal device for each sub-resource task under the condition that the current time is consistent with the sending time of the sub-resource task.
Specifically, fig. 4 is an interaction flow chart between a resource sending module and a resource management module, as shown in fig. 4, when the resource sending module executes a resource task, the resource sending module may first obtain a sending rule of a target resource from a rule management module in the resource management module, and after obtaining the sending rule of the target resource, the resource sending module may determine at least one sending moment of the target resource according to the sending rule of the target resource.
After obtaining the multiple times of sending the target resource in the above manner, the resource sending module may create a sub-resource task for each sending time of the target resource, obtain at least one sub-resource task, and sequentially execute each sub-resource task according to the time sequence.
When executing each sub-resource task, the resource sending module obtains the resource content corresponding to the sub-resource task from the content management module of the resource management module under the condition that the current time is consistent with the sending time of the sub-resource task, and sends the resource content corresponding to the sub-resource task to the target terminal equipment.
Illustratively, in one embodiment, assuming that the target resource at the current time of 2022, 12, 1 (sunday) is resource a, the transmission rule of resource a stored in the rule management module is: once every monday 9:00 am for a total of 3 transmissions. After the resource sending module obtains the sending rule of the resource A, 3 sending moments of the resource A can be determined according to the sending rule of the resource A, namely 9:00 in 12 month 2 am, 9:00 in 12 month 9 am and 9:00 in 12 month 16 am, and a sub-resource task is created for each sending moment to obtain 3 sub-resource tasks, namely a sub-resource task A (the sub-resource task corresponding to 9:00 in 12 month 2 am), a sub-resource task B (the sub-resource task corresponding to 9:00 in 12 month 9 am) and a sub-resource task C (the sub-resource task corresponding to 9:00 in 12 month 16 am).
The resource sending module may sequentially execute the sub-resource task a, the sub-resource task B, and the sub-resource task C according to a time sequence. The resource transmission module executes the sub-resource task a as an example.
When the current time reaches 9:00 am on 12 months and 2 days, the resource sending module can acquire the resource content corresponding to the sub-resource task A from the content management module and send the resource content corresponding to the sub-resource task A to the target terminal equipment.
Fig. 5 is an interaction flow chart between a resource sending module and a target terminal device, as shown in fig. 5, when the resource sending module sends resource content corresponding to any sub-resource task to the target terminal device, the resource content corresponding to the sub-resource task and a device identifier of the target terminal device may be sent to an operator map platform, and after receiving the resource content, the operator map platform may send the resource content to the target terminal device through a 5G message channel.
After receiving the resource content, the target terminal device can display the resource content through a display for the user to watch.
In an alternative embodiment, the industry client may configure resource information for the resource to be deployed in the server through the terminal device of the industry client, where the resource information may include a control type (for example, including two types of subscription control and unsubscribe control), resource content, resource display content and a sending rule corresponding to the resource.
Wherein the resource presentation content is part of the resource content, i.e. the resource content comprises the resource presentation content.
After receiving the resource information of the resource to be deployed, the server can configure a resource identifier for the resource to be deployed, configure a control for each control type of the resource to be deployed, and configure a control identifier for each control. After the configuration is completed, the server can correspondingly store the control identification of each control, the control type of the control, the resource identification of the resource to be deployed and the resource display content into the trigger management module for each control. In addition, the server may store the resource identifier and the resource content of the resource to be deployed in the content management module of the resource management module, and store the resource identifier and the sending rule of the resource to be deployed in the rule management module of the resource management module.
Specifically, fig. 6 is an interaction flow chart among the server, the resource management module and the trigger management module, as shown in fig. 6, after the server configures a control for each control type of the resource to be deployed and configures a control identifier for each control, the server may send, for each control, the control identifier of the control, the control type, and the resource identifier and the resource display content of the resource to be deployed to the trigger management module, where the trigger management module correspondingly stores the control identifier, the control type, and the resource identifier and the resource display content of the resource to be deployed for each control.
The server can also send the resource content and the sending rule of the resource to be deployed to the resource management module, and the resource management module can correspondingly store the resource identifier and the resource content of the resource to be deployed to the content management module. And correspondingly storing the resource identification of the resource to be deployed and the sending rule into the rule management module.
Illustratively, assuming that the resource to be deployed is resource B, the resource information of resource B includes a control type of resource B, resource content, resource presentation content, and a transmission rule. The control types of the resource B comprise a subscription control and an unsubscribe control.
After receiving the resource information of the resource B, the server may configure a resource identifier "ZYB" for the resource B, configure a subscription control and an unsubscribe control for the resource B, and configure a control identifier "DYB" for the subscription control, and configure a control identifier "NDYB" for the unsubscribe control.
After the configuration is completed, the server can correspondingly store the control identification "DYB" of the subscription control, the resource identification "ZYB" of the resource B, the resource display content of the resource B and the control type of the subscription control into the trigger management module, and correspondingly store the control identification "NDYB" of the unsubscribe control, the resource identification "ZYB" of the resource B, the resource display content of the resource B and the control type of the unsubscribe control into the trigger management module.
The server can also store the resource content and the resource identifier of the resource B in the content management module of the resource management module correspondingly, and store the sending rule and the resource identifier of the resource B in the rule management module of the resource management module.
In an alternative embodiment, the terminal device of the individual user may respond to the search operation of the individual user on the resource to be checked, send a search instruction of the resource to be checked to the server, after receiving the search instruction, the server may obtain, in the trigger management module, a subscription control and an unsubscribe control related to the resource to be checked according to the resource identifier of the resource to be checked, and send the subscription control and the unsubscribe control to the terminal device of the individual user through the operator map platform.
After receiving the subscription control and the unsubscribe control related to the resource to be checked, the terminal equipment of the personal user can display the subscription control and the unsubscribe control through a display. The personal user can select a control from the subscription control or the unsubscribe control as a target control and execute clicking operation, the terminal equipment can respond to the clicking operation of the user on the target control, generate a trigger instruction for the target control according to the control identification of the target control and the equipment identification of the terminal equipment, and send the trigger instruction to a trigger management module of the server.
After receiving a trigger instruction of the terminal equipment for the target control, the trigger management module can determine the resource identification of the target resource with the association relation with the target control and the control type of the target control according to the control identification of the target control. And then, the trigger management module can generate subscription information according to the resource identification of the target resource, the control type of the target control and the equipment identification of the target terminal equipment and send the subscription information to the relation management module.
Specifically, fig. 7 is an interaction flow chart among a terminal device, a server, a trigger management module and a relationship management module, and as shown in fig. 7, after the server sends a subscription control and an unsubscribe control of a resource to be checked to the terminal device of a personal user through an operator map platform, the terminal device of the personal user can display the subscription control and the unsubscribe control through a display. The terminal equipment of the personal user can respond to clicking operation of the user on the target control, generate a trigger instruction for the target control according to the control identification of the target control and the equipment identification of the terminal equipment, and send the trigger instruction to a trigger management module of the server through an operator map platform.
After receiving a trigger instruction of the terminal equipment for the target control, the trigger management module can determine the resource identification of the target resource with the association relation with the target control and the control type of the target control according to the control identification of the target control. And then, the trigger management module can generate subscription information according to the resource identification of the target resource, the control type of the target control and the equipment identification of the target terminal equipment and send the subscription information to the relation management module.
By the method, when industry clients synchronize 5G messages to individual users, related personnel are not required to manually sort the content of the 5G messages, and related personnel are not required to manually determine the individual users who need to accept the 5G messages, namely, the method not only can automatically sort the content of the 5G messages, but also can automatically send the 5G messages, and on the basis of helping the industry clients save time, human resources are saved.
In an optional implementation manner, the server may further check the resource content of each resource stored in the content management module according to a preset check period, and update the resource content of any resource when the effective duration of the resource content of the resource is less than a preset duration threshold.
The inspection period may be one week (7 days) or one month (30 days), which is not particularly limited in the embodiment of the present application.
The preset duration threshold may be 1 day (24 hours) or 12 hours, which is not specifically limited in the embodiment of the present application.
Through the technical scheme, the resource content of each resource can be checked regularly, so that the condition that the resource content of a certain resource exceeds the period and cannot be sent to the user terminal of the individual user on time is avoided.
Fig. 8 is a flow chart of a resource subscription method provided in an embodiment of the present application, which is applied to the server shown in fig. 2, and as shown in fig. 8, the method includes:
step S801, in response to a trigger instruction of the target terminal device for the target control, obtains a device identifier of the target terminal device.
Step S802, determining a target resource with an association relationship with a target control and a control type of the target control.
Step S803, in the case that the control type of the target control is a subscription control, storing a correspondence between the resource identifier of the target resource and the device identifier of the target terminal device.
In an alternative embodiment, in the case that the control type of the target control is a non-subscription control, the server may delete the correspondence between the resource identifier of the target resource and the device identifier of the target terminal device, and delete the resource task of the target resource.
Step S804, a resource task is created for the target resource, and the resource task is executed.
In an alternative embodiment, the resource task may comprise a plurality of sub-resource tasks; in the process of creating a resource task for a target resource and executing the resource task, the server may acquire a transmission rule of the target resource, and then determine a transmission time of the target resource based on the transmission rule of the target resource, where the transmission time includes at least one transmission time. The server may create a sub-resource task at each transmit time of the target resource and then sequentially execute each sub-resource task in time order.
Specifically, in the process of sequentially executing each sub-resource task according to the time sequence, the server may acquire, for each sub-resource task, resource content corresponding to the sub-resource task from the content management module and send the resource content corresponding to the sub-resource task to the target terminal device when the current time is consistent with the sending time of the sub-resource task.
The specific implementation process of each step may refer to the steps of fig. 2 to fig. 7, and will not be described herein.
By the method, when the industry clients synchronize the 5G messages to the individual users, the industry clients can not only automatically sort the content of the 5G messages, but also automatically send the 5G messages, and on the basis of helping the industry clients save time, human resources are saved.
The resource subscription method provided in the embodiment of the present application is described below by taking an example that a student a subscribes, through a terminal device a, a course resource M published by an enterprise B through a terminal device B. Fig. 9 is a flowchart of another resource subscription method provided in the embodiment of the present application, as shown in fig. 9, where the method includes:
in step S901, after receiving the resource information of the course resource M sent by the terminal device B, the server may configure a subscription control and an unsubscribe control for the course resource M.
In step S902, the server responds to the search instruction of the terminal device a for the course resource M, and sends the subscription control and the unsubscribe control of the course resource M to the terminal device a.
In step S903, the terminal device a sends, to the server, a control identifier of the subscription control in response to the clicking operation of the user on the subscription control.
Step S904, after receiving the control identification, the server determines the sending time of the course resource M according to the sending rule of the course resource M.
The transmission time includes at least one transmission time.
In step S905, the server creates a sub-resource task for each sending time of the course resource M, and executes each sub-resource task according to the time sequence until all sub-resource tasks of the course resource M are executed.
Wherein, the server executing all sub-resource tasks of the course resource M means that the server sends all resource contents of the course resource M to the terminal device a.
Through the mode, when the enterprise B synchronizes the course resource M to the student A, the resource content of the course resource M can be automatically tidied, and the resource content of the course resource M is automatically sent to the terminal equipment of the student A, so that the enterprise B can be helped to save time and the enterprise B can be helped to save human resources.
Fig. 10 shows a schematic block diagram of an example electronic device 1000 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 10, the electronic device 1000 includes a computing unit 1001 that can perform various appropriate actions and processes according to a computer program stored in a read-only memory 1002 or a computer program loaded from a storage unit 1008 into a random access memory 1003. In the random access memory (Random Access Memory, RAM) 1003, various programs and data required for the operation of the electronic apparatus 1000 can also be stored. The computing unit 1001, a Read-Only Memory (ROM) 1002, and a RAM1003 are connected to each other by a bus 1004. An input/output interface 1005 is also connected to the bus 1004.
The various components in the electronic device 1000 are connected to an Input/Output (I/O) interface 1005, including: an input unit 1006 such as a keyboard, a mouse, and the like; an output unit 1007 such as various types of displays, speakers, and the like; a storage unit 1008 such as a magnetic disk, an optical disk, or the like; and communication unit 1009 such as a network card, modem, wireless communication transceiver, etc. Communication unit 1009 allows electronic device 1000 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunications networks.
The computing unit 1001 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 1001 include, but are not limited to, a central processing unit, a graphics processing unit (Graphics Processing Unit, GPU), various dedicated artificial intelligence (Artificial Intelligence, AI) computing chips, various computing units running machine learning model algorithms, digital signal processors, and any suitable processors, controllers, microcontrollers, and the like. The computing unit 1001 performs the respective methods and processes described above, such as the resource subscription method. For example, in one embodiment, the resource subscription method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as the storage unit 1008. In one embodiment, part or all of the computer program may be loaded and/or installed onto the electronic device 1000 via the ROM1002 and/or the communication unit 1009. When the computer program is loaded into RAM1003 and executed by computing unit 1001, one or more steps of the resource subscription method described above may be performed. Alternatively, in other embodiments, the computing unit 1001 may be configured to perform the resource subscription method in any other suitable way (e.g., by means of firmware).
Various implementations of the systems and techniques described here above can be implemented in digital electronic circuitry, integrated circuit systems, field programmable gate arrays, application specific integrated circuits, application specific standard products (Application Specific Standard Parts, ASSP), system On Chip (SOC), complex programmable logic devices (Complex Programmable Logic Device, CPLD), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical fiber, a portable compact disc read-only memory, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device for displaying information to a user, for example, a Cathode Ray Tube (CRT) or a liquid crystal display (Liquid Crystal Display, LCD) monitor; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local area network (Local Area Network, LAN), wide area network (Wide Area Network, WAN) and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (12)

1. A resource subscription apparatus, the apparatus comprising:
the resource management module comprises a rule management module and a content management module; the rule management module is used for storing the sending rule of each resource; the content management module is used for storing the resource content of each resource; the sending rule of each resource is used for determining the sending time of the resource;
the relation management module is used for storing the corresponding relation between the resource identifier of each resource and the equipment identifier of the terminal equipment subscribing the resource;
And the resource sending module is used for sending the resource content of the resource to the terminal equipment subscribing the resource according to the sending rule of each resource.
2. The apparatus of claim 1, further comprising a trigger management module; the trigger management module is specifically configured to:
responding to a trigger instruction of target terminal equipment aiming at a target control, and acquiring equipment identification of the target terminal equipment;
determining a target resource with an association relationship with the target control and a control type of the target control;
and generating subscription information according to the resource identification of the target resource, the control type of the target control and the equipment identification of the target terminal equipment, and sending the subscription information to the relation management module.
3. The apparatus of claim 2, wherein the relationship management module is further to:
receiving the subscription information from the trigger management module;
storing a corresponding relation between a resource identifier of the target resource and a device identifier of the target terminal device under the condition that the control type of the target control is a subscription control; or deleting the corresponding relation between the resource identifier of the target resource and the equipment identifier of the target terminal equipment from the relation management module under the condition that the control type of the target control is a non-subscription control;
And sending the subscription information to the resource sending module.
4. The apparatus of claim 3, wherein the resource transmission module is further configured to:
receiving subscription information from the relationship management module;
if the control type of the target control is a subscription control, creating a resource task for the target resource and executing the resource task;
and deleting the resource task of the target resource under the condition that the control type of the target control is a non-subscription control.
5. The apparatus of claim 4, wherein the resource tasks comprise a plurality of sub-resource tasks; the resource sending module is specifically configured to:
acquiring a sending rule of the target resource from the rule management module;
determining the sending time of the target resource based on the sending rule of the target resource; the sending time of the target resource comprises at least one sending time;
creating a sub-resource task at each sending moment of the target resource;
each sub-resource task is executed in turn in time order.
6. The apparatus of claim 5, wherein the resource sending module is specifically configured to:
For each sub-resource task, under the condition that the current time is consistent with the sending time of the sub-resource task, acquiring resource content corresponding to the sub-resource task from the content management module;
and sending the resource content corresponding to the sub-resource task to the target terminal equipment.
7. A method for subscribing to resources, the method comprising:
responding to a trigger instruction of target terminal equipment aiming at a target control, and acquiring equipment identification of the target terminal equipment;
determining a target resource with an association relationship with the target control and a control type of the target control;
storing a corresponding relation between a resource identifier of the target resource and a device identifier of the target terminal device under the condition that the control type of the target control is a subscription control;
and creating a resource task for the target resource, and executing the resource task.
8. The method of claim 7, wherein the method further comprises:
and deleting the corresponding relation between the resource identifier of the target resource and the equipment identifier of the target terminal equipment and deleting the resource task of the target resource under the condition that the control type of the target control is a non-subscription control.
9. The method of claim 7, wherein the resource task comprises a plurality of sub-resource tasks; the creating a resource task for the target resource and executing the resource task includes:
acquiring a sending rule of the target resource;
determining the sending time of the target resource based on the sending rule of the target resource; the sending time of the target resource comprises at least one sending time;
creating a sub-resource task at each sending moment of the target resource;
each sub-resource task is executed in turn in time order.
10. The method of claim 9, wherein the sequentially performing each sub-resource task in time order comprises:
for each sub-resource task, under the condition that the current time is consistent with the sending time of the sub-resource task, acquiring resource content corresponding to the sub-resource task from the content management module;
and sending the resource content corresponding to the sub-resource task to the target terminal equipment.
11. An electronic device, the electronic device comprising:
a processor;
a memory configured to store the processor-executable instructions;
Wherein the processor is configured to execute the instructions to implement the resource subscription method of any one of claims 7-10.
12. A computer readable storage medium having instructions stored therein, characterized in that when executed by a computer, the computer performs the resource subscription method of any of the preceding claims 7-10.
CN202311628480.1A 2023-11-30 2023-11-30 Resource subscription device, method, electronic equipment and storage medium Pending CN117692891A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311628480.1A CN117692891A (en) 2023-11-30 2023-11-30 Resource subscription device, method, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311628480.1A CN117692891A (en) 2023-11-30 2023-11-30 Resource subscription device, method, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117692891A true CN117692891A (en) 2024-03-12

Family

ID=90131015

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311628480.1A Pending CN117692891A (en) 2023-11-30 2023-11-30 Resource subscription device, method, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117692891A (en)

Similar Documents

Publication Publication Date Title
CN110046021B (en) Page display method, device, system, equipment and storage medium
CN103460723B (en) Push notifications for updating multiple dynamic icon panels
WO2021189868A1 (en) Method and apparatus for providing reminder in group session, and device and medium
US20210092195A1 (en) Information push method and device
US20140337751A1 (en) Automatic creation of calendar items
CN103597860A (en) Selective linking of message accounts
CN113285866B (en) Information sending method and device and electronic equipment
CN110658960A (en) Message processing method and device and electronic equipment
CN113505302A (en) Method, device and system for supporting dynamic acquisition of buried point data and electronic equipment
JP2023052127A (en) Methods and systems for positioning animated images within dynamic keyboard interface
CN111610972A (en) Page generation method, device, equipment and storage medium
CN113556279B (en) Message sending method, device, equipment and storage medium
CN117692891A (en) Resource subscription device, method, electronic equipment and storage medium
CN115080271A (en) Event data processing method and device, electronic equipment and storage medium
CN113824627A (en) Group chat message display method and device, electronic equipment and storage medium
CN113568695A (en) Corner mark processing method and device for boarder application
CN112947918A (en) Data display method and device
CN111797350A (en) Data processing method and device and electronic equipment
CN111324349A (en) Method, device, terminal and storage medium for generating interactive interface
US11456983B2 (en) Interactive operation method, and transmitter machine, receiver machine and interactive operation system using the same
US20240104808A1 (en) Method and system for creating stickers from user-generated content
CN110138574B (en) Group management method, device, electronic equipment and readable storage medium
CN115390812A (en) Service information processing method, device, equipment and storage medium
CN116127113A (en) Image generation method and device
CN113965794A (en) Banner display method, banner display device, electronic device, storage medium, and program product

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