CN114924782A - Service update processing method and device, electronic equipment and storage medium - Google Patents

Service update processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114924782A
CN114924782A CN202210345529.1A CN202210345529A CN114924782A CN 114924782 A CN114924782 A CN 114924782A CN 202210345529 A CN202210345529 A CN 202210345529A CN 114924782 A CN114924782 A CN 114924782A
Authority
CN
China
Prior art keywords
service
page
preset
configuration information
rendering
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210345529.1A
Other languages
Chinese (zh)
Inventor
朱彤
杨凯丽
杨小刚
蔡晓华
李伟鹏
胡方正
孙弘法
鞠达豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202210345529.1A priority Critical patent/CN114924782A/en
Publication of CN114924782A publication Critical patent/CN114924782A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The utility model relates to a service update processing method, a device, an electronic device and a storage medium, wherein the method comprises responding to a page display request corresponding to a preset service, and acquiring new page configuration information corresponding to the preset service from a server, wherein the new page configuration information comprises page rendering configuration information and service execution configuration information; rendering a target new version service page corresponding to a preset service based on a preset native parsing engine and the page rendering configuration information; and responding to a service instruction triggered based on the target new-edition service page, and updating the target new-edition service page based on a preset native parsing engine and service execution configuration information. By the aid of the method and the device, service updating processing efficiency and convenience can be improved.

Description

