CN108415782A - Control communication means, device, electronic equipment, the storage medium of application program - Google Patents

Control communication means, device, electronic equipment, the storage medium of application program Download PDF

Info

Publication number
CN108415782A
CN108415782A CN201810154699.5A CN201810154699A CN108415782A CN 108415782 A CN108415782 A CN 108415782A CN 201810154699 A CN201810154699 A CN 201810154699A CN 108415782 A CN108415782 A CN 108415782A
Authority
CN
China
Prior art keywords
page
control
order
air ticket
application program
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
CN201810154699.5A
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.)
Ctrip Travel Network Technology Shanghai Co Ltd
Original Assignee
Ctrip Travel Network Technology Shanghai 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 Ctrip Travel Network Technology Shanghai Co Ltd filed Critical Ctrip Travel Network Technology Shanghai Co Ltd
Priority to CN201810154699.5A priority Critical patent/CN108415782A/en
Publication of CN108415782A publication Critical patent/CN108415782A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/02Reservations, e.g. for tickets, services or events
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/548Queue

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Software Systems (AREA)
  • Human Resources & Organizations (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Development Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides a kind of control communication means, device, electronic equipment, the storage medium of application program, the control communication means of application program, including:Step S110:First page and second page are at least provided in the application;Step S120:Receive operation of the user in first page to the first control;Step S130:In response to operation of the user in first page to the first control, will be stored to a message queue corresponding to the transmission data of first control;Step S140:Second control of the second page obtains the transmission data corresponding to first control from the message queue;And step S150:When providing the second page, according to the display of second page described in the transmission data update of second control reception.Method and device provided by the invention can establish the message queue of a set of overall situation, when triggering message, can transmit the parameter of all types of data structures.

Description

Control communication means, device, electronic equipment, the storage medium of application program
Technical field
The present invention relates to the control communication means of computer application technology more particularly to a kind of application program, device, Electronic equipment, storage medium.
Background technology
In the period of the internet peaks App use, React Native are met the tendency of, and occupy App development languages One of the ground at the seat of honour.React Native are the cross-platform mobile application Development Frameworks increased income, and support iOS and Android two at present Large platform.React Native use Javascript language, and mobile application is developed similar to the JSX and CSS of HTML.
But the message passing mechanism between the control of React Native itself is comparatively laborious, different dimensions and onrelevant Message transmission complex between control, constrains the fluency communicated between control.
Although there are many renderings that plug-in unit can carry out global dimension by React Native, as Redux is (a kind of to apply data Flow frame).But this global rendering consumes resource very much itself is a the process of traversal.
When informed source and when receiving control and being located at the node of two different dimensions, no matter React Native or Redux can not accomplish not only simply, but also the transmission that consumption is few.
Invention content
The present invention in order to overcome the problems of the above-mentioned prior art, provide a kind of control communication means of application program, Device, electronic equipment, storage medium can establish the message queue of a set of overall situation, when triggering message, can transmit all types of Data structure parameter.
According to an aspect of the present invention, a kind of control communication means of application program is provided, including:
Step S110:First page and second page are at least provided in the application;
Step S120:Receive operation of the user in first page to the first control;
Step S130:In response to operation of the user in first page to the first control, described first will be corresponded to The transmission data of control are stored to a message queue;
Step S140:Second control of the second page is obtained from the message queue corresponds to first control The transmission data;And
Step S150:When providing the second page, according to the transmission data update of second control reception The display of second page.
Optionally, the second page is air ticket list page, and the air ticket list page provides multiple flights, the first page Face is air ticket details page, and the air ticket details page provides the detail information of the first flight in the multiple flight, first control Part provides multiple pre- orders in the air ticket details page, and each pre- order has an attribute information,
The step S120 includes:Receive the pre- order for multiple pre- order midpoint choosings that user provides in first control As the first pre- order;
The step S130 includes:It is selected in advance in multiple pre- orders that first control provides in response to the user Order is stored corresponding to the attribute information of the selected first pre- order as data are transmitted to the message queue;
The step S140 includes:Second control of the air ticket list page obtains described first from the message queue The attribute information of pre- order;
The step S150 includes:When providing the air ticket list page, the clooating sequence of the multiple flight is updated, is made The flight for obtaining the attribute information with the described first pre- order in the multiple flight sorts before other flights.
Optionally, the step S110 further includes:The third page is provided in the application, and the third page is air ticket Details page, the air ticket details page provide the detail information of the second flight in the multiple flight
Further include after the step S150:
Step S160:When the air ticket list page selects second flight to open the third page, institute is updated State the clooating sequence of multiple pre- orders in the third page so that believe with the attribute of the described first pre- order in the multiple pre- order Identical pre- order sequence is ceased before other pre- orders.
Optionally, further include after the step S160:
Step S170:Receive the reservation for multiple pre- order midpoint choosings that user's third control in the third page provides Item is used as the second pre- order;
Step S180:Pre- order is selected in multiple pre- orders that the third control provides in response to the user, it will It is stored to the message queue corresponding to the attribute information of the selected second pre- order as data are transmitted;
Step S190:Second control of the air ticket list page obtains the described second pre- order from the message queue Attribute information;
Step S100:When providing the air ticket list page, the clooating sequence of the multiple flight is updated so that described more In a flight in multiple flights of the attribute information with the described first pre- order, the attribute information with the described second pre- order Multiple flights sort before other flights.
Optionally, the attribute information includes one or more in following item:Freight space, whether freely move back change, give specially Vehicle certificate gives hotel's certificate, gives, and admission ticket certificate, air ticket include hotel.
Optionally, the application program is write based on React Native.
Optionally, the transmission data in the message queue are discharged with the closing of the application program.
Optionally, the transmission data in the message queue have identification information, so that second control is searched.
According to another aspect of the invention, a kind of control communication device of application program is also provided, including:
Page provided module, at least providing first page and second page in the application;
Receiving module, for receiving operation of the user to the first control in first page;
Storage module will correspond to described for the operation in response to the user in first page to the first control The transmission data of first control are stored to a message queue;
Acquisition module, for making the second control of the second page be obtained from the message queue corresponding to described the The transmission data of one control;And
Show update module, when providing the second page, the transmission data for being received according to second control Update the display of the second page.
According to another aspect of the invention, a kind of electronic equipment is also provided, the electronic equipment includes:Processor;Storage Medium, is stored thereon with computer program, and the computer program executes step as described above when being run by the processor.
According to another aspect of the invention, a kind of storage medium is also provided, computer journey is stored on the storage medium Sequence, the computer program execute step as described above when being run by processor.
Compared with prior art, advantage of the invention is that:By establishing the message queue of a set of overall situation, in triggering message When, the parameter of all types of data structures can be transmitted.In addition, when message queue is applied in the plane ticket booking page, Ke Yitong It crosses message queue and transmits data, and resequenced according to the data of transmission, and then improve plane ticket booking rate.
Description of the drawings
Its example embodiment is described in detail by referring to accompanying drawing, above and other feature of the invention and advantage will become It is more obvious.
Fig. 1 shows the flow chart of the control communication means of application program according to the ... of the embodiment of the present invention.
Fig. 2 shows the flow charts according to the control communication means of the application program of the specific embodiment of the invention.
Fig. 3 shows the schematic diagram of second page according to the ... of the embodiment of the present invention.
Fig. 4 shows the schematic diagram of first page according to the ... of the embodiment of the present invention.
Fig. 5 shows the schematic diagram of second page after update according to the ... of the embodiment of the present invention.
Fig. 6 shows the schematic diagram of the third page according to the ... of the embodiment of the present invention.
Fig. 7 shows the schematic diagram of the control communication device of application program according to the ... of the embodiment of the present invention.
Fig. 8 schematically shows a kind of computer readable storage medium schematic diagram in disclosure exemplary embodiment.
Fig. 9 schematically shows a kind of electronic equipment schematic diagram in disclosure exemplary embodiment.
Specific implementation mode
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will more Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, knot Structure or characteristic can be in any suitable manner incorporated in one or more embodiments.
In addition, attached drawing is only the schematic illustrations of the disclosure, it is not necessarily drawn to scale.Identical attached drawing mark in figure Note indicates same or similar part, thus will omit repetition thereof.Some block diagrams shown in attached drawing are work( Energy entity, not necessarily must be corresponding with physically or logically independent entity.Software form may be used to realize these work( Energy entity, or these functional entitys are realized in one or more hardware modules or integrated circuit, or at heterogeneous networks and/or place These functional entitys are realized in reason device device and/or microcontroller device.
In order to solve the defects of prior art, the present invention provides a kind of control communication means, device, the electronics of application program Equipment, storage medium can establish the message queue of a set of overall situation, when triggering message, can transmit all types of data knots The parameter of structure.
The flow of the control communication means of application program according to the ... of the embodiment of the present invention is shown referring first to Fig. 1, Fig. 1 Figure.Application program is write using React Native.
Fig. 1 shows 5 steps altogether:
Step S110:First page and second page are at least provided in the application.
Step S120:Receive operation of the user in first page to the first control.
Step S130:In response to operation of the user in first page to the first control, described first will be corresponded to The transmission data of control are stored to a message queue.
Step S140:Second control of the second page is obtained from the message queue corresponds to first control The transmission data.
Step S150:When providing the second page, according to the transmission data update of second control reception The display of second page.
Specifically, using this method, the first control of first page only needs to execute:
this.mq.send("FromSend",{testObj:* * }),
Second page only needs to execute:
This.mq.once (' FromSend', (data)=>{
console.log(data.testObj)
})
Second control of second page can receive * * *, very simple and intuitive.
Further, below with reference to Fig. 2, Fig. 2 shows specific embodiments of the present invention.Application program is based on React Native writes.Fig. 2 shows 10 steps altogether:
S210:Air ticket list page (second page) and air ticket details page (first page and the are provided in the application Three pages, first page is as shown in figure 4, the third page is as shown in Figure 6).
Specifically, the air ticket list page 320 provides multiple flights 321 (as depicted in figs. 3 and 5).The air ticket is detailed Feelings page 310 provides the detail information of the first flight in the multiple flight 321, and first control is in the air ticket details page 310 provide multiple pre- orders 311, and each pre- order 311 has an attribute information.The third page is air ticket details page 330, The air ticket details page provides the detail information of the second flight in the multiple flight.Third control is in the air ticket details page 330 provide multiple pre- orders 331, and each pre- order 331 has an attribute information.The attribute information may include in following item It is one or more:Whether freight space freely moves back and changes, give special train certificate, give hotel's certificate, give, and admission ticket certificate, air ticket include wine Shop.
The step S220 includes:Receive the pre- order for multiple pre- order midpoint choosings that user provides in first control As the first pre- order.
Specifically, after user exports departure place, reaches ground, departure time in the application, application program provides machine Ticket list page 320 (as shown in Figure 3), user click what the first flight (middle United Airlines, Inc KN5988) was shown afterwards in air ticket list page 320 Air ticket details page 310 (such as Fig. 4).First flight is only used for distinguishing with the second flight of the third page, and non-user limits Determine the sequence of flight and the content of flight.The pre- order 311 (machine wine is preferential) that user clicks in air ticket details page 310 is used as first Pre- order.The first pre- order has the attribute information of " air ticket includes hotel ".
The step S230 includes:It is selected in advance in multiple pre- orders that first control provides in response to the user Order is stored corresponding to the attribute information of the selected first pre- order as data are transmitted to the message queue.
Specifically, the transmission data in the message queue are discharged with the closing of the application program.The message Transmission data in queue can have identification information, so that second control is searched.
The step S240 includes:Second control of the air ticket list page obtains described first from the message queue The attribute information of pre- order.
The step S250 includes:When providing the air ticket list page, the clooating sequence of the multiple flight is updated, is made The flight for obtaining the attribute information with the described first pre- order in the multiple flight sorts before other flights.
Specifically, as shown in figure 5, in this embodiment, the clooating sequence of each flight 321 is updated to Fig. 5 from Fig. 3, by In other than middle United Airlines, Inc KN5988, the attribute information of " air ticket includes hotel " is included in multiple pre- orders of only upper boat FM9807. It therefore, in Figure 5, will be before the sequence to other flights of flight 321 of upper boat FM9807.Optionally, in a change case, When providing the embodiment of Fig. 5, the flight 321 of Shi Zhong United Airlines, Incs KN5988 is hidden in air ticket list top, and makes to navigate FM9807's Flight 321 is shown in first of air ticket list, and when user drags down, the flight 321 of middle United Airlines, Inc KN5988 is shown again. In such embodiments, each of the air ticket list page 320 before turning to air ticket details page can also be preserved by message queue The position of flight 321, with when returning to air ticket list page 320 from air ticket details page, only to multiple flights after the first flight Ranking replacement, hide the flight before the first flight and the first flight in air ticket list top.
Step S260:When in the air ticket list page 320 (referring to Fig. 5) selection the second flight opening third page When 330, update the clooating sequence of multiple pre- orders 331 in the third page 330 so that in the multiple pre- order 331 with The identical pre- order 331 of attribute information of the first pre- order sorts before other pre- orders.
Specifically, referring to Fig. 6, in the foregoing embodiments, the first pre- order has the attribute of " air ticket includes hotel " Therefore attribute information is " air ticket include hotel " pre- order 331 in the third page 330 in multiple pre- orders 331 by information Sequence is before other pre- orders.
Step S270:Receive the reservation for multiple pre- order midpoint choosings that user's third control in the third page provides Item is used as the second pre- order.
Specifically, the pre- order 331 (trip is preferred) that user clicks in air ticket details page 330 is used as the first pre- order. The first pre- order has the attribute information of " vehicle wine certificate ".
Step S280 includes:It selects to subscribe in multiple pre- orders that the third control provides in response to the user , it is stored corresponding to the attribute information of the selected second pre- order to the message queue as data are transmitted.
Step S290:Second control of the air ticket list page obtains the described second pre- order from the message queue Attribute information.
Step S200:When providing the air ticket list page, the clooating sequence of the multiple flight is updated so that described more In a flight in multiple flights of the attribute information with the described first pre- order, the attribute information with the described second pre- order Multiple flights sort before other flights.
By the above-mentioned means, message queue can be utilized to transmit operation of the user for details page, and then update list The display of the page returns to original list progress manual operation to update display without user from details page.Meanwhile message queue The user's operation data of transmission indicate the plane ticket booking type of user preference/target, pass through the Message queue table page of the transmission It resequences, and resequences to the pre- order of the details page of other flights, user can be made more to pay close attention to its institute The flight scheduled item needed, and then improve plane ticket booking rate.
The signal of the control communication device of application program according to the ... of the embodiment of the present invention is shown referring to Fig. 7, Fig. 7 Figure.
The control communication device 400 of application program include page provided module 410, receiving module 420, storage module 430, Acquisition module 440 and display update module 450.
Page provided module 410 at least providing first page and second page in the application.Receiving module 420 For receiving operation of the user to the first control in first page.Storage module 430 is used in response to the user first To the operation of the first control on the page, will be stored to a message queue corresponding to the transmission data of first control.Obtain mould Block 440 is for making the second control of the second page be obtained from the message queue corresponding to described in first control Transmit data.When providing the second page, transmission number of the display update module 450 for being received according to second control According to the display for updating the second page.
Fig. 7 is only the module map for the control communication device for showing schematically application program provided by the invention, not Under the premise of violating present inventive concept, the fractionation of module, increases all within protection scope of the present invention merging.
In an exemplary embodiment of the disclosure, a kind of computer readable storage medium is additionally provided, meter is stored thereon with The circulation of electronic prescription described in any one above-mentioned embodiment may be implemented in calculation machine program, the program when being executed by such as processor The step of processing method.In some possible embodiments, various aspects of the invention are also implemented as a kind of program production The form of product comprising program code, when described program product is run on the terminal device, said program code is for making institute State terminal device execute described in this specification above-mentioned electronic prescription circulation processing method part according to the various examples of the present invention The step of property embodiment.
Refering to what is shown in Fig. 8, describing the program product for realizing the above method according to the embodiment of the present invention 800, portable compact disc read only memory (CD-ROM) may be used and include program code, and can in terminal device, Such as it is run on PC.However, the program product of the present invention is without being limited thereto, in this document, readable storage medium storing program for executing can be with To be any include or the tangible medium of storage program, the program can be commanded execution system, device either device use or It is in connection.
The arbitrary combination of one or more readable mediums may be used in described program product.Readable medium can be readable letter Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or System, device or the device of semiconductor, or the arbitrary above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive List) include:It is electrical connection, portable disc, hard disk, random access memory (RAM) with one or more conducting wires, read-only Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
The computer readable storage medium may include the data letter propagated in a base band or as a carrier wave part Number, wherein carrying readable program code.Diversified forms, including but not limited to electromagnetism may be used in the data-signal of this propagation Signal, optical signal or above-mentioned any appropriate combination.Readable storage medium storing program for executing can also be any other than readable storage medium storing program for executing Readable medium, which can send, propagate either transmission for being used by instruction execution system, device or device or Person's program in connection.The program code for including on readable storage medium storing program for executing can transmit with any suitable medium, packet Include but be not limited to wireless, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
It can be write with any combination of one or more programming languages for executing the program that operates of the present invention Code, described program design language include object oriented program language-Java, C++ etc., further include conventional Procedural programming language-such as " C " language or similar programming language.Program code can be fully in tenant It is executed on computing device, partly executes in tenant's equipment, executed as an independent software package, partly calculated in tenant Upper side point is executed or is executed in remote computing device or server completely on a remote computing.It is being related to far In the situation of journey computing device, remote computing device can pass through the network of any kind, including LAN (LAN) or wide area network (WAN), it is connected to tenant's computing device, or, it may be connected to external computing device (such as utilize ISP To be connected by internet).
In an exemplary embodiment of the disclosure, a kind of electronic equipment is also provided, which may include processor, And the memory of the executable instruction for storing the processor.Wherein, the processor is configured to via described in execution Executable instruction is come the step of executing the circulation processing method of electronic prescription described in any one above-mentioned embodiment.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or Program product.Therefore, various aspects of the invention can be embodied in the following forms, i.e.,:It is complete hardware embodiment, complete The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here Referred to as circuit, " module " or " system ".
The electronic equipment 600 of this embodiment according to the present invention is described referring to Fig. 9.The electronics that Fig. 9 is shown Equipment 600 is only an example, should not bring any restrictions to the function and use scope of the embodiment of the present invention.
As shown in figure 9, electronic equipment 600 is showed in the form of universal computing device.The component of electronic equipment 600 can wrap It includes but is not limited to:At least one processing unit 610, at least one storage unit 620, (including the storage of connection different system component Unit 620 and processing unit 610) bus 630, display unit 640 etc..
Wherein, the storage unit has program stored therein code, and said program code can be held by the processing unit 610 Row so that the processing unit 610 execute described in this specification above-mentioned electronic prescription circulation processing method part according to this The step of inventing various illustrative embodiments.For example, the processing unit 610 can execute step as illustrated in fig. 1 or fig. 2 Suddenly.
The storage unit 620 may include the readable medium of volatile memory cell form, such as random access memory Unit (RAM) 6201 and/or cache memory unit 6202 can further include read-only memory unit (ROM) 6203.
The storage unit 620 can also include program/practicality work with one group of (at least one) program module 6205 Tool 6204, such program module 6205 include but not limited to:Operating system, one or more application program, other programs Module and program data may include the realization of network environment in each or certain combination in these examples.
Bus 630 can be to indicate one or more in a few class bus structures, including storage unit bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use the arbitrary bus structures in a variety of bus structures Local bus.
Electronic equipment 600 can also be with one or more external equipments 700 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, can also enable the equipment that tenant interact with the electronic equipment 600 to communicate with one or more, and/or with make Any equipment that the electronic equipment 600 can be communicated with one or more of the other computing device (such as router, modulation /demodulation Device etc.) communication.This communication can be carried out by input/output (I/O) interface 650.Also, electronic equipment 600 can be with By network adapter 660 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public network, Such as internet) communication.Network adapter 660 can be communicated by bus 630 with other modules of electronic equipment 600.It should Understand, although not shown in the drawings, other hardware and/or software module can be used in conjunction with electronic equipment 600, including but it is unlimited In:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and number According to backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the disclosure The technical solution of embodiment can be expressed in the form of software products, the software product can be stored in one it is non-volatile Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating Equipment (can be personal computer, server or network equipment etc.) executes the above-mentioned electronics according to disclosure embodiment Prescription circulation processing method.
Compared with prior art, advantage of the invention is that:By establishing the message queue of a set of overall situation, in triggering message When, the parameter of all types of data structures can be transmitted.In addition, when message queue is applied in the plane ticket booking page, Ke Yitong It crosses message queue and transmits data, and resequenced according to the data of transmission, and then improve plane ticket booking rate.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by appended Claim is pointed out.

Claims (11)

1. a kind of control communication means of application program, which is characterized in that including:
Step S110:First page and second page are at least provided in the application;
Step S120:Receive operation of the user in first page to the first control;
Step S130:In response to operation of the user in first page to the first control, first control will be corresponded to Transmission data store to a message queue;
Step S140:Second control of the second page obtains the institute corresponding to first control from the message queue State transmission data;And
Step S150:When providing the second page, according to second described in the transmission data update of second control reception The display of the page.
2. the control communication means of application program as described in claim 1, which is characterized in that the second page arranges for air ticket Table page, the air ticket list page provide multiple flights, and the first page is air ticket details page, and the air ticket details page provides institute The detail information of the first flight in multiple flights is stated, first control provides multiple pre- orders in the air ticket details page, often A pre- order has an attribute information,
The step S120 includes:Receive the pre- order conduct for multiple pre- order midpoint choosings that user provides in first control First pre- order;
The step S130 includes:It selects to subscribe in multiple pre- orders that first control provides in response to the user , it is stored corresponding to the attribute information of the selected first pre- order to the message queue as data are transmitted;
The step S140 includes:Second control of the air ticket list page obtains described first from the message queue and subscribes The attribute information of item;
The step S150 includes:When providing the air ticket list page, the clooating sequence of the multiple flight is updated so that institute The flight for stating the attribute information with the described first pre- order in multiple flights sorts before other flights.
3. the control communication means of application program as claimed in claim 2, which is characterized in that
The step S110 further includes:The third page is provided in the application, and the third page is air ticket details page, described Air ticket details page provides the detail information of the second flight in the multiple flight
Further include after the step S150:
Step S160:When the air ticket list page selects second flight to open the third page, update described the The clooating sequence of multiple pre- orders in three pages so that in the multiple pre- order with the attribute information phase of the described first pre- order Same pre- order sorts before other pre- orders.
4. the control communication means of application program as claimed in claim 3, which is characterized in that also wrapped after the step S160 It includes:
Step S170:The pre- order for receiving multiple pre- order midpoint choosings that user's third control in the third page provides is made For the second pre- order;
Step S180:Pre- order is selected in multiple pre- orders that the third control provides in response to the user, will be corresponded to It is stored to the message queue in the attribute information of the selected second pre- order as data are transmitted;
Step S190:Second control of the air ticket list page obtains the attribute of the described second pre- order from the message queue Information;
Step S100:When providing the air ticket list page, the clooating sequence of the multiple flight is updated so that the multiple boat In class in multiple flights of the attribute information with the described first pre- order, there are the more of the attribute information of the described second pre- order A flight sequence is before other flights.
5. such as the control communication means of claim 2 to 4 any one of them application program, which is characterized in that the attribute letter Breath includes one or more in following item:Whether freight space freely moves back and changes, give special train certificate, give hotel's certificate, give, admission ticket Certificate, air ticket include hotel.
6. such as the control communication means of Claims 1-4 any one of them application program, which is characterized in that described to apply journey Sequence is write based on React Native.
7. such as the control communication means of Claims 1-4 any one of them application program, which is characterized in that the message team Transmission data in row are discharged with the closing of the application program.
8. such as the control communication means of Claims 1-4 any one of them application program, which is characterized in that the message team Transmission data in row have identification information, so that second control is searched.
9. a kind of control communication device of application program, which is characterized in that including:
Page provided module, at least providing first page and second page in the application;
Receiving module, for receiving operation of the user to the first control in first page;
Storage module will correspond to described first for the operation in response to the user in first page to the first control The transmission data of control are stored to a message queue;
Acquisition module is controlled for making the second control of the second page be obtained from the message queue corresponding to described first The transmission data of part;And
Show update module, when providing the second page, the transmission data update for being received according to second control The display of the second page.
10. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Processor;
Storage medium is stored thereon with computer program, and such as right is executed when the computer program is run by the processor It is required that 1 to 8 any one of them step.
11. a kind of storage medium, which is characterized in that be stored with computer program, the computer program on the storage medium Such as claim 1 to 8 any one of them step is executed when being run by processor.
CN201810154699.5A 2018-02-23 2018-02-23 Control communication means, device, electronic equipment, the storage medium of application program Pending CN108415782A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810154699.5A CN108415782A (en) 2018-02-23 2018-02-23 Control communication means, device, electronic equipment, the storage medium of application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810154699.5A CN108415782A (en) 2018-02-23 2018-02-23 Control communication means, device, electronic equipment, the storage medium of application program

Publications (1)

Publication Number Publication Date
CN108415782A true CN108415782A (en) 2018-08-17

Family

ID=63128783

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810154699.5A Pending CN108415782A (en) 2018-02-23 2018-02-23 Control communication means, device, electronic equipment, the storage medium of application program

Country Status (1)

Country Link
CN (1) CN108415782A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857786A (en) * 2018-12-19 2019-06-07 成都四方伟业软件股份有限公司 Page data fill method and device
CN110321464A (en) * 2019-05-30 2019-10-11 苏宁云计算有限公司 A kind of update method and device of the page view based on unidirectional traffic
CN111443983A (en) * 2019-01-16 2020-07-24 北京右划网络科技有限公司 Application virtualization method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364236A (en) * 2008-09-18 2009-02-11 中兴通讯股份有限公司 Data processing apparatus and processing method of WEB page
CN102473091A (en) * 2009-07-01 2012-05-23 超威半导体公司 Extended page size using aggregated small pages
CN103870556A (en) * 2014-03-05 2014-06-18 南京莱斯信息技术股份有限公司 Multi-portlet interaction system based on portal and interaction realization method of multi-portlet interaction system
CN105373310A (en) * 2015-12-09 2016-03-02 百度在线网络技术(北京)有限公司 Method and device for updating pages in real time based on user operations
CN106874328A (en) * 2016-07-08 2017-06-20 阿里巴巴集团控股有限公司 A kind of data processing method and equipment
CN107656768A (en) * 2017-09-13 2018-02-02 北京京东尚科信息技术有限公司 Control the method and its system of page jump

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364236A (en) * 2008-09-18 2009-02-11 中兴通讯股份有限公司 Data processing apparatus and processing method of WEB page
CN102473091A (en) * 2009-07-01 2012-05-23 超威半导体公司 Extended page size using aggregated small pages
CN103870556A (en) * 2014-03-05 2014-06-18 南京莱斯信息技术股份有限公司 Multi-portlet interaction system based on portal and interaction realization method of multi-portlet interaction system
CN105373310A (en) * 2015-12-09 2016-03-02 百度在线网络技术(北京)有限公司 Method and device for updating pages in real time based on user operations
CN106874328A (en) * 2016-07-08 2017-06-20 阿里巴巴集团控股有限公司 A kind of data processing method and equipment
CN107656768A (en) * 2017-09-13 2018-02-02 北京京东尚科信息技术有限公司 Control the method and its system of page jump

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857786A (en) * 2018-12-19 2019-06-07 成都四方伟业软件股份有限公司 Page data fill method and device
CN111443983A (en) * 2019-01-16 2020-07-24 北京右划网络科技有限公司 Application virtualization method and device, electronic equipment and storage medium
CN111443983B (en) * 2019-01-16 2024-04-26 北京右划网络科技有限公司 Application program virtualization method and device, electronic equipment and storage medium
CN110321464A (en) * 2019-05-30 2019-10-11 苏宁云计算有限公司 A kind of update method and device of the page view based on unidirectional traffic
CN110321464B (en) * 2019-05-30 2022-03-18 南京苏宁加电子商务有限公司 Method and device for updating page view based on unidirectional data flow

Similar Documents

Publication Publication Date Title
CN112540763A (en) Front-end page generation method and device, platform equipment and storage medium
WO2014153478A1 (en) Detecting serialization scheme used in software applications
US20120066636A1 (en) Controlling computer-based instances
CN109508805A (en) Flight changes providing method, system, storage medium and the electronic equipment of label information
CN108415782A (en) Control communication means, device, electronic equipment, the storage medium of application program
US20140075367A1 (en) Supplementing a Virtual Input Keyboard
US20170102860A1 (en) User interface for co-optimizing weight factors
CN109375910A (en) Class file generation method, device, electronic equipment and storage medium
JP2021120867A (en) Fusion relation network construction method, fusion relation network construction device, electronic device, storage medium and program
CN109284450A (en) Order is at the determination method and device of single path, storage medium, electronic equipment
US10747390B1 (en) Graphical composer for policy management
JP6100832B2 (en) Method and system for providing recommended search terms based on messenger dialogue content, and recording medium
US20140033030A1 (en) Indexing and providing electronic publications in a networked computing environment
JP2018537743A (en) Method and system for prompt message display
JP2022091904A (en) Mini program page skin changeover method, device, and electronic apparatus
US20160373537A1 (en) Systems for downloading location-based application and methods using the same
CN109902981A (en) For carrying out the method and device of data analysis
US10559022B2 (en) Account creation overlay
US20120159365A1 (en) Presenting a navigation order of shapes
US10180822B2 (en) Development environment for real-time application development
CN109815469A (en) A kind of word editing method, device, medium and electronic equipment
US20230196418A1 (en) Providing purchase intent predictions using session data for targeting users
US11989189B2 (en) Data processing system and method
CN108021317A (en) Method and device for screen editing
CN113870394A (en) Animation generation method, device, 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180817

RJ01 Rejection of invention patent application after publication