CN113610603B - Page information processing method and device, electronic equipment and storage medium - Google Patents
Page information processing method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN113610603B CN113610603B CN202110908734.XA CN202110908734A CN113610603B CN 113610603 B CN113610603 B CN 113610603B CN 202110908734 A CN202110908734 A CN 202110908734A CN 113610603 B CN113610603 B CN 113610603B
- Authority
- CN
- China
- Prior art keywords
- product information
- information
- target area
- target
- field
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000003672 processing method Methods 0.000 title claims description 7
- 230000010365 information processing Effects 0.000 title claims description 5
- 238000000034 method Methods 0.000 claims abstract description 42
- 238000012545 processing Methods 0.000 claims abstract description 19
- 238000012795 verification Methods 0.000 claims description 17
- 238000012544 monitoring process Methods 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 5
- 235000013361 beverage Nutrition 0.000 description 17
- 238000010586 diagram Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 238000010276 construction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0641—Shopping interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
- G06F16/24552—Database cache management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- Marketing (AREA)
- Development Economics (AREA)
- General Business, Economics & Management (AREA)
- Human Computer Interaction (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- User Interface Of Digital Computer (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application discloses a method and a device for processing page information, electronic equipment and a storage medium, wherein the method for processing the page information comprises the following steps: when product information of a target area in a page is configured, determining an associated area code corresponding to the target area which is pre-configured; wherein the associated region code is a region code of other regions; acquiring and feeding back product information of the configured region corresponding to the associated region code; displaying an associated field input column and a field input column corresponding to the target area on an information configuration page of the target area; the associated field input field is used for inputting product information of an area corresponding to the associated area code; and generating product information of the target area by utilizing field information input by a user in each input field on the information configuration page of the target area.
Description
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to a method and apparatus for processing page information, an electronic device, and a storage medium.
Background
With the rapid development of the internet industry, in order to improve the marketing capability of products, merchants pay more and more attention to the diversity of the products and the sensory experience of users, so how to efficiently build page floors for displaying product information in a platform is particularly important.
The existing platform is mainly divided into three levels: channel, region, and fine-grained merchandise information. Different channels correspond to different pages, the areas are floor display areas in the pages, and the fine-grained commodity information is specific commodity information. In the existing construction mode, the configuration of commodity information to be displayed in different areas is completely independent.
In the existing manner, the commodity information of different areas is completely independent, so that when one area needs to be configured with the commodity information existing in another area, a developer is required to add corresponding fields in the area to perform configuration. The additional development process obviously affects the efficiency of the building and requires repeated configuration in two different areas for the exact same information, also reducing the efficiency of the building of floors.
Disclosure of Invention
Based on the defects of the prior art, the application provides a processing method and device of page information, electronic equipment and a storage medium, so as to solve the problem of low building efficiency of the existing page floor.
In order to achieve the above object, the present application provides the following technical solutions:
the first aspect of the present application provides a method for processing page information, including:
when product information of a target area in a page is configured, determining an associated area code corresponding to the target area which is pre-configured; wherein the associated region code is a region code of other regions;
acquiring and feeding back product information of the configured region corresponding to the associated region code;
displaying an associated field input column and a field input column corresponding to the target area on an information configuration page of the target area; the associated field input field is used for inputting product information of an area corresponding to the associated area code;
and generating product information of the target area by utilizing field information input by a user in each input field on the information configuration page of the target area.
Optionally, in the above method, the displaying, on the information configuration page of the target area, an associated field input field and a field input field corresponding to the target area includes:
and displaying an associated field input column and a pre-configured field input column in a field template associated with the target area on the information configuration page of the target area.
Optionally, in the above method, before generating the product information of the target area by using field information input by the user in each input field on the information configuration page of the target area, the method further includes:
determining a target verification rule corresponding to product information of each field of the target area designated in advance from a plurality of customized verification rules;
checking field information input in an input field on a floor configuration page of the target area by utilizing the target checking rule;
if any one of the field information fails to verify, the prompt information is fed back; the prompt message is used for prompting a failure reason and prompting re-input;
and if all the field information is successfully checked, executing the field information input by the user in each input field on the information configuration page of the target area, and generating product information of the target area.
Optionally, in the above method, further comprising:
pushing the product information of the target area to a database for storage;
pushing the stored product information of the target area to Redis through the database;
caching the product information of the target area according to the area code through Redis, and pushing the product information of the target area to each device of the monitoring message, so that each device updates the product information of the target area into a local memory according to the area code.
Optionally, in the above method, further comprising:
receiving a query request of target product information sent by a user;
judging whether the target product information cached in the equipment is out of date or not;
if the target product information cached in the equipment is judged not to be outdated, feeding back the target product information cached in the equipment;
if the target product information cached in the equipment is judged to be outdated, inquiring the target product information cached in the Redis according to the region code, and updating the target product information cached in the equipment;
and if the target product information cached in the Redis is out of date, updating the target product information cached in the Redis and the equipment by utilizing the target product information stored in the database.
A second aspect of the present application provides a processing apparatus for page information, including:
the code determining unit is used for determining an associated area code corresponding to a target area which is configured in advance when product information of the target area in a page is configured; wherein the associated region code is a region code of other regions;
the acquisition unit is used for acquiring and feeding back the product information of the configured region corresponding to the associated region code;
the display unit is used for displaying an associated field input column and a field input column corresponding to the target area on the information configuration page of the target area; the associated field input field is used for inputting product information of an area corresponding to the associated area code;
and the generating unit is used for generating a piece of product information of the target area by utilizing field information input by a user in each input field on the information configuration page of the target area.
Optionally, in the above device, the display unit includes:
and the display subunit is used for displaying the associated field input columns and the pre-configured field input columns in the field templates associated with the target areas on the information configuration page of the target areas.
Optionally, in the above device, the method further includes:
the rule determining unit is used for determining a target check rule corresponding to the product information of each field of the target area designated in advance from a plurality of custom check rules;
the verification unit is used for verifying the field information input in the input field on the floor configuration page of the target area by utilizing the target verification rule; if all the field information is successfully checked, the generating unit executes the field information input by the user in each input field on the information configuration page of the target area to generate product information of the target area;
the prompting unit is used for feeding back prompting information when any one of the field information fails to verify; the prompt information is used for prompting a failure reason and prompting re-input.
Optionally, in the above device, the method further includes:
the first pushing unit is used for pushing the product information of the target area to a database for storage;
the second pushing unit is used for pushing the stored product information of the target area to a Redis through the database;
and the third pushing unit is used for caching the product information of the target area according to the area code through the Redis and pushing the product information of the target area to each device of the monitoring message so that each device updates the product information of the target area into the local memory according to the area code.
Optionally, in the above device, the method further includes:
the receiving unit is used for receiving a query request of target product information sent by a user;
the judging unit is used for judging whether the target product information cached in the equipment is out of date or not;
the feedback unit is used for feeding back the target product information cached in the equipment when the judging unit judges that the target product information cached in the equipment is not outdated;
the first updating unit is used for inquiring the target product information cached in the Redis according to the region code when the judging unit judges that the target product information cached in the equipment is outdated, and updating the target product information cached in the equipment;
and the second updating unit is used for updating the equipment and the target product information cached in the Redis by using the target product information stored in the database when the target product information cached in the Redis has expired.
A third aspect of the present application provides an electronic device, comprising:
a memory and a processor;
wherein the memory is used for storing programs;
the processor is configured to execute the program, and when the program is executed, the program is specifically configured to implement the method for processing page information according to any one of the foregoing.
A fourth aspect of the present application provides a computer storage medium storing a computer program for implementing a method of processing page information as set forth in any one of the above, when the computer program is executed.
According to the page information processing method, when product information of a target area in a page is configured, an associated area code corresponding to the pre-configured target area is determined. The associated region codes are region codes of other regions, and product information of the region corresponding to the configured associated region codes can be acquired and fed back according to the associated region codes. Then, an associated field input field and a field input field corresponding to the target area are displayed on the information configuration page of the target area. The associated field input field is used for inputting product information of an area corresponding to the associated area code, and corresponding fields are not required to be additionally added. Finally, field information input by a user in each input field on the information configuration page of the target area is utilized to generate product information of one target area, so that the association between different areas is realized through the management of area codes, the sharing of data of the different areas is further realized, and when one area is configured, the data of the associated area can be directly utilized, so that the construction efficiency of the page floor is effectively improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings may be obtained according to the provided drawings without inventive effort to a person skilled in the art.
Fig. 1 is a flowchart of a method for processing page information according to an embodiment of the present application;
FIG. 2 is a schematic diagram of configuration management area coding in an example provided by an embodiment of the present application;
FIG. 3 is a schematic diagram of product information of an area in an example provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of an information configuration page in an example provided by an embodiment of the present application;
FIG. 5 is a flowchart of an information verification method according to another embodiment of the present application;
FIG. 6 is a schematic diagram of product information generated in an example provided by another embodiment of the present application;
FIG. 7 is a flowchart of a method for synchronizing information of a configuration to a local memory according to another embodiment of the present application;
FIG. 8 is a flow chart of a method for information expiration refresh according to another embodiment of the present application;
fig. 9 is a schematic structural diagram of a processing device for page information according to another embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device according to another embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
In this application, relational terms such as first and second, and the like are 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The embodiment of the application provides a processing method of page information, as shown in fig. 1, comprising the following steps:
s101, when product information of a target area in a page is configured, determining an associated area code corresponding to the pre-configured target area.
It should be noted that the product information of the area refers to the product information displayed in the area. The product information of the configuration target area may specifically be product information of a new target area, and of course, the existing product information may also be modified.
Wherein the associated region code is a region code of the other region. In the embodiment of the present application, each region corresponds to a unique code, so that when attribute information of a region is configured, region codes of other regions associated with a target region can be configured as required, and region association can be further realized based on the region codes.
Specifically, a field of the association code may be set in the attribute information of each area, so that an area code to be associated may be configured in the field of the association code. For example, as shown in FIG. 2, the beverage classification and beverage SKU are two regions, respectively, the region of the beverage classification being encoded as "CH001_RE01" and the region of the beverage SKU being encoded as "CH001_RE02". According to the requirements, the beverage SKU area is required to be associated with the beverage classification area, so that the beverage classification area codes are configured in the beverage SKU area association field, and the association of the two areas is realized.
It should be noted that, the product information in the embodiments of the present application may be specific attribute information of a product, for example, a product name, a product price, and the like, and may also be information of a product category, and the like.
S102, acquiring and feeding back product information of the region corresponding to the configured associated region code.
Specifically, product information of the region corresponding to the configured associated region code is obtained, and is fed back to a user for selection.
Alternatively, part of the product information of the region corresponding to the obtained association region code may be, for example, as shown in fig. 3, the product information of the beverage classification associated with the beverage SKU includes information such as classification name, classification code, serial number, etc., and when the product information of the beverage classification is obtained, only the classification name may be obtained as required, so that when the product information is configured in the beverage SKU region, a list to which the product belongs may be configured. Of course, all the information in the product information of the region corresponding to the associated region code may be acquired, and specifically selected as required.
The product information of the region corresponding to the configured association region code may be fed back, and specifically, the product information of the region corresponding to the configured association region code may be displayed to the user.
S103, displaying an associated field input field and a field input field corresponding to the target area on the information configuration page of the target area.
The associated field input field is used for inputting product information of an area corresponding to the associated area code.
When the user operates to configure the product information of the target area, the user jumps to the information configuration page of the target area accordingly. The information configuration page of the target area is displayed with a preconfigured field input field corresponding to the target area so as to input product information of corresponding fields, and the information configuration page of the target area is additionally displayed with an associated field input field for inputting the acquired product information of the area corresponding to the associated area code.
For example, as shown in fig. 4, when product information is configured in the beverage SKU area, in the information configuration page of the skip configuration beverage SKU, input fields of two fields, namely "SKU name" and "price" corresponding to the beverage SKU are displayed, and a field input field of "category" is also displayed, and the input field is an associated field input field for inputting a category name of an associated beverage category.
Optionally, referring to fig. 4, the associated field input field may display the obtained product information of the area corresponding to the associated area code to the user for selection by means of a drop-down frame, so as to avoid errors caused by manual input of the user.
Optionally, in another embodiment of the present application, a specific implementation manner of step S103 includes:
and displaying an associated field input column and a pre-configured field input column in a field template associated with the target area on the information configuration page of the target area.
In the embodiment of the application, dynamic custom expansion is supported for information capable of being configured for the region. The field expansion can be realized by a field template in the form of JSON. It is necessary to maintain a set of JSON-form field templates in which field attributes, field types, etc. can be customized by the user. Associating the field template to a formulated region so that a self-defined field can be configured in the region, such as: main title, subtitle, picture address, price, etc.
Optionally, in another embodiment of the present application, the field information input in each input field on the information configuration page of the target area further includes further checking the information input by the user, that is, before executing step S104, further includes checking the information input by the user. Optionally, as shown in fig. 5, an information verification method in an embodiment of the present application includes:
s501, determining a target verification rule corresponding to the product information of each field of the pre-designated target area from a plurality of self-defined verification rules.
In the embodiment of the application, the user can customize the verification rule. The method can write various logics such as simple rules for judging the size of data, the maximum number of commodities configured to be verified, and the like, and can define verification modes and the like, such as calling a third-party server HTTP interface for verification or calling an RPC of an internal system for verification.
Because the information filled in each field is different, for example, the "SKU name" field is filled in with the name of the commodity, and the "price" is required to be entered with a numerical value. Therefore, after the rule is customized, a corresponding check rule is specified for each field under each region. When the product information is configured and submitted, the specified verification rule is executed to verify against the information of the corresponding field.
S502, checking the corresponding field information input in the input field on the floor configuration page of the target area by using the target checking rule.
S503, judging whether all field information is checked successfully.
If any field information fails to verify, step S504 is performed. If all the field information checks successfully, step S104 is executed.
S504, feeding back prompt information.
The prompt information is used for prompting a failure reason and prompting re-input.
S104, generating product information of a target area by utilizing field information input by a user in each input field on the information configuration page of the target area.
After the user inputs information in each input field on the information configuration page of the target area and submits the information, the field information input by the user is formed into a piece of product information. For example, as shown in FIG. 6, in the plurality of pieces of product information generated for the beverage SKU, each piece of product information includes the SKU name configured in the configuration page, the price, and the product category selected in the associated field entry field.
Optionally, in another embodiment of the present application, after performing step S104, synchronizing the configured information into the local memory is further included. The method for synchronizing the configured information to the local memory according to the embodiment of the present application, as shown in fig. 7, includes the following steps:
s701, pushing the product information of the target area to a database for storage.
It should be noted that the embodiment of the present application provides a system for implementing the method provided by the present application, which specifically includes a background management end, a database, a dis, and a local cluster.
The subsequent management end is used for configuring product information and the like. The database is used for storing information generated by the background management end. The Redis is used for caching data stored in the database and pushing the data to the local cluster for users to use. The local cluster is composed of a plurality of devices, and particularly can be a plurality of servers.
In the embodiment of the application, an active pushing mechanism is adopted to synchronize the configured information to the locally concentrated equipment.
S702, pushing the stored product information of the target area to Redis through a database.
S703, caching the product information of the target area according to the area code through the Redis, and pushing the product information of the target area to each device of the monitoring message, so that each device updates the product information of the target area into the local memory according to the area code.
It should be noted that, when each device is started, a matching monitoring model is started to monitor information issued by Redis. Therefore, the Redis pushes the product information of the target area to each device monitoring the message in a manner of releasing the product information of the target area.
Optionally, in the embodiment of the present application, the method may further include performing an expiration refresh on the configured information. As shown in fig. 8, the method for refreshing information expiration provided in the embodiment of the present application includes the following steps:
s801, a query request of target product information sent by a user is received.
The target product information may be product information of a plurality of areas, or may be product information of all areas.
S802, judging whether the target product information cached in the equipment is out of date.
It should be noted that the product information is usually synchronized to each device at the same time, so that the expiration time of the target product information is consistent.
If it is determined that the target product information cached in the device is not expired, step S803 is executed. Since the expiration time of the data buffered in the Redis is relatively long, if the target product information buffered in the device has expired, step S804 is performed.
Optionally, in order to update the target product information cached in the device, the updated target product information is fed back to the user, so step S802 is executed again after a preset time period is elapsed if the determination is yes. Or only after receiving the update of the target product information cached by the target device, step S803 is directly executed.
S803, feeding back the target product information cached in the equipment.
S804, judging whether the target product information cached in the Redis is outdated.
If it is determined that the target product information cached in the Redis is not expired, step S805 is executed. If it is determined that the target product information cached in the dis has expired, step S806 is performed.
S805, inquiring the information of the target product cached in the Redis according to the region code, and updating the information of the target product cached in the device.
Specifically, the target product information corresponding to one region code is pulled from the Redis each time and fed back to the device, so as to update the target product information cached in the device.
Optionally, after step S805 is performed, step S802 may be performed back to enable feedback of updated target product information to the user.
S806, updating the equipment and the target product information cached by the Redis by using the target product information stored in the database.
Optionally, after step S806 is performed, step S802 may be performed back to enable feedback of updated target product information to the user.
The embodiment of the application provides a processing method of page information, which is used for determining an associated region code corresponding to a pre-configured target region when product information of the target region in a page is configured. The associated region codes are region codes of other regions, and product information of the region corresponding to the configured associated region codes can be acquired and fed back according to the associated region codes. Then, an associated field input field and a field input field corresponding to the target area are displayed on the information configuration page of the target area. The associated field input field is used for inputting product information of an area corresponding to the associated area code, and corresponding fields are not required to be additionally added. Finally, field information input by a user in each input field on the information configuration page of the target area is utilized to generate product information of one target area, so that the association between different areas is realized through the management of area codes, the sharing of data of the different areas is further realized, and when one area is configured, the data of the associated area can be directly utilized, so that the construction efficiency of the page floor is effectively improved.
Another embodiment of the present application provides a processing apparatus for page information, as shown in fig. 9, including the following units:
the code determining unit 901 is configured to determine, when product information of a target area in a page is configured, an associated area code corresponding to the target area configured in advance.
Wherein the associated region code is a region code of other regions.
And the acquiring unit 902 is configured to acquire and feed back product information of the configured region corresponding to the associated region code.
A display unit 903, configured to display an associated field input field and a field input field corresponding to the target area on the information configuration page of the target area.
The associated field input field is used for inputting product information of an area corresponding to the associated area code.
A generating unit 904, configured to generate a piece of product information of the target area by using field information input by the user in each input field on the information configuration page of the target area.
Optionally, in the processing apparatus for page information provided in another embodiment of the present application, a display unit includes:
and the display subunit is used for displaying the associated field input columns and the pre-configured field input columns in the field templates associated with the target areas on the information configuration page of the target areas.
Optionally, the processing device for page information provided in another embodiment of the present application further includes:
and the rule determining unit is used for determining a target check rule corresponding to the product information of each field of the target area designated in advance from a plurality of custom check rules.
And the verification unit is used for verifying the field information input in the input field on the floor configuration page of the target area by utilizing the target verification rule.
And if all the field information is successfully checked, the generating unit executes the field information input by the user in each input field on the information configuration page of the target area to generate product information of the target area.
The prompting unit is used for feeding back prompting information when any one of the field information fails to verify; the prompt information is used for prompting a failure reason and prompting re-input.
Optionally, the processing device for page information provided in another embodiment of the present application further includes:
the first pushing unit is used for pushing the product information of the target area to a database for storage.
And the second pushing unit is used for pushing the stored product information of the target area to the Redis through the database.
And the third pushing unit is used for caching the product information of the target area according to the area code through the Redis and pushing the product information of the target area to each device of the monitoring message so that each device updates the product information of the target area into the local memory according to the area code.
Optionally, the processing device for page information provided in another embodiment of the present application further includes:
and the receiving unit is used for receiving the query request of the target product information sent by the user.
And the judging unit is used for judging whether the target product information cached in the equipment is out of date.
And the feedback unit is used for feeding back the target product information cached in the equipment when the judging unit judges that the target product information cached in the equipment is not outdated.
The first updating unit is used for inquiring the target product information cached in the Redis according to the region code when the judging unit judges that the target product information cached in the device is outdated, and updating the target product information cached in the device.
And the second updating unit is used for updating the equipment and the target product information cached in the Redis by using the target product information stored in the database when the target product information cached in the Redis has expired.
It should be noted that, for the specific working process of each unit provided in the foregoing embodiment of the present application, reference may be correspondingly made to implementation manners of corresponding steps in the foregoing method embodiment, which is not repeated herein.
Another embodiment of the present application provides an electronic device, as shown in fig. 10, including:
a memory 1001 and a processor 1002.
The memory 1001 is configured to store a program, and the processor 1002 is configured to execute the program stored in the memory 1001, and when the program is executed, the program is specifically configured to implement the method for processing page information provided in any one of the embodiments described above.
Another embodiment of the present application provides a computer storage medium storing a computer program for implementing the method for processing page information provided in any one of the foregoing embodiments when the computer program is executed.
Where computer storage media includes both permanent and non-permanent, removable and non-removable media, information storage may be implemented in any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, read only compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by the computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transshipment) such as modulated data signals and carrier waves.
Those of skill would further appreciate that the various illustrative elements 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 elements and steps are described above generally in terms of functionality in order to clearly illustrate the 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 solution. 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 application.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A method for processing page information, comprising:
when product information of a target area in a page is configured, determining an associated area code corresponding to the target area which is pre-configured; wherein the associated region code is a region code of other regions;
acquiring and feeding back the product information of the region corresponding to the configured associated region code, and displaying the product information to a user for selection;
displaying an associated field input column and a field input column corresponding to the target area on an information configuration page of the target area; the associated field input field is used for inputting product information of an area corresponding to the associated area code selected by a user;
and generating product information of the target area by utilizing field information input by a user in each input field on the information configuration page of the target area.
2. The method according to claim 1, wherein displaying the associated field input field and the field input field corresponding to the target area on the information configuration page of the target area includes:
and displaying an associated field input column and a pre-configured field input column in a field template associated with the target area on the information configuration page of the target area.
3. The method of claim 1, wherein before generating the product information of the target area by using field information input by the user in each input field on the information configuration page of the target area, further comprises:
determining a target verification rule corresponding to product information of each field of the target area designated in advance from a plurality of customized verification rules;
checking field information input in an input field on a floor configuration page of the target area by utilizing the target checking rule;
if any one of the field information fails to verify, the prompt information is fed back; the prompt message is used for prompting a failure reason and prompting re-input;
and if all the field information is successfully checked, executing the field information input by the user in each input field on the information configuration page of the target area, and generating product information of the target area.
4. The method as recited in claim 1, further comprising:
pushing the product information of the target area to a database for storage;
pushing the stored product information of the target area to Redis through the database;
caching the product information of the target area according to the area code through Redis, and pushing the product information of the target area to each device of the monitoring message, so that each device updates the product information of the target area into a local memory according to the area code.
5. The method as recited in claim 4, further comprising:
receiving a query request of target product information sent by a user;
judging whether the target product information cached in the equipment is out of date or not;
if the target product information cached in the equipment is judged not to be outdated, feeding back the target product information cached in the equipment;
if the target product information cached in the equipment is judged to be outdated, inquiring the target product information cached in the Redis according to the region code, and updating the target product information cached in the equipment;
and if the target product information cached in the Redis is out of date, updating the target product information cached in the Redis and the equipment by utilizing the target product information stored in the database.
6. A processing apparatus for page information, comprising:
the code determining unit is used for determining an associated area code corresponding to a target area which is configured in advance when product information of the target area in a page is configured; wherein the associated region code is a region code of other regions;
the acquisition unit is used for acquiring and feeding back the product information of the configured region corresponding to the associated region code so as to display the product information to a user for selection;
the display unit is used for displaying an associated field input column and a field input column corresponding to the target area on the information configuration page of the target area; the associated field input field is used for inputting product information of an area corresponding to the associated area code selected by a user;
and the generating unit is used for generating a piece of product information of the target area by utilizing field information input by a user in each input field on the information configuration page of the target area.
7. The apparatus as recited in claim 6, further comprising:
the first pushing unit is used for pushing the product information of the target area to a database for storage;
the second pushing unit is used for pushing the stored product information of the target area to a Redis through the database;
and the third pushing unit is used for caching the product information of the target area according to the area code through the Redis and pushing the product information of the target area to each device of the monitoring message so that each device updates the product information of the target area into the local memory according to the area code.
8. The apparatus as recited in claim 7, further comprising:
the receiving unit is used for receiving a query request of target product information sent by a user;
the judging unit is used for judging whether the target product information cached in the equipment is out of date or not;
the feedback unit is used for feeding back the target product information cached in the equipment when the judging unit judges that the target product information cached in the equipment is not outdated;
the first updating unit is used for inquiring the target product information cached in the Redis according to the region code when the judging unit judges that the target product information cached in the equipment is outdated, and updating the target product information cached in the equipment;
and the second updating unit is used for updating the equipment and the target product information cached in the Redis by using the target product information stored in the database when the target product information cached in the Redis has expired.
9. An electronic device, comprising:
a memory and a processor;
wherein the memory is used for storing programs;
the processor is configured to execute the program, and the program is specifically configured to implement the page information processing method according to any one of claims 1 to 5 when executed.
10. A computer storage medium storing a computer program which, when executed, is adapted to carry out the method of processing page information according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110908734.XA CN113610603B (en) | 2021-08-09 | 2021-08-09 | Page information processing method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110908734.XA CN113610603B (en) | 2021-08-09 | 2021-08-09 | Page information processing method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113610603A CN113610603A (en) | 2021-11-05 |
CN113610603B true CN113610603B (en) | 2024-04-16 |
Family
ID=78307699
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110908734.XA Active CN113610603B (en) | 2021-08-09 | 2021-08-09 | Page information processing method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113610603B (en) |
Citations (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101008955A (en) * | 2006-01-24 | 2007-08-01 | 株式会社理光 | Method and apparatus for managing information, and computer program product |
JP2011133926A (en) * | 2009-12-22 | 2011-07-07 | Yahoo Japan Corp | Device, method and program for supporting commodity retrieval |
US8046259B1 (en) * | 2002-10-23 | 2011-10-25 | Amazon Technologies, Inc. | Method and system for conducting a chat |
CN107203629A (en) * | 2017-05-31 | 2017-09-26 | 北京京东尚科信息技术有限公司 | Page rendering method, system and device |
CN108829882A (en) * | 2018-06-27 | 2018-11-16 | 深圳乐信软件技术有限公司 | Formation gathering method, device, terminal and medium |
CN109035037A (en) * | 2018-06-29 | 2018-12-18 | 渤海人寿保险股份有限公司 | Insurance products visual configuration method, apparatus, storage medium and terminal |
CN110162300A (en) * | 2019-04-16 | 2019-08-23 | 中国平安财产保险股份有限公司 | A kind of insurance business development approach and device |
CN110263311A (en) * | 2019-05-22 | 2019-09-20 | 中国平安财产保险股份有限公司 | A kind of generation method and equipment of Webpage |
CN110968367A (en) * | 2019-12-20 | 2020-04-07 | 深圳市华宇讯科技有限公司 | E-commerce commodity field configuration method, device, server and storage medium |
CN111080459A (en) * | 2019-11-21 | 2020-04-28 | 泰康保险集团股份有限公司 | Configuration method and device of configuration file and readable storage medium |
CN111475513A (en) * | 2020-06-28 | 2020-07-31 | 平安国际智慧城市科技股份有限公司 | Form generation method and device, electronic equipment and medium |
CN111726348A (en) * | 2020-06-16 | 2020-09-29 | 中国建设银行股份有限公司 | Service processing method, device and system |
CN111930370A (en) * | 2020-06-17 | 2020-11-13 | 石化盈科信息技术有限责任公司 | Visualized page processing method and device, computer equipment and storage medium |
WO2021003956A1 (en) * | 2019-07-05 | 2021-01-14 | 深圳壹账通智能科技有限公司 | Product information management method, apparatus and device, and storage medium |
CN112416342A (en) * | 2020-11-04 | 2021-02-26 | 杭州讯酷科技有限公司 | UI (user interface) quick construction method based on associated fields |
CN112464625A (en) * | 2020-11-30 | 2021-03-09 | 金蝶云科技有限公司 | Receipt generation method and device, computer equipment and storage medium |
CN112631591A (en) * | 2020-12-30 | 2021-04-09 | 深圳前海微众银行股份有限公司 | Table element linkage method, device, equipment and computer readable storage medium |
CN112765165A (en) * | 2020-12-30 | 2021-05-07 | 未鲲(上海)科技服务有限公司 | Data entry method and device, equipment and computer readable storage medium |
CN112906543A (en) * | 2021-02-08 | 2021-06-04 | 中国工商银行股份有限公司 | Data entry method, data entry device, computing equipment, medium and program product |
CN113077336A (en) * | 2021-04-15 | 2021-07-06 | 北京同邦卓益科技有限公司 | Wind control information configuration method and device, electronic equipment and computer readable medium |
-
2021
- 2021-08-09 CN CN202110908734.XA patent/CN113610603B/en active Active
Patent Citations (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8046259B1 (en) * | 2002-10-23 | 2011-10-25 | Amazon Technologies, Inc. | Method and system for conducting a chat |
CN101008955A (en) * | 2006-01-24 | 2007-08-01 | 株式会社理光 | Method and apparatus for managing information, and computer program product |
JP2011133926A (en) * | 2009-12-22 | 2011-07-07 | Yahoo Japan Corp | Device, method and program for supporting commodity retrieval |
CN107203629A (en) * | 2017-05-31 | 2017-09-26 | 北京京东尚科信息技术有限公司 | Page rendering method, system and device |
CN108829882A (en) * | 2018-06-27 | 2018-11-16 | 深圳乐信软件技术有限公司 | Formation gathering method, device, terminal and medium |
CN109035037A (en) * | 2018-06-29 | 2018-12-18 | 渤海人寿保险股份有限公司 | Insurance products visual configuration method, apparatus, storage medium and terminal |
CN110162300A (en) * | 2019-04-16 | 2019-08-23 | 中国平安财产保险股份有限公司 | A kind of insurance business development approach and device |
CN110263311A (en) * | 2019-05-22 | 2019-09-20 | 中国平安财产保险股份有限公司 | A kind of generation method and equipment of Webpage |
WO2021003956A1 (en) * | 2019-07-05 | 2021-01-14 | 深圳壹账通智能科技有限公司 | Product information management method, apparatus and device, and storage medium |
CN111080459A (en) * | 2019-11-21 | 2020-04-28 | 泰康保险集团股份有限公司 | Configuration method and device of configuration file and readable storage medium |
CN110968367A (en) * | 2019-12-20 | 2020-04-07 | 深圳市华宇讯科技有限公司 | E-commerce commodity field configuration method, device, server and storage medium |
CN111726348A (en) * | 2020-06-16 | 2020-09-29 | 中国建设银行股份有限公司 | Service processing method, device and system |
CN111930370A (en) * | 2020-06-17 | 2020-11-13 | 石化盈科信息技术有限责任公司 | Visualized page processing method and device, computer equipment and storage medium |
CN111475513A (en) * | 2020-06-28 | 2020-07-31 | 平安国际智慧城市科技股份有限公司 | Form generation method and device, electronic equipment and medium |
CN112416342A (en) * | 2020-11-04 | 2021-02-26 | 杭州讯酷科技有限公司 | UI (user interface) quick construction method based on associated fields |
CN112464625A (en) * | 2020-11-30 | 2021-03-09 | 金蝶云科技有限公司 | Receipt generation method and device, computer equipment and storage medium |
CN112631591A (en) * | 2020-12-30 | 2021-04-09 | 深圳前海微众银行股份有限公司 | Table element linkage method, device, equipment and computer readable storage medium |
CN112765165A (en) * | 2020-12-30 | 2021-05-07 | 未鲲(上海)科技服务有限公司 | Data entry method and device, equipment and computer readable storage medium |
CN112906543A (en) * | 2021-02-08 | 2021-06-04 | 中国工商银行股份有限公司 | Data entry method, data entry device, computing equipment, medium and program product |
CN113077336A (en) * | 2021-04-15 | 2021-07-06 | 北京同邦卓益科技有限公司 | Wind control information configuration method and device, electronic equipment and computer readable medium |
Also Published As
Publication number | Publication date |
---|---|
CN113610603A (en) | 2021-11-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9408182B1 (en) | Third party action triggers | |
WO2018219285A1 (en) | Data object display method and device | |
US9305305B2 (en) | Delivering offers | |
US20170336933A1 (en) | Interactive audio validation/assistance system and methodologies | |
US9865008B2 (en) | Determining a configuration of a content item display environment | |
CN102214204A (en) | Dynamic generation of relevant items | |
CN112131504B (en) | Webpage editing and displaying method, device, equipment and storage medium | |
CN104737126A (en) | Fulfillment of applications to devices | |
CN107295052B (en) | Service processing method and device | |
US20190019322A1 (en) | Structuralized creation and transmission of personalized audiovisual data | |
CN111144804A (en) | Order processing method, device and system | |
CN106547751B (en) | Cache data updating method and device | |
CN113610603B (en) | Page information processing method and device, electronic equipment and storage medium | |
CN112734460B (en) | Data processing, payment data output and payment preferential data providing method and device | |
CN111930927B (en) | Evaluation information display method and device, electronic equipment and readable storage medium | |
US20230281695A1 (en) | Determining and presenting information related to a semantic context of electronic message text or voice data | |
CN112036974A (en) | Service commodity online method, device, equipment and storage medium | |
US20160330133A1 (en) | Providing network resources based on available user information | |
CN112667914B (en) | Content matrix display method, device and system based on neural network | |
US20160275535A1 (en) | Centralized system for progressive price management | |
CN111435516B (en) | Order processing method and device, electronic equipment and storage medium | |
CN110866206B (en) | Data update setting method and device | |
CN113992989A (en) | Content display method, device, system, equipment and storage medium | |
CN109040296B (en) | Data pushing method and system based on long connection | |
US10133758B2 (en) | Cell-based database management system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |