CN113610603A - 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 PDF

Info

Publication number
CN113610603A
CN113610603A CN202110908734.XA CN202110908734A CN113610603A CN 113610603 A CN113610603 A CN 113610603A CN 202110908734 A CN202110908734 A CN 202110908734A CN 113610603 A CN113610603 A CN 113610603A
Authority
CN
China
Prior art keywords
product information
information
field
target area
target
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.)
Granted
Application number
CN202110908734.XA
Other languages
Chinese (zh)
Other versions
CN113610603B (en
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.)
Jingdong Technology Holding Co Ltd
Original Assignee
Jingdong Technology Holding 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 Jingdong Technology Holding Co Ltd filed Critical Jingdong Technology Holding Co Ltd
Priority to CN202110908734.XA priority Critical patent/CN113610603B/en
Publication of CN113610603A publication Critical patent/CN113610603A/en
Application granted granted Critical
Publication of CN113610603B publication Critical patent/CN113610603B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

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 configuration page is configured, determining a preset associated area code corresponding to the target area; wherein the associated region code is a region code of other regions; acquiring and feeding back product information of a region corresponding to the configured associated region code; displaying an associated field input field and a field input field corresponding to the target area on an information configuration page of the target area; the associated field input column is used for inputting the product information of the area corresponding to the associated area code; and generating a piece of product information of the target area by utilizing the field information input by the user in each input field on the information configuration page of the target area.

Description