Service update processing method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a method and an apparatus for processing a service update, an electronic device, and a storage medium.
Background
With the development of internet technology, internet-based services are more and more, and in order to better improve user experience, service version updating is often required, but fast iterative updating also brings new problems.
In the related art, when a service version needs to be updated, an application corresponding to a new version service often needs to be submitted to an application mall and audited by the application mall, and after the audit is passed, a user needs to perform an application updating operation, so that the whole service updating processing process is long in time consumption, complex in operation and low in service updating processing efficiency.
Disclosure of Invention
The present disclosure provides a service update processing method, a service update processing apparatus, an electronic device, and a storage medium, so as to at least solve the problems of long time consumption, complex operation, low service update processing efficiency, and the like in the service update processing process in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, a method for processing service update is provided, including:
responding to a page display request corresponding to a preset service, and acquiring new page configuration information corresponding to the preset service from a server, wherein the new page configuration information comprises page rendering configuration information and service execution configuration information;
rendering a target new version service page corresponding to the preset service based on a preset native parsing engine and the page rendering configuration information;
and updating the target new-edition service page based on the preset native parsing engine and the service execution configuration information in response to a service instruction triggered based on the target new-edition service page.
In an optional embodiment, the rendering a target new version service page of the preset service based on a preset native parsing engine and the page rendering configuration information includes:
analyzing the page rendering configuration information based on the preset native analysis engine to obtain region rendering data corresponding to at least one scene region in the target new version service page, wherein the region rendering data represents rendering data of a native control in the at least one scene region;
and rendering the native control based on the region rendering data to obtain the target new-edition service page.
In an alternative embodiment, the region rendering data includes region size location information for the at least one scene region, control content resources for native controls in the at least one scene region, and control layout data for native controls in the at least one scene region; the control layout data is size position information of native controls in the at least one scene area based on preset placeholder component description;
the rendering the native control based on the region rendering data to obtain the target new version service page comprises:
rendering the native control based on the region size and position information, the control content resource and the control layout data to obtain the target new version service page.
In an optional embodiment, the region layout data further includes: under the condition of a resource placeholder corresponding to any one of the native controls; the method further comprises the following steps:
and acquiring the control content resource of the control corresponding to the resource placeholder.
In an optional embodiment, the updating the target new-edition service page based on the preset native parsing engine and the service execution configuration information in response to the service instruction triggered based on the target new-edition service page includes:
responding to the service instruction, and analyzing the service execution configuration information based on the preset native analysis engine to obtain service execution control data;
and updating the target new version service page based on the service execution control data and the operation record information corresponding to the service instruction.
In an optional embodiment, the operation record information includes record information of a target service operation, and the updating the target new-version service page based on the service execution control data and the operation record information corresponding to the service instruction includes:
determining target execution control data corresponding to the target business operation from the business execution control data;
and updating the target new version service page based on the target execution control data and the record information of the target service operation.
In an optional embodiment, in a case that the target service operation includes a plurality of service operations, the target execution control data includes a preset number of joint execution control data corresponding to the plurality of service operations;
the updating the target new version service page based on the target execution control data and the record information of the target service operation comprises:
determining matching execution control data of the recording information of the plurality of business operations from the preset number of kinds of joint execution control data;
and updating the target new version service page based on the page updating indication information corresponding to the matching execution control data.
In an optional embodiment, the page rendering configuration information is rendering configuration information of at least one new version service page corresponding to the preset service, and the service execution configuration information is execution configuration information of the at least one new version service page; the target new edition service page is an initial service page in the at least one new edition service page;
rendering a target new-version service page corresponding to the preset service based on a preset native parsing engine and the page rendering configuration information includes:
rendering the initial business page based on the preset native parsing engine and the page rendering configuration information of the initial business page;
the updating the target new edition service page based on the preset native parsing engine and the service execution configuration information in response to the service instruction triggered based on the target new edition service page comprises:
responding to the service instruction, and updating the initial service page based on the preset native parsing engine, service execution configuration information corresponding to the initial service page and rendering configuration information to be updated;
and the rendering configuration information to be updated is the rendering configuration information of a target service page corresponding to the service instruction in the rendering configuration information of the at least one new version service page.
In an optional embodiment, the method further comprises:
monitoring a preset event based on the preset native analysis engine;
generating a service monitoring result corresponding to the preset event based on a monitoring result corresponding to the preset event, wherein the service monitoring result is a content result of service content associated with the preset event;
and reporting the service monitoring result to the server.
According to a second aspect of the embodiments of the present disclosure, there is provided a service update processing apparatus, including:
the new version page configuration information acquisition module is configured to execute a page display request corresponding to a preset service and acquire new version page configuration information corresponding to the preset service from a server, wherein the new version page configuration information comprises page rendering configuration information and service execution configuration information;
the page rendering module is configured to render a target new version service page corresponding to the preset service based on a preset native parsing engine and the page rendering configuration information;
and the page updating module is configured to execute a service instruction triggered based on the target new edition service page, and update the target new edition service page based on the preset native parsing engine and the service execution configuration information.
In an optional embodiment, the page rendering module comprises:
the analysis processing unit is configured to perform analysis processing on the page rendering configuration information based on the preset native analysis engine to obtain region rendering data corresponding to at least one scene region in the target new version service page, wherein the region rendering data represents rendering data of a primitive control laid out in the at least one scene region;
and the page rendering unit is configured to render the native control based on the region rendering data to obtain the target new-version service page.
In an alternative embodiment, the zone rendering data includes zone size location information for the at least one scene zone, control content resources for native controls in the at least one scene zone, and control layout data for native controls in the at least one scene zone; the control layout data is size position information of native controls in the at least one scene area based on preset placeholder component description;
the page rendering unit is specifically configured to perform rendering of the native control based on the region size position information, the control content resource, and the control layout data, to obtain the target new version service page.
In an optional embodiment, the region layout data further includes: under the condition of a resource placeholder corresponding to any one of the native controls; the device further comprises:
and the control content resource acquisition unit is configured to execute the acquisition of the control content resource of the control corresponding to the resource placeholder.
In an optional embodiment, the page update module includes:
the first analysis processing unit is configured to execute analysis processing on the service execution configuration information based on the preset native analysis engine in response to the service instruction to obtain service execution control data;
and the page updating unit is configured to update the target new service page based on the service execution control data and the operation record information corresponding to the service instruction.
In an optional embodiment, the operation record information includes record information of a target business operation, and the page update unit includes:
a target execution control data determination unit configured to perform determination of target execution control data corresponding to the target business operation from among the business execution control data;
a first page updating subunit configured to update the target new version service page based on the target execution control data and the record information of the target service operation.
In an optional embodiment, in a case that the target service operation includes multiple service operations, the target execution control data includes a preset number of joint execution control data corresponding to the multiple service operations;
the first page update subunit includes:
a matching execution control data determination unit configured to perform determination of matching execution control data of the record information of the plurality of business operations from among the preset number of kinds of joint execution control data;
and the second page updating subunit is configured to execute updating of the target new service page based on the page updating indication information corresponding to the matching execution control data.
In an optional embodiment, the page rendering configuration information is rendering configuration information of at least one new version service page corresponding to the preset service, and the service execution configuration information is execution configuration information of the at least one new version service page; the target new edition service page is an initial service page in the at least one new edition service page;
the page rendering module is specifically configured to execute rendering the initial business page based on the preset native parsing engine and the page rendering configuration information of the initial business page;
the page updating module is specifically configured to update the initial service page based on the preset native parsing engine, service execution configuration information corresponding to the initial service page, and rendering configuration information to be updated, in response to the service instruction;
and the rendering configuration information to be updated is the rendering configuration information of the target service page corresponding to the service instruction in the rendering configuration information of the at least one new version service page.
In an optional embodiment, the apparatus further comprises:
a preset event monitoring module configured to monitor a preset event based on the preset native parsing engine;
a service monitoring result generation module configured to execute a monitoring result corresponding to the preset event based on the monitoring result corresponding to the preset event, and generate a service monitoring result corresponding to the preset event, where the service monitoring result is a content result of service content associated with the preset event;
and the service monitoring result reporting module is configured to report the service monitoring result to the server.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the method of any of the first aspects above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to perform the method of any one of the first aspect of the embodiments of the present disclosure.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the method of any one of the first aspects of the embodiments of the present disclosure.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
in the service version updating process, under the condition that a user triggers a service corresponding page display request, the target new version service page corresponding to the preset service can be quickly rendered by combining the page rendering configuration information configured by the server and the preset native parsing engine, so that the efficiency and convenience of issuing the new version service page are greatly improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a schematic diagram of an application environment shown in accordance with an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a method of service update processing in accordance with an exemplary embodiment;
fig. 3 is a flowchart illustrating rendering of a target new version service page of a preset service based on a preset native parsing engine and page rendering configuration information according to an exemplary embodiment;
FIG. 4 is a flowchart illustrating updating of a target new edition service page based on a preset native resolution engine and service execution configuration information in response to a service instruction triggered based on the target new edition service page in accordance with an illustrative embodiment;
fig. 5 is a schematic diagram of a service monitoring result reporting process according to an exemplary embodiment;
FIG. 6 is a block diagram illustrating a traffic update processing apparatus according to an exemplary embodiment;
FIG. 7 is a block diagram illustrating an electronic device for service update processing in accordance with an exemplary embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for presentation, analyzed data, etc.) referred to in the present disclosure are information and data authorized by the user or sufficiently authorized by each party.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an application environment according to an exemplary embodiment, and as shown in fig. 1, the application environment may include a terminal 100 and a server 200.
The terminal 100 may be used to provide a service to any user. Specifically, the terminal 100 may include, but is not limited to, a mobile electronic device of a type such as a smart phone, an Augmented Reality (AR)/Virtual Reality (VR) device, a smart wearable device, and the like, and may also be software running on the mobile electronic device, such as an application program and the like. Optionally, the operating system running on the electronic device may include, but is not limited to, an android system, an IOS system, and the like.
In an alternative embodiment, the server 200 may provide a background service for the terminal 100. Specifically, the server 200 may be an independent physical server, or may be a server cluster or a distributed system formed by a plurality of physical servers.
In addition, it should be noted that fig. 1 shows only one application environment provided by the present disclosure, and in practical applications, other application environments may also be included, for example, more terminals may be included.
In the embodiment of the present specification, the terminal 100 and the server 200 may be directly or indirectly connected through a wired or wireless communication manner, and the disclosure is not limited herein.
Fig. 2 is a flowchart illustrating a service update processing method according to an exemplary embodiment, where as shown in fig. 2, the service update processing method is used in a terminal and includes the following steps.
In step S201, in response to the page display request corresponding to the preset service, new page configuration information corresponding to the preset service is obtained from the server.
In the embodiment of the present specification, the preset service may correspond to different services according to actual application requirements. Optionally, the preset service may be an issuing service of the recommended video corresponding to the first preset object. Optionally, the preset service may recommend a second preset live broadcast service. Specifically, the first preset object and the second preset object may be objects that need to be recommended, such as an application, a novel, a commodity, and the like.
In a specific embodiment, the new version page configuration information may be page configuration information of a new version service page (new version service page) corresponding to a preset service. Specifically, the new version of page configuration information may include page rendering configuration information and service execution configuration information; the page rendering configuration information is the rendering configuration information of a new version service page; the service execution configuration information may be execution configuration information of a new service page (configuration information of service execution control logic).
In a specific embodiment, the preset service processing process may often include one or more service pages; optionally, under the condition that the user triggers the page display request based on the terminal, the page configuration information of all new service pages corresponding to the preset service may be obtained from the server at one time, or the page configuration information of the initial service page in all new service pages corresponding to the preset service may be obtained from the server first. Correspondingly, the page rendering configuration information may be rendering configuration information of at least one new service page (all new service pages) corresponding to a preset service, and the service execution configuration information may be service execution configuration information of the at least one new service page. Optionally, the page rendering configuration information may be rendering configuration information of an initial service page in at least one new service page corresponding to a preset service, and the service execution configuration information may be execution configuration information of the initial service page in the at least one new service page corresponding to the preset service.
In step S203, rendering a target new version service page corresponding to a preset service based on a preset native parsing engine and the page rendering configuration information;
in a specific embodiment, the terminal may be preset with a preset native parsing engine, and specifically, the preset native parsing engine may be configured to parse new version page configuration information corresponding to a preset service into rendering data of a native component of a system corresponding to the terminal.
In a specific embodiment, the target new service page may be an initial service page in at least one new service page corresponding to a preset service.
In an alternative embodiment, as shown in fig. 3, the rendering a target new version service page of the preset service based on the preset native parsing engine and the page rendering configuration information may include the following steps:
in step S2031, based on a preset native parsing engine, parsing the page rendering configuration information to obtain region rendering data corresponding to at least one scene region in the target new service page;
in step S2033, the native component is rendered based on the region rendering data, and a target new version service page is obtained.
In a specific embodiment, any service page may be divided into one or more scene areas according to preset service functions. Optionally, either scene region may include one or more native controls. Specifically, the native control may be a component having a UI (User Interface) function. In particular, the native controls include, but are not limited to, buttons, pictures, documentaries, and the like.
In an embodiment of the present specification, the rendering data of the region may represent rendering data of native controls laid out in the at least one scene region. Specifically, the region rendering data may include region size and position information of at least one scene region, control content resources of the native control in the at least one scene region, and control layout data of the native control in the at least one scene region.
Correspondingly, the rendering the native control based on the region rendering data to obtain the target new-version service page may include: and rendering the native control based on the region size position information, the control content resource and the control layout data to obtain a target new version service page.
In a specific embodiment, the terminal may be preset with a rendering engine, and optionally, the preset native parsing engine may transmit the region rendering data to the rendering engine, and the rendering engine performs the rendering operation.
In a specific embodiment, in the process of rendering the native control based on the area size position information, the control content resource and the control layout data, a scene area in the target new-edition service page may be positioned in combination with the area size position information, and the native control in any scene area may be positioned and rendered in combination with the control layout data and the control content resource, so as to obtain the target new-edition service page.
In a specific embodiment, the area size location information may include area size information and area location information. Optionally, in a case that the target new service page includes a scene area, the area position information may be coordinate position information of the scene area in a page coordinate system. Optionally, in a case that the target new service page includes a plurality of scene areas, the area position information may include coordinate position information of the plurality of scene areas in a page coordinate system; optionally, when the target new service page includes a plurality of scene areas, the area location information may include coordinate location information of any scene area in a page coordinate system and a relative location relationship between the plurality of scene areas, and accordingly, in a subsequent page rendering process, when the coordinate location information of one scene area in the page coordinate system is determined, the coordinate location information of other scene areas in the page coordinate system may also be determined by combining the relative location relationship between the plurality of scene areas.
In a particular embodiment, the control content resource of the native control can be the content of the native control in the corresponding scene. Such as image data corresponding to the image control. Specifically, the control layout data may be size and position information of the primitive control in at least one scene area described based on the preset placeholder component. Optionally, position information of the primitive control in at least one scene area can be described in combination with the preset placeholder component in the preset canvas, specifically, the preset placeholder component corresponding to each primitive control can be placed in the preset canvas corresponding to the target page, optionally, the preset placeholder component can be placed left and right (or up and down) of each primitive control, correspondingly, in the process of rendering the primitive controls, the corresponding primitive control can be positioned in combination with the preset placeholder component, the size information of the preset canvas can be transmitted to the rendering engine, correspondingly, the rendering engine can combine the size information of the preset canvas to determine the size information of the primitive control.
In the above embodiment, the size and position information of the primitive control in at least one scene area described by the preset placeholder component is combined, the recording of the size and position information of a large number of controls and the consumption of storage resources caused by the recording can be avoided, and in the rendering process, the control drawing is performed by combining the preset placeholder component, so that the readability and the drawing efficiency can be greatly improved, and the complex operation of drawing the control by combining the size and position information is avoided.
In an optional embodiment, the control content resources of some native controls cannot be directly analyzed, data replacement and binding need to be performed by the client, and accordingly, when the region layout data further includes a resource placeholder corresponding to any native control; the above method may further comprise:
and acquiring the control content resource of the control corresponding to the resource placeholder.
In a specific embodiment, the resource placeholder corresponding to the native control can be information for identifying a control content resource corresponding to the native control, and accordingly, the preset native resolution engine can transmit the resource placeholder to the terminal, and the terminal can preset a relevant replacement protocol so that the terminal replaces the resource placeholder with the corresponding control content resource, and transmits the replaced control content resource to the preset native resolution engine so that the preset native resolution engine transmits the control content resource to the rendering engine for rendering the control.
In the embodiment, the preset native parsing engine is combined to parse the page rendering configuration information to obtain region rendering data, the rendering data of native components arranged in at least one scene region can be represented, and then the native controls can be rendered based on the rendering data, so that the rendering efficiency and the fluency of the page are greatly improved, and the page is divided into at least one scene region to be rendered, so that the flexibility of page configuration and the adaptability of service scenes can be greatly improved; and under the condition that the region layout data analyzed by the preset native analysis engine comprises the resource placeholder corresponding to any native control, the resource placeholder can be replaced by the control content resource by the terminal, so that the subsequent rapid and accurate control rendering can be conveniently carried out.
In step S205, in response to the service instruction triggered based on the target new service page, the target new service page is updated based on the preset native parsing engine and the service execution configuration information.
In a specific embodiment, the service instruction may be triggered actively by the user, or may be triggered automatically, for example, when the user does not trigger a click operation in a case where the target new service page shows a preset duration, the user may display the preset duration in the target new service page in a scene where the target new service page shows a preset animation, and when the user does not trigger a click operation, the user may trigger a display instruction (service instruction) of the preset animation automatically.
In an alternative embodiment, as shown in fig. 4, the updating the target new service page based on the preset native parsing engine and the service execution configuration information in response to the service instruction triggered based on the target new service page may include the following steps:
in step S2051, in response to the service instruction, the service execution configuration information is parsed based on a preset native parsing engine to obtain service execution control data;
in step S2053, the target new service page is updated based on the service execution control data and the operation record information corresponding to the service instruction.
In a specific embodiment, the preset native parsing engine may be further configured to parse the service execution configuration information in the new version of page configuration information into service execution control data that can be executed by the terminal. Specifically, the service execution control data may represent service execution control logic data corresponding to the page update indication information.
In an alternative embodiment, the operation record information may be record information of a business operation triggered by the user based on the current target new business page. Optionally, the operation record information may include record information of a target service operation, and correspondingly, the updating the target new-version service page based on the operation record information corresponding to the service execution control data and the service instruction may include:
determining target execution control data corresponding to the target business operation from the business execution control data;
and updating the target new version service page based on the target execution control data and the record information of the target service operation.
In a specific embodiment, the target service operation may include one or more service operations, and optionally, in a case that the target service operation includes one service operation, the target execution control data may be service execution control data corresponding to the service operation. Optionally, the corresponding page update indication information is returned in combination with the service execution control data of the service operation and the record information of the service operation. In a specific embodiment, assuming that the service operation is a click operation for a preset button control in a page, and service execution control data corresponding to the click operation is page update indication information for popping up a first preset popup window when the click operation is triggered based on the preset button control within a preset time period; and returning page updating indication information for displaying the preset animation under the condition that the click operation is not triggered based on the preset button control within a preset time period. Optionally, taking an example that the operation record information indicates that a click operation is triggered based on a preset button control within a preset time period, combining the operation record information, the page update indication information popping up the first preset popup window may be returned; then, the page update indication information may be combined to obtain region rendering data corresponding to at least one scene region in the service page corresponding to the first preset popup window, and the target new version service page may be updated based on the region rendering data.
In an optional embodiment, in a case that the target service operation includes a plurality of service operations, the target execution control data may include a preset number of joint execution control data corresponding to the plurality of service operations.
Correspondingly, the updating the target new service page based on the target execution control data and the record information of the target service operation may include: determining matching execution control data of the recording information of a plurality of business operations from a preset number of joint execution control data; and updating the target new version service page based on the page updating indication information corresponding to the matching execution control data.
In a specific embodiment, the joint execution control data may be service execution control data of a plurality of service operations set based on a preset logical operator; optionally, in a case that the target service operation includes multiple service operations, the joint service execution control may be performed by combining the multiple service operations according to a preset service requirement, and optionally, the joint service execution control may be performed by combining a preset logical operator: and combining or not with various service operations to control service execution.
In a specific embodiment, it is assumed that the target service operation includes a switch operation corresponding to a first preset switch and a switch operation corresponding to a second preset switch, and the target execution control data includes a second preset popup window (a joint execution control data) displayed when both the first preset switch and the second preset switch are turned on; displaying a third preset popup (a joint execution control data) under the condition that the first preset switch or the second preset switch is turned on; and displaying a fourth preset popup window (a combined execution control data) under the condition that the first preset switch and the second preset switch are not opened. Optionally, taking the operation record information indicating that the first preset switch and the second preset switch are both turned on (that is, the first preset switch and the second preset switch both trigger the same turning-on operation) as an example, it may be determined by combining the operation record information that the matching execution control data is to display the second preset popup window under the condition that the first preset switch and the second preset switch are both turned on. Correspondingly, page updating indication information popping up a second preset popup window can be returned based on the matching execution control data; then, the page update indication information may be combined to obtain region rendering data corresponding to at least one scene region in the service page corresponding to the second preset popup window, and the target new version service page may be updated based on the region rendering data.
In the above embodiment, under the condition that the service instruction is triggered, the preset native parsing engine may be combined to parse the service execution configuration information, and further, the obtained service execution control data and the operation record information corresponding to the service instruction may be combined to effectively meet the service interaction requirement in a new version service scene. Different target execution control data are configured for different target service operations, so that different interaction scenes can be effectively dealt with, and the diversity of service interaction is improved. In addition, by setting the preset number of the joint execution control data corresponding to the plurality of service operations, the joint multi-service operation can be realized, the service execution control is carried out, different service requirements can be better met, and the comprehensiveness and diversity of service application are greatly improved.
In an optional embodiment, in a case that page configuration information of all new service pages corresponding to a preset service is obtained from a server at a time, the page rendering configuration information may include rendering configuration information of at least one new service page corresponding to the preset service, and the service execution configuration information may include service execution configuration information of the at least one new service page; the target new edition service page is an initial service page in at least one new edition service page;
correspondingly, rendering the target new-version service page corresponding to the preset service based on the preset native parsing engine and the page rendering configuration information may include: rendering an initial service page based on a preset native parsing engine and page rendering configuration information of the initial service page;
correspondingly, the updating the target new-edition service page based on the preset native parsing engine and the service execution configuration information in response to the service instruction triggered based on the target new-edition service page may include:
responding to a service instruction, and updating an initial service page based on a preset native parsing engine, service execution configuration information corresponding to the initial service page and rendering configuration information to be updated;
in a specific embodiment, the rendering configuration information to be updated may be rendering configuration information of a target service page corresponding to a service instruction in the rendering configuration information of at least one new version service page.
In the embodiment, all the page configuration information of the new version service page corresponding to the preset service is acquired from the server at one time, so that the interaction efficiency and the fluency of the subsequent service page can be improved, and the service execution effect of the preset service can be further improved.
In an optional embodiment, the method may further include:
monitoring a preset event based on a preset native analysis engine;
generating a service monitoring result corresponding to the preset event based on the monitoring result corresponding to the preset event, wherein the service monitoring result can be a content result of service content associated with the preset event;
and reporting the service monitoring result to the server.
In a specific embodiment, an event listening component may be disposed in the native parsing engine. Optionally, the preset event may be monitored based on the event monitoring component.
In practical application, in different service scenarios, the same event monitored by the preset native parsing engine often corresponds to different service contents, for example, a click event for the same button, and in a video delivery service of an application program, the click event may correspond to a download amount. In the live broadcast service of recommending preset commodities, the click event can correspond to the quantity of the commodities acquired by the user. Correspondingly, the terminal of the service party can perform service site-burying setting in advance, optionally, the terminal can be provided with a service subscription component and a service reporting component, and establish a subscription relationship (association relationship) between the service subscription component and a predefined preset event in a preset native parsing engine; optionally, in the service processing process, an event listener in the native parsing engine is preset, and may monitor a preset event, optionally, the monitored preset event may include one or more events, and optionally, when the preset event includes multiple events, different events may correspond to different service subscription components, and different service subscription components may correspond to different service contents; specifically, the service party can establish a subscription relationship between different preset events and service subscription components corresponding to different service contents according to actual requirements; correspondingly, under the condition that the preset native parsing engine monitors the preset event, the monitoring result corresponding to the preset event can be sent to a service subscription component subscribing to the preset event; optionally, the service subscription component may send the monitoring result corresponding to the preset event to the corresponding service reporting component, so that the service reporting component generates a service monitoring result (for example, a download amount is 890) corresponding to the service content based on the monitoring result of the preset event.
In a specific embodiment, as shown in fig. 5, fig. 5 is a schematic diagram of a service monitoring result reporting process provided in an exemplary embodiment; specifically, an event listener in the preset native parsing engine may monitor a defined preset event, and send a monitoring result corresponding to the preset event to a service subscription component corresponding to the preset event, and correspondingly, the service subscription component may send the monitoring result corresponding to the preset event to a corresponding service reporting component, and the service reporting component may generate a service monitoring result corresponding to the service content based on the monitoring result of the preset event, and report the service monitoring result to the server, so that the service party may know the corresponding service execution condition in combination with the service monitoring result.
In the above embodiment, in combination with the preset native parsing engine, when the preset event is monitored, the monitoring result corresponding to the preset event may be converted into the content result of the service content associated with the preset event, so that the collection of the service content data in different service scenarios can be effectively compatible, and the compatibility of the preset native parsing engine is greatly improved.
According to the technical scheme provided by the embodiment of the specification, in the service version updating process, the target new version service page corresponding to the preset service can be quickly rendered by combining the page rendering configuration information configured by the server and the preset native parsing engine under the condition that the user triggers the service corresponding page display request, so that the efficiency and convenience of issuing the new version service page are greatly improved, in addition, under the condition that the service instruction is triggered, the configuration information can be executed based on the preset native parsing engine and the service configured by the server to update the target new version service page, the efficiency and convenience of new version service interaction processing can be effectively improved, and further, the service updating processing efficiency and convenience can be effectively improved.
Fig. 6 is a block diagram illustrating a traffic update processing arrangement according to an example embodiment. Referring to fig. 6, the apparatus includes:
a new page configuration information obtaining module 610 configured to execute, in response to a page display request corresponding to a preset service, obtaining new page configuration information corresponding to the preset service from a server, where the new page configuration information includes page rendering configuration information and service execution configuration information;
the page rendering module 620 is configured to render a target new version service page corresponding to a preset service based on a preset native parsing engine and page rendering configuration information;
and a page updating module 630 configured to execute, in response to a service instruction triggered based on the target new service page, updating the target new service page based on a preset native parsing engine and service execution configuration information.
In an alternative embodiment, the page rendering module 620 includes:
the analysis processing unit is configured to analyze the page rendering configuration information based on a preset native analysis engine to obtain region rendering data corresponding to at least one scene region in the target new version service page, and the region rendering data represents rendering data of the native control arranged in the at least one scene region;
and the page rendering unit is configured to render the native control based on the region rendering data to obtain a target new version service page.
In an alternative embodiment, the region rendering data includes region size position information of the at least one scene region, control content resources of the native controls in the at least one scene region, and control layout data of the native controls in the at least one scene region; the control layout data is size position information of an original control in at least one scene area described based on a preset placeholder component;
the page rendering unit is specifically configured to perform rendering of the native control based on the region size position information, the control content resource and the control layout data, so as to obtain a target new version service page.
In an optional embodiment, the data for region layout further comprises: under the condition of a resource placeholder corresponding to any one of the native controls; the above-mentioned device still includes:
and the control content resource acquisition unit is configured to execute the acquisition of the control content resource of the control corresponding to the resource placeholder.
In an alternative embodiment, the page update module 630 includes:
the first analysis processing unit is configured to execute analysis processing on the service execution configuration information based on a preset native analysis engine in response to the service instruction to obtain service execution control data;
and the page updating unit is configured to execute operation record information corresponding to the service execution control data and the service instruction and update the target new service page.
In an alternative embodiment, the operation record information includes record information of the target business operation, and the page update unit includes:
a target execution control data determination unit configured to determine target execution control data corresponding to the target business operation from the business execution control data;
and the first page updating subunit is configured to execute the record information based on the target execution control data and the target business operation and update the target new business page.
In an optional embodiment, in a case that the target service operation includes a plurality of service operations, the target execution control data includes a preset number of joint execution control data corresponding to the plurality of service operations;
the first page update subunit includes:
a matching execution control data determination unit configured to perform determining matching execution control data of record information of a plurality of business operations from a preset number of kinds of joint execution control data;
and the second page updating subunit is configured to update the target new version service page based on the page updating indication information corresponding to the matching execution control data.
In an optional embodiment, the page rendering configuration information is rendering configuration information of at least one new version service page corresponding to a preset service, and the service execution configuration information is execution configuration information of the at least one new version service page; the target new edition service page is an initial service page in at least one new edition service page;
the page rendering module 620 is specifically configured to execute page rendering configuration information based on a preset native parsing engine and an initial service page, and render the initial service page;
the page updating module 630 is specifically configured to execute, in response to the service instruction, updating the initial service page based on a preset native parsing engine, service execution configuration information corresponding to the initial service page, and rendering configuration information to be updated;
the rendering configuration information to be updated is the rendering configuration information of the target service page corresponding to the service instruction in the rendering configuration information of at least one new version service page.
In an optional embodiment, the apparatus further comprises:
the preset event monitoring module is configured to monitor a preset event based on a preset native analysis engine;
a service monitoring result generation module configured to execute a monitoring result corresponding to the preset event based on the preset event, and generate a service monitoring result corresponding to the preset event, where the service monitoring result is a content result of service content associated with the preset event;
and the service monitoring result reporting module is configured to report the service monitoring result to the server.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 7 is a block diagram illustrating an electronic device for service update processing, which may be a terminal, according to an exemplary embodiment, and an internal structure thereof may be as shown in fig. 7. The electronic device comprises a processor, a memory, a network interface, a display screen and an input device which are connected through a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the electronic device is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a service update processing method. The display screen of the electronic equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the electronic equipment, an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 7 is a block diagram of only a portion of the structure associated with the disclosed aspects and does not constitute a limitation on the electronic devices to which the disclosed aspects apply, as particular electronic devices may include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
In an exemplary embodiment, there is also provided an electronic device including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the service update processing method as in the embodiments of the present disclosure.
In an exemplary embodiment, there is also provided a computer-readable storage medium, where instructions, when executed by a processor of an electronic device, enable the electronic device to perform a service update processing method in the embodiments of the present disclosure.
In an exemplary embodiment, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the business update processing method in the embodiments of the present disclosure.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A service update processing method is characterized by comprising the following steps:
responding to a page display request corresponding to a preset service, and acquiring new page configuration information corresponding to the preset service from a server, wherein the new page configuration information comprises page rendering configuration information and service execution configuration information;
rendering a target new version service page corresponding to the preset service based on a preset native parsing engine and the page rendering configuration information;
and updating the target new-edition service page based on the preset native parsing engine and the service execution configuration information in response to a service instruction triggered based on the target new-edition service page.
2. The method of claim 1, wherein rendering a target new version service page of the preset service based on a preset native parsing engine and the page rendering configuration information comprises:
analyzing the page rendering configuration information based on the preset native analysis engine to obtain region rendering data corresponding to at least one scene region in the target new version service page, wherein the region rendering data represents rendering data of a native control in the at least one scene region;
and rendering the native control based on the region rendering data to obtain the target new version service page.
3. The business update processing method of claim 2, wherein the zone rendering data comprises zone size location information of the at least one scene zone, control content resources of native controls in the at least one scene zone, and control layout data of native controls in the at least one scene zone; the control layout data is size and position information of native controls in the at least one scene area described based on preset placeholder components;
the rendering the native control based on the region rendering data to obtain the target new version service page comprises:
rendering the native control based on the region size and position information, the control content resource and the control layout data to obtain the target new version service page.
4. The service update processing method according to claim 3, wherein the region layout data further includes: under the condition of a resource placeholder corresponding to any one of the native controls; the method further comprises the following steps:
and acquiring the control content resource of the control corresponding to the resource placeholder.
5. The service update processing method according to claim 1, wherein the updating the target new edition service page based on the preset native parsing engine and the service execution configuration information in response to the service instruction triggered based on the target new edition service page comprises:
responding to the service instruction, and analyzing the service execution configuration information based on the preset native analysis engine to obtain service execution control data;
and updating the target new version service page based on the service execution control data and the operation record information corresponding to the service instruction.
6. The service update processing method according to claim 5, wherein the operation record information includes record information of a target service operation, and the updating the target new service page based on the service execution control data and the operation record information corresponding to the service instruction includes:
determining target execution control data corresponding to the target business operation from the business execution control data;
and updating the target new version service page based on the target execution control data and the record information of the target service operation.
7. A service update processing apparatus, comprising:
the new version page configuration information acquisition module is configured to execute a page display request corresponding to a preset service, and acquire new version page configuration information corresponding to the preset service from a server, wherein the new version page configuration information comprises page rendering configuration information and service execution configuration information;
the page rendering module is configured to execute rendering of a target new version service page corresponding to the preset service based on a preset native parsing engine and the page rendering configuration information;
and the page updating module is configured to execute a service instruction triggered based on the target new-edition service page, and update the target new-edition service page based on the preset native resolution engine and the service execution configuration information.
8. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the traffic update processing method of any of claims 1 to 6.
9. A computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the service update processing method of any of claims 1 to 6.
10. A computer program product comprising computer instructions, wherein the computer instructions, when executed by a processor, implement the service update processing method of any of claims 1 to 6.
CN202210345529.1A 2022-03-31 2022-03-31 Service update processing method and device, electronic equipment and storage medium Pending CN114924782A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210345529.1A CN114924782A (en) 2022-03-31 2022-03-31 Service update processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210345529.1A CN114924782A (en) 2022-03-31 2022-03-31 Service update processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114924782A true CN114924782A (en) 2022-08-19

