Disclosure of Invention
The invention aims to provide a brand information maintenance method aiming at the defects of the prior art, related brand information is obtained in a keyword query mode, the brand information can be captured according to needs, and the storage space and time of background management are saved.
In view of this, an embodiment of the present invention provides a method for maintaining brand information, including:
the method comprises the steps that a first terminal receives a keyword input by an administrator user and sends the keyword to an application server;
the application server generates query request information according to the keywords and sends the query request information to the brand management server; the query request information comprises the keyword;
the brand management server carries out query matching in a brand information database according to the keywords; the brand management information base comprises a plurality of brand names and corresponding brand information;
performing keyword analysis on the brand name, and splitting the brand name into one or more brand keywords;
when a brand keyword of a brand name comprises the keyword, sending the brand name to the application server;
the application server sends the one or more brand names obtained by matching to the first terminal;
the first terminal receives a selection instruction input by an administrator user and sends the selection instruction to the application server; the selection instruction includes a first brand name;
the application server analyzes the selection instruction, and obtains the first brand name according to the analysis;
searching whether the first brand name exists in a local database according to the first brand name;
when the local database does not have the first brand name, generating a brand information request instruction according to the first brand name, and sending the brand information request instruction to the brand management server; the brand information request instruction includes the first brand name;
the brand management server acquires corresponding first brand information from a brand information database according to the brand information request instruction and returns the first brand information to the application server;
the application server adds the first brand name and first brand information in the local database.
Preferably, after the searching whether the first brand name exists in the local database according to the first brand name, the method further comprises:
and when the local database has the first brand name, generating brand prompt information and sending the brand prompt information to the first terminal.
Preferably, after the generating a brand information request instruction according to the first brand name and sending the brand information request instruction to the brand management server when the local database does not have the first brand name, the method further includes:
the brand management server records the selected times of each brand name;
and generating display attribute information of the brand name according to the selected times of the brand name.
Further preferably, after the application server sends the one or more brand names obtained by matching to the first terminal, the method further includes:
and the first terminal determines the display sequence of the brand names according to the display attribute information.
Preferably, the method further comprises:
the second terminal receives brand registration information and sends the brand registration information to the brand management server; the brand registration information includes a brand name and brand information;
the brand management server stores the brand registration information in the brand information database.
Preferably, the method further comprises:
the first terminal receives a brand updating instruction input by an administrator user and sends the brand updating instruction to the application server; the brand update instruction may include a second brand name;
the server sends the brand updating instruction to the brand management server;
the brand management server analyzes the brand updating instruction to obtain a second brand name;
acquiring second brand information from the brand information database according to the second brand name, generating update information and returning the update information to the application server;
and the application server updates the second brand information in the local database according to the updating information.
According to the brand information maintenance method provided by the embodiment of the invention, the related brand information is obtained in a keyword query mode, the brand information can be captured according to the needs, the storage space and time of background management are saved, in addition, the method is simple to operate, and the working efficiency of brand entry personnel is effectively improved.
Detailed Description
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
The brand information maintenance method provided by the embodiment is implemented in a brand information maintenance system, and realizes the process of inputting and updating brand information through user terminal equipment.
Fig. 1 is a flowchart of a brand information maintenance method according to an embodiment of the present invention, as shown in fig. 1, including:
step 101, a first terminal receives a keyword input by an administrator user and sends the keyword to an application server.
The first terminal can be a device with a data processing function, such as a smart phone, a tablet computer, a notebook computer, a desktop computer and the like.
Specifically, the application server is a server directly connected to the first terminal, and the first terminal receives a keyword input by an administrator user on the brand adding interface and sends the keyword to the application server. A keyword may be a word or a letter, such as "nine," "sky," "sea," "ally," "fly," "S," "H," "L," "M," or the like; keywords may also be multiple words or characters, such as "OO", "CH", "china", "nature", "euryale", "diya", and so on.
And 102, the application server generates query request information according to the keywords and sends the query request information to the brand management server.
The brand management server is a server which is provided by a third party and is related to various brands, can access commodity brand registration information in real time, and provides required brand information for the application server.
The query request information includes keywords input by the administrator user.
And 103, the brand management server queries and matches in a brand information database according to the keywords.
The brand management server is provided with a brand information database, and all brand names and corresponding brand information are included in the brand management information database.
The brand name and the corresponding brand information in the brand information database are pre-stored by an administrator of the brand management server, and a user terminal of the administrator of the brand management server is set as the second user terminal. Specifically, the second terminal receives brand registration information and sends the brand registration information to the brand management server; the brand registration information comprises a brand name to be registered and brand information; the brand management server stores brand registration information in a brand information database.
The brand name refers to the full name of the brand of the commodity, and may include the Chinese name of the brand of the commodity, and may also include English names, such as "Haier", "Zhongxing", "nike", "Adidas", and the like.
Brand information, which refers to information about the brand of the goods, the manufacturer, etc., such as
And 104, performing keyword analysis on the brand name, and splitting the brand name into one or more brand keywords.
Specifically, the brand management server performs keyword resolution on brand names of all brands stored in the brand information database, splits the brand names, and can split the brand names into one or more brand keywords.
For example, the brand name "Irelay" can be split into several brand keywords: "Ou", "Lai", "Yao", "Ou Lai", "Lai Yao" and "Ou Lai Yao"; the brand name "nike" can be split into several brand keywords: "n", "i", "k", "e", "ni", "ik", "ke", "nik", "ike" and "nike".
Step 105, when the brand keyword of a brand name comprises the keyword, sending the brand name to an application server.
Specifically, when the keyword after splitting the brand name includes a keyword in the query request information, the brand name is matched with the keyword, and the brand management server sends the brand name to the application server. In the actual query, there may be one or more brand names matching a keyword, and of course, there may be no brand names matching the keyword in the brand information database.
For example, the keyword in the query request message is "sea", and the brand names obtained by matching the brand management server include "seaside", "haixin", "hail", "hypusine", "roove's house", "gull", "blue of sea", and "ichhang". And the brand management server sends all matched brand names to the application server.
And step 106, the application server sends the matched one or more brand names to the first terminal.
Specifically, the application server generates brand selection display data according to the matched brand name, and returns the brand selection display data to the first terminal.
And step 107, the first terminal receives the selection instruction input by the administrator user and sends the selection instruction to the application server.
Specifically, the first terminal receives the brand selection display data to generate a brand selection display interface, displays the brand selection display interface, and displays all matched brand names on the brand selection display interface; receiving a selection instruction input by an administrator user on a brand selection display interface, wherein the input of the selection instruction can be clicking of brand names by the administrator, and the administrator can select one or more brand names at the same time; the first terminal sends a selection instruction of the administrator user to the application server, and the selection instruction comprises a first brand name.
For example, an administrator user clicks two brand names of "haixin" and "hail", the first terminal generates a selection instruction according to the click of the administrator user, and the selection instruction comprises the "haixin" and the "hail"; and the first terminal sends the selection instruction to the application server.
And 108, the application server analyzes the selection instruction, and obtains the first brand name according to the analysis.
Instep 107, the application server parses the selection command to obtain two brand names, "haixin" and "hail".
Step 109, look up whether the first brand name exists in the local database according to the first brand name.
The local database is a database of the application server, and stores the existing brand name and brand information in the local database.
And the application server searches whether the brand names of the Haixin brand and the Haier brand are available in a local database according to the two brand names of the Haixin brand and the Haier brand obtained by analysis.
And step 110, when the local database does not have the first brand name, generating a brand information request instruction according to the first brand name, and sending the brand information request instruction to the brand management server.
The brand information request instruction comprises a first brand name;
for example, when the local database does not have the "haixin", the related brand information of the "haixin" needs to be acquired, the application server generates a brand information request instruction and sends the brand information request instruction to the brand management server, and the brand information request instruction includes the "haixin".
In a preferred embodiment, afterstep 110, the brand management server records the number of times each brand name or brand information corresponding to the brand name is selected; display attribute information of the brand name is generated according to the number of times the brand name is selected.
Thus, after the application server sends the one or more brand names obtained by matching to the first terminal instep 106, the first terminal may determine a display order of the brand names according to the display attribute information, and rank the brand names with a large number of selections in front of the brand names, which may facilitate selection by the administrator user.
In addition, when the local database has the first brand name, brand prompt information is generated and sent to the first terminal. For example, when the local database has 'hell', brand prompt information is generated and sent to the first terminal for displaying; wherein the brand prompt message includes a first brand name, and the brand prompt message may be: the "hail" brand already exists in the local database.
And step 111, the brand management server acquires corresponding first brand information from the brand information database according to the brand information request instruction and returns the first brand information to the application server.
Specifically, the brand management server analyzes the received brand information request instruction to obtain a first brand name, searches first brand information corresponding to the first brand name in a brand information database according to the first brand name, and returns the first brand information to the application server.
In a specific example, the brand information request instruction includes two brand names of "haixin" and "hail", and the brand management server searches the brand information of "haixin" and "hail" in the brand information database respectively and obtains the brand information of "haixin" and the brand information of "hail"; and then returns the brand information of the 'haixin' and the brand information of the 'hail' to the application server.
Atstep 112, the application server adds the first brand name and the first brand information to a local database.
In the example ofstep 111, the application server receives the returned brand information and stores the brand information of "hai xin" and the brand information of "hail" and "hail" in the local database, so that the administrator user completes the brand adding process. Compared with the method for directly acquiring all brand information in the brand management database, the method can acquire the brand information according to the needs of an administrator, avoids the redundancy of the brand information, can save the storage space and time of background management, and brings convenience to the maintenance and management of the brand information.
In the process of maintaining and managing brand information, an updating process of brand information is further included, and fig. 2 is a flowchart of a method for updating brand information provided by an embodiment of the present invention, which specifically includes the following steps:
step 201, the first terminal receives a brand update instruction input by an administrator user and sends the brand update instruction to an application server.
Wherein the brand update instruction may include a second brand name.
Step 202, the server sends the brand update instruction to the brand management server.
And step 203, the brand management server analyzes the brand updating instruction to obtain a second brand name.
And 204, acquiring second brand information in the brand information database according to the second brand name, generating updating information and returning the updating information to the application server.
And step 205, the application server updates the second brand information in the local database according to the updated information.
In addition, in a preferred embodiment, after the third brand information in the brand information database is updated, the brand management server generates update prompt information and sends the update prompt information to the application server, wherein the update prompt information comprises a third brand name; the application server sends the update prompt message to the first terminal, wherein the sending can be sent according to a preset time, such as once per week or once per day; the sending may also be based on an update query instruction of the administrator user, for example, the first terminal receives the update query instruction input by the administrator user and sends the update query instruction to the application server, and the server sends the update prompt information to the first terminal and displays the update prompt information.
According to the brand information maintenance method provided by the embodiment of the invention, the related brand information is obtained in a keyword query mode, the brand information can be captured according to the needs, the storage space and time of background management are saved, in addition, the method is simple to operate, and the working efficiency of brand entry personnel is effectively improved.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.