Page information processing method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of information processing technologies, and in particular, to a method and an 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 increasingly pay attention to the diversity of the products and the sensory experience of users, so that how to efficiently build page floors for displaying product information in a platform is extremely 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 fine-grained commodity information is information of a specific commodity. In the existing building mode, the configuration of commodity information to be displayed in different areas is completely independent.
Therefore, in the existing method, the commodity information of different areas is completely independent, so that when the commodity information existing in one area needs to be configured in another area, a developer needs to add a corresponding field in the area for configuration. The additional development process obviously affects the building efficiency, and for the same information, the configuration needs to be repeated in two different areas, and the building efficiency is also reduced.
Disclosure of Invention
Based on the defects of the prior art, the application provides a page information processing method and device, electronic equipment and a storage medium, so as to solve the problem that the existing page floor building efficiency is low.
In order to achieve the above object, the present application provides the following technical solutions:
a first aspect of the present application provides a method for processing page information, including:
when product information of a target area in a configuration page is configured, determining a preset associated area code corresponding to the target area; wherein the associated region code is a region code of other regions;
acquiring and feeding back product information of a region corresponding to the configured associated region code;
displaying an associated field input field and a field input field corresponding to the target area on an information configuration page of the target area; the associated field input column is used for inputting the product information of the area corresponding to the associated area code;
and generating a piece of product information of the target area by utilizing the field information input by the 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 field and a field input field configured in advance in the field template associated with the target area on the information configuration page of the target area.
Optionally, in the above method, before generating a piece of product information of the target area by using field information input by a 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 the product information of each field of the target area which is specified in advance from a plurality of user-defined verification rules;
verifying the field information input in the input field on the floor configuration page of the target area by using the target verification rule;
if any field information fails to be checked, feeding back prompt information; the prompt information is used for prompting a failure reason and prompting to input again;
and if all the field information is verified successfully, 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, the method further includes:
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;
and 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 for monitoring the message, so that each device updates the product information of the target area to a local memory according to the area code.
Optionally, in the above method, the method further includes:
receiving a query request of target product information sent by a user;
judging whether the target product information cached in the equipment is overdue or not;
if the target product information cached in the equipment is judged to be not overdue, feeding back the target product information cached in the equipment;
if the target product information cached in the equipment is judged to be overdue, inquiring the target product information cached in the Redis according to the regional code, and updating the target product information cached in the equipment;
if the target product information cached in the Redis is expired, updating the device and the target product information cached in the Redis by using the target product information stored in the database.
A second aspect of the present application provides an apparatus for processing page information, including:
the code determining unit is used for determining a preset associated area code corresponding to a target area 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 area corresponding to the configured associated area code;
the display unit is used for displaying a related field input field and a field input field corresponding to the target area on an information configuration page of the target area; the associated field input column is used for inputting the product information of the 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 the field information input in each input field on the information configuration page of the target area by the user.
Optionally, in the above apparatus, the display unit includes:
and the display subunit is used for displaying the associated field input field and the field input field configured in advance in the field template associated with the target area on the information configuration page of the target area.
Optionally, in the above apparatus, further comprising:
the rule determining unit is used for determining a target verification rule corresponding to the product information of each field of the pre-specified target area from a plurality of self-defined verification 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 using the target verification rule; if all the field information is verified successfully, 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 prompt unit is used for feeding back prompt information when any one of the field information fails to be checked; the prompt information is used for prompting the failure reason and prompting the re-input.
Optionally, in the above apparatus, 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 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 Redis, and pushing the product information of the target area to each device for monitoring the message, so that each device updates the product information of the target area to a local memory according to the area code.
Optionally, in the above apparatus, 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 overdue 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 overdue;
a first updating unit, configured to, when the determining unit determines that the target product information cached in the device is expired, query, according to a region code, the target product information cached in the Redis, and update the target product information cached in the device;
a second updating unit, configured to update the device 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 processor is specifically configured to implement the method for processing the page information according to any one of the above items.
A fourth aspect of the present application provides a computer storage medium for storing a computer program, which when executed, is configured to implement the method for processing page information according to any one of the above.
According to the page information processing method, when product information of a target area in a page is configured, a relevant area code corresponding to the target area configured in advance is determined. The associated region code is a region code of another region, and the product information of the region corresponding to the configured associated region code can be acquired and fed back according to the associated region code. Then, the associated field input field and the field input field corresponding to the target area are displayed on the information configuration page of the target area. The related field input column is used for inputting the product information of the area corresponding to the related area code, and corresponding fields do not need 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 the target area, so that association among different areas is realized through management of area codes, sharing of data of different areas is further realized, when one area is configured, the data of the associated area can be directly utilized, and building efficiency of a 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 needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
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 configuring a management area code in an example provided by an embodiment of the present application;
FIG. 3 is a schematic diagram of product information of a region 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 configured information to a local memory according to another embodiment of the present application;
FIG. 8 is a flowchart of a method for stale refresh of information according to another embodiment of the present application;
fig. 9 is a schematic structural diagram of a device for processing 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 technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In this application, 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.
The embodiment of the application provides a method for processing page information, as shown in fig. 1, the method includes the following steps:
s101, when product information of a target area in a page is configured, determining a related area code corresponding to the target area configured in advance.
First, the product information of a region refers to the product information displayed in the region. The product information of the configuration target area may specifically be the product information of the newly added target area, and of course, the product information may also be the product information that is modified.
Wherein the associated region code is a region code of the other region. It should be noted that, in the embodiment of the present application, each region corresponds to one unique code, so that when configuring attribute information of a region, region codes of other regions associated with a target region may be configured as needed, and further, association of the regions is achieved based on the region codes.
Specifically, a field of the association code may be set in the attribute information of each region, so that the region 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 the beverage SKU are two regions, respectively, the region of the beverage classification is encoded as "CH 001_ RE 01", and the region of the beverage SKU is encoded as "CH 001_ RE 02". According to the requirement, the beverage SKU area is required to be associated with the beverage classification area, so that the area code of the beverage classification is configured in the association field of the beverage SKU area, and the association of the two areas is realized.
The product information referred to in the embodiments of the present application may be specific attribute information of a product, such as a product name and a product price, or may be information such as a product category.
And S102, acquiring and feeding back the product information of the area corresponding to the configured associated area code.
Specifically, product information of a region corresponding to the configured associated region code is obtained to be fed back to the user for selection.
Alternatively, the information may be partial information in the product information of the area corresponding to the obtained associated area code, for example, as shown in fig. 3, the product information of the beverage classification associated with the beverage SKU includes information such as a classification name, a classification code, and a serial number, and when the product information of the beverage classification is obtained, only the classification name may be obtained as needed, so that when the product information is configured in the beverage SKU area, a list to which the product belongs may be configured. Of course, all the information in the product information of the area corresponding to the associated area code may be acquired, and the information may be specifically selected according to the need.
It should be noted that the product information of the area corresponding to the configured associated area code is fed back, and specifically, the product information of the area corresponding to the configured associated area code may be displayed to the user.
S103, displaying the related field input field and the field input field corresponding to the target area on the information configuration page of the target area.
The related field input column is used for inputting the product information of the area corresponding to the related area code.
It should be noted that, when the user operates the product information of the configuration target area, the user correspondingly jumps to the information configuration page of the target area. And a pre-configured field input field corresponding to the target area is displayed in the information configuration page of the target area so as to input the product information of the corresponding field, and the display related field input field is additionally used for inputting the acquired product information of the area corresponding to the related area code.
For example, as shown in fig. 4, when the product information is configured in the beverage SKU area, the input fields of the two fields of "SKU name" and "price" corresponding to the beverage SKU are displayed in the skipped information configuration page for configuring the beverage SKU, and the input field of the "category" field, which is an associated field input field for inputting the category name of the associated beverage category, is also displayed.
Optionally, referring to fig. 4 as well, 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 in a manner of a drop-down box, so as to avoid an error in manual input by the user.
Optionally, in another embodiment of the present application, a specific implementation manner of step S103 includes:
and displaying the related field input field and a field input field configured in advance in the field template related to the target area on the information configuration page of the target area.
In the embodiment of the application, the information which can be configured for the area supports dynamic custom expansion. Specifically, field extension can be realized by a field template in the form of JSON. It is desirable to maintain a set of JSON-style field templates in which field attributes, field types, etc. can be customized by the user. The field template is associated to a designated area, so that a self-defined field can be configured in the area, such as: main title, sub-title, 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 verifying the information input by the user, that is, before performing step S104, further includes verifying the information input by the user. Optionally, an information verification method in an embodiment of the present application, as shown in fig. 5, includes:
s501, determining a target verification rule corresponding to the product information of each field of a pre-specified target area from the plurality of customized verification rules.
In the embodiment of the application, a user can customize the check rule. Specifically, various logics such as a simple rule for judging the size of data, the maximum number of configured commodities, and the like can be written, and a verification mode can be defined, such as calling a third-party server HTTP interface for verification or calling RPC of an internal system for verification.
Since each field is different in the information requirement, for example, the "SKU name" field is the name of the product, and the "price" field is the value to be entered. 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 check rule is executed to check the information of the corresponding field.
And S502, verifying the input of corresponding field information in the input field on the floor configuration page of the target area by using the target verification rule.
S503, judging whether all the field information is verified successfully.
If any field information fails to be checked, step S504 is executed. If all the field information is successfully checked, step S104 is executed.
And S504, feeding back prompt information.
The prompt information is used for prompting the failure reason and prompting the re-input.
And S104, generating product information of the target area by utilizing the field information input in each input field on the information configuration page of the target area by the user.
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 combined into a piece of product information. For example, as shown in FIG. 6, a plurality of pieces of product information generated for a beverage SKU each include the SKU name configured on 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 the step S104 is executed, the method further includes synchronizing the configured information into a local memory. As shown in fig. 7, a method for synchronizing configured information to a local memory provided in an embodiment of the present application includes the following steps:
and 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, and specifically includes a background management end, a database, a Redis, and a local cluster.
Wherein, the subsequent management end is used for configuring product information and the like. The database is used for storing the information generated by the background management terminal. Redis is used for caching data stored in the database and pushing the data to a local cluster for a user to use. The local cluster is composed of a plurality of devices, and specifically may be a plurality of servers.
In the embodiment of the application, an active push mechanism is adopted to synchronize the configured information to the local centralized equipment.
S702, pushing the stored product information of the target area to Redis through a database.
And S703, 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 for monitoring the message, so that each device updates the product information of the target area to a local memory according to the area code.
It should be noted that, when each device is started, the matching monitoring model is started, and information issued by the Redis is monitored. Therefore, the Redis pushes the product information of the target area to each device monitoring the message in a manner of publishing the product information of the target area.
Optionally, in this embodiment of the present application, an outdated refresh of the configured information may be further included. As shown in fig. 8, the method for refreshing information expiration provided by the embodiment of the present application includes the following steps:
s801, receiving a query request of target product information sent by a user.
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 overdue or not.
It should be noted that the product information is usually synchronized to each device at the same time, so the expiration time of the target product information is consistent.
If the target product information cached in the device is determined to be not expired, step S803 is executed. However, since the expiration time of the data cached in the Redis is relatively long, if the target product information cached in the device has expired, step S804 is executed.
Alternatively, in order to feed back the updated target product information to the user after the target product information cached in the device is updated, step S802 is executed again after a preset time interval if it is determined as yes. Or after only receiving the target product information cached by the target device, directly executing step S803.
And S803, feeding back target product information cached in the equipment.
S804, judging whether the target product information cached in the Redis is overdue or not.
If the target product information cached in the Redis is determined to be not expired, step S805 is executed. If the target product information cached in the Redis is determined to be expired, step S806 is executed.
And S805, inquiring target product information cached in Redis according to the region codes, and updating the target product information cached in the equipment.
Specifically, target product information corresponding to one region code is pulled from Redis each time and fed back to the device, so that the target product information cached in the device is updated.
Optionally, after executing step S805, step 802 may be executed back to enable the updated target product information to be fed back to the user.
And S806, updating the target product information of the equipment and the Redis cache by using the target product information stored in the database.
Optionally, after executing step S806, step 802 may be executed back to enable the updated target product information to be fed back to the user.
The embodiment of the application provides a processing method of page information, and when product information of a target area in a page is configured, a correlation area code corresponding to the target area configured in advance is determined. The associated region code is a region code of another region, and the product information of the region corresponding to the configured associated region code can be acquired and fed back according to the associated region code. Then, the associated field input field and the field input field corresponding to the target area are displayed on the information configuration page of the target area. The related field input column is used for inputting the product information of the area corresponding to the related area code, and corresponding fields do not need 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 the target area, so that association among different areas is realized through management of area codes, sharing of data of different areas is further realized, when one area is configured, the data of the associated area can be directly utilized, and building efficiency of a page floor is effectively improved.
Another embodiment of the present application provides a device for processing 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 that is configured in advance.
Wherein the associated region code is a region code of another region.
An obtaining unit 902, configured to obtain and feed back product information of an area corresponding to the configured associated area code.
A display unit 903, configured to display a related field input field and a field input field corresponding to the target area on the information configuration page of the target area.
And the associated field input column is used for inputting the product information of the 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 an apparatus for processing 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 field and the field input field configured in advance in the field template associated with the target area on the information configuration page of the target area.
Optionally, the apparatus for processing page information provided in another embodiment of the present application further includes:
and the rule determining unit is used for determining a target verification rule corresponding to the product information of each field of the pre-specified target area from the plurality of customized verification 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 using the target verification rule.
If all the field information is verified successfully, 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 a piece of product information of the target area.
The prompt unit is used for feeding back prompt information when any one of the field information fails to be checked; the prompt information is used for prompting the failure reason and prompting the re-input.
Optionally, the apparatus for processing page information provided in another embodiment of the present application further includes:
and 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 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 Redis, and pushing the product information of the target area to each device for monitoring the message, so that each device updates the product information of the target area to a local memory according to the area code.
Optionally, the apparatus for processing page information provided in another embodiment of the present application further includes:
and the receiving unit is used for receiving a query request of target product information sent by a user.
And the judging unit is used for judging whether the target product information cached in the equipment is overdue or not.
A feedback unit, configured to feed back the target product information cached in the device when the determining unit determines that the target product information cached in the device is not expired.
A first updating unit, configured to, when the determining unit determines that the target product information cached in the device is expired, query, according to a region code, the target product information cached in the Redis, and update the target product information cached in the device.
A second updating unit, configured to update the device 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 processes of each unit provided in the foregoing embodiments of the present application, reference may be made to the implementation of corresponding steps in the foregoing method embodiments, and details are not described here again.
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 used for storing programs, and the processor 1002 is used for executing the programs stored in the memory 1001, and when the programs are executed, the method for processing page information provided by any one of the above embodiments is specifically implemented.
Another embodiment of the present application provides a computer storage medium for storing a computer program, and when the computer program is executed, the computer program is used to implement the processing method of the page information provided in any one of the above embodiments.
Computer storage media, including permanent and non-permanent, removable and non-removable media, may implement information storage by 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, 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 that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include transitory computer readable media (transmyedia) 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 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 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 is characterized by comprising the following steps:
when product information of a target area in a configuration page is configured, determining a preset associated area code corresponding to the target area; wherein the associated region code is a region code of other regions;
acquiring and feeding back product information of a region corresponding to the configured associated region code;
displaying an associated field input field and a field input field corresponding to the target area on an information configuration page of the target area; the associated field input column is used for inputting the product information of the area corresponding to the associated area code;
and generating a piece of product information of the target area by utilizing the field information input by the user in each input field on the information configuration page of the target area.
2. The method according to claim 1, wherein the 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 comprises:
and displaying an associated field input field and a field input field configured in advance in the field template associated with the target area on the information configuration page of the target area.
3. The method according to claim 1, before generating a piece of product information of the target area by using field information input by a user in each input field on the information configuration page of the target area, further comprising:
determining a target verification rule corresponding to the product information of each field of the target area which is specified in advance from a plurality of user-defined verification rules;
verifying the field information input in the input field on the floor configuration page of the target area by using the target verification rule;
if any field information fails to be checked, feeding back prompt information; the prompt information is used for prompting a failure reason and prompting to input again;
and if all the field information is verified successfully, 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 of 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;
and 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 for monitoring the message, so that each device updates the product information of the target area to a local memory according to the area code.
5. The method of 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 overdue or not;
if the target product information cached in the equipment is judged to be not overdue, feeding back the target product information cached in the equipment;
if the target product information cached in the equipment is judged to be overdue, inquiring the target product information cached in the Redis according to the regional code, and updating the target product information cached in the equipment;
if the target product information cached in the Redis is expired, updating the device and the target product information cached in the Redis by using the target product information stored in the database.
6. An apparatus for processing page information, comprising:
the code determining unit is used for determining a preset associated area code corresponding to a target area 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 area corresponding to the configured associated area code;
the display unit is used for displaying a related field input field and a field input field corresponding to the target area on an information configuration page of the target area; the associated field input column is used for inputting the product information of the 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 the field information input in each input field on the information configuration page of the target area by the user.
7. The apparatus of 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 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 Redis, and pushing the product information of the target area to each device for monitoring the message, so that each device updates the product information of the target area to a local memory according to the area code.
8. The apparatus of 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 overdue 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 overdue;
a first updating unit, configured to, when the determining unit determines that the target product information cached in the device is expired, query, according to a region code, the target product information cached in the Redis, and update the target product information cached in the device;
a second updating unit, configured to update the device 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 when the program is executed, the program is specifically configured to implement the processing method of the page information according to any one of claims 1 to 5.
10. A computer storage medium storing a computer program for implementing a method of processing page information according to any one of claims 1 to 5 when executed.
CN202110908734.XA 2021-08-09 2021-08-09 Page information processing method and device, electronic equipment and storage medium Active CN113610603B (en)

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 true CN113610603A (en) 2021-11-05
CN113610603B 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)

