Real-time preview processing method and device for page configuration
By embedding the job search end page on the recruitment end and monitoring the configuration operation, and posting configuration messages to the job search end, the problems of high maintenance costs and low iteration efficiency during page configuration and preview in the existing technology are solved, and the recruitment end and job search end pages are realized Real-time preview and simplified code maintenance.
Patent Information
- Application Number
- CN202411136675.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-08-19
AI Technical Summary
During the page configuration and preview process of the existing recruitment platform, it needs to build a component library separately, which has high maintenance costs, low iteration efficiency, and large development workload.
By embedding the job search end page on the recruiting end settings page, monitoring the configuration operations of the recruiting users, posting configuration messages to the job search end, embed the job search end page content using the iframe tag, and updating the preview area according to the page status (online or edit status).
It reduces the development workload, reduces the system maintenance workload, realizes real-time preview of the recruitment and job search pages, simplifies code maintenance, and improves iteration efficiency.
Smart Images

Figure CN119088490A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet technology, and in particular to a real-time preview processing method and device for page configuration. Background Art
[0002] In the field of recruitment, the needs of enterprises recruiting talents (hereinafter referred to as recruitment users) and individuals seeking jobs (hereinafter referred to as job seekers) are different. Therefore, in order to provide users with better and targeted services, the recruitment platform provides corresponding front-end processing systems for recruitment users and job seekers, respectively, hereinafter referred to as the recruitment end system (or B-end system) and the job seeker end system (or C-end system). In order to meet the personalized requirements of recruitment users for job seekers' resumes, a page setting function is usually provided in the B-end system to facilitate recruitment users to set the resume content that job seekers need to fill in. In order to facilitate recruitment users to understand the display of their set content on the C-end during the setting process, a preview area is also provided on the setting page of the B-end system to display the display page of the C-end.
[0003] The traditional implementation method of the recruitment platform is to publish the C-end system page as a component library. During the setting process of the recruitment user, the B-end system determines the corresponding component according to the content that needs to be previewed when the recruitment user sets it, and references the corresponding component in the component library to display the C-end page in the preview area. This solution requires a separate component library project to be built, which has high maintenance costs; when the system code is updated, the corresponding component library version number needs to be updated, and the iteration efficiency is low. Summary of the invention
[0004] In view of the technical problems existing in the prior art, the present invention proposes a real-time preview processing method and device for page configuration, so as to reduce the development workload and alleviate the system maintenance workload.
[0005] In order to solve the above technical problem, according to one aspect of the present invention, the present invention provides a real-time preview processing method for page configuration, which is applied at a recruitment end and includes:
[0006] Embed the job search page in the preview area of the settings page;
[0007] Monitoring the configuration operation of the setting page by the recruiting user; and
[0008] In response to monitoring the configuration operation of the setting page, publishing a configuration message to the job seeker terminal;
[0009] The job seeker obtains the corresponding page content based on the configuration message of the recruitment end, and displays the page content in the job seeker page embedded in the preview area.
[0010] Preferably, an iframe tag is added to the preview area of the setting page, and the address of the job search end page to be embedded is filled in the SRC attribute of the iframe tag.
[0011] Preferably, the SRC attribute of the iframe tag also includes a page status type, and the status type includes an online status and an editing status; correspondingly, the page status type in the SRC attribute is set based on a specified status in the recruitment user configuration operation, and the specified status is an online status or an editing status.
[0012] Preferably, when the configuration operation of the recruiting user includes a content update operation, when publishing a configuration message to the job-seeking terminal, the updated content is added to the message; correspondingly, the job-seeking terminal updates the job-seeking terminal page embedded in the preview area according to the updated content.
[0013] Preferably, the setting page includes a PC page and / or an H5 page.
[0014] In order to solve the above technical problem, according to another aspect of the present invention, the present invention also provides a real-time preview processing method for page configuration, which is applied to a job seeker end and includes:
[0015] Register message events for the pages that need to be embedded in the preview area of the recruitment terminal, and listen to message events of the recruitment terminal publishing configuration messages;
[0016] In response to monitoring a message event of a recruitment end publishing a configuration message, obtaining corresponding page content based on the message event; and
[0017] The page content is displayed in a page embedded in the preview area of the client.
[0018] Preferably, when monitoring a message event in which the recruitment end releases a configuration message, the method further includes:
[0019] Read the page status in the message event;
[0020] In response to the page state being an editing state, obtaining updated content in the message event; and
[0021] In response to the page status being an online status, the online content of the page is acquired and added to the corresponding page.
[0022] According to another aspect of the present invention, the present invention also provides a real-time preview processing device for page configuration, the device is located at the recruitment end, the device includes a page embedding module, a first monitoring module and a message publishing module, the page embedding module is configured to embed a job-seeking end page in the preview area of the setting page; the first monitoring module is configured to monitor the configuration operation of the setting page by the recruitment user; the message publishing module is configured to publish a configuration message to the job-seeking end in response to monitoring the configuration operation of the setting page; wherein the job-seeking end obtains the corresponding page content based on the configuration message of the recruitment end, and displays the page content in the job-seeking end page embedded in the preview area.
[0023] According to another aspect of the present invention, the present invention also provides a real-time preview processing device for page configuration, the device is located at the job-seeking end, the device includes a message registration module, a second monitoring module and a page display module, wherein the message registration module is configured to register message events for pages that need to be embedded in the preview area of the recruitment end; the second monitoring module is configured to monitor message events in which the recruitment end releases configuration messages; the page display module is configured to respond to monitoring message events in which the recruitment end releases configuration messages, obtain corresponding page content based on the message event, and display the page content in the page embedded in the preview area of the recruitment end.
[0024] According to another aspect of the present invention, the present invention also provides an electronic device, which includes a processor and a memory, wherein a computer program instruction set is stored in the memory, and when the processor executes the computer program instruction set in the memory, the aforementioned real-time preview processing method for page configuration is implemented.
[0025] According to another aspect of the present invention, the present invention further provides a computer-readable storage medium, wherein a computer program instruction set is stored on the computer-readable storage medium, and when the computer program instruction set is executed by a processor, the aforementioned real-time preview processing method for page configuration is implemented.
[0026] According to another aspect of the present invention, the present invention further provides a computer program product, which includes a computer program instruction set, and when the computer program instruction set is executed by a processor, the real-time preview processing method for page configuration is implemented.
[0027] The embodiment of the present invention realizes two business scenarios of real-time preview on the recruitment end and actual use on the C end through one code, thereby reducing the development workload and alleviating the system maintenance workload. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The preferred embodiments of the present invention will be further described in detail below with reference to the accompanying drawings, wherein:
[0029] Figure 1 is a flow chart of a real-time preview processing method for page configuration applied at a recruitment end according to an embodiment of the present invention;
[0030] Figure 2 is a flow chart of a real-time preview processing method for page configuration applied at a job-seeking terminal according to an embodiment of the present invention;
[0031] Figure 3 is a schematic diagram of an interface of a recruitment end system according to an embodiment of the present invention;
[0032] Figure 4 is a principle block diagram of a real-time preview processing system for page configuration according to an embodiment of the present invention; and
[0033] Figure 5 It is a schematic diagram of the hardware structure principle of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0034] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0035] In the following detailed description, reference may be made to the various specification drawings that are part of the present application and are used to illustrate specific embodiments of the present application. In the accompanying drawings, similar reference numerals describe substantially similar components in different figures. The various specific embodiments of the present application are described below in sufficient detail so that a person of ordinary skill in the art with relevant knowledge and skills in the art can implement the technical solutions of the present application. It should be understood that other embodiments may also be used or structural, logical or electrical changes may be made to the embodiments of the present application.
[0036] The present invention provides a real-time preview processing method, device, equipment and storage medium for page configuration, which can realize two business scenarios of real-time preview on the recruitment end and actual use on the C-end by only one code when the recruitment user configures the page to be displayed on the job search end, thereby reducing the development workload and alleviating the system maintenance workload. It is specifically described in detail through the following embodiments.
[0037] See also Figure 1 , Figure 1 The present invention is a flowchart of a real-time preview processing method for page configuration applied on a recruitment end according to an embodiment of the present invention, the method comprising:
[0038] Step S11, embedding the job search end page in the preview area of the setting page;
[0039] Step S12, monitoring the configuration operation of the setting page by the recruitment user at the recruitment end; and
[0040] Step S13, in response to monitoring the configuration operation of the setting page, publishing a configuration message to the job seeker.
[0041] See also Figure 2 , Figure 2 The present invention is a flowchart of a real-time preview processing method for page configuration applied to a job seeker terminal according to an embodiment of the present invention, the method comprising:
[0042] Step S21, registering a message event for the page that needs to be embedded in the preview area of the recruitment terminal;
[0043] Step S22, monitoring the message event of the recruitment end publishing the configuration message;
[0044] Step S23, in response to monitoring a message event in which the recruitment end releases a configuration message, obtaining corresponding page content based on the message event; and
[0045] Step S24: display the page content in the corresponding page.
[0046] Specifically, in order to facilitate recruiting users, the recruitment platform provides a variety of management and setting functions in the recruitment end system provided to recruiting users, and each function is provided to the recruiting user in the form of a page. After the recruiting user logs in to the recruitment end system, he can enter various function pages to perform corresponding operations. Among them, the recruiting user needs to set the page content for display on the job-seeking end, such as the job-seeking user's login page, the resume details page that the job-seeking user needs to fill in, the delivery page for the user to submit a resume, etc. These pages need to be displayed on the job-seeking end, and the recruiting user can set the content of these pages, page design items (such as banner images, logos, page theme colors / patterns, etc.). In the present invention, the pages provided in the recruitment end system for setting the above-mentioned pages displayed on the job-seeking end are collectively referred to as setting pages. The setting page can be one or more, and the number is not limited.
[0047] See also Figure 3 , Figure 31 is a schematic diagram of the interface of the recruitment end system according to an embodiment of the present invention, wherein the left side of the recruitment end system interface is a function menu bar 101, which contains multiple functions that the recruitment user can use. In this embodiment, one of the functions is "page configuration", which can configure various page designs for the page displayed on the job search end, such as the theme color, font, logo, etc. of the page. When the "page configuration" label is selected, the top of the interface displays the page that can perform this function, one of which is the resume details page 102. The middle area of the interface is the preview area 103 of the page, and the right side is the configuration item area 104 for implementing various page designs, which includes multiple configuration items for implementing various page designs. Further, since the job search end can be a personal PC or a mobile terminal such as a mobile phone, the "page configuration" function page also includes a page category 105, and the user can choose whether the currently configured page is a PC page applied on the PC end or an H5 page applied in the mobile phone APP. In a further embodiment, the recruitment end system interface also includes a page status type 106, which is used to enable the recruitment user to select whether the page status currently displayed in the preview area 103 is an online status or an editing status. If the recruiting user selects the online status in the page status type 106, the preview area 103 displays the page that the job seeker can see. If the recruiting user selects the editing status in the page status type 106, the page in the preview area 103 displays the content after the recruiting user operates the configuration items on the right. This content is currently not visible to the job seeker and needs to go through the review process of the recruitment platform. It can only be put online after the review is passed. At this time, the job seeker can see the currently edited page.
[0048] See also Figure 1 In step S11, in one embodiment, an iframe tag is added to the preview area of the setting page, and the address of the job-seeking end page to be embedded is filled in the SRC attribute of the tag. The iframe tag is an inline frame. By adding the address of the job-seeking end page to be embedded in the SRC attribute of the tag, the job-seeking end page of the address can be embedded in the preview area. In addition, in order to enable the preview area to display online pages and pages in editing status, in one embodiment, the SRC attribute of the iframe tag also includes a page status type, and the status type includes an online status and an editing status; the page status type in the SRC attribute is set based on the status specified by the recruiting user in the configuration operation, and the specified status is an online status or an editing status. Of course, other information can also be included in the SRC attribute of the iframe tag, such as adding scroll bars, setting page borders, etc.
[0049] In step S12, the configuration operation of the recruitment user on the setting page is monitored. After the configuration operation of the recruitment user on the setting page is monitored, a configuration message is published to the job seeker in the form of postmessage in step S13. For example, after the configuration operation of the setting page by the recruitment user is completed, a MessageEvent message is sent to the job seeker, and the message includes the Message type, the data corresponding to the user configuration operation, the page status (online status or editing status), etc. In the following, the user configuration operation in the editing state is referred to as an update operation, that is, an operation for updating the current page data. When it is an update operation, the updated content is added to the message.
[0050] On the job search side, see Figure 2 First, in step S21, a message event is registered for the page that needs to be embedded in the preview area of the recruitment terminal, and the message event of the recruitment terminal publishing the configuration message is monitored. After the message event is monitored, the message content is read from the message. The message content includes, for example, the update content of the recruitment user in the editing state, such as Figure 3 The content of each configuration item shown, the message content can also include page status. In step S23, when the page status data in the message content is data indicating the editing status, the updated content is obtained from the message, and then in step S24, the updated content is transmitted to the corresponding page. Since the page is embedded in the preview area of the setting page of the recruitment end system in the form of an iframe tag, what is seen on the system interface of the recruitment end at this time is the page just edited by the recruitment user, and the page is also the job-seeking end page, so the job-seeking end page is also realized while the real-time preview of the recruitment end is previewed. When the recruitment platform approves the editing content of the recruitment end, the current job-seeking end page can be online and visible to the job-seeking user without additional processing. If the page status data in the message content is data indicating the online status, the current online page data is pulled and transmitted to the corresponding page in step S24, and what is seen on the system interface of the recruitment end at this time is the current online job-seeking end page.
[0051] The embodiment of the present invention does not need to write codes for the real-time preview scenario of the recruitment end and the page usage scenario of the job search end respectively. Two scenarios are implemented through a set of codes, which reduces the development workload and also reduces the code maintenance workload when the system is upgraded.
[0052] See also Figure 4 , Figure 4The present invention is a block diagram of a real-time preview processing system for page configuration according to an embodiment of the present invention. The system in this embodiment includes a first processing device 10 located at the recruitment end and a second processing device 20 located at the job-seeking end. The first processing device 10 includes a page embedding module 11, a first monitoring module 12 and a message publishing module 13. The page embedding module 11 is used to embed the job-seeking end page in the preview area of the setting page. In one embodiment, the page embedding module 11 adds an iframe tag in the preview area of the setting page, and fills the address of the job-seeking end page to be embedded in the SRC attribute of the iframe tag. The first monitoring module 12 monitors the configuration operation of the setting page by the recruitment user, and the configuration operation is such as selecting a page type, selecting a page state, updating a page content or a design item, etc. After monitoring these operations, a notification is sent to the message publishing module 13. The message publishing module 1 monitors the configuration operation of the setting page and publishes a configuration message to the job-seeking end. When publishing the configuration message, the page state type, page type, updated content, etc. are added to the message.
[0053] The second processing device 20 includes a message registration module 21, a second monitoring module 22 and a page display module 23, wherein the message registration module 21 is used to register message events for pages that need to be embedded in the preview area of the recruitment end, and the second monitoring module 22 is used to monitor message events of the recruitment end publishing configuration messages. After monitoring the message event, a notification is sent to the page display module 23, and the page display module 23 obtains the corresponding page content based on the message event and displays the page content in the corresponding page. When the page state in the message is the editing state, the updated content is obtained from the message event, and the updated content is transmitted to the corresponding page to display the page content. When the page state in the message is the online state, the current online page data is pulled and transmitted to the corresponding page.
[0054] Figure 5 6 is a schematic diagram of the hardware structure principle of an electronic device according to an embodiment of the present invention. The electronic device can be implemented as a server or other terminal devices, such as a desktop personal computer, a tablet computer, a laptop computer, a mobile phone, etc., including a processor 601 and a memory 602. The memory 602 stores a program instruction set. When the processor 601 executes the program instruction set on the memory 602, the aforementioned real-time preview processing method for page configuration applied to the recruitment end or the real-time preview processing method for page configuration applied to the job-seeking end is implemented. That is, the electronic device can be a device used by a recruitment user or a device used by a job-seeking user.
[0055] Specifically, the processor 601 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiment of the present invention.
[0056] The memory 602 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 602 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 602 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 602 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 602 is a non-volatile solid-state memory.
[0057] The memory may include a read-only memory (ROM), a random access memory (RAM), a disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the real-time preview processing method for page configuration provided by the present invention. In one example, the electronic device may further include a communication interface 603 and a bus 604. The processor 601, the memory 602, and the communication interface 603 are connected via the bus 604 and complete communication with each other. The communication interface 603 is mainly used to implement communication between modules, devices, units and / or devices in the embodiments of the present invention.
[0058] Bus 604 includes hardware, software or both, and the components of online data flow billing equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 604 may include one or more buses. Although the embodiment of the present invention describes and shows a specific bus, the present invention considers any suitable bus or interconnection.
[0059] The present invention also provides a computer-readable storage medium having computer program instructions stored thereon, which can be executed by a processor to implement any of the real-time preview processing methods for page configuration in the aforementioned embodiments. The computer-readable storage medium can be any tangible medium that contains or stores computer-executable instructions for use by or in combination with an instruction execution system, device, and apparatus. The storage medium can be a transient computer-readable storage medium or a non-transient computer-readable storage medium. Non-transient computer-readable storage media may include, but are not limited to, magnetic storage devices, optical storage devices, and / or semiconductor storage devices. Examples of such storage devices include, for example, magnetic disks, optical disks based on CD, DVD, or Blu-ray technology, and persistent solid-state memories such as flash memory, solid-state drives, and the like.
[0060] The present invention also provides a computer program product, which includes a set of computer program instructions, and when the computer program instruction set is executed by a processor, any of the real-time preview processing methods for page configuration in the aforementioned embodiments is implemented. The computer program product includes but is not limited to application installation packages published on websites and application stores, application plug-ins, and small programs that can be run in certain applications.
[0061] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.
[0062] The above embodiments are only used to illustrate the present invention, but not to limit the present invention. Ordinary technicians in the relevant technical field can make various changes and modifications without departing from the scope of the present invention. Therefore, all equivalent technical solutions should also fall within the scope of the present invention.
Claims
1. A real-time preview processing method for page configuration, the method is applied at a recruitment end, the method comprising: Embed the job search page in the preview area of the settings page; Monitoring the configuration operation of the recruiting user on the setting page; as well as In response to monitoring the configuration operation of the setting page, publishing a configuration message to the job seeker terminal; The job seeker obtains the corresponding page content based on the configuration message of the recruitment end, and displays the page content in the job seeker page embedded in the preview area.
2. The method according to claim 1, wherein: The steps to embed the job search page in the preview area of the settings page include: Add an iframe tag to the preview area of the settings page; and Fill in the address of the job search page to be embedded in the SRC attribute of the iframe tag.
3. The method according to claim 2, wherein: The SRC attribute of the iframe tag also includes a page status type, which includes an online status and an editing status; correspondingly, the page status type in the SRC attribute is set based on a specified status in a configuration operation, and the specified status is an online status or an editing status.
4. The method according to claim 1, wherein: When the configuration operation of the recruiting user includes a content update operation, when publishing a configuration message to the job seeker, the updated content is added to the message; correspondingly, the job seeker updates the job seeker page embedded in the preview area according to the updated content.
5. The method according to claim 1, wherein: The setting page includes a PC page and / or an H5 page.
6. A real-time preview processing method for page configuration, the method is applied to a job seeker, the method comprising: Register message events for the pages that need to be embedded in the preview area of the recruitment terminal, and listen to message events of the recruitment terminal publishing configuration messages; In response to monitoring a message event in which a recruitment end releases a configuration message, obtaining corresponding page content based on the message event; as well as The page embedded in the client preview area displays the page content.
7. The method according to claim 6, wherein: When monitoring the message event of the recruitment end publishing the configuration message, it further includes: Read the page status in the message event; In response to the page state being an editing state, obtaining updated content in the message event; and In response to the page status being an online status, the online content of the page is acquired and added to the corresponding page.
8. A real-time preview processing device for page configuration, the device is located at the recruitment end, and the device comprises: A page embedding module configured to embed a job search end page in a preview area of a settings page; A first monitoring module is configured to monitor the configuration operation of the recruitment user on the setting page; as well as A message publishing module is configured to publish a configuration message to the job seeker in response to monitoring the configuration operation of the setting page; The job seeker obtains the corresponding page content based on the configuration message of the recruitment end, and displays the page content in the job seeker page embedded in the preview area.
9. A real-time preview processing device for page configuration, the device is located at a job seeker end, the device comprising: A message registration module is configured to register message events for pages that need to be embedded in the preview area of the recruitment terminal; A second monitoring module is configured to monitor a message event in which a recruitment terminal releases a configuration message; as well as The page display module is configured to respond to a message event in which a configuration message is released by the recruitment end, obtain corresponding page content based on the message event, and display the page content on a page embedded in a preview area of the recruitment end.
10. An electronic device comprising a processor and a memory, wherein a computer program instruction set is stored in the memory, and when the processor executes the computer program instruction set in the memory, the real-time preview processing method for page configuration according to any one of claims 1 to 7 is implemented.
11. A computer-readable storage medium, wherein: The computer-readable storage medium stores a computer program instruction set, and when the computer program instruction set is executed by a processor, the real-time preview processing method for page configuration according to any one of claims 1 to 7 is implemented.
12. A computer program product, comprising a computer program instruction set, wherein when the computer program instruction set is executed by a processor, the real-time preview processing method for page configuration according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Method for constructing data display model and method and device for displaying data
CN101788994A
Page nesting path determination method and device
CN104714980A
Task-mode employment and making-friends platform
CN108710542A
Test method and device of online recruitment system and storage medium.
CN112286794A
Service page generation method and device
CN113282863A