Family

ID=82805616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210345529.1A Pending CN114924782A (en) 2022-03-31 2022-03-31 Service update processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114924782A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060059127A1 (en) * 2004-09-15 2006-03-16 International Business Machines Corporation Method, system, and storage medium for facilitating application development
CN106919378A (en) * 2016-08-24 2017-07-04 阿里巴巴集团控股有限公司 Application based on increment updates and method of testing and system, server and client
CN111273985A (en) * 2020-01-20 2020-06-12 北京无限光场科技有限公司 Page rendering method and device, electronic equipment and computer readable storage medium
CN111966931A (en) * 2020-08-23 2020-11-20 云知声智能科技股份有限公司 Rendering method and device of control
CN113094141A (en) * 2021-04-23 2021-07-09 北京达佳互联信息技术有限公司 Page display method and device, electronic equipment and storage medium
CN113778542A (en) * 2020-08-31 2021-12-10 北京沃东天骏信息技术有限公司 Service configuration table generation method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060059127A1 (en) * 2004-09-15 2006-03-16 International Business Machines Corporation Method, system, and storage medium for facilitating application development
CN106919378A (en) * 2016-08-24 2017-07-04 阿里巴巴集团控股有限公司 Application based on increment updates and method of testing and system, server and client
CN111273985A (en) * 2020-01-20 2020-06-12 北京无限光场科技有限公司 Page rendering method and device, electronic equipment and computer readable storage medium
CN111966931A (en) * 2020-08-23 2020-11-20 云知声智能科技股份有限公司 Rendering method and device of control
CN113778542A (en) * 2020-08-31 2021-12-10 北京沃东天骏信息技术有限公司 Service configuration table generation method and device
CN113094141A (en) * 2021-04-23 2021-07-09 北京达佳互联信息技术有限公司 Page display method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110798501B (en) Data processing method and device and readable storage medium
CN110688598A (en) Service parameter acquisition method and device, computer equipment and storage medium
CN111796799B (en) Sub-application development method and device, computer equipment and storage medium
CN113794894A (en) Information processing method, information processing device, electronic equipment and storage medium
CN111752535A (en) Web page development method and device, computer equipment and readable storage medium
CN114595016B (en) Comment information display method, comment information generation method, comment information display device, comment information generation device and electronic equipment
CN113569541A (en) Message generation method, device, equipment and medium
CN113469736A (en) Resource distribution control method, device, system, electronic device and storage medium
CN114924815A (en) Page rendering method and device, electronic equipment and storage medium
CN111857803A (en) Page updating method, device, server and storage medium
CN113722638B (en) Page display method and device, electronic equipment and storage medium
CN110780939A (en) Method and device for loading resource file, computer equipment and storage medium
CN112083852B (en) Recommendation bit layout method, device, equipment and medium for video application
CN112905936A (en) Page recording animation generation method, page operation log query method and computer equipment
CN112817817A (en) Buried point information query method and device, computer equipment and storage medium
CN112016027A (en) Method and device for monitoring access data operation platform
CN113672829B (en) Page display method and device, electronic equipment and storage medium
CN115065870B (en) Target business list display method and device, electronic equipment and storage medium
CN114924782A (en) Service update processing method and device, electronic equipment and storage medium
CN114491093B (en) Multimedia resource recommendation and object representation network generation method and device
CN114428899A (en) Multimedia resource pushing method and device, electronic equipment and storage medium
CN114896489A (en) Object recommendation information generation method, object recommendation information display method, object recommendation information generation device, object recommendation information display device, electronic equipment and medium
CN114385360A (en) Virtual resource distribution method, device, equipment, medium and product
CN114461823A (en) Information pushing method, information display method and device
CN116847155A (en) Data processing method, device, electronic equipment and storage medium

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