CN116400919A - Service card generation method and device, storage medium and computer equipment - Google Patents
Service card generation method and device, storage medium and computer equipment Download PDFInfo
- Publication number
- CN116400919A CN116400919A CN202310383886.1A CN202310383886A CN116400919A CN 116400919 A CN116400919 A CN 116400919A CN 202310383886 A CN202310383886 A CN 202310383886A CN 116400919 A CN116400919 A CN 116400919A
- Authority
- CN
- China
- Prior art keywords
- card
- information
- service
- attribute
- type
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/957—Browsing optimisation, e.g. caching or content distillation
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H40/00—ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices
- G16H40/60—ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the operation of medical equipment or devices
- G16H40/67—ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the operation of medical equipment or devices for remote operation
-
- 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/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- 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/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Biomedical Technology (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Medical Informatics (AREA)
- General Health & Medical Sciences (AREA)
- Epidemiology (AREA)
- General Business, Economics & Management (AREA)
- Business, Economics & Management (AREA)
- Primary Health Care (AREA)
- Public Health (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Computing Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a method and a device for generating a service card, a storage medium and computer equipment, and relates to the technical field of digital medical treatment. The method comprises the following steps: the first client responds to a card configuration request and displays a card configuration interface, wherein the card configuration page displays a card type setting area and a card attribute setting area; receiving card type information and card attribute information input by a user through the card type setting area and the card attribute setting area; generating a control message protocol according to the card type information and the card attribute information; and sending the control message protocol to a server side so that the server side generates a service card according to the card type information and the card attribute information in the control message protocol, and storing the service card, or sending the service card to a second client side so that the service card is displayed on the second client side. The method can obviously enhance the diversity of the service cards and more intuitively display the diversified service cards.
Description
Technical Field
The present invention relates to the field of digital medical technology, and in particular, to a method and apparatus for generating a service card, a storage medium, and a computer device.
Background
At present, in practical application, commodity cards, prescription cards, evaluation cards, equity cards and other service cards of a medical platform are all designed in a universal mode, the functions of the service cards are single, the displayed contents are extremely simple, the functional meanings of various cards cannot be distinguished by users of the medical platform, the service cards look similar, and therefore visual misguidance of the users is caused. However, the service cards serve as a medium for communication between the medical platform and the user in the online inquiry, and the diversity and the interactivity of the service cards are important directions for enhancing the online inquiry industry.
However, current medical platforms often use similar types of commodity cards, prescription cards, and other service cards. When a doctor needs to send services related to different functions to a patient based on the service card, only a relatively single service card can be used, so that the patient cannot know the type and the function of the service directly through the form of the service card, and the interaction performance of the existing service card is poor.
Disclosure of Invention
In view of this, the present application provides a method, an apparatus, a storage medium, and a computer device for generating a service card, which mainly aims to solve the technical problem of poor service card interaction performance of an internet medical platform.
According to a first aspect of the present invention, there is provided a method of generating a service card, the method being applied to a first client, the method comprising:
responding to a card configuration request, and displaying a card configuration interface, wherein the card configuration page is provided with a card type setting area and a card attribute setting area;
receiving card type information and card attribute information input by a user through the card type setting area and the card attribute setting area;
generating a control message protocol according to the card type information and the card attribute information;
and sending the control message protocol to a server side so that the server side generates a service card according to the card type information and the card attribute information in the control message protocol.
According to a second aspect of the present invention, there is provided a method of generating a service card, the method being applied to a second client, the method comprising:
receiving a control message protocol sent by a first client, wherein the control message protocol comprises card type information and card attribute information;
determining a service card template corresponding to the card type information based on the card type information, wherein the service card template comprises a plurality of attribute display components;
Positioning an attribute display component corresponding to the card attribute information in the service card template based on the card attribute information;
and embedding the card attribute information into the attribute display assembly, generating a service card, storing the service card, and/or sending the service card to a second client so that the service card is displayed on the second client.
According to a third aspect of the present invention, there is provided a service card generation apparatus, comprising:
the interface generation module is used for responding to the card configuration request and displaying a card configuration interface, wherein the card configuration page displays a card type setting area and a card attribute setting area;
the information receiving module is used for receiving card type information and card attribute information input by a user through the card type setting area and the card attribute setting area;
the protocol generation module is used for generating a control message protocol according to the card type information and the card attribute information;
and the protocol sending module is used for sending the control message protocol to a server side so that the server side generates a service card according to the card type information and the card attribute information in the control message protocol.
According to a fourth aspect of the present invention, there is provided a service card generation apparatus, comprising:
the protocol receiving module is used for receiving a control message protocol sent by the first client, wherein the control message protocol comprises card type information and card attribute information;
the template selection module is used for determining a service card template corresponding to the card type information based on the card type information, wherein the service card template comprises a plurality of attribute display components;
the component positioning module is used for positioning an attribute display component corresponding to the card attribute information in the service card template based on the card attribute information;
and the card sending module is used for embedding the card attribute information into the attribute display assembly, generating a service card, storing the service card and/or sending the service card to a second client so as to display the service card on the second client.
According to a fifth aspect of the present invention, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements the above-described service card generation method.
According to a sixth aspect of the present invention, there is provided a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method of generating a service card as described above when executing the program.
According to the method, the device, the storage medium and the computer equipment for generating the service card, firstly, the first client can generate the control message protocol corresponding to the card type information based on the card type information and the card attribute information data input by a user in the card configuration interface, and then the control message protocol is sent to the server. The server may then be capable of customizing a service card of a corresponding service type for the target customer based on the card type information and the card attribute information in the control message protocol, and sending the generated service card to the second client, and finally, displaying the service card to the target customer by the second client. According to the method, corresponding card type information and card attribute information can be embedded into a control message protocol by a first client, a service card template corresponding to the card type information is determined by a server, the card attribute information is embedded into each attribute display component of the service card template, diversified service cards are generated, and finally the diversified service cards are displayed by a second client, so that the diversity of the service cards is remarkably enhanced, the diversified service cards are displayed more intuitively for users, and the interaction performance of the service cards is further improved.
The foregoing description is only an overview of the technical solutions of the present application, and may be implemented according to the content of the specification in order to make the technical means of the present application more clearly understood, and in order to make the above-mentioned and other objects, features and advantages of the present application more clearly understood, the following detailed description of the present application will be given.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
fig. 1 is a schematic flow chart of a method for generating a service card according to an embodiment of the present invention;
FIG. 2 shows an interface schematic of a card configuration page according to an embodiment of the present invention;
FIG. 3 is a flow chart illustrating a method for generating another service card according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a service card template according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a service card generating device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another service card generating device according to an embodiment of the present invention;
Fig. 7 is a schematic structural diagram of a generating device of yet another service card according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the drawings in conjunction with embodiments. It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other.
Currently, a general-purpose type commodity card, prescription card, and other service cards are often used in the medical platform. When a doctor needs to send services related to different fields to a patient based on a service card, the patient cannot know the type and the function of the service directly through the form of the service card because only a relatively single service card can be used, so that the interaction performance of the existing service card is poor.
In view of the foregoing problems, in one embodiment, as shown in fig. 1, a method for generating a service card is provided, and the method is applied to a first client for illustration, and includes the following steps:
101. and responding to the card configuration request, and displaying a card configuration interface.
The card configuration page is provided with a card type setting area and a card attribute setting area. As shown in fig. 2, the card configuration interface 200 is used to create a new service card. The card configuration interface 200 includes a card type setting area 210 and a card attribute setting area 220, where the card type setting area 210 is used to obtain selection information of a newly established service card type input by a user, and the card attribute setting area 220 is used to obtain text or picture information displayed on the card input by the user.
In particular, the card type setting area 210 may include a card type receiving area for providing a drop-down menu for a user to select a service card type to be generated in the drop-down menu. Further, the card type receiving area may also be a text input box, which is used for receiving text information of the service card type input by the user.
Further, the card attribute setting area 220 may include a title information attribute setting area for receiving text information of a service card title input by a user through a title information input box therein; accordingly, the card attribute setting area 220 may further include a keyword information attribute setting area for receiving keyword information in a service card title input by a user through a keyword information input box therein; correspondingly, the card attribute setting area 220 may further include a picture information attribute setting area for receiving image information required to be set for the service card by the user through a picture information insertion frame therein; accordingly, the card attribute setting area 220 may further include a description information attribute setting area for receiving description information of services provided in the service card input by the user through a description information input box therein; accordingly, the card attribute setting area 220 may further include a description information attribute setting area for receiving description information of services provided in the service card input by the user through a description information input box therein; accordingly, the card attribute setting area 220 may further include a first subtitle information attribute setting area and a second subtitle information attribute setting area for receiving first subtitle information and second subtitle information in the service card input by the user through a first subtitle information input box and a second subtitle information input box therein, respectively; accordingly, the card attribute setting area 220 may further include a button text information attribute setting area for receiving text description information input by a user at a service card button in the service card through a button text information input box therein.
102. And receiving card type information and card attribute information input by a user through the card type setting area and the card attribute setting area.
Specifically, the user may input selection information of the service card type into the card type receiving area of the card type setting area 210 for setting the type of the service card; further, the user may input the title information of the service card into the title information input box in the title information attribute setting area to set the title information for the newly-built service card; further, the user can input the keyword information of the service card into the keyword information input box of the keyword information attribute setting area, so as to add the description information of the keyword to the service card; further, the user can insert the required picture in the service card into the picture information insertion frame of the picture information attribute setting area, so as to add corresponding picture information for the service card; further, the user can input the specific description information of the service provided by the service card into the description information input box in the description information attribute setting area so as to correspondingly describe the service related to the newly-built service card; further, the user may input first subtitle information and second subtitle information to be set for the service card into the first subtitle information input box in the first subtitle information attribute setting area and the second subtitle information input box in the second subtitle information attribute setting area, respectively, to add the first subtitle and the second subtitle to service information provided by the newly-built service card; further, the user may input the button document information of the service card into the button document information input box in the button document information attribute setting area to provide the newly-built service card with document information of the interactive button for the target client to accept a specific service. It should be noted that the user can set other card types and card type setting areas corresponding to each card type according to actual needs, and the same applies to the present embodiment.
103. And generating a control message protocol according to the card type information and the card attribute information.
The control message protocol may be 65000 control message protocol, where 65000 control message protocol is used to send control messages containing code fields in the network, and implement data exchange between individual network entities. Specifically, the first client may convert service card type information input by the user into code fields corresponding to the service card type information, and embed title information, keyword information, picture information, description information, first subtitle information, second subtitle information, and Niu Wen case information into values of code keywords corresponding to each of the information, respectively. As an example, if the title information entered by the user is "health advice", this may embed the "health advice" into the title code keyword "title" to generate "title": the code field of "health advice". The code fields corresponding to other information are generated in a similar manner to the above examples, and will not be described here again. Further, the first client generates 65000 control message protocols for processing in subsequent steps from the code fields corresponding to the service card type and the card attribute.
104. And sending the control message protocol to a server side so that the server side generates a service card according to the card type information and the card attribute information in the control message protocol.
The server may preset templates of various types of service cards, restore 65000 data into card type information and card attribute information, select a service card template corresponding to the card type information based on the card type information, and set the card attribute information on the service card template to generate a service card.
Further, the card attribute setting area 220 may further include a selection information setting area (not shown in the figure) for selecting to use a new card, which includes two options of using a new style service card and not selecting a new style service card, and if the user selects the option of using the new style service card, the first client generates 65000 control message protocols based on card type information and card attribute information input by the user, so that the server generates the service card according to the user's settings; correspondingly, if the user selects the option of not using the new style service card, the server generates the preset universal service card pre-stored in the server through 65000 control message protocols.
According to the method for generating the service card, firstly, based on the input data of the card type setting area and the card attribute setting area in the card configuration interface by a doctor, the first client can generate a control message protocol comprising card type information and card attribute information based on the data input by the user for different service types. Then, a control message protocol including card type information and card attribute information is transmitted to the server side, so that the server side can generate a service card including a specific service type for a target client in a customized manner based on the control message protocol, and the generated service card is transmitted to a second client at the target client. According to the method and the device for generating the service cards, diversified service cards can be generated according to the piece type information and the card attribute information which are input by a user for the service required by the target client in the card configuration interface, and the interaction performance of the service cards of all online platforms can be remarkably enhanced.
In one embodiment, the card type information includes a merchandise type, a list type, and a general type. The card attribute information includes title information, picture information, button information, and description information. Further, step 102 may be implemented by:
First, card type information input by a user is received through the card type setting area. Specifically, card type information input by a user can be received through a card type receiving area of the card type setting area. Further, if the user needs to create a service card of commodity type, the information of commodity type can be input into the card type receiving area of the card type setting area; if the user needs to create the list type service card, the information of the list type can be input into a card type receiving area of the card type setting area; if the user needs to create a generic type of service card, information of "generic type" may be entered into the card type receiving area of the card type setting area.
And then, updating and displaying a card attribute setting area corresponding to the card type information on the card configuration interface according to the card type information. Specifically, the card type setting area can be displayed first, and then the card attribute setting area corresponding to the card type is displayed according to the card type information input by the user; the card type setting area and the default card attribute setting area can be displayed at the same time, wherein the default card attribute setting area corresponds to a general type of card, and when the card type is changed to other types, the card attribute setting area corresponding to the card type information is updated and displayed. As an example, if the card type selected by the user in the card configuration interface is a commodity type, the card configuration interface displays a card attribute setting area corresponding to the card of the commodity type. Further, when the card type selected by the user is a universal type, the card configuration interface may have a universal card type selection area, which includes a plurality of universal card type options. Further, the user may preset a card attribute setting area corresponding to each universal card type, and set a text font correction value for the corresponding card attribute setting area, for setting a corresponding font for the text input by the user in the card attribute setting area. When a user selects a general card type option, the first client binds the character font correction value with a code field corresponding to the code field card attribute information in a 65000 control message protocol, so that when the server generates a service card, the character font of the character information corresponding to the card attribute information is displayed as the character font of the character font correction value, and the diversity of the generated character fonts in the service card is improved.
And finally, receiving card attribute information input by a user through the updated card attribute setting area. Specifically, card attribute information, such as title information, picture information, button information, description information, keyword information, first subtitle information, and second subtitle information, included in the card attribute information may be respectively input into an information input box of an attribute setting area corresponding to each card attribute information in the updated card configuration interface, so as to generate 65000 control message protocols in subsequent steps. In the embodiment of the application, the card attribute information input by the user can be received in the corresponding configuration interface based on the type of the service card which the user wants to create, and different card attribute information can be received based on the needs of the user so as to generate the corresponding service card in the subsequent service end.
In one embodiment, after step 104, the method for generating a service card provided in this embodiment further includes: firstly, a card mark of a service card sent by the server is received in response to a card key generation request, a card key is generated, and the card mark and the card key are bound. The service card may be a universal card. Specifically, when the user configures card type information and card attribute information in the card configuration interface, a 65000 control message protocol is generated by the first client and sent to the server to generate a service card, the server sends a card identifier of the service card to the first client, the first client generates a card key after receiving the card identifier, and binds the card key with the card identifier. Further, the first client may set the card key on the display interface of the first client. Further, the first client may accept different card identifiers, and set the card key corresponding to each card identifier on the display interface. And then, responding to the selection operation of the card key, sending the card identifier corresponding to the card key to the service end, so that the service end searches the service card corresponding to the card identifier in the service end based on the card identifier, and sends the service card to a second client. Specifically, when a user selects or clicks a card key on the display interface, the first client sends a card identifier corresponding to the card key to the server, and when the server receives the card identifier, the server searches for a preset service card corresponding to the card identifier based on the card identifier, and sends the service card to the second client. In the embodiment of the application, the first client can quickly send the service card which is set and stored before and the service end to the target client based on the card key on the display interface, so that the working efficiency of the user is improved.
According to the method for generating the service card, the service card can be generated in the service end according to the piece type information and the card attribute information which are input by the user in the card configuration interface aiming at the service required by the target client, and the service card is sent to the second client or stored in the service end. The service card system can remarkably enhance the diversity of service cards of all online platforms and can more intuitively display diversified services. Meanwhile, the user can quickly send the service card which is set and stored before and the service end to the target client of the second client based on the card key, so that the working efficiency of the user is improved.
In one embodiment, as shown in fig. 3, a method for generating a service card is provided, and the method is applied to a service end for illustration, and includes the following steps:
301. and receiving a control message protocol sent by the first client.
Wherein the control message protocol includes card type information and card attribute information.
Specifically, the control message protocol may be 65000 control message protocols sent by the first client. Wherein 65000 control message protocol may contain a code field corresponding to card type information. As an example, if the code field corresponding to the card type information of the 65000 control message protocol is "CommonCardTYPE": "Propore", the card type information is determined to be a commodity card; if the code field corresponding to the card type information is 'CommonCardTYPE' and 'Commcard 1', judging that the card type information is a first universal card; if the code field corresponding to the card type information is 'CommonCardTYPE' and 'Commcard 2', judging that the card type information is a second universal card. The user may determine the type key corresponding to each card type in advance according to different card types, and store the type key in the server, so that the server determines the card type of the service card to be established based on the value of "CommonCardTYPE" in the received 65000 control message protocol.
302. And determining a service card template corresponding to the card type information based on the card type information.
The service card template comprises a plurality of attribute display components, and each attribute display component comprises a code keyword corresponding to the attribute display component. Further, the service card templates may be preset generation templates of different types of service cards, where each type of service card template has a type keyword corresponding to the type of the card mapped and stored.
Specifically, the value of the code key of the card type information may be obtained based on the code field corresponding to the card type information in the received 65000 control message protocol. As an example, if the value of the code keyword of the card type information is "pro", the service card template corresponding to the card type information is determined to be a commodity card template, and the determination method of other types of service card templates is similar to the above manner, which is not described herein.
303. And positioning an attribute display component corresponding to the card attribute information in the service card template based on the card attribute information.
The card attribute information comprises a card attribute information code field corresponding to each attribute display component. Each code field contains a code key and a value of the code key.
Specifically, the code key words may be preset attribute display components for distinguishing which of the card templates corresponds to the code field, and the corresponding relationship of the attribute display components may be preset and stored in the server. As an example, if the code field of the received card attribute information is: "title": and if the preset attribute display component corresponding to the code keyword title is a title display component, the attribute display component corresponding to the card attribute information in the service card template can be positioned to be the title display component. The correspondence in actual use can be determined according to actual conditions, and meanwhile, code keywords of other code fields can be set so as to adapt to different attribute display components, and the method is also applicable to the embodiments of the application, and is not repeated here.
304. And embedding the card attribute information into the attribute display assembly, generating a service card, and storing the service card, or sending the service card to a second client so that the service card is displayed on the second client.
Specifically, the value of the code keyword corresponding to the attribute display component in the code field of the card attribute information may be embedded in the attribute display component. Obtaining the service card. As an example, if the code field of the card attribute information is "title": "health advice", and the attribute display component corresponding to the code keyword "title" is a title display component, the value "health advice" of "title" may be embedded in the title display component. The process of embedding other card attribute information into the attribute display assembly is similar to the above example and will not be repeated here. When all of the card attribute information in the 65000 control message protocol is embedded in the attribute display component in the service card template, a service card may be generated. The generated service card may then be stored or sent to the second client to cause the service card to be displayed at the second client of the target client.
The method for generating a service card according to the embodiment can firstly receive a control message protocol and determine card type information and card attribute information in the control message protocol. And then, determining a card template corresponding to the service card which the user wants to generate from a plurality of service card templates stored locally based on the card type information. Then, a position where each card attribute information should be embedded in the card template is determined based on the keywords in the card attribute information. Finally, the card attribute information is embedded into the embedded position on the determined template so that the service end can generate the service card comprising the specific service type for the target client customization based on the control message protocol, and the generated service card is sent to the second client end at the target client. According to the method and the device, based on the control message protocol containing customized service card information sent by the user, the service card which the user hopes to send to the target client is generated, so that the service card can be in a style of generating diversified service cards according to the service types provided by the user, the diversity of the service cards can be remarkably enhanced, diversified services can be more intuitively displayed for the target client, and the interaction performance of the service cards and the user experience are improved.
In one embodiment, the card attribute information includes title information, picture information, button information, and description information; the attribute display component comprises a title display component, a picture display component, a button display component and a document display component corresponding to the card type information. The implementation of step 304 may be: first, title information of the service card is embedded into the title display component. If the card type information is a universal card, as shown in fig. 4, the service card template 400 may include: title display component 410, picture display component 420, button display component 430, secondary title display component 440, and document display component 450.
First, title information of the service card is embedded in the title display component 410. Specifically, the value of "title" of the code field of the card attribute information in 65000 control message protocols may be embedded in the title display component, and if the value of "title" is "family doctor member year card", the text information of "family doctor member year card" may be embedded in the title display component 410.
Then, the picture information of the service card is embedded into the picture display component 420. Specifically, if the preset code keyword of the picture information is "newcard", a value of "newcard" in the code field of the card attribute information in the 65000 control message protocol may be embedded into the picture display component 420.
Then, button information of the service card is embedded in the button display assembly 430. Specifically, if the preset code key of the button information is "button", a value of "button" in the code field of the card attribute information in the 65000 control message protocol may be embedded in the button display assembly 430. As an example, if the value of "button" is "view details", text information of "view details" may be embedded in the button display component 430.
Further, the secondary title information of the service card may be embedded in the secondary title display component 440. Specifically, if the preset code key of the secondary header information is "fristubtitle", a value of "fristubtitle" of the code field of the card attribute information in the 65000 control message protocol may be embedded in the secondary header display component 440. As an example, if the value of "fritsubtitle" is "pediatrician group", then the text information of "pediatrician group" may be embedded into the secondary title display component 440.
Then, based on the card type information, a document display component 450 corresponding to the card type information is determined, and the description information of the service card is embedded into the document display component 450. Specifically, if the card type information is a universal card, the document display assembly 450 may be disposed below the secondary title display assembly 440. Accordingly, the form of the document display assembly 450 corresponding to each card type information may be determined according to the actual situation. Specifically, if the preset code keyword of the description information is "detail", a value of "detail" in the code field of the card attribute information in the 65000 control message protocol may be embedded into the document display component 450. As an example, if the value of "detail" is "add doctor friend and ask for a diagnosis at any time", the text information of "add doctor friend and ask for a diagnosis at any time" may be embedded in the document display component 450.
It should be noted that, the process of generating a universal card is described as an example in this embodiment, and the process of generating a service card by using card attribute information and card attribute information corresponding to other card types are also applicable to this embodiment, and are not described here again.
Finally, a service card is generated based on the title display component 410, the picture display component 420, the button display component 430, and the document display component 450, in which the card attribute information is embedded. In the embodiment of the application, different card attribute information sent by the first client can be embedded into corresponding positions in the service card template to generate diversified service cards, so that the requirements of different types of services are met. Meanwhile, aiming at different types of service cards, the patterns of the titles, the pictures and the buttons of the service cards can be displayed by adopting components with the same patterns, so that the uniformity of the card patterns can be ensured, and the experience of a user is improved.
In one embodiment, the card type information includes a merchandise type, a list type, and a general type. The method for determining the document display assembly corresponding to the card type information based on the card type information and embedding the description information of the service card into the document display assembly can be as follows:
And when the card type information is commodity type, embedding the description information of the service card into a preset commodity display assembly. Wherein the description information is commodity information. Specifically, the user can design a corresponding commodity display assembly form for the commodity type service card template in advance, when the service end is generating the service card, text information displayed by the commodity can be embedded into the commodity display assembly in a specific form, so that the generated service card has a commodity display expression form specific to the commodity type service card, a target client can conveniently and quickly distinguish that the service card is the commodity type service card, and the function of the service card is quickly determined.
And when the card type information is of a list type, embedding the description information of the service card into a preset list display assembly. Wherein the description information is list information. Specifically, the user can design a corresponding list display component form for the list type service card template in advance, when the service end is generating the service card, text information such as prescription information displayed by the list can be embedded into the list display component in a specific form, so that the generated service card has a list display expression form specific to the list type service card, a target client can conveniently and quickly distinguish the service card as the list type service card, and the function of the service card can be quickly determined.
And when the card type information is of a general type, embedding the description information of the service card into a preset secondary title display assembly. Wherein, the description information is second-level title information. Specifically, the user can design a corresponding secondary title display assembly form for the general type service card template in advance, when the service end is generating the service card, text information displayed by the secondary title can be embedded into the secondary title display assembly in a specific form, so that the generated service card has a special secondary title display expression form of the general type service card, a target client can conveniently and quickly distinguish the service type provided by the service card, and the function of the service card can be quickly determined. In the embodiment of the application, the corresponding document display assembly forms can be set for different types of service cards, and the description information of the service cards of different types is embedded into the document display assemblies of different types, so that a target client of the second client can quickly determine the type of the service card and the service type and function provided by the service card, and the use experience of the service card is improved.
According to the method for generating the service card, the service card which the user hopes to send to the target client can be generated based on the control message protocol which is sent by the user and contains customized service card information, so that the service card can be generated into various service cards according to the service types provided by the user in a style, the variety of the service card can be remarkably enhanced, the type of the service card and the service types and functions provided by the service card can be rapidly determined by the target client, the variety of services can be more intuitively displayed, and the use experience of the service card can be improved.
Further, as a specific implementation of the method shown in fig. 1, the embodiment provides a service card generating device, as shown in fig. 5, including: an interface generation module 51, an information reception module 52, a protocol generation module 53, and a protocol transmission module 54.
The interface generating module 51 is configured to respond to a card configuration request, and display a card configuration interface, where the card configuration page displays a card type setting area and a card attribute setting area;
the information receiving module 52 is configured to receive card type information and card attribute information input by a user through the card type setting area and the card attribute setting area;
a protocol generation module 53, configured to generate a control message protocol according to the card type information and the card attribute information;
and the protocol sending module 54 is configured to send the control message protocol to a server, so that the server generates a service card according to the card type information and the card attribute information in the control message protocol.
In a specific application scenario, the card type information includes a commodity type, a list type and a general type, the card attribute information includes title information, picture information, button information and description information, and the information receiving module 52 is specifically configured to receive card type information input by a user through the card type setting area; updating and displaying a card attribute setting area corresponding to the card type information on the card configuration interface according to the card type information; and receiving card attribute information input by a user through the updated card attribute setting area.
In a specific application scenario, as shown in fig. 6, the apparatus further includes a quick sending module 65, where the quick sending module 65 is specifically configured to respond to a request for generating a card key, receive a card identifier of a service card sent by the server, generate a card key, and bind the card identifier with the card key; and responding to the selection operation of the card key, sending a card identifier corresponding to the card key to the service end, so that the service end searches a service card corresponding to the card identifier in the service end based on the card identifier, and sends the service card to a second client.
Further, as a specific implementation of the method shown in fig. 3, the embodiment provides a service card generating device, as shown in fig. 7, including: a protocol receiving module 71, a template selecting module 72, a component positioning module 73 and a card transmitting module 74.
A protocol receiving module 71, configured to receive a control message protocol sent by a first client, where the control message protocol includes card type information and card attribute information;
a template selection module 72, configured to determine a service card template corresponding to the card type information based on the card type information, where the service card template includes a plurality of attribute display components;
A component positioning module 73, configured to position an attribute display component corresponding to the card attribute information in the service card template based on the card attribute information;
and the card sending module 74 is used for embedding the card attribute information into the attribute display assembly, generating a service card, storing the service card, and/or sending the service card to a second client so that the service card is displayed on the second client.
In a specific application scene, the card attribute information comprises title information, picture information, button information and description information; the attribute display assembly comprises a title display assembly, a picture display assembly, a button display assembly and a document display assembly corresponding to the card type information, and the card sending module 74 is specifically used for embedding the title information of the service card into the title display assembly; embedding the picture information of the service card into the picture display component; embedding button information of the service card into the button display assembly; based on the card type information, determining a document display assembly corresponding to the card type information, and embedding the description information of the service card into the document display assembly; and generating a service card based on the title display component, the picture display component, the button display component and the document display component in which the card attribute information is embedded.
In a specific application scenario, the card type information includes a commodity type, a list type and a general type, and the card sending module 74 may be further specifically configured to embed the description information of the service card into a preset commodity display component when the card type information is a commodity type, where the description information is commodity information; when the card type information is list type, embedding the description information of the service card into a preset list display assembly, wherein the description information is list information; and when the card type information is of a general type, embedding the description information of the service card into a preset secondary title display assembly, wherein the description information is the secondary title information.
It should be noted that, other corresponding descriptions of each functional unit related to the service card generating device provided in this embodiment may refer to corresponding descriptions in fig. 1 to 4, and are not described herein again.
Based on the above methods shown in fig. 1 and 3, correspondingly, the present embodiment further provides a storage medium, on which a computer program is stored, where the program is executed by a processor to implement the method for generating a service card shown in fig. 1 and 3.
Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, where the software product to be identified may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disc, a mobile hard disk, etc.), and include several instructions for causing a computer device (may be a personal computer, a server, or a network device, etc.) to execute the method described in each implementation scenario of the present application.
Based on the method shown in fig. 1 and fig. 3 and the embodiment of the service card generating device shown in fig. 5 to fig. 7, in order to achieve the above object, the present embodiment further provides an entity device for generating a service card, which may specifically be a personal computer, a server, a smart phone, a tablet computer, a smart watch, or other network devices, where the entity device includes a storage medium and a processor; a storage medium storing a computer program; a processor for executing a computer program to implement the method as shown in fig. 1 and 3.
Optionally, the physical device may further include a user interface, a network interface, a camera, radio Frequency (RF) circuitry, sensors, audio circuitry, WI-FI modules, and the like. The user interface may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), etc.
It will be appreciated by those skilled in the art that the physical device structure for generating a service card according to the present embodiment is not limited to the physical device, and may include more or fewer components, or may combine certain components, or may be different in arrangement of components.
The storage medium may also include an operating system, a network communication module. The operating system is a program for managing the entity equipment hardware and the software resources to be identified, and supports the operation of the information processing program and other software and/or programs to be identified. The network communication module is used for realizing communication among all components in the storage medium and communication with other hardware and software in the information processing entity equipment.
From the above description of the embodiments, it will be apparent to those skilled in the art that the present application may be implemented by means of software plus necessary general hardware platforms, or may be implemented by hardware. By applying the technical scheme, firstly, a card configuration interface is displayed in response to a card configuration request, wherein the card configuration page displays a card type setting area and a card attribute setting area; then, receiving card type information and card attribute information input by a user through the card type setting area and the card attribute setting area; then, generating a control message protocol according to the card type information and the card attribute information; and finally, the control message protocol is sent to a server side, so that the server side generates a service card according to the card type information and the card attribute information in the control message protocol. Compared with the prior art, the service card has the advantages that the diversity of the service card can be remarkably enhanced, the diversified services can be more intuitively displayed, and the interaction performance of the service card is improved.
Those skilled in the art will appreciate that the drawings are merely schematic illustrations of one preferred implementation scenario, and that the modules or flows in the drawings are not necessarily required to practice the present application. Those skilled in the art will appreciate that modules in an apparatus in an implementation scenario may be distributed in an apparatus in an implementation scenario according to an implementation scenario description, or that corresponding changes may be located in one or more apparatuses different from the implementation scenario. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules.
The foregoing application serial numbers are merely for description, and do not represent advantages or disadvantages of the implementation scenario. The foregoing disclosure is merely a few specific implementations of the present application, but the present application is not limited thereto and any variations that can be considered by a person skilled in the art shall fall within the protection scope of the present application.
Claims (10)
1. A method for generating a service card, applied to a first client, the method comprising:
responding to a card configuration request, and displaying a card configuration interface, wherein the card configuration page is provided with a card type setting area and a card attribute setting area;
receiving card type information and card attribute information input by a user through the card type setting area and the card attribute setting area;
Generating a control message protocol according to the card type information and the card attribute information;
and sending the control message protocol to a server side so that the server side generates a service card according to the card type information and the card attribute information in the control message protocol.
2. The method of claim 1, wherein the card type information includes a commodity type, a list type, and a general type, and the card attribute information includes title information, picture information, button information, and description information; the receiving card type information and card attribute information input by the user through the card type setting area and the card attribute setting area comprises:
receiving card type information input by a user through the card type setting area;
updating and displaying a card attribute setting area corresponding to the card type information on the card configuration interface according to the card type information;
and receiving card attribute information input by a user through the updated card attribute setting area.
3. The method according to claim 1, wherein the method further comprises:
responding to a generation request of a card key, receiving a card identifier of a service card sent by the server, generating the card key, and binding the card identifier with the card key;
And responding to the selection operation of the card key, sending a card identifier corresponding to the card key to the service end, so that the service end searches a service card corresponding to the card identifier in the service end based on the card identifier, and sends the service card to a second client.
4. The method for generating the service card is applied to a server and is characterized by comprising the following steps:
receiving a control message protocol sent by a first client, wherein the control message protocol comprises card type information and card attribute information;
determining a service card template corresponding to the card type information based on the card type information, wherein the service card template comprises a plurality of attribute display components;
positioning an attribute display component corresponding to the card attribute information in the service card template based on the card attribute information;
and embedding the card attribute information into the attribute display assembly, generating a service card, storing the service card, and/or sending the service card to a second client so that the service card is displayed on the second client.
5. The method of claim 4, wherein the card attribute information includes title information, picture information, button information, and description information; the attribute display component comprises a title display component, a picture display component, a button display component and a document display component corresponding to the card type information; the embedding the card attribute information into the attribute display assembly, generating a service card, includes:
embedding the title information of the service card into the title display component;
embedding the picture information of the service card into the picture display component;
embedding button information of the service card into the button display assembly;
based on the card type information, determining a document display assembly corresponding to the card type information, and embedding the description information of the service card into the document display assembly;
and generating a service card based on the title display component, the picture display component, the button display component and the document display component in which the card attribute information is embedded.
6. The method of claim 5, wherein the card type information includes a commodity type, a list type, and a general type; the determining a document display component corresponding to the card type information based on the card type information, and embedding the description information of the service card into the document display component includes:
When the card type information is commodity type, embedding the description information of the service card into a preset commodity display assembly, wherein the description information is commodity information;
when the card type information is list type, embedding the description information of the service card into a preset list display assembly, wherein the description information is list information;
and when the card type information is of a general type, embedding the description information of the service card into a preset secondary title display assembly, wherein the description information is the secondary title information.
7. A service card generation apparatus, the apparatus comprising:
the interface generation module is used for responding to the card configuration request and displaying a card configuration interface, wherein the card configuration page displays a card type setting area and a card attribute setting area;
the information receiving module is used for receiving card type information and card attribute information input by a user through the card type setting area and the card attribute setting area;
the protocol generation module is used for generating a control message protocol according to the card type information and the card attribute information;
And the protocol sending module is used for sending the control message protocol to a server side so that the server side generates a service card according to the card type information and the card attribute information in the control message protocol.
8. A service card generation apparatus, the apparatus comprising:
the protocol receiving module is used for receiving a control message protocol sent by the first client, wherein the control message protocol comprises card type information and card attribute information;
the template selection module is used for determining a service card template corresponding to the card type information based on the card type information, wherein the service card template comprises a plurality of attribute display components;
the component positioning module is used for positioning an attribute display component corresponding to the card attribute information in the service card template based on the card attribute information;
and the card sending module is used for embedding the card attribute information into the attribute display assembly, generating a service card, storing the service card and/or sending the service card to a second client so as to display the service card on the second client.
9. A storage medium having stored thereon a computer program, which when executed by a processor, implements the steps of the method of any of claims 1 to 6.
10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the computer program when executed by the processor implements the steps of the method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310383886.1A CN116400919A (en) | 2023-04-03 | 2023-04-03 | Service card generation method and device, storage medium and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310383886.1A CN116400919A (en) | 2023-04-03 | 2023-04-03 | Service card generation method and device, storage medium and computer equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116400919A true CN116400919A (en) | 2023-07-07 |
Family
ID=87019565
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310383886.1A Pending CN116400919A (en) | 2023-04-03 | 2023-04-03 | Service card generation method and device, storage medium and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116400919A (en) |
-
2023
- 2023-04-03 CN CN202310383886.1A patent/CN116400919A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113225572B (en) | Page element display method, device and system of live broadcasting room | |
US7293034B2 (en) | Dynamically customizing a user interface for the aggregation of content | |
US20020154160A1 (en) | Information providing system, program, information storage medium, and user interface setting method | |
US20240402977A1 (en) | Desktop sharing method and mobile terminal | |
US11151219B2 (en) | Generating rich digital documents from limited instructional data | |
CN112215924A (en) | A method, device, electronic device and storage medium for processing a picture comment | |
JP2007310596A (en) | Service providing apparatus, computer program, and recording medium | |
CN113242308B (en) | Information pushing method, device, equipment and storage medium | |
JP2020173860A (en) | Information processing device and program | |
US8645961B2 (en) | Image formation apparatus and program | |
ZA200903243B (en) | A method of processing a credit application | |
CN116400919A (en) | Service card generation method and device, storage medium and computer equipment | |
JP2000040115A (en) | Farm banking service method | |
KR20200098286A (en) | Deviec, system and method of providing service of creating detailed pages for sales item on open market | |
CN109905878B (en) | Information pushing method and device | |
JP5028447B2 (en) | Server apparatus and information processing method for transmitting message by ID | |
JPWO2021065550A5 (en) | ||
WO2016046792A1 (en) | System and method for creating and interacting with information objects | |
JP6135649B2 (en) | Server apparatus and program | |
JP2020144633A (en) | Information processing device and program | |
US20240231889A1 (en) | Information processing device, information processing system, information processing method, and storage medium | |
JP2004013420A (en) | Advertising system through calendar, calendar information server, calendar information server program, and program recording medium | |
JP7659681B2 (en) | Program and code output method | |
JP2009076099A (en) | Service providing equipment | |
EP3046013A1 (en) | Dynamically reconfigurable service and status manager |
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 |