CN114385264A - Configuration method and device, background, electronic equipment and storage medium - Google Patents

Configuration method and device, background, electronic equipment and storage medium Download PDF

Info

Publication number
CN114385264A
CN114385264A CN202210034434.8A CN202210034434A CN114385264A CN 114385264 A CN114385264 A CN 114385264A CN 202210034434 A CN202210034434 A CN 202210034434A CN 114385264 A CN114385264 A CN 114385264A
Authority
CN
China
Prior art keywords
toolbar
tool
instant messaging
configuration data
configuring
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
CN202210034434.8A
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.)
Guahao Net Hangzhou Technology Co Ltd
Original Assignee
Guahao Net Hangzhou Technology 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 Guahao Net Hangzhou Technology Co Ltd filed Critical Guahao Net Hangzhou Technology Co Ltd
Priority to CN202210034434.8A priority Critical patent/CN114385264A/en
Publication of CN114385264A publication Critical patent/CN114385264A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to a configuration method, a configuration device, electronic equipment and a storage medium, which are used for configuring a toolbar of a message input box of instant messaging and relate to the field of network communication. The configuration method comprises the following steps: sending a toolbar configuration request to an instant messaging background, wherein the toolbar configuration request carries a user type or toolbar configuration requirement; receiving the toolbar configuration data returned by the instant messaging background, wherein the toolbar configuration data is determined by the instant messaging background based on the toolbar configuration request; and configuring a toolbar of a message input box of the instant messaging based on the toolbar configuration data. The method comprises the steps of sending a toolbar configuration request carrying user types or toolbar configuration requirements to an instant messaging background, obtaining toolbar configuration data containing required toolbars, and further configuring the toolbars based on the toolbar configuration data, so that the toolbars of configured message input boxes conform to user permissions or use scenes.

Description