* Cited by examiner, † Cited by third party
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

Patent Citations (20)

* Cited by examiner, † Cited by third party
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
CN113610603B (en) 2024-04-16

Similar Documents

Publication Publication Date Title
US9727633B1 (en) Centroid detection for clustering
US9400989B2 (en) Systems and methods for living user reviews
US9092731B1 (en) Determining content item expansion prediction accuracy
WO2018219285A1 (en) Data object display method and device
US10791375B2 (en) Method and system to provide video-based search results
EP3061206A1 (en) Method and apparatus for pushing target information
CN106528578B (en) Information display method and device
US20160357865A1 (en) System and method for locating data feeds
CN102214204A (en) Dynamic generation of relevant items
CN107273548A (en) The implementation method and device of dynamic page
US7979470B2 (en) Data manipulation process method and system
CN106547751B (en) Cache data updating method and device
CN111930927B (en) Evaluation information display method and device, electronic equipment and readable storage medium
CN112035555B (en) Information display method, device and equipment
US9734529B1 (en) Method, system, and computer readable medium for selection of catalog items for inclusion on a network page
CN111523030B (en) Newspaper disc information recommendation method and device and computer readable storage medium
KR101813512B1 (en) System and method for installing web application
CN112036974A (en) Service commodity online method, device, equipment and storage medium
CN113610603B (en) Page information processing method and device, electronic equipment and storage medium
CN111932338A (en) Commodity recommendation method, commodity recommendation device, commodity recommendation equipment and storage medium
CN112667914B (en) Content matrix display method, device and system based on neural network
US8538826B1 (en) Applying restrictions to items
CN109857900B (en) Similar song recommendation method and related equipment
CN113608737A (en) Page generation method, device, equipment and medium
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