Configuration method and device, background, electronic equipment and storage medium
Technical Field
The present invention relates to the field of network communications, and in particular, to a configuration method, a configuration apparatus, a configuration background, an electronic device, and a computer-readable storage medium.
Background
In a chat interface of an IM (Instant Messaging) tool, a toolbar is generally disposed near a position of a message input box, and the toolbar includes a plurality of tools, such as voice input, pictures, cameras, and the like, so that a user can select a corresponding tool according to personal needs. For the same instant messenger, different users may have different permitted uses due to different identities, permissions, etc. for example, a doctor may use the prescription tool provided by the instant messenger, while a doctor assistant may not use the prescription tool of the instant messenger due to the absence of the permission.
In the prior art, the toolbar of the same message input box is usually provided for different users, however, the toolbar of the message input box configured in this way is not flexible enough to meet the requirements of different users on tools in the toolbar, and specifically, when a user right is changed or a tool is changed, if the right of a certain tool cannot be opened for a certain user alone, or the function or address of the tool is changed, the code of the configuration way of the tool needs to be modified or reconfigured, which all leads to the problem of complex tool configuration.
Disclosure of Invention
In view of the above, the present invention is directed to a configuration method, a configuration apparatus, an electronic device, and a storage medium, so as to reduce complexity of configuring a toolbar of an instant messaging message input box and meet user requirements under different permissions or different scenarios.
In a first aspect, an embodiment of the present application provides a configuration method for configuring a toolbar of a message input box for instant messaging, including: sending a toolbar configuration request to an instant messaging background, wherein the toolbar configuration request carries a user type or toolbar configuration requirement; receiving toolbar configuration data returned by the instant messaging background, wherein the toolbar configuration data are determined by the instant messaging background based on the toolbar configuration request; and configuring a toolbar of a message input box of the instant messaging based on the toolbar configuration data.
In the embodiment of the application, the toolbar configuration request carrying the user type or toolbar configuration requirements is sent to the instant messaging background, so that toolbar configuration data returned by the instant messaging background can accord with the user type or comprise toolbar configuration data required by a user, and the toolbar is configured based on the toolbar configuration data, so that the toolbars in the configured message input boxes accord with the user authority or use scenes. Meanwhile, compared with the prior art, the code for configuring the toolbar does not need to be modified or rewritten, so that the complexity of toolbar configuration of the instant messaging message input box is reduced.
In an embodiment, the toolbar configuration data is Json type data, and after receiving the toolbar configuration data returned by the instant messaging background, the method further includes: converting the toolbar configuration data into model type data; the toolbar for configuring the message input box for instant messaging based on the toolbar configuration data comprises: and configuring a toolbar of a message input box of the instant messaging based on the toolbar configuration data of the model type.
In the embodiment of the application, the acquired toolbar configuration data are Json type data, and the Json type data are easy to read, write and analyze, so that the complexity of configuring the toolbar can be reduced to a certain extent. By converting the toolbar configuration data into the model type data, the model type data is a data type which can be executed by the prompt permission tool, so that the toolbar can be configured directly based on the converted toolbar configuration data, and the complexity of configuring the toolbar is further reduced.
In an embodiment, the toolbar configuration data includes a toolbar to be configured and location information corresponding to the toolbar to be configured, and the toolbar configured to configure the message input box for instant messaging based on the toolbar configuration data includes: classifying the tool items to be configured based on the position information corresponding to the tool items to be configured so as to generate a tool item list to be configured corresponding to different positions; and respectively configuring tool items listed in the corresponding tool item list to be configured at each position based on the tool item list to be configured corresponding to different positions.
In the embodiment of the application, when configuring the tool items, the list of the tool items to be configured can be configured at the corresponding positions of the message input box according to the position information, and then the tool items in the list are configured, so that the situation that the tool items are configured at the positions one by one can be avoided, the complexity of configuring the tool items can be effectively reduced, and the configuration efficiency of each tool item in the toolbar can be improved.
In one embodiment, the position information corresponding to each tool item to be configured is the left side, the right side or the bottom of the message input box.
In the embodiment of the application, the position information of the tool items to be configured can be positioned on the left side, the right side or the bottom of the message input box, so that each tool item to be configured can be directly configured to the corresponding position of the message input box, the complexity of the tool item during configuration is reduced, and meanwhile, the problem that the viewing of the message by a user is influenced due to the fact that the tool items are displayed in a disordered manner on a user interface or the message interface is reduced is avoided.
In an embodiment, the toolbar configuration data further includes types of the tool items to be configured, and the configuring, based on the list of the tool items to be configured corresponding to different positions, the tool items listed in the list of the tool items to be configured corresponding to each position respectively includes: traversing the tool items of the tool item list to be configured corresponding to different positions; and configuring the tool item with the type of the tool item to be configured being the MoreMenu type into a pull-down menu corresponding to the MoreMenu tool item.
In the embodiment of the application, the tool items of the MoreMenu type are configured in the pull-down menu, so that the display of the tool items on the page can be reduced, the phenomenon that the normal display of the instant messaging message on the user interface is influenced due to the fact that too many tool items are displayed on the page is avoided, therefore, the display interface of the instant messaging is optimized, and the user experience effect is improved.
In an embodiment, the toolbar configuration data further includes an address link corresponding to the tool item to be configured, and the configuring, at each position, the tool items listed in the tool item to be configured list corresponding to the toolbar item to be configured based on the tool item to be configured list corresponding to the different position further includes: configuring the address link corresponding to the tool item so that a user can enter or call the function of the tool item based on the address link when using the tool item; and configuring the tool item with the type of the tool item to be configured being the MoreMenu type into a pull-down menu corresponding to the MoreMenu tool item, and configuring the address link corresponding to the tool item.
In the embodiment of the application, the address link corresponding to the tool item is configured, so that a user can directly call or enter the tool item at the toolbar to use the function of the tool item, the use requirements of the user on various tool items are met, meanwhile, various tool items do not need to be additionally installed locally, only the address link of the tool item is configured to be used, and the complexity of configuring the tool item can be reduced to a certain extent.
In a second aspect, an embodiment of the present application provides a configuration apparatus for configuring a toolbar of a message input box for instant messaging, including: the view controller is used for initiating a configuration request to an instant messaging background of instant messaging software, wherein the toolbar configuration request carries a user type or toolbar configuration requirement; the view controller is further configured to receive toolbar configuration data returned by the instant messaging background, where the toolbar configuration data is determined by the instant messaging background based on the user type; and the toolbar configurator is used for configuring a toolbar of a message input box of the instant messaging based on the toolbar configuration data.
In a third aspect, an embodiment of the present application provides a configuration background, configured to configure a toolbar of a message input box for instant messaging, including: the system comprises a receiving module, a processing module and a display module, wherein the receiving module is used for receiving a toolbar configuration request of an instant messaging client, and the toolbar configuration request carries a user type or a toolbar configuration requirement; the acquisition module is used for acquiring toolbar configuration data corresponding to the toolbar configuration request; and the return module is used for returning the toolbar configuration data to the instant messaging client.
In a fourth aspect, the present application provides an electronic device, including a memory and a processor, where the memory stores computer-readable instructions, and the computer-readable instructions, when executed by the processor, cause the processor to execute a configuration method according to the first aspect or implement functions of a configuration apparatus according to the second aspect.
In a fifth aspect, the present invention provides a computer-readable storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute a configuration method according to the first aspect or to realize the function of a configuration device according to the second aspect.
Additional features and advantages of the disclosure will be set forth in the description which follows, or in part may be learned by the practice of the above-described techniques of the disclosure, or may be learned by practice of the disclosure.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a flowchart of a configuration method according to an embodiment of the present application;
fig. 2 is a schematic diagram of a configured message input box according to an embodiment of the present application;
fig. 3 is a block diagram of a configuration apparatus according to an embodiment of the present disclosure;
fig. 4 is a block diagram of an electronic device according to an embodiment of the present disclosure.
Icon: configuring the device 200; a view controller 210; a toolbar configurator 220; a user interface configurator 230.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Referring to fig. 1, fig. 1 is a flowchart of a configuration method for configuring a toolbar of a message input box for instant messaging according to an embodiment of the present disclosure, where the method includes the following steps:
s110, sending a toolbar configuration request to the instant messaging background, wherein the toolbar configuration request carries a user type or toolbar configuration requirement.
In an embodiment, when the user enters the page of the instant messaging through the client of the instant messaging, the tools needed to be used in the toolbar are different due to different user identities, different use scenarios, and the like, for example, in an inquiry link of a doctor to a patient, the doctor may use a tool for prescription, and the doctor assistant cannot use the tool for prescription. Therefore, when the client of the user enters the page of the instant messaging, the client can send a toolbar configuration request to the instant messaging background to acquire data of the tool items which accord with the identity authority and the use scene of the user, and then the toolbar is configured. It can be understood that a user can log in a client through an account password and the like, after the user logs in, the account can be used for determining the identity of the user, in some embodiments, the user can also perform identity authentication after registering the account, so as to bind the relationship between the account and the identity of the user, and in other embodiments, the user identity card can also be assigned to the user by a server. The corresponding relation between the account number and the user identity or the authority can be stored locally, the corresponding relation between the identity and the requirement can be determined in the local user identity according to the login account number and the corresponding relation, and the configuration requirement can be determined according to the identity and the corresponding relation. It should be noted that there are many ways to determine the identity of the user, and reference may be made to the prior art specifically, which is not described herein again.
In this embodiment, the instant messaging background may be a remote device, such as a server, which establishes a connection with an instant messaging client in a remote connection manner to receive a toolbar configuration request of the client.
In one embodiment, the toolbar configuration request may carry a user type, for example, in an instant messaging system of a medical system, the user type may be a doctor, a nurse, a doctor assistant, etc., and in a factory, the user type may be an equipment engineer, a process engineer, a production manager, etc.
In an embodiment, the toolbar configuration request sent to the instant messaging background may carry a toolbar configuration requirement, that is, in the toolbar configuration request, a request may be directly made to obtain a toolbar required to be used. For example, if a user obtains access to a tool, the toolbar configuration request may carry a request to obtain configuration data for the tool.
In other embodiments of the present application, the toolbar configuration request may also include both the user type and the toolbar configuration requirement, so as to accurately obtain toolbar configuration data including the toolbar configuration requirement.
And S120, receiving toolbar configuration data returned by the instant messaging background, wherein the toolbar configuration data are determined by the instant messaging background based on the toolbar configuration request.
In an embodiment, after receiving the toolbar configuration request, the instant messaging background acquires corresponding toolbar configuration data according to information carried in the toolbar configuration request, wherein the toolbar configuration data includes configuration information of each toolbar and is returned to the instant messaging client for toolbar configuration.
In this embodiment, when the information carried by the toolbar configuration request is the user type, the instant messaging background may obtain and return toolbar configuration data including the toolbar according to a relationship between the preset user type and the toolbar configuration scheme. For example, in a medical system, when the user type is a doctor, the tool items may be tool items for prescription, diagnosis, and the like in the returned toolbar configuration. For another example, in a system of a factory, when the user type is an equipment engineer, the tool items included in the returned toolbar configuration scheme may be tool items such as equipment maintenance records, tool accessory retrievals, and the like, and the tool items included in the toolbar configuration scheme corresponding to the process engineer may be tool items such as exception handling, process parameter setting, and the like.
S130, configuring the toolbar of the message input box of the instant messaging based on the toolbar configuration data.
In one embodiment, the toolbar configuration data includes a tool item to be configured and position information corresponding to the tool item to be configured, so that the tool item to be configured can be classified based on the position information corresponding to the tool item to be configured, so as to generate a tool item list to be configured corresponding to different positions; and respectively configuring tool items listed in the corresponding tool item list to be configured at each position based on the tool item list to be configured corresponding to different positions.
In this embodiment, the configuration information of the instant messaging background for the tool items defines the positions of the tool items, so that the position information of the tool items can be directly acquired. It should be noted that the position information is directed to the position where the tool item is displayed in the user interface, specifically, the position where the tool item is displayed around the message input box, and not the position of the page or background code to which the tool item is connected.
In this embodiment, based on the location information, the obtained tool items in the toolbar configuration data may be classified, so as to generate a tool item list in different locations, so as to configure different tool items for different locations of the instant messaging message input box.
In one embodiment, the position information corresponding to each tool item to be configured is the left side, the right side or the bottom of the message input box.
In this embodiment, the tool items may be disposed on the left side, the right side, or the bottom of the message input box, which is convenient for the user to use.
In an embodiment, the toolbar configuration data further includes types of tool items to be configured, and based on the tool item list to be configured corresponding to different positions, the tool items listed in the tool item list to be configured corresponding to each position are configured at each position, including: traversing tool items of the tool item list to be configured corresponding to different positions; and configuring the tool item with the type of the tool item to be configured being the MoreMenu type into a pull-down menu corresponding to the MoreMenu tool item.
In this embodiment, the types of the tool items to be configured may include a MoreMenu type and a main menu type, the tool items to be configured of the main menu type may be directly configured at a preset position of the message input box, and the tool items of the MoreMenu type need to be configured in a preset pull-down menu. For example, the tool items to be configured in the main menu type may be general or frequently used tool items, such as voice input, pictures, and the like, and may be directly arranged at preset positions of the message input box, while the MoreMenu type may be used according to user rights or usage scenarios, for example, in a medical system, an inquiry of a doctor, prescription, and the like.
In this embodiment, because the spatial position of the message input box is limited, and the development of different functions results in the increase of tool items, and too many tool items configured on the same page may affect the experience of the user on the message sending and receiving functions in instant messaging, after the list of tool items to be configured at different positions is generated, the type of the tool item to be configured may be determined, and the tool item of the main menu type is configured at the preset position of the message input box, so as to be convenient for the user to use. And integrating the tool items to be configured of the MoreMenu type into a pull-down menu to optimize a user interface.
In an embodiment, after the list of the tool items to be configured is generated, the tool items are configured and generated on an interface of a message input box used by a user. Specifically, the position information corresponding to the tool item list generates each tool item in the corresponding to-be-configured tool item list at the corresponding position of the message input box, so that the user can use the tool items.
In an embodiment, after the tool item list to be configured is obtained, it is determined whether the number of the tool items to be configured in the tool item list to be configured is 0, if so, the tool items are not configured at the corresponding positions of the tool item list to be configured, and if so, the tool items in the tool item list are configured on the interface of the message input box.
In this embodiment, because the user permission is changed or the usage scenario is changed, the modification of the tool items may be only partial, for example, the permissions of only one or two tools are added, so before the toolbar is configured, it may be determined whether the tool item exists in the to-be-configured tool item list, and then the tool item in the to-be-configured tool item list is configured, thereby improving the configuration efficiency.
In an embodiment, the toolbar configuration data further includes an address link corresponding to the tool item to be configured, and when the tool item is configured, the address link corresponding to the tool item may be further configured, so that when a user uses the tool item, the user enters or calls a function of the tool item based on the address link.
In this embodiment, the tool items may include an instant messaging tool or a tool carried by the system itself or an external tool, and the external tool may be an applet, a web page, or the like. When the tool item is an instant messaging tool or a tool carried by the system, the address link may be a call function, and when the user needs to use the tool item, the call function is executed to further execute the function of the tool item, and when the tool item is an external tool, the address link may be an address for entering the external tool, for example, a URL address of an h5 page, an entry link of an applet, and the like. In some embodiments, the external tool item may be configured in a pull-down menu configured with a MoreMenu type, so that when a user clicks the tool item, it is determined preferentially whether the tool item is configured with an address link, and then a jump is made to the address link, and when the address link is not configured, the code of the local tool may be executed.
In this embodiment, the toolbar configuration data may further include status information of each tool item in the toolbar, such as whether the tool item is in an available or unavailable state.
In this embodiment, images may also be configured for each tool item in the toolbar, so that when an icon is clicked, the tool item is entered.
Referring to fig. 2, fig. 2 is a schematic diagram of a configured message input box according to an embodiment of the present application, specifically, a position where a patient is waiting for your reply is a message input box, a left side of the message input box is a voice input tool, a lower portion of the message input box includes an emoticon tool, a picture tool, a telephone tool, and a video tool, and a rightmost side of the message input box is a pull-down menu, and after being expanded, the message input box may include tool items such as quick reply, invitation for a facial examination, diagnosis and treatment, and prescription, and thus, a user may select different tool items for use according to needs.
In the embodiment of the application, the toolbar configuration request carrying the user type or toolbar configuration requirements is sent to the instant messaging background, so that toolbar configuration data returned by the instant messaging background can accord with the user type or comprise toolbar configuration data required by a user, and the toolbar is configured based on the toolbar configuration data, so that the toolbars in the configured message input boxes accord with the user authority or use scenes. Meanwhile, compared with the prior art, the code for configuring the toolbar does not need to be modified or rewritten, so that the complexity of toolbar configuration of the instant messaging message input box is reduced.
In one embodiment, the toolbar configuration data is Json type data, and after the toolbar configuration data returned by the instant messaging background is received, the toolbar configuration data is converted into model type data.
In the embodiment, the toolbar configuration data returned by the instant messaging background is Json type data, so that the method is low in occupied bandwidth, easy to read and write, capable of supporting different languages and further capable of being used by programs of different languages, and complexity of configuration of the toolbar can be reduced to a certain extent. Facilitating the retrieval of the required information therefrom.
In this embodiment, after receiving the toolbar configuration data, since the Json type data may be different from the data type used for toolbar configuration, the toolbar configuration data needs to be converted into a data type that can be used by the instant messaging tool or system, that is, model type data. Thus, the toolbar of the instant messaging message input box is enabled to be configured based on the toolbar configuration data.
Referring to fig. 3, fig. 3 is a block diagram of a configuration device according to an embodiment of the present disclosure, where the configuration device includes: a view controller 210, a toolbar configurator 220, and a user interface configurator 230.
The view controller 210 is configured to initiate a configuration request to an instant messaging background of the instant messaging software, where the toolbar configuration request carries a user type or a toolbar configuration requirement.
The view controller 210 is further configured to receive toolbar configuration data returned by the instant messaging backend, where the toolbar configuration data is determined by the instant messaging backend based on the user type.
A toolbar configurator 220 for configuring a toolbar of a message input box for instant messaging based on the toolbar configuration data.
And a user interface configurator 230 for displaying on the user interface based on the toolbar configured by the toolbar configurator 220.
In one embodiment, the toolbar configuration data is Json type data, and the view controller 210 is further configured to convert the toolbar configuration data into model type data, so that the toolbar configurator 220 configures a toolbar of a message input box for instant messaging based on the model type toolbar configuration data.
In an embodiment, the toolbar configuration data includes a tool item to be configured and location information corresponding to the tool item to be configured, and the toolbar configurator 220 is configured to classify the tool item to be configured based on the location information corresponding to the tool item to be configured, so as to generate a list of tool items to be configured corresponding to different locations; and respectively configuring tool items listed in the corresponding tool item list to be configured at each position based on the tool item list to be configured corresponding to different positions, wherein the position information corresponding to each tool item to be configured is the left side, the right side or the bottom of the message input box.
In an embodiment, the toolbar configuration data further includes a type of the tool item to be configured, and the toolbar configurator 220 is further configured to traverse the tool items of the list of tool items to be configured corresponding to different positions; and configuring the tool item with the type of the tool item to be configured being the MoreMenu type into a pull-down menu corresponding to the MoreMenu tool item.
The user interface configurator 230 generates the tool items to be configured in the tool item list to be configured at the corresponding positions of the message input box based on the position information corresponding to the tool item list to be configured.
In one embodiment, the user interface configurator 230 is configured to configure a corresponding address link for the tool item, so that when the user uses the tool item, the function of the tool item is entered or invoked based on the address link.
In one embodiment, the user interface configurator 230 is further configured to configure the corresponding icon for the tool item.
It is to be understood that the configuration device 200 provided in the present application corresponds to the configuration method provided in the present application, and for brevity of the description, the same or similar parts may refer to the contents of the configuration method parts, and are not described herein again.
The modules in the configuration device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the server, and can also be stored in a memory in the server in a software form, so that the processor can call and execute operations corresponding to the modules. The processor can be a Central Processing Unit (CPU), a microprocessor, a singlechip and the like.
Based on the same inventive concept, the embodiment of the present application further provides a configuration background, configured to configure a toolbar of a message input box for instant messaging, where the configuration background includes: the system comprises a receiving module, a processing module and a display module, wherein the receiving module is used for receiving a toolbar configuration request of an instant messaging client, and the toolbar configuration request carries a user type or a toolbar configuration requirement; the acquisition module is used for acquiring toolbar configuration data corresponding to the toolbar configuration request; and the return module is used for returning the toolbar configuration data to the instant messaging client.
In this embodiment, the configuration background may pre-store a relationship between the user type and the toolbar configuration data, so as to obtain a toolbar configuration mode for the user type, that is, the toolbar configuration data, according to the user type carried in the toolbar configuration request, where the toolbar configuration data includes configuration data of each toolbar.
In this embodiment, the configuration system is used to connect different instant messaging tools to configure toolbars of message input boxes of different instant messaging tools.
The above-described configuration method or configuration apparatus may be implemented in the form of computer readable instructions that can be executed on an electronic device as shown in fig. 3.
An embodiment of the present application further provides an electronic device, which includes a memory, a processor, and computer readable instructions stored in the memory and executable on the processor, where the processor implements the configuration method when executing the program.
Fig. 4 is a schematic diagram of an internal structure of an electronic device according to an embodiment of the present application, where the electronic device may be a server. Referring to fig. 4, the electronic device includes a processor, a nonvolatile storage medium, an internal memory, an input device, a display screen, and a network interface, which are connected by a system bus. The non-volatile storage medium of the electronic device may store an operating system and computer readable instructions, and when the computer readable instructions are executed, the processor may execute a configuration method according to embodiments of the present application, and specific implementation processes of the method may refer to specific contents in fig. 1 and fig. 3, which are not described herein again. The processor of the electronic device is used for providing calculation and control capability and supporting the operation of the whole electronic device. The internal memory may have stored therein computer readable instructions that, when executed by the processor, cause the processor to perform a configuration method. The input device of the electronic equipment is used for inputting various parameters, the display screen of the electronic equipment is used for displaying, and the network interface of the electronic equipment is used for network communication. Those skilled in the art will appreciate that the configuration shown in fig. 4 is a block diagram of only a portion of the configuration associated with the present application, and does not constitute a limitation on the electronic device to which the present application is applied, and a particular electronic device may include more or less components than those shown in the drawings, or combine certain components, or have a different arrangement of components.
Based on the same inventive concept, embodiments of the present application further provide a computer-readable storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the configuration method.
In the embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. The above-described apparatus embodiments are merely illustrative. The functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A configuration method for configuring a toolbar of a message input box for instant messaging, comprising:
sending a toolbar configuration request to an instant messaging background, wherein the toolbar configuration request carries a user type or toolbar configuration requirement;
receiving toolbar configuration data returned by the instant messaging background, wherein the toolbar configuration data are determined by the instant messaging background based on the toolbar configuration request;
and configuring a toolbar of a message input box of the instant messaging based on the toolbar configuration data.
2. The method of claim 1, wherein the toolbar configuration data is a Json type data, and after receiving toolbar configuration data returned by the instant messaging backend, the method further comprises: converting the toolbar configuration data into model type data;
the toolbar for configuring the message input box for instant messaging based on the toolbar configuration data comprises:
and configuring a toolbar of a message input box of the instant messaging based on the toolbar configuration data of the model type.
3. The method according to claim 1 or 2, wherein the toolbar configuration data includes a tool item to be configured and location information corresponding to the tool item to be configured, and the configuring of the toolbar of the message input box for instant messaging based on the toolbar configuration data includes:
classifying the tool items to be configured based on the position information corresponding to the tool items to be configured so as to generate a tool item list to be configured corresponding to different positions;
and respectively configuring tool items listed in the corresponding tool item list to be configured at each position based on the tool item list to be configured corresponding to different positions.
4. The method of claim 3, wherein the position information corresponding to each tool item to be configured is the left side, the right side or the bottom of the message input box.
5. The method according to claim 3, wherein the toolbar configuration data further includes a type of the tool item to be configured, and the configuring, at each position, the tool items listed in the corresponding tool item to be configured list based on the tool item to be configured list corresponding to the different position includes:
traversing the tool items of the tool item list to be configured corresponding to different positions;
and configuring the tool item with the type of the tool item to be configured being the MoreMenu type into a pull-down menu corresponding to the MoreMenu tool item.
6. The method according to claim 5, wherein the toolbar configuration data further includes an address link corresponding to the tool item to be configured, and the configuring, at each position, the tool items listed in the tool item to be configured list corresponding to the toolbar item to be configured based on the tool item to be configured list corresponding to the different position further includes: configuring the address link corresponding to the tool item so that a user can enter or call the function of the tool item based on the address link when using the tool item;
the step of configuring the tool item with the type of the tool item to be configured as the MoreMenu type into a pull-down menu corresponding to the MoreMenu tool item further includes: and configuring the address link corresponding to the tool item.
7. A configuration apparatus for configuring a toolbar of a message input box for instant messaging, comprising:
the view controller is used for initiating a configuration request to an instant messaging background of instant messaging software, wherein the toolbar configuration request carries a user type or toolbar configuration requirement;
the view controller is further configured to receive toolbar configuration data returned by the instant messaging background, where the toolbar configuration data is determined by the instant messaging background based on the toolbar configuration request;
and the toolbar configurator is used for configuring a toolbar of a message input box of the instant messaging based on the toolbar configuration data.
8. A configuration backend for configuring a toolbar of a messaging input box for instant messaging, comprising: the system comprises a receiving module, a processing module and a display module, wherein the receiving module is used for receiving a toolbar configuration request of an instant messaging client, and the toolbar configuration request carries a user type or a toolbar configuration requirement;
the acquisition module is used for acquiring toolbar configuration data corresponding to the toolbar configuration request;
and the return module is used for returning the toolbar configuration data to the instant messaging client.
9. An electronic device comprising a memory and a processor, the memory having stored therein computer-readable instructions that, when executed by the processor, cause the processor to perform the method of any of claims 1-6 or to implement the functionality of the configuration apparatus of claim 7.
10. A computer-readable storage medium, in which a computer program is stored which, when run on a computer, causes the computer to perform the method of any one of claims 1-6 or to implement the functionality of the configuration apparatus of claim 7.
CN202210034434.8A 2022-01-12 2022-01-12 Configuration method and device, background, electronic equipment and storage medium Pending CN114385264A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210034434.8A CN114385264A (en) 2022-01-12 2022-01-12 Configuration method and device, background, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210034434.8A CN114385264A (en) 2022-01-12 2022-01-12 Configuration method and device, background, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114385264A true CN114385264A (en) 2022-04-22

Family

ID=81202021

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210034434.8A Pending CN114385264A (en) 2022-01-12 2022-01-12 Configuration method and device, background, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114385264A (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040150673A1 (en) * 1999-08-13 2004-08-05 Oren Dobronsky System and method for customizing electronic messages
US20080163090A1 (en) * 2006-12-28 2008-07-03 Yahoo! Inc. Interface overlay
US20090132963A1 (en) * 2007-11-21 2009-05-21 General Electric Company Method and apparatus for pacs software tool customization and interaction
US20090287604A1 (en) * 2008-05-16 2009-11-19 Ayse Korgav Desktop alert with interactive bona fide dispute initiation through chat session facilitated by desktop application
CN101794226A (en) * 2010-03-08 2010-08-04 山东大学 Service software construction method and system adapting to multiple business abstraction levels
CN103002156A (en) * 2011-12-16 2013-03-27 微软公司 Technology used for dynamic voice menu
CN106803859A (en) * 2017-01-20 2017-06-06 浪潮通信信息系统有限公司 The display methods and device of a kind of application interface
CN108282487A (en) * 2018-02-02 2018-07-13 广州南洋理工职业学院 Integrated information gate system
US20190141402A1 (en) * 2017-11-07 2019-05-09 Facebook, Inc. Social interaction user interface for videos
CN110096192A (en) * 2019-04-29 2019-08-06 四川长虹教育科技有限公司 The display methods of custom toolbars
CN110134452A (en) * 2018-02-09 2019-08-16 阿里巴巴集团控股有限公司 Object processing method and device
US20190340553A1 (en) * 2018-05-07 2019-11-07 ServiceNow Inc. System and method for enterprise resource management interface
CN112764607A (en) * 2021-01-08 2021-05-07 北京达佳互联信息技术有限公司 Timing message processing method, device, terminal and storage medium
CN113391739A (en) * 2021-05-27 2021-09-14 北京达佳互联信息技术有限公司 Function menu display method and device, electronic equipment and storage medium
CN113411298A (en) * 2021-05-07 2021-09-17 上海纽盾科技股份有限公司 Safety testing method and device combined with augmented reality

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040150673A1 (en) * 1999-08-13 2004-08-05 Oren Dobronsky System and method for customizing electronic messages
US20080163090A1 (en) * 2006-12-28 2008-07-03 Yahoo! Inc. Interface overlay
US20090132963A1 (en) * 2007-11-21 2009-05-21 General Electric Company Method and apparatus for pacs software tool customization and interaction
US20090287604A1 (en) * 2008-05-16 2009-11-19 Ayse Korgav Desktop alert with interactive bona fide dispute initiation through chat session facilitated by desktop application
CN101794226A (en) * 2010-03-08 2010-08-04 山东大学 Service software construction method and system adapting to multiple business abstraction levels
CN103002156A (en) * 2011-12-16 2013-03-27 微软公司 Technology used for dynamic voice menu
CN106803859A (en) * 2017-01-20 2017-06-06 浪潮通信信息系统有限公司 The display methods and device of a kind of application interface
US20190141402A1 (en) * 2017-11-07 2019-05-09 Facebook, Inc. Social interaction user interface for videos
CN108282487A (en) * 2018-02-02 2018-07-13 广州南洋理工职业学院 Integrated information gate system
CN110134452A (en) * 2018-02-09 2019-08-16 阿里巴巴集团控股有限公司 Object processing method and device
US20190340553A1 (en) * 2018-05-07 2019-11-07 ServiceNow Inc. System and method for enterprise resource management interface
CN110096192A (en) * 2019-04-29 2019-08-06 四川长虹教育科技有限公司 The display methods of custom toolbars
CN112764607A (en) * 2021-01-08 2021-05-07 北京达佳互联信息技术有限公司 Timing message processing method, device, terminal and storage medium
CN113411298A (en) * 2021-05-07 2021-09-17 上海纽盾科技股份有限公司 Safety testing method and device combined with augmented reality
CN113391739A (en) * 2021-05-27 2021-09-14 北京达佳互联信息技术有限公司 Function menu display method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
JP5534520B2 (en) System and method for browser-based access to smart cards
CN104412272B (en) User is set to sign in the method, system and equipment of browser
CN105635063B (en) Internet of Things communication protocol configuration method and device
CN104767900B (en) Information processing unit and information processing method
CN108960839B (en) Payment method and device
CN112835782B (en) Interface access test method and system
US20140196060A1 (en) Web service api for unified contact store
CN111866885A (en) Verification information sharing method and device and electronic equipment
US11882154B2 (en) Template representation of security resources
CN110610376A (en) Behavior data response method and device, computer equipment and storage medium
CN108335191B (en) Financial account opening method, financial service system terminal and computer storage medium
US9348999B2 (en) User terminal, reliability management server, and method and program for preventing unauthorized remote operation
CN111078424A (en) Information interaction method and device, computer equipment and storage medium
JP2020502598A5 (en)
US20130141752A1 (en) Job control apparatus, job control system, and method of controlling processing job data
CN113946739A (en) Sensitive data query method, device, equipment and storage medium
CN104995635B (en) Picture sending method and device and terminal device
CN114615223B (en) Examination unmanned monitoring instant messaging method, examination unmanned monitoring instant messaging equipment, examination unmanned monitoring instant messaging system and storage medium
CN107346197A (en) A kind of method for information display and device
CN114385264A (en) Configuration method and device, background, electronic equipment and storage medium
CN115237481A (en) Method, device and equipment for driving external equipment and storage medium
CN110430202B (en) Authentication method and device
CN105519069A (en) Data processing system, center apparatus and program
CN113961377A (en) Cross-application service method and device, electronic equipment and storage medium
KR102111160B1 (en) Login service system and method for providing login service using the same

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